pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-stsci.distutils
Module Name: pkgsrc
Committed By: wiz
Date: Sun Dec 12 10:51:59 UTC 2021
Modified Files:
pkgsrc/devel/py-stsci.distutils: Makefile
Log Message:
py-stsci.distutils: and do not break python 2
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-stsci.distutils/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-stsci.distutils/Makefile
diff -u pkgsrc/devel/py-stsci.distutils/Makefile:1.3 pkgsrc/devel/py-stsci.distutils/Makefile:1.4
--- pkgsrc/devel/py-stsci.distutils/Makefile:1.3 Sun Dec 12 10:50:43 2021
+++ pkgsrc/devel/py-stsci.distutils/Makefile Sun Dec 12 10:51:59 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/12/12 10:50:43 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2021/12/12 10:51:59 wiz Exp $
DISTNAME= stsci.distutils-0.3.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,8 +12,12 @@ LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-d2to1-[0-9]*:../../devel/py-d2to1
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYPKGPREFIX} != "py27"
pre-build:
cd ${WRKSRC} && 2to3-${PYVERSSUFFIX} -w --no-diff stsci
+.endif
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index