From f87d83ebb0d6ae5915c4775f762a0b5bceb9b2a5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 7 Oct 2023 18:01:02 +0100 Subject: gentoo auto-resync : 07:10:2023 - 18:01:02 --- dev-python/Manifest.gz | Bin 267252 -> 267259 bytes dev-python/elastic-transport/Manifest | 2 +- .../elastic-transport-8.4.1-r1.ebuild | 65 ++++++++++++++++++ .../elastic-transport-8.4.1.ebuild | 59 ----------------- dev-python/gitdb/Manifest | 2 +- dev-python/gitdb/gitdb-4.0.10-r1.ebuild | 65 ++++++++++++++++++ dev-python/gitdb/gitdb-4.0.10.ebuild | 59 ----------------- dev-python/httpbin/Manifest | 2 +- dev-python/httpbin/httpbin-0.10.1-r1.ebuild | 33 ---------- dev-python/httpbin/httpbin-0.10.1-r2.ebuild | 39 +++++++++++ dev-python/tables/Manifest | 2 +- dev-python/tables/tables-3.9.1-r1.ebuild | 73 +++++++++++++++++++++ dev-python/tables/tables-3.9.1.ebuild | 73 --------------------- 13 files changed, 246 insertions(+), 228 deletions(-) create mode 100644 dev-python/elastic-transport/elastic-transport-8.4.1-r1.ebuild delete mode 100644 dev-python/elastic-transport/elastic-transport-8.4.1.ebuild create mode 100644 dev-python/gitdb/gitdb-4.0.10-r1.ebuild delete mode 100644 dev-python/gitdb/gitdb-4.0.10.ebuild delete mode 100644 dev-python/httpbin/httpbin-0.10.1-r1.ebuild create mode 100644 dev-python/httpbin/httpbin-0.10.1-r2.ebuild create mode 100644 dev-python/tables/tables-3.9.1-r1.ebuild delete mode 100644 dev-python/tables/tables-3.9.1.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 71e40b8e9143..8a14f72da522 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/elastic-transport/Manifest b/dev-python/elastic-transport/Manifest index 1c0af41196da..7ba13b6f3661 100644 --- a/dev-python/elastic-transport/Manifest +++ b/dev-python/elastic-transport/Manifest @@ -1,5 +1,5 @@ DIST elastic-transport-8.4.0.gh.tar.gz 70975 BLAKE2B cec717606a55906da9157a0aaa3c656041201c2b62c77d42a67aabaad387c2e9f139dd1bd39e31b15f51fa2ac1b605d9f98b540000ee03d8aecf118cf972048a SHA512 82d0e0af3992335ce17bdc2a74f80fbf98bc9873d798be65f30d59fa55cb3bf50b55821133ea01d2ced9c27bf4019bac19e76e6853c29b87762ae0a9b593c3f5 DIST elastic-transport-python-8.4.1.gh.tar.gz 71404 BLAKE2B 9d923362a6880685c6280aa9308089157c82ee570c2b608f2ed1398fec1e7946bad159a9bc74c1369a5042a30885948748014b0f5ee2362da83780b1a42d7f22 SHA512 50a3d60c00307659f51468e648a0c2cc7aa9be0b84df8fb2bbfea8c9f2d31fe568cbd9d4040c1aa174acc5d9902f45631a8a55e7950a7cf05fa26e0eef8bbd0e EBUILD elastic-transport-8.4.0.ebuild 1763 BLAKE2B 8d58726109a7098f7a1f9ccc43a3fd4ac756d02371a6da9e952d311a0bd443b47b0ca3c9281bc0230461c9a7e014151d51f50ad63ab9e0b0200d539b7d75cc7e SHA512 b982365c1326222c1878394132eb3b33bf5a56e493b33161920e482d84ebb20270a663df32b2678aa0c645db91439ee1a78f05fd3cdd59e90dc9b9f2d55b3c6b -EBUILD elastic-transport-8.4.1.ebuild 1506 BLAKE2B 76dd517d1a851f3e06d3acacb2e080864cc0f81f52f695c5bae209e1606757095c7bc9cb4172ef981dde55c0a89b352954a841ae1da760cc352ada7a2822d532 SHA512 1e05d08d0d8bea76972d3e9211108825d78d020fc98d121a0fd69a9a1ad910216c81eac0f26cabcdb495bbdc187e507b9df20bfdf2b7ca35082dd20441db7b99 +EBUILD elastic-transport-8.4.1-r1.ebuild 1610 BLAKE2B 036359b92575441035a570c797f54cc454bda3417a5602786ad2bdb12892c572c3ae0860e0ee5e5dd34559f595f748541150c4f9cde663d8de38770bc846e744 SHA512 4335197ad020ff1de459118ca8479ccb5c542c88e3b7bfb1cf6ae4eb923522d4dc1faca963297cc67f8d2655b2bf3e19a9889fccc61fd2dfc12e8d737cf4c347 MISC metadata.xml 569 BLAKE2B 82c4abea94dfb42f0da4cb2958207a35c7d5372e9810c031adcb53e49a0528f9b9fd48043d5d20cfd5a7e8046ea79bb9a6e48fe09948232fc641936bbee96738 SHA512 194ca8b79d33888cc404a5809a6ff43b2c2bef8b108cadce46393bd698b4d30124f6b6fd6732b2a905a2ec492169889f3042fd09d9577d28fa6a0921d88b56e2 diff --git a/dev-python/elastic-transport/elastic-transport-8.4.1-r1.ebuild b/dev-python/elastic-transport/elastic-transport-8.4.1-r1.ebuild new file mode 100644 index 000000000000..dce465fc52fb --- /dev/null +++ b/dev-python/elastic-transport/elastic-transport-8.4.1-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +MY_P=elastic-transport-python-${PV} +DESCRIPTION="Transport classes and utilities shared among Python Elastic client libraries" +HOMEPAGE=" + https://github.com/elastic/elastic-transport-python/ + https://pypi.org/project/elastic-transport/ +" +SRC_URI=" + https://github.com/elastic/elastic-transport-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26.2[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/sphinx \ + dev-python/furo \ + dev-python/sphinx-autodoc-typehints +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e 's:, *<[0-9.]*::' setup.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # fragile to random warnings + tests/node/test_http_aiohttp.py::TestAiohttpHttpNode::test_uses_https_if_verify_certs_is_off + tests/node/test_urllib3_chain_certs.py::test_assert_fingerprint_in_cert_chain + ) + + epytest -o addopts= +} diff --git a/dev-python/elastic-transport/elastic-transport-8.4.1.ebuild b/dev-python/elastic-transport/elastic-transport-8.4.1.ebuild deleted file mode 100644 index 4fc66262c545..000000000000 --- a/dev-python/elastic-transport/elastic-transport-8.4.1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 - -MY_P=elastic-transport-python-${PV} -DESCRIPTION="Transport classes and utilities shared among Python Elastic client libraries" -HOMEPAGE=" - https://github.com/elastic/elastic-transport-python/ - https://pypi.org/project/elastic-transport/ -" -SRC_URI=" - https://github.com/elastic/elastic-transport-python/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -PROPERTIES="test_network" -RESTRICT="test" - -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.26.2[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" -BDEPEND=" - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-httpserver[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs/sphinx \ - dev-python/furo \ - dev-python/sphinx-autodoc-typehints -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # fragile to random warnings - tests/node/test_http_aiohttp.py::TestAiohttpHttpNode::test_uses_https_if_verify_certs_is_off - tests/node/test_urllib3_chain_certs.py::test_assert_fingerprint_in_cert_chain - ) - - epytest -o addopts= -} diff --git a/dev-python/gitdb/Manifest b/dev-python/gitdb/Manifest index 775249ab41a7..e56fb3d53f74 100644 --- a/dev-python/gitdb/Manifest +++ b/dev-python/gitdb/Manifest @@ -1,3 +1,3 @@ DIST gitdb-4.0.10.tar.gz 394284 BLAKE2B f5a00dd3a27a17781df4c53c268c92101838ce53efcb3796a72a79f8109540912f86d746cad169ef34af2575cfb242e90cb450b658699512d37956f6902e14ed SHA512 6cfb58db322f1b18fd25d0c6537e5b24b2eb2f7a7222c1511cdee8dff39fb1249bf12691b9cb1a5d653131b8c3c57c1de2bb42139a2c8da6014332b4f1c6c03b -EBUILD gitdb-4.0.10.ebuild 1140 BLAKE2B c6fceafb2d0c07773f4283f7d8e98729c1890b2dc2b3f438588807bd2de08470005dd5b514cee9b83ee50225830d2bf245725b2c56de92e9ec75e78a289d8ff0 SHA512 dd0f508cd7690f29165f52fc736f232c0e087ef3268d4c1a75a6073c6574926ca7b92c602a5fa28203ffcca74c3793e0eda20e9fcc8f3755e0e462b353e61823 +EBUILD gitdb-4.0.10-r1.ebuild 1242 BLAKE2B 80552946ef1d4324461b36cf4289b010076ff2fc8b3d309ffa9ad791fea1702c64384eccc90d3f0bdccba5667d22c291fe42f62e6351820c2cdb5533915c7708 SHA512 258bb112fa6b8e8e43703bb8f874c0af998f6f8a6911c119ee6ac65e79050c3d12a6f7af47a7c6a3193a5b0764e055917cf7002ec23f6200f715702cd664c71c MISC metadata.xml 412 BLAKE2B 102f815a0eee2ea04a3c77b8b26f08760bbd64ee1f0b6b2523164f3b3fb576003865198574529332c2da8f6548f232b4cbc1bbc2e93fd7a437fe77dbde934ca7 SHA512 1f94c86c4366e0be10f89e3dbf935025bbf51d547b0ba65d99d2e97da0590de0d05fbe05e0277b0177fb1b2a9cea55cf824d332a224336d71cd49b0257fc31da diff --git a/dev-python/gitdb/gitdb-4.0.10-r1.ebuild b/dev-python/gitdb/gitdb-4.0.10-r1.ebuild new file mode 100644 index 000000000000..29f1be530228 --- /dev/null +++ b/dev-python/gitdb/gitdb-4.0.10-r1.ebuild @@ -0,0 +1,65 @@ +# 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_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="GitDB is a pure-Python git object database" +HOMEPAGE=" + https://github.com/gitpython-developers/gitdb/ + https://pypi.org/project/gitdb/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + >=dev-python/smmap-3.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e 's:,<[0-9.]*::' setup.py || die + distutils-r1_src_prepare +} + +src_test() { + local i + + mkdir "${T}"/repo || die + cd "${T}"/repo || die + + for (( i = 0; i < 2500; ++i )); do + echo "${i}" > file"${i}" || die + done + + git init || die + git config user.email "you@example.com" || die + git config user.name "Your Name" || die + git add -A || die + git commit -q -m ".." || die + git clone --bare "${T}"/repo "${T}"/repo.git || die + cd "${S}" || die + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_IGNORE=( + gitdb/test/performance + ) + local -x GITDB_TEST_GIT_REPO_BASE="${T}"/repo.git + epytest +} diff --git a/dev-python/gitdb/gitdb-4.0.10.ebuild b/dev-python/gitdb/gitdb-4.0.10.ebuild deleted file mode 100644 index 1fbb39e1a6ae..000000000000 --- a/dev-python/gitdb/gitdb-4.0.10.ebuild +++ /dev/null @@ -1,59 +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_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="GitDB is a pure-Python git object database" -HOMEPAGE=" - https://github.com/gitpython-developers/gitdb/ - https://pypi.org/project/gitdb/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/smmap-3.0.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-vcs/git - ) -" - -distutils_enable_tests pytest - -src_test() { - local i - - mkdir "${T}"/repo || die - cd "${T}"/repo || die - - for (( i = 0; i < 2500; ++i )); do - echo "${i}" > file"${i}" || die - done - - git init || die - git config user.email "you@example.com" || die - git config user.name "Your Name" || die - git add -A || die - git commit -q -m ".." || die - git clone --bare "${T}"/repo "${T}"/repo.git || die - cd "${S}" || die - - distutils-r1_src_test -} - -python_test() { - local EPYTEST_IGNORE=( - gitdb/test/performance - ) - local -x GITDB_TEST_GIT_REPO_BASE="${T}"/repo.git - epytest -} diff --git a/dev-python/httpbin/Manifest b/dev-python/httpbin/Manifest index f3c7fc6e8b91..315a8c922399 100644 --- a/dev-python/httpbin/Manifest +++ b/dev-python/httpbin/Manifest @@ -1,3 +1,3 @@ DIST httpbin-0.10.1.tar.gz 107058 BLAKE2B a46732946fc3454e2ae71c4eec4f88521e190b736445c54f555021a273a75f57acbc9234237e6973a21fc3bf8f71d8c8b51d6422d719f03546ecd6887a20fe1b SHA512 e3b851253c347893a80e866e7d0188c572f2a87a540125de3d9cbe0b8c3f1ddfab2c60ee3ffde3fd7274fc662294c978c39b1b52acfd92c52fd552966da203be -EBUILD httpbin-0.10.1-r1.ebuild 861 BLAKE2B adec7c3d79f6fb85e162936867779ffebc86b252dcf10751d606503b46f156b694c54a01092a23a287dfbaba8d071c4bbc46238f358cb1e3661d7429034bcedd SHA512 5b845ad808dc20d0f1070efc409c25fc86ef465a8b55f86b875fd80bf014adcbf2918548afe56c89905a278b65a0b5ce5a828bc8aa6307a5f4d9f21bd096143c +EBUILD httpbin-0.10.1-r2.ebuild 971 BLAKE2B 6ed086d061c422535938ff7102a0fd296a02fef8c268b270935cc2d99e53d98f5f9a32103a190e4d6afe3e16061c3b0a684a4a4e43bd94c3738524c3db626b0f SHA512 e3b46bed098b2f44b652df8a5923cbedc03c63a5f5b189638cc4967ea5321c0c24a1b2af598d85182750606885520f233479a9298e0f552e01deca88588c667d MISC metadata.xml 445 BLAKE2B c577334830bc0d51f9df221e224c231c254b3db9129e4028d53cbd96a4481728e3b721b44f569c243deeecfb38e8dc81a7566a0b7ccd665d51b1a69a3687eb18 SHA512 fcdbd0c24e12d91df89af24befa6c9600f28083c3fe38e88ebec9856f4fb5c4c137c3b85f2271422c513bbd7c31a457f8290ebc2dd755d9117d57aa42883eec8 diff --git a/dev-python/httpbin/httpbin-0.10.1-r1.ebuild b/dev-python/httpbin/httpbin-0.10.1-r1.ebuild deleted file mode 100644 index 452043b95db7..000000000000 --- a/dev-python/httpbin/httpbin-0.10.1-r1.ebuild +++ /dev/null @@ -1,33 +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_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP Request and Response Service" -HOMEPAGE=" - https://github.com/psf/httpbin/ - https://pypi.org/project/httpbin/ -" - -LICENSE="|| ( MIT ISC )" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/brotlicffi[${PYTHON_USEDEP}] - dev-python/decorator[${PYTHON_USEDEP}] - dev-python/flasgger[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/itsdangerous[${PYTHON_USEDEP}] - dev-python/markupsafe[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - =dev-python/werkzeug-2.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/httpbin/httpbin-0.10.1-r2.ebuild b/dev-python/httpbin/httpbin-0.10.1-r2.ebuild new file mode 100644 index 000000000000..d6ccf0b5a75e --- /dev/null +++ b/dev-python/httpbin/httpbin-0.10.1-r2.ebuild @@ -0,0 +1,39 @@ +# 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_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="HTTP Request and Response Service" +HOMEPAGE=" + https://github.com/psf/httpbin/ + https://pypi.org/project/httpbin/ +" + +LICENSE="|| ( MIT ISC )" +SLOT="0" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/flasgger[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/markupsafe[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + =dev-python/werkzeug-2.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin greenlet + sed -i -e '/greenlet/d' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/tables/Manifest b/dev-python/tables/Manifest index 32a0a9de40d4..349d935007b3 100644 --- a/dev-python/tables/Manifest +++ b/dev-python/tables/Manifest @@ -6,5 +6,5 @@ DIST tables-3.9.0.tar.gz 4682294 BLAKE2B a4ff5a67c0376e90ca4f1f405878ead3bbb807b DIST tables-3.9.1.tar.gz 4682299 BLAKE2B 0f873cbf82aea0651ced49d92416c5c3c1420dc527c8876a25c0631b1ee59d0b44c920780a9026674d217553d550e57b0ce87b1f6af81ac5bc27c32c161007cb SHA512 c3350a818f11674d15c87edeb9a5b32303d81d533a5473051b8ecb82780d7971fc106fa2e7df3a2bec333d19cead29ef80e2c9355f76a4a1297e44bf7a99ef76 EBUILD tables-3.8.0-r3.ebuild 1870 BLAKE2B 2bcb99c28f91f33f731cc0289c25ddcb9a2d0435204dce09412af73ffb9091b7ada68a6a2535cdf7a391bcabe3e9f119154913a2d6bb1b6e2a8799b2153399ed SHA512 97e3c843f14e50d569ad7d7c52caa368e2cae5bbb3a2b4e25290758965c22e57055e0f72a3097f9ddc36f27e7c9e79899b46b99fe6ac3bbc19f654c5e9f36a35 EBUILD tables-3.9.0.ebuild 1697 BLAKE2B 905de64dc23fb7d90bffef5dac8eb5ee82a3ae4132c1609a70a0f319e9bbd4d26bc717d9726f7b5a576fa328ee6394699113a6bf2996fd13651dd8ce3e58c46a SHA512 bf96c5daa82b4b94197d1906258081d5d83062b7e5efb3da8f0596b2ac8fee1f901a7d63a96985d12631dd544c66b9364f3219be80002079ebe64bcc34e22820 -EBUILD tables-3.9.1.ebuild 1697 BLAKE2B 905de64dc23fb7d90bffef5dac8eb5ee82a3ae4132c1609a70a0f319e9bbd4d26bc717d9726f7b5a576fa328ee6394699113a6bf2996fd13651dd8ce3e58c46a SHA512 bf96c5daa82b4b94197d1906258081d5d83062b7e5efb3da8f0596b2ac8fee1f901a7d63a96985d12631dd544c66b9364f3219be80002079ebe64bcc34e22820 +EBUILD tables-3.9.1-r1.ebuild 1695 BLAKE2B d231b651c100c633179dc586b64201aa32c01ac6c7580a264439ebfd45496418d3c82e8f42750d8103dd8fbac29d4843aa5e58343f5c40a20852bc771471a2a1 SHA512 8a0c0352c208adb9b4302dfe1044321d0143c4dc39c8b67ed826c69cced308152786662854388b989f17159ff7032779e41c32af7ff45b09ac2624179d86d7eb MISC metadata.xml 1090 BLAKE2B cc213079beb7f2888b5eab4886711fe8a4b7a4bc3cf13ff4d2247bd04edc05fdaed19c464ae28beac27de511ea997bcc873866bf9d544d6efe8cacd095e8640a SHA512 bd322eade443a3b1b610d262a0a6a30088246b3f772624fdfbf6eac85f240deb3f9001be1e2e20e334e65701c24e1d57100c67864d14067b1ae16e99f2136e8a diff --git a/dev-python/tables/tables-3.9.1-r1.ebuild b/dev-python/tables/tables-3.9.1-r1.ebuild new file mode 100644 index 000000000000..e1223152b98e --- /dev/null +++ b/dev-python/tables/tables-3.9.1-r1.ebuild @@ -0,0 +1,73 @@ +# 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_{10..11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 prefix pypi + +DESCRIPTION="Hierarchical datasets for Python" +HOMEPAGE=" + https://www.pytables.org/ + https://github.com/PyTables/PyTables/ + https://pypi.org/project/tables/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="+cpudetection examples test" +RESTRICT="!test? ( test )" + +DEPEND=" + app-arch/bzip2:0= + app-arch/lz4:0= + >=app-arch/zstd-1.0.0:= + >=dev-libs/c-blosc-1.11.1:0= + dev-libs/c-blosc2:= + dev-libs/lzo:2= + >=dev-python/numpy-1.19.0[${PYTHON_USEDEP}] + >=sci-libs/hdf5-1.8.4:= +" +RDEPEND=" + ${DEPEND} + >=dev-python/numexpr-2.6.2[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + cpudetection? ( dev-python/py-cpuinfo[${PYTHON_USEDEP}] ) +" +BDEPEND=" + >=dev-python/cython-0.21[${PYTHON_USEDEP}] + virtual/pkgconfig + cpudetection? ( dev-python/py-cpuinfo[${PYTHON_USEDEP}] ) + test? ( + ${RDEPEND} + ) +" + +python_prepare_all() { + export PYTABLES_NO_EMBEDDED_LIBS=1 + export USE_PKGCONFIG=TRUE + + rm -r c-blosc/{blosc,internal-complibs} || die + sed -i -e '/blosc2/d' pyproject.toml || die + hprefixify -w '/prefixes =/' setup.py + distutils-r1_python_prepare_all +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + "${EPYTHON}" tables/tests/test_all.py -v || die +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + dodoc -r contrib examples + docompress -x /usr/share/doc/${PF}/{contrib,examples} + fi +} diff --git a/dev-python/tables/tables-3.9.1.ebuild b/dev-python/tables/tables-3.9.1.ebuild deleted file mode 100644 index ea12b00212a9..000000000000 --- a/dev-python/tables/tables-3.9.1.ebuild +++ /dev/null @@ -1,73 +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_{10..11} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 prefix pypi - -DESCRIPTION="Hierarchical datasets for Python" -HOMEPAGE=" - https://www.pytables.org/ - https://github.com/PyTables/PyTables/ - https://pypi.org/project/tables/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="+cpudetection examples test" -RESTRICT="!test? ( test )" - -DEPEND=" - app-arch/bzip2:0= - app-arch/lz4:0= - >=app-arch/zstd-1.0.0:= - >=dev-libs/c-blosc-1.11.1:0= - dev-libs/c-blosc2:= - dev-libs/lzo:2= - >=dev-python/numpy-1.19.0[${PYTHON_USEDEP}] - >=sci-libs/hdf5-1.8.4:= -" -RDEPEND=" - ${DEPEND} - >=dev-python/numexpr-2.6.2[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - cpudetection? ( dev-python/py-cpuinfo[${PYTHON_USEDEP}] ) -" -BDEPEND=" - >=dev-python/cython-0.21[${PYTHON_USEDEP}] - virtual/pkgconfig - cpudetection? ( dev-python/py-cpuinfo[${PYTHON_USEDEP}] ) - test? ( - ${RDEPEND} - ) -" - -python_prepare_all() { - export PYTABLES_NO_EMBEDDED_LIBS=1 - export USE_PKGCONFIG=TRUE - - rm -r c-blosc/{blosc,internal-complibs} || die - sed -i -e '/blosc2/d' requirements.txt || die - hprefixify -w '/prefixes =/' setup.py - distutils-r1_python_prepare_all -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - "${EPYTHON}" tables/tests/test_all.py -v || die -} - -python_install_all() { - distutils-r1_python_install_all - - if use examples; then - dodoc -r contrib examples - docompress -x /usr/share/doc/${PF}/{contrib,examples} - fi -} -- cgit v1.2.3