summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/py-SecretStorage/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/security/py-SecretStorage/Makefile b/security/py-SecretStorage/Makefile
index b6e069e27eef..bb05d094cb68 100644
--- a/security/py-SecretStorage/Makefile
+++ b/security/py-SecretStorage/Makefile
@@ -13,18 +13,12 @@ COMMENT= Store passwords using the SecretService DBus API
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dbus>=0.84.0:devel/py-dbus@${PY_FLAVOR}
-NO_ARCH= yes
USES= python
USE_PYTHON= autoplist distutils
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} > 3000
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.84.0:devel/py-dbus@${PY_FLAVOR}
-.else
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.84.0:devel/py-dbus@${PY_FLAVOR}
-.endif
+NO_ARCH= yes
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>