-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>
- Loading branch information
Showing
3 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST cx_Freeze-6.5.3.tar.gz 112334 BLAKE2B 77558e35ca13bc598a810ea70acfe59901c036daf37b2f9582c4f2761680d54d5be559e9abbf16bd995d7f4a4e7bd5d8793e0b53c24111767d54a69c633c9b46 SHA512 37ba5c920306ff62a21ab46c1b9fd6b1780864095d00223776c308fa28e60a5473c74e7da4e7478725de14b7f5628d8d8445f42c0671bc502e5e2d8ecb5ffae5 | ||
DIST cx_Freeze-6.6.tar.gz 120239 BLAKE2B f4ba5de3f4233ee5417d1e1dfb8ad23180d59bf7b2b2da4918c390d69e6f73cb814a1063951b2564bd4f8eabe8aff5faf9f731fe500bf90b4a5ef8cd081632a4 SHA512 24305f19c10d13ea58d995d80dc43c884898ae1e29a470d2885b6d7448806103bc7771874cc6dd064114c6e5e59f351dfec71c37ef3dddc0a136bb5a166cdb3a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright 1999-2021 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
DISTUTILS_USE_SETUPTOOLS=rdepend | ||
PYTHON_COMPAT=( python{3_7,3_8,3_9} ) | ||
inherit distutils-r1 | ||
|
||
DESCRIPTION="Create standalone executables from Python scripts" | ||
HOMEPAGE="https://cx-freeze.readthedocs.io/" | ||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" | ||
|
||
LICENSE="PYTHON" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
|
||
RDEPEND=" | ||
dev-python/importlib_metadata[${PYTHON_USEDEP}] | ||
dev-util/patchelf | ||
" | ||
|
||
PATCHES=( | ||
# bug #491602 | ||
"${FILESDIR}/${PN}-6.6-buildsystem.patch" | ||
) | ||
|
||
# bug #765385 | ||
RESTRICT="test" |
11 changes: 11 additions & 0 deletions
11
dev-python/cx_Freeze/files/cx_Freeze-6.6-buildsystem.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/setup.py 2021-04-15 11:18:45.040000000 +0300 | ||
+++ b/setup.py 2021-04-15 11:18:59.880000000 +0300 | ||
@@ -87,8 +87,6 @@ | ||
if "--with-lto" in get_config_var("CONFIG_ARGS"): | ||
extra_args.append("-flto") | ||
extra_args.append("-Wl,-export_dynamic") | ||
- else: | ||
- extra_args.append("-s") | ||
extra_args.append("-Wl,-rpath,$ORIGIN/lib") | ||
extra_args.append("-Wl,-rpath,$ORIGIN/../lib") | ||
self.compiler.link_executable( |