pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/py-sip Fixes for Python>=32 PEP 3147.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e5040407076f
branches: trunk
changeset: 604067:e5040407076f
user: obache <obache%pkgsrc.org@localhost>
date: Tue May 22 09:43:33 2012 +0000
description:
Fixes for Python>=32 PEP 3147.
Let to compile PYC files in post-install phase, instead of installing
.pyc files generaed as a side effect.
diffstat:
x11/py-sip/Makefile | 5 ++++-
x11/py-sip/distinfo | 4 ++--
x11/py-sip/patches/patch-aa | 11 +----------
3 files changed, 7 insertions(+), 13 deletions(-)
diffs (54 lines):
diff -r f0333584a658 -r e5040407076f x11/py-sip/Makefile
--- a/x11/py-sip/Makefile Tue May 22 08:46:53 2012 +0000
+++ b/x11/py-sip/Makefile Tue May 22 09:43:33 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2012/02/17 18:36:45 drochner Exp $
+# $NetBSD: Makefile,v 1.30 2012/05/22 09:43:33 obache Exp $
DISTNAME= sip-4.13.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -60,6 +60,9 @@
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${PYTHONBIN} configure.py ${CONFIGURE_ARGS})
+post-install:
+ ${PY_COMPILE_ALL} ${DESTDIR}${PREFIX}/${PYSITELIB}/sipconfig.py
+
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
diff -r f0333584a658 -r e5040407076f x11/py-sip/distinfo
--- a/x11/py-sip/distinfo Tue May 22 08:46:53 2012 +0000
+++ b/x11/py-sip/distinfo Tue May 22 09:43:33 2012 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.24 2012/02/17 18:36:45 drochner Exp $
+$NetBSD: distinfo,v 1.25 2012/05/22 09:43:33 obache Exp $
SHA1 (sip-4.13.2.tar.gz) = 1c5df9182e8046f1c0d01603a2474fa2418bcea0
RMD160 (sip-4.13.2.tar.gz) = 24a8e7c4bd36382594ea3f11317eb0f10e4e56ea
Size (sip-4.13.2.tar.gz) = 733120 bytes
-SHA1 (patch-aa) = 83c90f534c46c5b5751d2ef23ba3cf23f803be65
+SHA1 (patch-aa) = 72742d6608d13c1999961a2d36913b5e9d11fa50
SHA1 (patch-ab) = 044f78528dc67f7585c15b0fb3ec116ff11e31a6
diff -r f0333584a658 -r e5040407076f x11/py-sip/patches/patch-aa
--- a/x11/py-sip/patches/patch-aa Tue May 22 08:46:53 2012 +0000
+++ b/x11/py-sip/patches/patch-aa Tue May 22 09:43:33 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2011/01/11 15:14:20 drochner Exp $
+$NetBSD: patch-aa,v 1.5 2012/05/22 09:43:33 obache Exp $
--- configure.py.orig 2010-12-23 17:40:28.000000000 +0000
+++ configure.py
@@ -20,12 +20,3 @@
"sip_inc_dir": opts.sipincdir,
"sip_mod_dir": opts.sipmoddir,
"default_bin_dir": plat_bin_dir,
-@@ -289,7 +289,7 @@ def create_makefiles(macros):
- sipconfig.ParentMakefile(
- configuration=cfg,
- subdirs=["sipgen", "siplib"],
-- installs=(["sipconfig.py", os.path.join(src_dir, "sipdistutils.py")],
-+ installs=(["sipconfig.py", "sipconfig.pyc", os.path.join(src_dir, "sipdistutils.py")],
- cfg.sip_mod_dir)
- ).generate()
-
Home |
Main Index |
Thread Index |
Old Index