diff options
Diffstat (limited to 'dev-python/symengine')
-rw-r--r-- | dev-python/symengine/Manifest | 5 | ||||
-rw-r--r-- | dev-python/symengine/files/symengine-0.7.2-metadata.patch | 68 | ||||
-rw-r--r-- | dev-python/symengine/symengine-0.7.2-r2.ebuild | 59 | ||||
-rw-r--r-- | dev-python/symengine/symengine-0.8.1.ebuild | 2 |
4 files changed, 2 insertions, 132 deletions
diff --git a/dev-python/symengine/Manifest b/dev-python/symengine/Manifest index 79ec4e09bf5c..e2772b85e4a7 100644 --- a/dev-python/symengine/Manifest +++ b/dev-python/symengine/Manifest @@ -1,6 +1,3 @@ -AUX symengine-0.7.2-metadata.patch 3335 BLAKE2B 4c960b14a54cc52773d6c9053f771f34c3db27e2d68e58a65a0e04fa360293c71b1b8d5e0568bee7e7d8addb16c1e190de85e43f75bcd83742f73ec44c93dfc0 SHA512 b71d10a70bf8cb7d49e0737ed6e26edaa75c0e98e97b578919b363720f228ac666d4f42ad9848fa0007e4b08c06bf42f9fb0df2b22bde505e64130bc753be420 -DIST symengine.py-0.7.2.tar.gz 107747 BLAKE2B cacd11f316df5132b6bbee356fd7a4c2d3fa30e80b144c5d8982fec1b6856ca3c839ef7a6f8daf4e70a27462fc43870d05fa76ece085e5577a1672b8e9910127 SHA512 afde47e5f6274a02c6ca138a6316bf0f7ec1c7585acaf4ab19ba849280dfee9ba937c3f8f5117e70f2a6377224f6dab9757958272f4facbafdc11d7965ee7a84 DIST symengine.py-0.8.1.tar.gz 108857 BLAKE2B ff721982af3448d63074e599d56d38eef3002b4e8073fc22740ae61b288b863ed856d849675cbb1286f1b9bdd2263aa1e531635a0b074a7de6909a604e6b57e9 SHA512 73af12f686dcb495aef06964c76e6f31ef242bbba2e3b2fd545594fbf1902487edd021cc25b0a8324a7ac014e90ee85f64e388e092d36e8796db4c1ed53e75c7 -EBUILD symengine-0.7.2-r2.ebuild 1101 BLAKE2B b9677e1a13d106735d048b1ea3d104452d3db6ff2b80d872d7dd04a389aad403b34e8ac2a63a2f06a5e70fac254a44919812a8059fed410a37bcc40b5bfa0f57 SHA512 ee0d3ad59a1cb460ff5d5f4182e5d5f2de0e0b29a7a30d7d275b425860eab0563a5d1901c7b636c575d44003ebc3ea51267fedc2a15b2cffc576dace8b334f7a -EBUILD symengine-0.8.1.ebuild 1056 BLAKE2B 363266084470b3cfa2b5cc1a0ea4897a7b5fb2dd5c74807b269a080a8cae50adffb4259ad17b21703b2ed3c2f37f85eac9d511cfb1f345bb0c766e92417ea030 SHA512 4ddb848aad762b2280b04e30f19f6c9b40e87175960230c91cde832164cf62172e431a8b44216f5db61f68ab3dfcb3ceebfcb30459e41d03541684d4d901bcfe +EBUILD symengine-0.8.1.ebuild 1054 BLAKE2B 0cec9adbabf5493b960d03fbe5ed44702fa83c43cddcebaae968b70d2046961afcb782377abc4df37c96ff297f77d2fdcea0da5bc01ebb665169f2f3de21c3ce SHA512 e7a3409bb0af618100a164fefaffed90d80b104f7a22eb508d0b0c2f6a421ed7c9df4c045c4a3cc78198a0870b7586b4398b69c3c575e480730259cbce192443 MISC metadata.xml 404 BLAKE2B 5ff5d7b399605db96aeac08c73ce653dd7b24354e49fb316e4e943ceaa51b272d5f6bad8d44f8a6f4ab6d23a2b322b96b21f4600335d169ef8c1ad3bf0b1976d SHA512 73306bcbdecf7935f187df67b4ff819dec323f4ae8cfadaa4e1d99fef4165af7f085cc2a0b8ade29a68cbcc3e692d5b278e33fcc06303d6c54a24fe6470e792d diff --git a/dev-python/symengine/files/symengine-0.7.2-metadata.patch b/dev-python/symengine/files/symengine-0.7.2-metadata.patch deleted file mode 100644 index 965751a41e7a..000000000000 --- a/dev-python/symengine/files/symengine-0.7.2-metadata.patch +++ /dev/null @@ -1,68 +0,0 @@ -From 01b2f6255e05a808b14a9541b7a762277e409edb Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sat, 29 May 2021 19:37:04 +0200 -Subject: [PATCH] Fix python_requires to unbreak installed package metadata - -The '>=3.6.*' entry in python_requires is invalid and results in broken -metadata being installed. This in turn causes distlib to break. -To reproduce: - - $ pip install distlib symengine - $ python -c "import distlib.database; \ - distlib.database.DistributionPath().get_distribution('symengine')" - Traceback (most recent call last): - File "/tmp/venv3/lib/python3.9/site-packages/distlib/metadata.py", line 677, in __init__ - self._data = json.loads(data) - File "/usr/lib/python3.9/json/__init__.py", line 346, in loads - return _default_decoder.decode(s) - File "/usr/lib/python3.9/json/decoder.py", line 337, in decode - obj, end = self.raw_decode(s, idx=_w(s, 0).end()) - File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode - raise JSONDecodeError("Expecting value", s, err.value) from None - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) - - During handling of the above exception, another exception occurred: - - Traceback (most recent call last): - File "<string>", line 1, in <module> - File "/tmp/venv3/lib/python3.9/site-packages/distlib/database.py", line 240, in get_distribution - self._generate_cache() - File "/tmp/venv3/lib/python3.9/site-packages/distlib/database.py", line 167, in _generate_cache - for dist in self._yield_distributions(): - File "/tmp/venv3/lib/python3.9/site-packages/distlib/database.py", line 148, in _yield_distributions - metadata = Metadata(fileobj=stream, scheme='legacy') - File "/tmp/venv3/lib/python3.9/site-packages/distlib/metadata.py", line 686, in __init__ - self._legacy = LegacyMetadata(fileobj=StringIO(data), - File "/tmp/venv3/lib/python3.9/site-packages/distlib/metadata.py", line 261, in __init__ - self.read_file(fileobj) - File "/tmp/venv3/lib/python3.9/site-packages/distlib/metadata.py", line 359, in read_file - self.set(field, value) - File "/tmp/venv3/lib/python3.9/site-packages/distlib/metadata.py", line 459, in set - if not scheme.is_valid_constraint_list(value): - File "/tmp/venv3/lib/python3.9/site-packages/distlib/version.py", line 716, in is_valid_constraint_list - return self.is_valid_matcher('dummy_name (%s)' % s) - File "/tmp/venv3/lib/python3.9/site-packages/distlib/version.py", line 703, in is_valid_matcher - self.matcher(s) - File "/tmp/venv3/lib/python3.9/site-packages/distlib/version.py", line 115, in __init__ - raise ValueError('\'.*\' not allowed for ' - ValueError: '.*' not allowed for '>=' constraints ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 8e64d93..7b2a2d7 100644 ---- a/setup.py -+++ b/setup.py -@@ -222,7 +222,7 @@ setup(name="symengine", - author_email="symengine@googlegroups.com", - license="MIT", - url="https://github.com/symengine/symengine.py", -- python_requires='>=3.6.*,<4', -+ python_requires='>=3.6,<4', - zip_safe=False, - cmdclass = cmdclass, - classifiers=[ --- -2.31.1 - diff --git a/dev-python/symengine/symengine-0.7.2-r2.ebuild b/dev-python/symengine/symengine-0.7.2-r2.ebuild deleted file mode 100644 index d1aa5889ef88..000000000000 --- a/dev-python/symengine/symengine-0.7.2-r2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit distutils-r1 - -MY_P=${PN}.py-${PV} -DESCRIPTION="Python wrappers to the symengine C++ library" -HOMEPAGE="https://github.com/symengine/symengine.py/" -SRC_URI=" - https://github.com/symengine/symengine.py/archive/v${PV}.tar.gz - -> ${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" - -BDEPEND=" - dev-util/cmake - dev-python/cython[${PYTHON_USEDEP}] - test? ( - dev-python/sympy[${PYTHON_USEDEP}] - ) -" -# See bug #786582 for symengine constraint -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - >=sci-libs/symengine-$(ver_cut 1-2) -" - -distutils_enable_tests pytest - -# the C library installs the same docs -DOCS=() - -PATCHES=( - "${FILESDIR}"/${P}-metadata.patch -) - -src_prepare() { - default - - # Don't install tests - > "${S}/symengine/tests/CMakeLists.txt" || die -} - -python_test() { - cd "${BUILD_DIR}" || die - epytest -} - -python_install() { - distutils-r1_python_install - python_optimize -} diff --git a/dev-python/symengine/symengine-0.8.1.ebuild b/dev-python/symengine/symengine-0.8.1.ebuild index faff40aea83c..1681ff5465dc 100644 --- a/dev-python/symengine/symengine-0.8.1.ebuild +++ b/dev-python/symengine/symengine-0.8.1.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" BDEPEND=" dev-util/cmake |