aboutsummaryrefslogtreecommitdiff
path: root/security/py-SecretStorage
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2015-11-18 20:05:25 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2015-11-18 20:05:25 +0000
commit8473ec99c9213d5a5cd5aaef8c66b3a21cf6bdce (patch)
treeac956337a691ea5eecd0dc1c9844ebd6848d1a07 /security/py-SecretStorage
parent1c4d9cba5f4210dbbaa5e95f3570b1065d363f31 (diff)
downloadports-8473ec99c9213d5a5cd5aaef8c66b3a21cf6bdce.tar.gz
ports-8473ec99c9213d5a5cd5aaef8c66b3a21cf6bdce.zip
Notes
Diffstat (limited to 'security/py-SecretStorage')
-rw-r--r--security/py-SecretStorage/Makefile17
-rw-r--r--security/py-SecretStorage/distinfo4
2 files changed, 15 insertions, 6 deletions
diff --git a/security/py-SecretStorage/Makefile b/security/py-SecretStorage/Makefile
index 36f72de29aea..1d0b304625c1 100644
--- a/security/py-SecretStorage/Makefile
+++ b/security/py-SecretStorage/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= SecretStorage
-PORTVERSION= 1.1.0
+PORTVERSION= 2.1.2
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,9 +12,18 @@ COMMENT= Store passwords using the SecretService DBus API
LICENSE= BSD3CLAUSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.84.0:${PORTSDIR}/devel/py-dbus
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
+NO_ARCH= yes
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= autoplist distutils
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} > 3000
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.84.0:${PORTSDIR}/devel/py3-dbus
+.else
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.84.0:${PORTSDIR}/devel/py-dbus
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/py-SecretStorage/distinfo b/security/py-SecretStorage/distinfo
index fd4bc5f0e925..067b5997e0da 100644
--- a/security/py-SecretStorage/distinfo
+++ b/security/py-SecretStorage/distinfo
@@ -1,2 +1,2 @@
-SHA256 (SecretStorage-1.1.0.tar.gz) = 439d23ef00abb673a9a119c58bb8733e8ce6f57f82afc016547af4b742d49383
-SIZE (SecretStorage-1.1.0.tar.gz) = 14242
+SHA256 (SecretStorage-2.1.2.tar.gz) = 61da7f2ff9d44abf7b053f58360fa844de0a35b16de4efdc0b545c286cecc082
+SIZE (SecretStorage-2.1.2.tar.gz) = 18128