aboutsummaryrefslogtreecommitdiff
path: root/security/py-pyscard/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-16 11:56:02 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-16 11:56:02 +0000
commitdaac632db3219070fac7f9d45475631292563f26 (patch)
tree88d64fe17e5fbfba8b7589a952c958187456a7a5 /security/py-pyscard/Makefile
parentb657d967a0c7df1f5027c37bff603dd04dc54b40 (diff)
downloadports-daac632db3219070fac7f9d45475631292563f26.tar.gz
ports-daac632db3219070fac7f9d45475631292563f26.zip
Notes
Diffstat (limited to 'security/py-pyscard/Makefile')
-rw-r--r--security/py-pyscard/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/security/py-pyscard/Makefile b/security/py-pyscard/Makefile
index 65aa35f8f54f..22cb83f306f3 100644
--- a/security/py-pyscard/Makefile
+++ b/security/py-pyscard/Makefile
@@ -2,12 +2,9 @@
# $FreeBSD$
PORTNAME= pyscard
-PORTVERSION= 1.7.0
+PORTVERSION= 1.9.0
CATEGORIES= security python
-## request has been submitted to the developers to host sources on PyPI; check
-## this on the next update and change SF to CHEESEHOP (see bug #197834)
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= mp39590@gmail.com
@@ -20,11 +17,12 @@ BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13 \
pcsc-lite>0:${PORTSDIR}/devel/pcsc-lite
RUN_DEPENDS= pcsc-lite>0:${PORTSDIR}/devel/pcsc-lite
-USES= python:2.7
+## Python3 is supported
+USES= python:2.7+
USE_PYTHON= autoplist distutils
-PYDISTUTILS_BUILD_TARGET= build_ext
-PYDISTUTILS_BUILDARGS+= --include-dirs=${LOCALBASE}/include/PCSC
+PYDISTUTILS_BUILD_TARGET= build_ext
+PYDISTUTILS_BUILDARGS+= --include-dirs=${LOCALBASE}/include/PCSC
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/smartcard/scard/_scard.so