aboutsummaryrefslogtreecommitdiff
path: root/security/py-keyring
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2012-06-18 01:20:15 +0000
committerWen Heping <wen@FreeBSD.org>2012-06-18 01:20:15 +0000
commit13bf5134cbf115feaa15026707e984f788e04d48 (patch)
tree459f932b03b2fe2a0cf2b24c0aaef3a7bc3934bd /security/py-keyring
parentbe2e797c6aac5b922cb9f61dce1b76401818b1e4 (diff)
downloadports-13bf5134cbf115feaa15026707e984f788e04d48.tar.gz
ports-13bf5134cbf115feaa15026707e984f788e04d48.zip
Notes
Diffstat (limited to 'security/py-keyring')
-rw-r--r--security/py-keyring/Makefile16
-rw-r--r--security/py-keyring/distinfo4
2 files changed, 13 insertions, 7 deletions
diff --git a/security/py-keyring/Makefile b/security/py-keyring/Makefile
index 7e431fd6e38a..07827da95bab 100644
--- a/security/py-keyring/Makefile
+++ b/security/py-keyring/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= keyring
-PORTVERSION= 0.9
+PORTVERSION= 0.9.1
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -22,17 +22,23 @@ USE_ZIP= yes
USE_PYTHON= 2.5+
USE_PYDISTUTILS= easy_install
-OPTIONS= GNOME_KEYRING "GNOME Keyring backend" Off \
- KDE_KWALLET "KDE KWallet backend" Off
+OPTIONS_DEFINE= CRYPT_FILE GNOME_KEYRING KDE_KWALLET
+GNOME_KEYRING_DESC= GNOME Keyring backend
+KDE_KWALLET_DESC= KDE KWallet backend
+CRYPT_FILE_DESC= Crypt(ed) File backend
.include <bsd.port.options.mk>
-.if defined(WITH_GNOME_KEYRING)
+.if ${PORT_OPTIONS:MGNOME_KEYRING}
USE_GNOME+= pygnomedesktop
.endif
-.if defined(WITH_KDE_KWALLET)
+.if ${PORT_OPTIONS:MKDE_KWALLET}
USE_KDE4+= pykde4
.endif
+.if ${PORT_OPTIONS:MCRYPT_FILE}
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.5:${PORTSDIR}/security/py-pycrypto
+.endif
+
.include <bsd.port.mk>
diff --git a/security/py-keyring/distinfo b/security/py-keyring/distinfo
index e5bdbdb7b460..d45101b359f4 100644
--- a/security/py-keyring/distinfo
+++ b/security/py-keyring/distinfo
@@ -1,2 +1,2 @@
-SHA256 (keyring-0.9.zip) = a4d3d7b78cadb261ba1130ad03456f5a09c530e0b0aa5268d02e3ce57d0eef9f
-SIZE (keyring-0.9.zip) = 44109
+SHA256 (keyring-0.9.1.zip) = ef9fad76daeadd4ea2f8992e768d8dd873c812dd4c226cae1e64ccca4627377b
+SIZE (keyring-0.9.1.zip) = 46907