summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2017-08-01 15:17:44 +0300
committerSergey Popov <pinkbyte@gentoo.org>2017-08-01 15:18:21 +0300
commitb3fa8ba7904d21fcb9e4ad2e938ad4bda3d9c756 (patch)
tree50ff1922e1b13fb9fbbbc9192a95dba8aa42f844
parente61542298a5c16bdd054c113f385a79d41b921b6 (diff)
downloadgentoo-b3fa8ba7904d21fcb9e4ad2e938ad4bda3d9c756.tar.gz
gentoo-b3fa8ba7904d21fcb9e4ad2e938ad4bda3d9c756.tar.xz
dev-python/cx_Freeze: version bump
Now it works with Python 3.6 Reported-by: Pacho Ramos <pacho@gentoo.org> Gentoo-Bug: 620094 Package-Manager: Portage-2.3.6, Repoman-2.3.1
-rw-r--r--dev-python/cx_Freeze/Manifest1
-rw-r--r--dev-python/cx_Freeze/cx_Freeze-5.0.2.ebuild20
-rw-r--r--dev-python/cx_Freeze/files/cx_Freeze-5.0.2-buildsystem.patch16
3 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/cx_Freeze/Manifest b/dev-python/cx_Freeze/Manifest
index 4dddee303f2..38b3a9a6e33 100644
--- a/dev-python/cx_Freeze/Manifest
+++ b/dev-python/cx_Freeze/Manifest
@@ -1 +1,2 @@
DIST cx_Freeze-4.3.4.tar.gz 60172 SHA256 40c7bbfa107e139d105fdf79d1a7540dbb9f84aaf0fecdd03420bf37f0031be2 SHA512 b523322c8199757245f3af2d9e3d68397708cfc8f318761f1eec6e011bd07ec12d3b748a60d33f43f0849f68ec064a729fb3250747216b90b8dd700d0a83699f WHIRLPOOL 829c5c017bdb0b07bbe3e941426d01e798db173fd68ce9b3ad2b96b610bb07262e71fb378fce83857233fd319fa1eb7fdb44477a354b39aa0a9bd1085897ba9c
+DIST cx_Freeze-5.0.2.tar.gz 60104 SHA256 253466f0acde1661d67aead4fe2493ffd496e0b17b63baf95e06d0f28b4c7d7d SHA512 eac1a5cfd5b73f43a9447f3fce8a6ba513e253da10f44a74e4fbcd5b83068a57316e215aa03acac6807dee235e6f690b4bbba1447667bb2cba33b1182cb87d29 WHIRLPOOL a8a23574667852cadf0a19814677924c9191da4850a04395e585ab8ea648c09ee095b865d9fd7168c832b21fe28e2d14da59d204b277bc107955cc97514e87bd
diff --git a/dev-python/cx_Freeze/cx_Freeze-5.0.2.ebuild b/dev-python/cx_Freeze/cx_Freeze-5.0.2.ebuild
new file mode 100644
index 00000000000..7e0398b6453
--- /dev/null
+++ b/dev-python/cx_Freeze/cx_Freeze-5.0.2.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+inherit distutils-r1
+
+DESCRIPTION="Create standalone executables from Python scripts"
+HOMEPAGE="http://cx-freeze.sourceforge.net"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="PYTHON"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+ "${FILESDIR}/${P}-buildsystem.patch" # bug #491602
+)
+# test folder missing half the source content.
diff --git a/dev-python/cx_Freeze/files/cx_Freeze-5.0.2-buildsystem.patch b/dev-python/cx_Freeze/files/cx_Freeze-5.0.2-buildsystem.patch
new file mode 100644
index 00000000000..6289bb2df2c
--- /dev/null
+++ b/dev-python/cx_Freeze/files/cx_Freeze-5.0.2-buildsystem.patch
@@ -0,0 +1,16 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Tue Nov 19 11:20:21 UTC 2013
+
+Respect LDFLAGS, remove stripping.
+Fixes Gentoo bug #491602
+
+--- a/setup.py
++++ b/setup.py
+@@ -95,7 +95,6 @@
+ extraArgs.extend(vars["BASEMODLIBS"].split())
+ if vars["LOCALMODLIBS"]:
+ extraArgs.extend(vars["LOCALMODLIBS"].split())
+- extraArgs.append("-s")
+ self.compiler.link_executable(objects, fullName,
+ libraries = libraries,
+ library_dirs = libraryDirs,