1 |
commit: 5825a4c61fc12db62e869431ff41844a5760eaec |
2 |
Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 15 09:11:59 2021 +0000 |
4 |
Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 15 09:13:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5825a4c6 |
7 |
|
8 |
dev-python/cx_Freeze: version bump |
9 |
|
10 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
11 |
Signed-off-by: Sergey Popov <pinkbyte <AT> gentoo.org> |
12 |
|
13 |
dev-python/cx_Freeze/Manifest | 1 + |
14 |
dev-python/cx_Freeze/cx_Freeze-6.6.ebuild | 29 ++++++++++++++++++++++ |
15 |
.../files/cx_Freeze-6.6-buildsystem.patch | 11 ++++++++ |
16 |
3 files changed, 41 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/cx_Freeze/Manifest b/dev-python/cx_Freeze/Manifest |
19 |
index 26e494bb1c3..de67cbecd27 100644 |
20 |
--- a/dev-python/cx_Freeze/Manifest |
21 |
+++ b/dev-python/cx_Freeze/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST cx_Freeze-6.5.3.tar.gz 112334 BLAKE2B 77558e35ca13bc598a810ea70acfe59901c036daf37b2f9582c4f2761680d54d5be559e9abbf16bd995d7f4a4e7bd5d8793e0b53c24111767d54a69c633c9b46 SHA512 37ba5c920306ff62a21ab46c1b9fd6b1780864095d00223776c308fa28e60a5473c74e7da4e7478725de14b7f5628d8d8445f42c0671bc502e5e2d8ecb5ffae5 |
24 |
+DIST cx_Freeze-6.6.tar.gz 120239 BLAKE2B f4ba5de3f4233ee5417d1e1dfb8ad23180d59bf7b2b2da4918c390d69e6f73cb814a1063951b2564bd4f8eabe8aff5faf9f731fe500bf90b4a5ef8cd081632a4 SHA512 24305f19c10d13ea58d995d80dc43c884898ae1e29a470d2885b6d7448806103bc7771874cc6dd064114c6e5e59f351dfec71c37ef3dddc0a136bb5a166cdb3a |
25 |
|
26 |
diff --git a/dev-python/cx_Freeze/cx_Freeze-6.6.ebuild b/dev-python/cx_Freeze/cx_Freeze-6.6.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..15f968f597c |
29 |
--- /dev/null |
30 |
+++ b/dev-python/cx_Freeze/cx_Freeze-6.6.ebuild |
31 |
@@ -0,0 +1,29 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
38 |
+PYTHON_COMPAT=( python{3_7,3_8,3_9} ) |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Create standalone executables from Python scripts" |
42 |
+HOMEPAGE="https://cx-freeze.readthedocs.io/" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="PYTHON" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-python/importlib_metadata[${PYTHON_USEDEP}] |
51 |
+ dev-util/patchelf |
52 |
+" |
53 |
+ |
54 |
+PATCHES=( |
55 |
+ # bug #491602 |
56 |
+ "${FILESDIR}/${PN}-6.6-buildsystem.patch" |
57 |
+) |
58 |
+ |
59 |
+# bug #765385 |
60 |
+RESTRICT="test" |
61 |
|
62 |
diff --git a/dev-python/cx_Freeze/files/cx_Freeze-6.6-buildsystem.patch b/dev-python/cx_Freeze/files/cx_Freeze-6.6-buildsystem.patch |
63 |
new file mode 100644 |
64 |
index 00000000000..93c0ff052e6 |
65 |
--- /dev/null |
66 |
+++ b/dev-python/cx_Freeze/files/cx_Freeze-6.6-buildsystem.patch |
67 |
@@ -0,0 +1,11 @@ |
68 |
+--- a/setup.py 2021-04-15 11:18:45.040000000 +0300 |
69 |
++++ b/setup.py 2021-04-15 11:18:59.880000000 +0300 |
70 |
+@@ -87,8 +87,6 @@ |
71 |
+ if "--with-lto" in get_config_var("CONFIG_ARGS"): |
72 |
+ extra_args.append("-flto") |
73 |
+ extra_args.append("-Wl,-export_dynamic") |
74 |
+- else: |
75 |
+- extra_args.append("-s") |
76 |
+ extra_args.append("-Wl,-rpath,$ORIGIN/lib") |
77 |
+ extra_args.append("-Wl,-rpath,$ORIGIN/../lib") |
78 |
+ self.compiler.link_executable( |