[Midnightbsd-cvs] mports [17295] trunk/graphics/py-cairo/files: python 2 cairo lib
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Sep 15 01:22:44 EDT 2014
Revision: 17295
http://svnweb.midnightbsd.org/mports/?rev=17295
Author: laffer1
Date: 2014-09-15 01:22:44 -0400 (Mon, 15 Sep 2014)
Log Message:
-----------
python 2 cairo lib
Added Paths:
-----------
trunk/graphics/py-cairo/files/
trunk/graphics/py-cairo/files/patch-test_examples-test.py
trunk/graphics/py-cairo/files/patch-wscript
Added: trunk/graphics/py-cairo/files/patch-test_examples-test.py
===================================================================
--- trunk/graphics/py-cairo/files/patch-test_examples-test.py (rev 0)
+++ trunk/graphics/py-cairo/files/patch-test_examples-test.py 2014-09-15 05:22:44 UTC (rev 17295)
@@ -0,0 +1,11 @@
+--- test/examples_test.py.orig 2013-09-30 22:50:22.000000000 +0200
++++ test/examples_test.py 2013-09-30 22:50:39.000000000 +0200
+@@ -18,7 +18,7 @@
+ examples/cairo_snippets/snippets/
+ '''
+ def doSnippets(name):
+- retcode = subprocess.call('python %s -s' % name, shell=True)
++ retcode = subprocess.call('python2 %s -s' % name, shell=True)
+ assert retcode == 0, 'Error: retcode == {0}'.format(retcode)
+
+ os.chdir(os.path.join(os.path.dirname(__file__), '..', 'examples',
Added: trunk/graphics/py-cairo/files/patch-wscript
===================================================================
--- trunk/graphics/py-cairo/files/patch-wscript (rev 0)
+++ trunk/graphics/py-cairo/files/patch-wscript 2014-09-15 05:22:44 UTC (rev 17295)
@@ -0,0 +1,11 @@
+--- wscript.orig 2013-09-30 23:39:53.000000000 +0200
++++ wscript 2013-09-30 23:40:40.000000000 +0200
+@@ -61,7 +61,7 @@
+ 'prefix' : ctx.env['PREFIX'],
+ 'includedir': os.path.join(ctx.env['PREFIX'], 'include'),
+ },
+- install_path = os.path.join(ctx.env['LIBDIR'], 'pkgconfig'),
++ install_path = os.path.join(ctx.env['PREFIX'], 'libdata', 'pkgconfig'),
+ )
+
+
More information about the Midnightbsd-cvs
mailing list