diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-22 19:52:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-22 19:52:05 +0000 |
commit | b6a0f46f7d2e1e21df70fb32169f7d9de85445f7 (patch) | |
tree | 2f1b6f7c25e85d70d737cd66c68673ed58e1108e /dev-python/symengine | |
parent | 9173f73d44f3cbc858477bd71e7680ede7d98e0d (diff) |
gentoo auto-resync : 22:12:2023 - 19:52:05
Diffstat (limited to 'dev-python/symengine')
-rw-r--r-- | dev-python/symengine/Manifest | 6 | ||||
-rw-r--r-- | dev-python/symengine/files/symengine-0.9.2-cmake-setuptools.patch | 84 | ||||
-rw-r--r-- | dev-python/symengine/files/symengine-0.9.2-setuptools-61.patch | 17 | ||||
-rw-r--r-- | dev-python/symengine/symengine-0.10.0.ebuild | 53 | ||||
-rw-r--r-- | dev-python/symengine/symengine-0.9.2-r3.ebuild | 57 |
5 files changed, 0 insertions, 217 deletions
diff --git a/dev-python/symengine/Manifest b/dev-python/symengine/Manifest index 37d9ee1645a9..27668e7e0a81 100644 --- a/dev-python/symengine/Manifest +++ b/dev-python/symengine/Manifest @@ -1,9 +1,3 @@ -AUX symengine-0.9.2-cmake-setuptools.patch 2629 BLAKE2B 625278ad90c6ed44c1ba99f8744d6b9a7c7da42d04c734385d53bc6b4e3b61aa1675159c7bb3048bb6a1b988b0836cfbe7818934c8171f3ae55dddc73a0189be SHA512 3f87c37ddf506c3a8aaf652d787f1c40e937ee2b2f17aece2c10d4a0218d67b52b1cc7c8ee3e504b2b1f8b87144e4b35c8a2ec061b054591c04ed0a7ed04b4d1 -AUX symengine-0.9.2-setuptools-61.patch 566 BLAKE2B 362c880be08c98da85b1ae2a13ca7cc422af5f07730eebc6d9eee6bbcab703df3baf88925e10a417e261eceb83ee36ff6b8e8b824bc1497e1a462b746712c317 SHA512 dc2c85d0a39a58bb0011aee4cc0852815568eb0a310f39ee0aa8b2500a6266ddab2cb03d7bbcf317897c64cf31f3909a40d12cba1c0392291ffdbb7b348b1c98 -DIST symengine.py-0.10.0.gh.tar.gz 112272 BLAKE2B 8d8262c1abc48e3b84e14a5c825f0c19335b7374ecb8f641b20140467709c199af542a7e15036a4264d885ee0e425665faa97a2b320bfaf45e8de1ba469b53a4 SHA512 7e3f2554ab79d92d7247b573c383c2ac0dda421b5421d088362007f70b055bc59d9879b8f6d4c5788ddf127ea0974ad9305d23db701f3b9b32a17d6b03000e7d DIST symengine.py-0.11.0.gh.tar.gz 111973 BLAKE2B 0e85e97b55b6a537a1a13cf308ddd878fe02968f0da648fafb8a11583b1ca39758ef38625cb95fbdeb03713d9e84ab6f0d3a092c1b9365cdfca179c4173c70a2 SHA512 9e70d84126b65fb8a9f7acf076ef8de39c3c65f1868708541cd861f694fb36cf4cc09ed676bac00b40460287c90ec411b56aba35e43308438a4830087c02e42e -DIST symengine.py-0.9.2.gh.tar.gz 110856 BLAKE2B 11330acc04970d367fe66787521776dbd803929d91802ea09d1bc54a96c8fd87e85114042f57fc8c007de2dcaa1b0503a8389ac677797cc2efc866d71d76d1db SHA512 ea9e8cb7dd789b551f5372c32b98365ab251bac838204b5c832783f9866c2774f5d411f2f59e5e60f17939a1c341702acfc3e3f7e77246330ab3cb74f5ba7cca -EBUILD symengine-0.10.0.ebuild 1100 BLAKE2B 133d0cca92152c8aed3fca9f4375ec220550bbff2d52b9ed8c1f36bd5dc2956c951fb2f094edfd9400bb59b79647d853cd70cc37131d6a60c74219d1550f0c02 SHA512 0abd60babe7fc15bba988faf27cb0d9e6391835880a27f2d1f7ec0310d3fa14777664e0f879fed2435e032c15398db91a930e33647a3ce57f8f263694f0a5f3f EBUILD symengine-0.11.0.ebuild 1108 BLAKE2B ed6008d5958a745c47efd8319bf183b28e9f264eba20fc92cad8ba74203fdac88a72f60fa5f83ed4c0274f204af36f6dff7307f999957abee7e2274c2d40fb93 SHA512 b1b3d34d052ade5439900340aecb2579d137a14833edc6896c1c853b7a6a57dc54f22eef635f13b60ace0ed7e21fb6ad390f1e6b417e35f529e4efc87dd4fc54 -EBUILD symengine-0.9.2-r3.ebuild 1181 BLAKE2B cfdc073590ddf4f861666bb5a7cbe5964b4c5510701ac136e0f1014ec49f0a0dece6b08208710b6dc8003df355f386dcc26fea9363f658d16cb8d643a82d257b SHA512 6463cf13871325af20b16c625935df61b3e5a886f74202cd2b0f841559243c692cb67dc09dfcc7ea3ff42205e619a306181b457fdf1d5d4c97eb174139114747 MISC metadata.xml 505 BLAKE2B 9c9b44455691ec31e5eed2f355dc4633ba05548c6e00fe49e665ad7fd1867bd6a7345f84409ea14049cc01818ef67d7795afff4e01fe88c25b1977f4d6f0fbff SHA512 6a774984cef49d82908bced7cf61bb5550207503335ae09abd9c08cdde5396cbf123d7ed5d49934ccf7dbc5167f0c13f2e6ecf31bca9f5af0a2f7c46f22bf9df diff --git a/dev-python/symengine/files/symengine-0.9.2-cmake-setuptools.patch b/dev-python/symengine/files/symengine-0.9.2-cmake-setuptools.patch deleted file mode 100644 index 3b930c998d99..000000000000 --- a/dev-python/symengine/files/symengine-0.9.2-cmake-setuptools.patch +++ /dev/null @@ -1,84 +0,0 @@ -https://github.com/symengine/symengine.py/pull/402 -https://bugs.gentoo.org/836599 - -From bc84086d60de038eb381c9e37c8b552a6c246ab5 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Mon, 2 May 2022 09:24:45 +0200 -Subject: [PATCH] Fix build to avoid duplicate files in wheel - -Fix the build system to package pure Python files -via distutils/setuptools, and limit CMake to installing the compiled -extension. - -The prior logic has installed some of the .py files both via setuptools -and via CMake, to different build directories. As a result, -the resulting wheel contained duplicate files, e.g.: - - 2170 05-02-2022 07:08 symengine/__init__.py - 2170 05-02-2022 07:08 symengine-0.9.2.data/purelib/symengine/__init__.py - -Duplicate files cause the wheel to be rejected by the installer package. - -After the change, a correct wheel is generated. Installation works -both via PEP517/wheel and via legacy `setup.py install`. ---- a/setup.py -+++ b/setup.py -@@ -226,7 +226,7 @@ def finalize_options(self): - url="https://github.com/symengine/symengine.py", - python_requires='>=3.7,<4', - zip_safe=False, -- packages=['symengine'], -+ packages=['symengine', 'symengine.lib', 'symengine.tests'], - cmdclass = cmdclass, - classifiers=[ - 'License :: OSI Approved :: MIT License', ---- a/symengine/CMakeLists.txt -+++ b/symengine/CMakeLists.txt -@@ -1,7 +1 @@ - add_subdirectory(lib) --add_subdirectory(tests) -- --set(PY_PATH ${PYTHON_INSTALL_PATH}/symengine) --install(FILES __init__.py utilities.py sympy_compat.py functions.py printing.py -- DESTINATION ${PY_PATH} -- ) ---- a/symengine/lib/CMakeLists.txt -+++ b/symengine/lib/CMakeLists.txt -@@ -28,7 +28,7 @@ install(TARGETS symengine_wrapper - ARCHIVE DESTINATION ${PY_PATH} - LIBRARY DESTINATION ${PY_PATH} - ) --install(FILES __init__.py -+install(FILES - ${CMAKE_CURRENT_BINARY_DIR}/config.pxi - symengine.pxd - symengine_wrapper.pxd ---- a/symengine/tests/CMakeLists.txt -+++ /dev/null -@@ -1,25 +0,0 @@ --set(PY_PATH ${PYTHON_INSTALL_PATH}/symengine/tests) --install(FILES __init__.py -- test_arit.py -- test_dict_basic.py -- test_eval.py -- test_expr.py -- test_functions.py -- test_number.py -- test_matrices.py -- test_ntheory.py -- test_printing.py -- test_sage.py -- test_series_expansion.py -- test_sets.py -- test_solve.py -- test_subs.py -- test_symbol.py -- test_sympify.py -- test_sympy_conv.py -- test_var.py -- test_lambdify.py -- test_sympy_compat.py -- test_logic.py -- DESTINATION ${PY_PATH} -- ) - diff --git a/dev-python/symengine/files/symengine-0.9.2-setuptools-61.patch b/dev-python/symengine/files/symengine-0.9.2-setuptools-61.patch deleted file mode 100644 index a8fad4868110..000000000000 --- a/dev-python/symengine/files/symengine-0.9.2-setuptools-61.patch +++ /dev/null @@ -1,17 +0,0 @@ -https://github.com/symengine/symengine.py/commit/987e665e71cf92d1b021d7d573a1b9733408eecf -https://bugs.gentoo.org/836599 - -From: Isuru Fernando <isuruf@gmail.com> -Date: Sat, 2 Apr 2022 15:43:00 -0500 -Subject: [PATCH] Fix for latest setuptools - ---- a/setup.py -+++ b/setup.py -@@ -226,6 +226,7 @@ def finalize_options(self): - url="https://github.com/symengine/symengine.py", - python_requires='>=3.7,<4', - zip_safe=False, -+ packages=['symengine'], - cmdclass = cmdclass, - classifiers=[ - 'License :: OSI Approved :: MIT License', diff --git a/dev-python/symengine/symengine-0.10.0.ebuild b/dev-python/symengine/symengine-0.10.0.ebuild deleted file mode 100644 index ac94753f6d54..000000000000 --- a/dev-python/symengine/symengine-0.10.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -MY_P=${PN}.py-${PV} -DESCRIPTION="Python wrappers to the symengine C++ library" -HOMEPAGE=" - https://github.com/symengine/symengine.py/ - https://pypi.org/project/symengine/ -" -SRC_URI=" - https://github.com/symengine/symengine.py/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~riscv ~x86" - -BDEPEND=" - dev-util/cmake - <dev-python/cython-3[${PYTHON_USEDEP}] - test? ( - dev-python/sympy[${PYTHON_USEDEP}] - ) -" -# See bug #786582 for symengine constraint -# See also https://github.com/symengine/symengine.py/blob/master/symengine_version.txt -DEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - =sci-libs/symengine-$(ver_cut 1-2)* -" -RDEPEND=" - ${DEPEND} -" - -# The C library installs the same docs -DOCS=() - -distutils_enable_tests pytest - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - epytest -} diff --git a/dev-python/symengine/symengine-0.9.2-r3.ebuild b/dev-python/symengine/symengine-0.9.2-r3.ebuild deleted file mode 100644 index 24ee3e4c209d..000000000000 --- a/dev-python/symengine/symengine-0.9.2-r3.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -MY_P=${PN}.py-${PV} -DESCRIPTION="Python wrappers to the symengine C++ library" -HOMEPAGE=" - https://github.com/symengine/symengine.py/ - https://pypi.org/project/symengine/ -" -SRC_URI=" - https://github.com/symengine/symengine.py/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" - -BDEPEND=" - dev-util/cmake - <dev-python/cython-3[${PYTHON_USEDEP}] - test? ( - dev-python/sympy[${PYTHON_USEDEP}] - ) -" -# See bug #786582 for symengine constraint -# See also https://github.com/symengine/symengine.py/blob/master/symengine_version.txt -DEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - =sci-libs/symengine-$(ver_cut 1-2)* -" -RDEPEND=" - ${DEPEND} -" - -# the C library installs the same docs -DOCS=() - -PATCHES=( - "${FILESDIR}"/${P}-setuptools-61.patch - "${FILESDIR}"/${PN}-0.9.2-cmake-setuptools.patch -) - -distutils_enable_tests pytest - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - epytest -} |