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:50:43 UTC 2021

Modified Files:
        pkgsrc/devel/py-stsci.distutils: Makefile

Log Message:
py-stsci.distutils: fix build with python 3


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 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.2 pkgsrc/devel/py-stsci.distutils/Makefile:1.3
--- pkgsrc/devel/py-stsci.distutils/Makefile:1.2        Sun Aug 28 17:47:30 2016
+++ pkgsrc/devel/py-stsci.distutils/Makefile    Sun Dec 12 10:50:43 2021
@@ -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 @@ LICENSE=      modified-bsd
 
 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