pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2016Q3]: pkgsrc/devel/py-logilab-astng Pullup ticket #5113 - r...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/207df07c9f32
branches:  pkgsrc-2016Q3
changeset: 408766:207df07c9f32
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat Oct 01 14:37:08 2016 +0000

description:
Pullup ticket #5113 - requested by joerg
devel/py-logilab-astng: build fix

Revisions pulled up:
- devel/py-logilab-astng/Makefile                               1.14
- devel/py-logilab-astng/distinfo                               1.4
- devel/py-logilab-astng/patches/patch-aa                       1.3

---
   Module Name: pkgsrc
   Committed By:        joerg
   Date:                Sat Oct  1 13:00:10 UTC 2016

   Modified Files:
        pkgsrc/devel/py-logilab-astng: Makefile distinfo
        pkgsrc/devel/py-logilab-astng/patches: patch-aa

   Log Message:
   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 836cb93fd0d9 -r 207df07c9f32 devel/py-logilab-astng/Makefile
--- a/devel/py-logilab-astng/Makefile   Sat Oct 01 13:46:36 2016 +0000
+++ b/devel/py-logilab-astng/Makefile   Sat Oct 01 14:37:08 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2016/08/29 15:44:26 darcy Exp $
+# $NetBSD: Makefile,v 1.13.2.1 2016/10/01 14:37:08 bsiegert 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 836cb93fd0d9 -r 207df07c9f32 devel/py-logilab-astng/distinfo
--- a/devel/py-logilab-astng/distinfo   Sat Oct 01 13:46:36 2016 +0000
+++ b/devel/py-logilab-astng/distinfo   Sat Oct 01 14:37:08 2016 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 03:29:10 agc Exp $
+$NetBSD: distinfo,v 1.3.8.1 2016/10/01 14:37:08 bsiegert 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 836cb93fd0d9 -r 207df07c9f32 devel/py-logilab-astng/patches/patch-aa
--- a/devel/py-logilab-astng/patches/patch-aa   Sat Oct 01 13:46:36 2016 +0000
+++ b/devel/py-logilab-astng/patches/patch-aa   Sat Oct 01 14:37:08 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.2.16.1 2016/10/01 14:37:08 bsiegert 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