summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-08-15 06:42:43 +0000
committerobache <obache@pkgsrc.org>2012-08-15 06:42:43 +0000
commitddc7a8e2c4fe75336c0009f4925dedda77d3e10c (patch)
treecc96d68f3aefdbc9ecf6db8c9e69edeb51c85f82 /sysutils
parentdb90eaf63c45a4ddef68209852809acb894db9db (diff)
downloadpkgsrc-ddc7a8e2c4fe75336c0009f4925dedda77d3e10c.tar.gz
prevent to specify cfile for py_compile.compile to be PEP 3147 comliant.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/py-dbus/distinfo3
-rw-r--r--sysutils/py-dbus/patches/patch-py-compile24
2 files changed, 26 insertions, 1 deletions
diff --git a/sysutils/py-dbus/distinfo b/sysutils/py-dbus/distinfo
index 5a08b7c91c4..efd4ac3bd1b 100644
--- a/sysutils/py-dbus/distinfo
+++ b/sysutils/py-dbus/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2012/08/01 18:04:26 drochner Exp $
+$NetBSD: distinfo,v 1.10 2012/08/15 06:42:43 obache Exp $
SHA1 (dbus-python-1.1.1.tar.gz) = 3c15438a7ec1f0698d50557e3421564564d0e097
RMD160 (dbus-python-1.1.1.tar.gz) = 8e810a15c417541744df68cb01e5d707488bd6e8
Size (dbus-python-1.1.1.tar.gz) = 596476 bytes
SHA1 (patch-aa) = ca721c56463a5180e6a33e5a3d6135660e93c38f
+SHA1 (patch-py-compile) = 5dbbdd89c0cc5e51203d8200c8846f12730cf25f
diff --git a/sysutils/py-dbus/patches/patch-py-compile b/sysutils/py-dbus/patches/patch-py-compile
new file mode 100644
index 00000000000..d6dcd8f495b
--- /dev/null
+++ b/sysutils/py-dbus/patches/patch-py-compile
@@ -0,0 +1,24 @@
+$NetBSD: patch-py-compile,v 1.1 2012/08/15 06:42:43 obache Exp $
+
+* prevent to specify cfile for py_compile.compile to be PEP 3147-compliant.
+
+--- py-compile.orig 2012-01-24 16:37:31.000000000 +0000
++++ py-compile
+@@ -130,7 +130,7 @@ for file in files.split():
+ continue
+ sys.stdout.write(file)
+ sys.stdout.flush()
+- py_compile.compile(filepath, filepath + 'c', path)
++ py_compile.compile(filepath, None, path)
+ sys.stdout.write('\n')" || exit $?
+
+ # this will fail for python < 1.5, but that doesn't matter ...
+@@ -147,7 +147,7 @@ for file in files.split():
+ continue
+ sys.stdout.write(file)
+ sys.stdout.flush()
+- py_compile.compile(filepath, filepath + 'o', path)
++ py_compile.compile(filepath, None, path)
+ sys.stdout.write('\n')" 2>/dev/null || :
+
+ # Local Variables: