summaryrefslogtreecommitdiff
path: root/misc/py-python-geohash
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2020-05-21 05:03:09 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2020-05-21 05:03:09 +0000
commit506f1bad8704e083f4c125094d574825e006e9d6 (patch)
treefd1e4bbd4caf069933cc05264e1973217a8168c7 /misc/py-python-geohash
parentUpdate to 0.3.2 (diff)
misc/py-python-geohash: Change to python3
Notes
Notes: svn path=/head/; revision=536069
Diffstat (limited to 'misc/py-python-geohash')
-rw-r--r--misc/py-python-geohash/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/misc/py-python-geohash/Makefile b/misc/py-python-geohash/Makefile
index 04b3c645f436..31bfbf66f26a 100644
--- a/misc/py-python-geohash/Makefile
+++ b/misc/py-python-geohash/Makefile
@@ -2,8 +2,8 @@
# $FreeBSD$
PORTNAME= python-geohash
-PORTVERSION= 0.8.5
-PORTREVISION= 1
+DISTVERSION= 0.8.5
+PORTREVISION= 2
CATEGORIES= misc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,10 +14,10 @@ COMMENT= Fast, accurate python geohashing library
LICENSE= APACHE20 MIT BSD3CLAUSE
LICENSE_COMB= multi
-DEPRECATED= Uses deprecated version of python
-EXPIRATION_DATE= 2020-08-15
-
-USES= python:2.7
+USES= python
USE_PYTHON= autoplist distutils
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/_geohash.so
+
.include <bsd.port.mk>