pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-logilab-astng Fix 2to3 invocation.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ef15ab844b5c
branches: trunk
changeset: 353247:ef15ab844b5c
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Oct 01 13:00:10 2016 +0000
description:
Fix 2to3 invocation.
diffstat:
devel/py-logilab-astng/Makefile | 4 +++-
devel/py-logilab-astng/distinfo | 4 ++--
devel/py-logilab-astng/patches/patch-aa | 12 +++++++++++-
3 files changed, 16 insertions(+), 4 deletions(-)
diffs (56 lines):
diff -r b59bd3d178c6 -r ef15ab844b5c devel/py-logilab-astng/Makefile
--- a/devel/py-logilab-astng/Makefile Sat Oct 01 12:54:18 2016 +0000
+++ b/devel/py-logilab-astng/Makefile Sat Oct 01 13:00:10 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2016/08/29 15:44:26 darcy Exp $
+# $NetBSD: Makefile,v 1.14 2016/10/01 13:00:10 joerg Exp $
DISTNAME= logilab-astng-0.24.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -14,6 +14,8 @@
USE_LANGUAGES= # none
+ALL_ENV+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
+
do-test:
cd ${WRKSRC} && ${SH} test/fulltest.sh ${PYVERSSUFFIX}
diff -r b59bd3d178c6 -r ef15ab844b5c devel/py-logilab-astng/distinfo
--- a/devel/py-logilab-astng/distinfo Sat Oct 01 12:54:18 2016 +0000
+++ b/devel/py-logilab-astng/distinfo Sat Oct 01 13:00:10 2016 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 03:29:10 agc Exp $
+$NetBSD: distinfo,v 1.4 2016/10/01 13:00:10 joerg Exp $
SHA1 (logilab-astng-0.24.3.tar.gz) = a4a155008fa9955f2034972f2bfd91228e1c87de
RMD160 (logilab-astng-0.24.3.tar.gz) = 8c5627208b2bd365a8313f7aa9e3af38985152fd
SHA512 (logilab-astng-0.24.3.tar.gz) = fb1e46ebf7111d727cd9d187968cb349dc23dfba0d4d8c6c793a8c081d4506f11e488074cc51b632c525aa264cfa50279dda90f0cf35dc2120ebbf4714902525
Size (logilab-astng-0.24.3.tar.gz) = 106660 bytes
-SHA1 (patch-aa) = b82835ac2b2136eddc4c5ce24ee1d1bb52ea02d5
+SHA1 (patch-aa) = dd61d88f06b06aa16a11fff4bd2cb14da62b26f6
diff -r b59bd3d178c6 -r ef15ab844b5c devel/py-logilab-astng/patches/patch-aa
--- a/devel/py-logilab-astng/patches/patch-aa Sat Oct 01 12:54:18 2016 +0000
+++ b/devel/py-logilab-astng/patches/patch-aa Sat Oct 01 13:00:10 2016 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-aa,v 1.2 2014/12/05 17:20:56 rodent Exp $
+$NetBSD: patch-aa,v 1.3 2016/10/01 13:00:10 joerg Exp $
Don't creat this file for pkgsrc.
+Call versioned 2to3 binary.
--- setup.py.orig 2013-04-17 09:38:31.000000000 +0000
+++ setup.py
@@ -19,3 +20,12 @@
class MyBuildPy(build_py):
+@@ -140,7 +132,7 @@ class MyBuildPy(build_py):
+ # process manually python file in include_dirs (test data)
+ from subprocess import check_call
+ print('running 2to3 on', dest) # parens are NOT optional here for py3k compat
+- check_call(['2to3', '-wn', dest])
++ check_call(['2to3-' + os.environ['PYVERSSUFFIX'], '-wn', dest])
+
+ def install(**kwargs):
+ """setup entry point"""
Home |
Main Index |
Thread Index |
Old Index