commit: c955390c7edaea813f0f14252927e4fc0ec32d2f Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> AuthorDate: Mon Jan 25 10:37:16 2021 +0000 Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> CommitDate: Mon Jan 25 10:42:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c955390c
dev-python/cx_Freeze: version bump Add RESTRICT=TEST, as tests are missing in release tarball Reported-by: Michał Górny <mgorny <AT> gentoo.org> Closes: https://bugs.gentoo.org/765385 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergey Popov <pinkbyte <AT> gentoo.org> dev-python/cx_Freeze/Manifest | 1 + dev-python/cx_Freeze/cx_Freeze-6.5.3.ebuild | 24 ++++++++++++++++++++++ .../files/cx_Freeze-6.5.3-buildsystem.patch | 11 ++++++++++ 3 files changed, 36 insertions(+) diff --git a/dev-python/cx_Freeze/Manifest b/dev-python/cx_Freeze/Manifest index 6dbe8b8495e..61f8ec1d25b 100644 --- a/dev-python/cx_Freeze/Manifest +++ b/dev-python/cx_Freeze/Manifest @@ -1 +1,2 @@ DIST cx_Freeze-6.4.2.tar.gz 108571 BLAKE2B 742d2491154706f51ebb3e072428afac1ce5c647f2b8cb6325ea166bbedc1852503ad40e56a532345f1e2a045532620cdad24622e19ecb12d9577cf57abd291d SHA512 4c9a92b6f8dc458f82abb144171b18db1349e75b237f707ca37b7b68527508e8fb3adcf5d7b142922709727501fdc46f16a01619b29e98a6af1a0c09f9306b82 +DIST cx_Freeze-6.5.3.tar.gz 112334 BLAKE2B 77558e35ca13bc598a810ea70acfe59901c036daf37b2f9582c4f2761680d54d5be559e9abbf16bd995d7f4a4e7bd5d8793e0b53c24111767d54a69c633c9b46 SHA512 37ba5c920306ff62a21ab46c1b9fd6b1780864095d00223776c308fa28e60a5473c74e7da4e7478725de14b7f5628d8d8445f42c0671bc502e5e2d8ecb5ffae5 diff --git a/dev-python/cx_Freeze/cx_Freeze-6.5.3.ebuild b/dev-python/cx_Freeze/cx_Freeze-6.5.3.ebuild new file mode 100644 index 00000000000..9599093bee6 --- /dev/null +++ b/dev-python/cx_Freeze/cx_Freeze-6.5.3.ebuild @@ -0,0 +1,24 @@ +# 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" + +PATCHES=( + # bug #491602 + "${FILESDIR}/${PN}-6.5.3-buildsystem.patch" +) + +# bug #765385 +RESTRICT="test" diff --git a/dev-python/cx_Freeze/files/cx_Freeze-6.5.3-buildsystem.patch b/dev-python/cx_Freeze/files/cx_Freeze-6.5.3-buildsystem.patch new file mode 100644 index 00000000000..c280767a442 --- /dev/null +++ b/dev-python/cx_Freeze/files/cx_Freeze-6.5.3-buildsystem.patch @@ -0,0 +1,11 @@ +--- a/setup.py 2021-01-25 13:34:17.219027624 +0300 ++++ b/setup.py 2021-01-25 13:34:26.107026971 +0300 +@@ -67,8 +67,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") + self.compiler.link_executable( + objects, + fullname,
