pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-stsci.distutils py-stsci.distutils: fix build...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bd2e94dc6a4c
branches: trunk
changeset: 771009:bd2e94dc6a4c
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Dec 12 10:50:43 2021 +0000
description:
py-stsci.distutils: fix build with python 3
diffstat:
devel/py-stsci.distutils/Makefile | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 7386f1807254 -r bd2e94dc6a4c devel/py-stsci.distutils/Makefile
--- a/devel/py-stsci.distutils/Makefile Sun Dec 12 10:41:57 2021 +0000
+++ b/devel/py-stsci.distutils/Makefile Sun Dec 12 10:50:43 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2016/08/28 17:47:30 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2021/12/12 10:50:43 wiz Exp $
DISTNAME= stsci.distutils-0.3.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= graphics
+CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_PYPI:=s/stsci.distutils/}
MAINTAINER= kamelderouiche%yahoo.com@localhost
@@ -12,5 +12,8 @@
DEPENDS+= ${PYPKGPREFIX}-d2to1-[0-9]*:../../devel/py-d2to1
+pre-build:
+ cd ${WRKSRC} && 2to3-${PYVERSSUFFIX} -w --no-diff stsci
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index