aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-pyscard
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-16 19:56:02 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-16 19:56:02 +0800
commit542f80d76a0ace708ff7962a751680c82753d80c (patch)
tree88d64fe17e5fbfba8b7589a952c958187456a7a5 /security/py-pyscard
parent4f8ea2061bb91398187e21ca65c68bd210087954 (diff)
downloadfreebsd-ports-gnome-542f80d76a0ace708ff7962a751680c82753d80c.tar.gz
freebsd-ports-gnome-542f80d76a0ace708ff7962a751680c82753d80c.tar.zst
freebsd-ports-gnome-542f80d76a0ace708ff7962a751680c82753d80c.zip
- Update to 1.9.0
- Change mirror from SF to CHEESESHOP PR: 202330 Submitted by: mp39590@gmail.com (maintainer)
Diffstat (limited to 'security/py-pyscard')
-rw-r--r--security/py-pyscard/Makefile14
-rw-r--r--security/py-pyscard/distinfo4
2 files changed, 8 insertions, 10 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
diff --git a/security/py-pyscard/distinfo b/security/py-pyscard/distinfo
index 4caeeb8ddb25..c10f8a65b27d 100644
--- a/security/py-pyscard/distinfo
+++ b/security/py-pyscard/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pyscard-1.7.0.tar.gz) = 603977a1b6938442842a6b7f750c6c5a8a49d3f611b9cfde8f4b88a2c6e4ecd1
-SIZE (pyscard-1.7.0.tar.gz) = 151796
+SHA256 (pyscard-1.9.0.tar.gz) = e0af4350d7a198ee2c1bd21a9e83abcc58bee86bb2d6be59ed7d4c33a81badc5
+SIZE (pyscard-1.9.0.tar.gz) = 153007