pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-funcparserlib
Module Name: pkgsrc
Committed By: wiz
Date: Thu Dec 16 11:16:14 UTC 2021
Modified Files:
pkgsrc/devel/py-funcparserlib: Makefile distinfo
Added Files:
pkgsrc/devel/py-funcparserlib/patches: patch-setup.py
Log Message:
py-funcparserlib: fix build with latest setuptools
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-funcparserlib/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-funcparserlib/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-funcparserlib/patches/patch-setup.py
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-funcparserlib/Makefile
diff -u pkgsrc/devel/py-funcparserlib/Makefile:1.7 pkgsrc/devel/py-funcparserlib/Makefile:1.8
--- pkgsrc/devel/py-funcparserlib/Makefile:1.7 Mon Sep 4 18:55:08 2017
+++ pkgsrc/devel/py-funcparserlib/Makefile Thu Dec 16 11:16:14 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2017/09/04 18:55:08 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2021/12/16 11:16:14 wiz Exp $
DISTNAME= funcparserlib-0.3.6
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -13,4 +13,10 @@ LICENSE= mit
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
+
+.if ${PYPKGPREFIX} != "py27"
+pre-build:
+ cd ${WRKSRC} && 2to3-${PYVERSSUFFIX} -w --no-diffs funcparserlib
+.endif
+
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-funcparserlib/distinfo
diff -u pkgsrc/devel/py-funcparserlib/distinfo:1.5 pkgsrc/devel/py-funcparserlib/distinfo:1.6
--- pkgsrc/devel/py-funcparserlib/distinfo:1.5 Tue Oct 26 10:18:29 2021
+++ pkgsrc/devel/py-funcparserlib/distinfo Thu Dec 16 11:16:14 2021
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:18:29 nia Exp $
+$NetBSD: distinfo,v 1.6 2021/12/16 11:16:14 wiz Exp $
BLAKE2s (funcparserlib-0.3.6.tar.gz) = 72faccec12b02e2e33333df5670de99768b5eecf94d46c13fb7d97aa11105d4b
SHA512 (funcparserlib-0.3.6.tar.gz) = efa52f788aa902b099660cb8bc60a025085a8c383e52bd0824a0c3ae28a6c13804a0659de0c80b4dcd839ee70491805d4eecda6cea221e35c3750ec569098c24
Size (funcparserlib-0.3.6.tar.gz) = 30401 bytes
+SHA1 (patch-setup.py) = 60cddcb0ff8e20036f26865f4134bfdb0058f436
Added files:
Index: pkgsrc/devel/py-funcparserlib/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-funcparserlib/patches/patch-setup.py:1.1
--- /dev/null Thu Dec 16 11:16:14 2021
+++ pkgsrc/devel/py-funcparserlib/patches/patch-setup.py Thu Dec 16 11:16:14 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2021/12/16 11:16:14 wiz Exp $
+
+Fix build with latest setuptools.
+
+--- setup.py.orig 2013-05-02 15:09:16.000000000 +0000
++++ setup.py
+@@ -4,8 +4,6 @@ from setuptools import setup
+ import sys
+
+ extra = {}
+-if sys.version_info >= (3,):
+- extra['use_2to3'] = True
+
+
+ setup(
Home |
Main Index |
Thread Index |
Old Index