pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/py-cxfreeze
Module Name: pkgsrc
Committed By: he
Date: Wed Dec 27 23:32:37 UTC 2017
Modified Files:
pkgsrc/lang/py-cxfreeze: Makefile distinfo
pkgsrc/lang/py-cxfreeze/patches: patch-aa
Log Message:
Add a patch to setup.py so that -lphread is linked on NetBSD,
since python's libpython.a(thread.o) wants those symbols.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/py-cxfreeze/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/py-cxfreeze/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/py-cxfreeze/patches/patch-aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/py-cxfreeze/Makefile
diff -u pkgsrc/lang/py-cxfreeze/Makefile:1.9 pkgsrc/lang/py-cxfreeze/Makefile:1.10
--- pkgsrc/lang/py-cxfreeze/Makefile:1.9 Sat Sep 30 13:44:35 2017
+++ pkgsrc/lang/py-cxfreeze/Makefile Wed Dec 27 23:32:37 2017
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2017/09/30 13:44:35 adam Exp $
+# $NetBSD: Makefile,v 1.10 2017/12/27 23:32:37 he Exp $
DISTNAME= cx_Freeze-5.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_F/f/}
+PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cx_Freeze/}
Index: pkgsrc/lang/py-cxfreeze/distinfo
diff -u pkgsrc/lang/py-cxfreeze/distinfo:1.7 pkgsrc/lang/py-cxfreeze/distinfo:1.8
--- pkgsrc/lang/py-cxfreeze/distinfo:1.7 Sat Sep 30 13:44:35 2017
+++ pkgsrc/lang/py-cxfreeze/distinfo Wed Dec 27 23:32:37 2017
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2017/09/30 13:44:35 adam Exp $
+$NetBSD: distinfo,v 1.8 2017/12/27 23:32:37 he Exp $
SHA1 (cx_Freeze-5.0.2.tar.gz) = 3457e63a966c2c0bae179a7bb869b9b6226d9ef0
RMD160 (cx_Freeze-5.0.2.tar.gz) = bf969fb2ad526aa15d5be90d0875bd5d51fd3ce8
SHA512 (cx_Freeze-5.0.2.tar.gz) = eac1a5cfd5b73f43a9447f3fce8a6ba513e253da10f44a74e4fbcd5b83068a57316e215aa03acac6807dee235e6f690b4bbba1447667bb2cba33b1182cb87d29
Size (cx_Freeze-5.0.2.tar.gz) = 60104 bytes
-SHA1 (patch-aa) = 970bcecf2c7d687826e945f1020427b9229f9f02
+SHA1 (patch-aa) = fa5613b9efb7a6a73618c4513f27d2b2f9b73857
Index: pkgsrc/lang/py-cxfreeze/patches/patch-aa
diff -u pkgsrc/lang/py-cxfreeze/patches/patch-aa:1.4 pkgsrc/lang/py-cxfreeze/patches/patch-aa:1.5
--- pkgsrc/lang/py-cxfreeze/patches/patch-aa:1.4 Tue Feb 14 09:54:30 2017
+++ pkgsrc/lang/py-cxfreeze/patches/patch-aa Wed Dec 27 23:32:37 2017
@@ -1,6 +1,9 @@
-$NetBSD: patch-aa,v 1.4 2017/02/14 09:54:30 markd Exp $
+$NetBSD: patch-aa,v 1.5 2017/12/27 23:32:37 he Exp $
---- setup.py.orig 2017-01-07 16:04:26.000000000 +0000
+Link with proper run-time library path,
+link with -lpthread on NetBSD.
+
+--- setup.py.orig 2017-05-20 21:59:18.000000000 +0000
+++ setup.py
@@ -71,6 +71,7 @@ class build_ext(distutils.command.build_
fileName = os.path.splitext(self.get_ext_filename(ext.name))[0]
@@ -24,7 +27,18 @@ $NetBSD: patch-aa,v 1.4 2017/02/14 09:54
extra_postargs = extraArgs,
debug = self.debug)
-@@ -142,7 +145,7 @@ utilModule = Extension("cx_Freeze.util",
+@@ -136,13 +139,17 @@ if sys.platform == "win32":
+ if sys.platform == "win32":
+ libraries = ["imagehlp", "Shlwapi"]
+ else:
+- libraries = []
++ if sys.platform.startswith('netbsd'):
++ libraries = ["pthread"]
++ else:
++ libraries = []
++
+ utilModule = Extension("cx_Freeze.util", ["source/util.c"],
+ libraries = libraries)
# build base executables
docFiles = "README.txt"
Home |
Main Index |
Thread Index |
Old Index