pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-cracklib: fix installation with python-3.x.
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Sat Mar 19 17:17:36 2016 +0100
Changeset: 9d7a28bf26fccc3e28ff6cc57bd6f13e1ef26ed6
Modified Files:
py-cracklib/Makefile
py-cracklib/buildlink3.mk
Log Message:
py-cracklib: fix installation with python-3.x.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9d7a28bf26fccc3e28ff6cc57bd6f13e1ef26ed6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-cracklib/Makefile | 2 ++
py-cracklib/buildlink3.mk | 16 +++++++++-------
2 files changed, 11 insertions(+), 7 deletions(-)
diffs:
diff --git a/py-cracklib/Makefile b/py-cracklib/Makefile
index 838126d..1180056 100644
--- a/py-cracklib/Makefile
+++ b/py-cracklib/Makefile
@@ -14,6 +14,8 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
PY_PATCHPLIST= yes
+# does not follow this convention
+PY_PEP3147= no
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/py-cracklib/buildlink3.mk b/py-cracklib/buildlink3.mk
index 5899f01..008f97d 100644
--- a/py-cracklib/buildlink3.mk
+++ b/py-cracklib/buildlink3.mk
@@ -1,12 +1,14 @@
# $NetBSD$
-BUILDLINK_TREE+= py27-cracklib
+BUILDLINK_TREE+= py-cracklib
-.if !defined(PY27_CRACKLIB_BUILDLINK3_MK)
-PY27_CRACKLIB_BUILDLINK3_MK:=
+.if !defined(PY_CRACKLIB_BUILDLINK3_MK)
+PY_CRACKLIB_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.py27-cracklib+= py27-cracklib>=2.9.0
-BUILDLINK_PKGSRCDIR.py27-cracklib?= ../../wip/py-cracklib
-.endif # PY27_CRACKLIB_BUILDLINK3_MK
+.include "../../lang/python/pyversion.mk"
-BUILDLINK_TREE+= -py27-cracklib
+BUILDLINK_API_DEPENDS.py-cracklib+= ${PYPKGPREFIX}-cracklib>=2.9.0
+BUILDLINK_PKGSRCDIR.py-cracklib?= ../../wip/py-cracklib
+.endif # PY_CRACKLIB_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -py-cracklib
Home |
Main Index |
Thread Index |
Old Index