summaryrefslogtreecommitdiff
path: root/print/py-weasyprint/patches/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'print/py-weasyprint/patches/patch-setup.py')
-rw-r--r--print/py-weasyprint/patches/patch-setup.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/print/py-weasyprint/patches/patch-setup.py b/print/py-weasyprint/patches/patch-setup.py
new file mode 100644
index 00000000000..356f270379b
--- /dev/null
+++ b/print/py-weasyprint/patches/patch-setup.py
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2015/08/14 17:05:04 kleink Exp $
+
+Adjust script path to allow multiple Python version installs.
+
+--- setup.py.orig 2014-05-05 12:33:27.000000000 +0200
++++ setup.py 2015-07-16 19:14:03.000000000 +0200
+@@ -75,7 +75,7 @@
+ test_suite='weasyprint.tests',
+ entry_points={
+ 'console_scripts': [
+- 'weasyprint = weasyprint.__main__:main',
++ 'weasyprint%s = weasyprint.__main__:main' % sys.version[0:3],
+ ],
+ },
+ )