diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-08-17 06:33:09 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-08-17 06:33:09 +0200 |
commit | 2053d36201e0e0bb63ca643d4ce3fccab760bd25 (patch) | |
tree | 132f1ba9bf222f2a935461a1968f25eb366aafce /dev-python/rustworkx | |
parent | xfce-base/xfdesktop: Bump to 4.19.3 (diff) | |
download | gentoo-2053d36201e0e0bb63ca643d4ce3fccab760bd25.tar.gz gentoo-2053d36201e0e0bb63ca643d4ce3fccab760bd25.tar.bz2 gentoo-2053d36201e0e0bb63ca643d4ce3fccab760bd25.zip |
dev-python/rustworkx: Revert "Enable py3.13 w/ pyo3-ffi patch"
The patch should no longer be necessary with Python 3.13.0rc2.
Reverts: 297f80c151520902f87db7454dca97f1c6fb477b
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/rustworkx')
-rw-r--r-- | dev-python/rustworkx/Manifest | 1 | ||||
-rw-r--r-- | dev-python/rustworkx/rustworkx-0.15.1-r2.ebuild | 164 |
2 files changed, 0 insertions, 165 deletions
diff --git a/dev-python/rustworkx/Manifest b/dev-python/rustworkx/Manifest index a65f00e00bb9..68cc84817326 100644 --- a/dev-python/rustworkx/Manifest +++ b/dev-python/rustworkx/Manifest @@ -84,7 +84,6 @@ DIST pyo3-build-config-0.20.2.crate 30029 BLAKE2B 846eb95d1417a658763417a2750dca DIST pyo3-build-config-0.21.2.crate 30581 BLAKE2B 993c1f7f15124336b70570ed3949cc0873c2b883e81dd3a350f347cf014fb9a82d487197fdaf475989b727b7ee8d9a5511a72422f76126b8788c4f40831baed8 SHA512 8b6bedb31235de3dd95bca6e19ea4eb7752227ceb9f1c928c4df2b277df5ee443e5c262e448012e4e54e3104213db4d745c9c42f79ab3029dee68f48ec3a2795 DIST pyo3-ffi-0.20.2.crate 64601 BLAKE2B cf1141ad34a13dcb46de0d1e15dda192ca41a7441bfc92a9295861876dcc690d1d5d6d39dafa51cd70c4627353efa91563eaefee8c39f655d12818003f9524da SHA512 ee6386b6fdb80689d104f9cd5229f02e1893d00a52be710bd36882c47305abbe24ef2f3cdef8200fddc0bb97e29001fa3a2fd9d3d2673ecd9a104a070420d01e DIST pyo3-ffi-0.21.2.crate 66160 BLAKE2B 759622fa3a41bcdb48170983c4e194898415f8db16a7c57ace89a7945bd47374d9a14e5ecf24e80a178bde597cfa30d41f9e6617b458d365640bdbda048e6f6e SHA512 5cbc9dfb14569210776fd66341e77e61642a9920354251a65b91aa13a0fb1c373258d1a6b4f8feacdc4266d472193d8f20a6dd2cc180ccc3d43fb66237ae6d0d -DIST pyo3-ffi-0.22.1-py313.patch 6315 BLAKE2B 55f9c5d45356e8c4b2a86da0f489788de576d7fb4c7b124a87d953e8d3a850fbeb05a1af8e6f34edf252aeda40445f711f4409a3a80df7442bd4676c1d8969f8 SHA512 f6e6e2498bbd8b60e013b4cb6e1f1eda764292e3cd91ba5800fe798521f462bb97f1e621711513d52c263f7b394821a710252425cfb0de0f1c4457882dd138ab DIST pyo3-macros-0.20.2.crate 7925 BLAKE2B 00fc60becfa39bf452786d8a612247785f1737cc3e627700d0d144ab2efaadfb34ce8a8f46e932382a1ea99caebfe1946fbc517b5c26fadb0822ecaa8b2e9df0 SHA512 dd9ea9acda95dfc53689a4c26d8c2139f8a90a05ab06737037f19b8bccd5e52b0da5f297a29194b958f5f8b59cbb566b5f409b3f17a863eddf855ecb755d2719 DIST pyo3-macros-0.21.2.crate 7920 BLAKE2B 60ceb626fd1ffeca7e81ebc721bb4cfebd99bb708d48bbfdd296b250ed41471f82e8657715e1f58840423ac11d8c5a84a6107a7037affdea4e0c2cc561514ed7 SHA512 95335a55d57346107fdc7591d51e36aa0a985d6c44a875475a0ed52df25d33b21a7b922fdab0eed190da9708968e79f7cd50bc683b6d210eb068713a915ac7f4 DIST pyo3-macros-backend-0.20.2.crate 49710 BLAKE2B 711b18984e61219555df4b62667f7f376951c6cb47e6dd947fc24618b923c4f4f790eb1aba1901abea4761632cdb58cfa81cce91f33586da3022e6c7d126bc9f SHA512 c6ca2a2cdae8630fba3f8e4122e81b60ef2ef0905ad2a3fbcfae134456d5ca9e73690b61590e391f3b9d82c24725809f18544c5dfa0b36ffdb1914844fe65d3a diff --git a/dev-python/rustworkx/rustworkx-0.15.1-r2.ebuild b/dev-python/rustworkx/rustworkx-0.15.1-r2.ebuild deleted file mode 100644 index 9017dc943e07..000000000000 --- a/dev-python/rustworkx/rustworkx-0.15.1-r2.ebuild +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright 2022-2024 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_{10..13} ) - -CRATES=" - ahash@0.8.11 - alga@0.9.3 - allocator-api2@0.2.18 - approx@0.3.2 - autocfg@1.3.0 - bitflags@2.6.0 - cfg-if@1.0.0 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.20 - either@1.13.0 - equivalent@1.0.1 - fixedbitset@0.4.2 - getrandom@0.2.15 - hashbrown@0.12.3 - hashbrown@0.14.5 - heck@0.4.1 - hermit-abi@0.3.9 - indexmap@1.9.3 - indexmap@2.2.6 - indoc@2.0.5 - itertools@0.10.5 - itertools@0.11.0 - itoa@1.0.11 - libc@0.2.155 - libm@0.2.8 - lock_api@0.4.12 - matrixmultiply@0.3.8 - memchr@2.7.4 - memoffset@0.9.1 - ndarray-stats@0.5.1 - ndarray@0.15.6 - noisy_float@0.2.0 - num-bigint@0.4.6 - num-complex@0.2.4 - num-complex@0.4.6 - num-integer@0.1.46 - num-traits@0.2.19 - num_cpus@1.16.0 - numpy@0.21.0 - once_cell@1.19.0 - parking_lot@0.12.3 - parking_lot_core@0.9.10 - petgraph@0.6.5 - portable-atomic@1.6.0 - ppv-lite86@0.2.17 - priority-queue@2.0.3 - proc-macro2@1.0.86 - pyo3-build-config@0.21.2 - pyo3-ffi@0.21.2 - pyo3-macros-backend@0.21.2 - pyo3-macros@0.21.2 - pyo3@0.21.2 - quick-xml@0.34.0 - quote@1.0.36 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rand_pcg@0.3.1 - rawpointer@0.2.1 - rayon-cond@0.3.0 - rayon-core@1.12.1 - rayon@1.10.0 - redox_syscall@0.5.2 - rustc-hash@1.1.0 - ryu@1.0.18 - scopeguard@1.2.0 - serde@1.0.203 - serde_derive@1.0.203 - serde_json@1.0.118 - smallvec@1.13.2 - sprs@0.11.1 - syn@2.0.68 - target-lexicon@0.12.14 - unicode-ident@1.0.12 - unindent@0.2.3 - version_check@0.9.4 - wasi@0.11.0+wasi-snapshot-preview1 - windows-targets@0.52.5 - windows_aarch64_gnullvm@0.52.5 - windows_aarch64_msvc@0.52.5 - windows_i686_gnu@0.52.5 - windows_i686_gnullvm@0.52.5 - windows_i686_msvc@0.52.5 - windows_x86_64_gnu@0.52.5 - windows_x86_64_gnullvm@0.52.5 - windows_x86_64_msvc@0.52.5 - zerocopy-derive@0.7.34 - zerocopy@0.7.34 -" - -inherit cargo distutils-r1 - -DESCRIPTION="A high performance Python graph library implemented in Rust" -HOMEPAGE=" - https://github.com/Qiskit/rustworkx/ - https://pypi.org/project/rustworkx/ -" -SRC_URI=" - https://github.com/Qiskit/rustworkx/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} - https://github.com/PyO3/pyo3/pull/4324.patch - -> pyo3-ffi-0.22.1-py313.patch -" - -LICENSE="Apache-2.0" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT - Unicode-DFS-2016 - || ( LGPL-3+ MPL-2.0 ) -" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/numpy-1.16.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-rust[${PYTHON_USEDEP}] - test? ( - dev-python/fixtures[${PYTHON_USEDEP}] - dev-python/graphviz[${PYTHON_USEDEP}] - >=dev-python/networkx-2.5[${PYTHON_USEDEP}] - dev-python/stestr[${PYTHON_USEDEP}] - >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}] - media-gfx/graphviz[gts] - ) -" - -# Libraries built with rust do not use CFLAGS and LDFLAGS. -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rustworkx/rustworkx.*\\.so" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - default - - cd "${ECARGO_VENDOR}"/pyo3-ffi-*/ || die - eapply -p2 "${DISTDIR}/pyo3-ffi-0.22.1-py313.patch" -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_DESELECT=( - # TODO: hangs - tests/retworkx_backwards_compat/visualization/test_mpl.py - tests/rustworkx_tests/visualization/test_mpl.py - ) - rm -rf rustworkx || die - epytest -} |