summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/py-pyutil/Makefile4
-rw-r--r--security/passphrase/Makefile5
2 files changed, 7 insertions, 2 deletions
diff --git a/devel/py-pyutil/Makefile b/devel/py-pyutil/Makefile
index 5b30f4626c2..f76471007c0 100644
--- a/devel/py-pyutil/Makefile
+++ b/devel/py-pyutil/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2019/08/26 13:47:24 adam Exp $
+# $NetBSD: Makefile,v 1.23 2020/06/16 11:34:40 nikita Exp $
DISTNAME= pyutil-3.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -16,6 +16,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-twisted>=15.5.0:../../net/py-twisted
USE_LANGUAGES= # none
+CONFLICTS+= passphrase-[0-9]*
+
post-extract:
${FIND} ${WRKSRC} -name __pycache__ -or -name '*.pyc' -exec ${RM} -R {} +
diff --git a/security/passphrase/Makefile b/security/passphrase/Makefile
index a035e6cd69d..0c9b0f902b8 100644
--- a/security/passphrase/Makefile
+++ b/security/passphrase/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/06/16 11:02:44 nikita Exp $
+# $NetBSD: Makefile,v 1.3 2020/06/16 11:34:40 nikita Exp $
DISTNAME= 1.0.0
PKGNAME= passphrase-1.0.0
@@ -13,6 +13,9 @@ LICENSE= mit
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+.include "../../lang/python/egg.mk"
+CONFLICTS+= ${PYPKGPREFIX}-pyutil-[0-9]*
+
SUBST_CLASSES+= mandir
SUBST_STAGE.mandir= pre-build
SUBST_MESSAGE.mandir= replacing mandir location