diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-25 03:02:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-25 03:02:44 +0000 |
commit | 7f0b7329b3aa78ea82792fdf68ab48415fe4cc35 (patch) | |
tree | 5c9f3c3f65f2be496e4d9778fdeb4d0da2207c29 /dev-python | |
parent | 530a5a826feeb71085fb8a01927f4d775a0b131b (diff) |
gentoo auto-resync : 25:11:2024 - 03:02:44
Diffstat (limited to 'dev-python')
23 files changed, 540 insertions, 247 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 4ada6fcac321..daefed28b1e8 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index 568a29fa3378..fe7d00294a52 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -3,9 +3,11 @@ DIST coverage-7.6.3.tar.gz 798337 BLAKE2B 62190d9adff5bc752b16c799939dc6b710b5be DIST coverage-7.6.4.tar.gz 798716 BLAKE2B 2b89e05fa71b18d94e19e9ee7acf3cea4125aa0baf32425e1bcdd695fbad4ac46f89d761cdd1593df1cc59d622dc6b63c010cb85d1b7c0d1396da4b0ac0c29c8 SHA512 ebd0f08584fbe6741f1b578bff22b3bc916b4ea352fd906a090c7a497ab7b885417e83344f108e95a22e93db306822e670578cc290af48e7a24f5a04956bceec DIST coverage-7.6.5.tar.gz 799549 BLAKE2B f571b32e3b7e6168e0e132bfec82a44e2897c6a7e381d3df77ad41bfb0afafea4ae32969841329b2b37a3db2bfdcd0ce9ba208fb350396db762168e1e968196b SHA512 8d7cb585d100080db239c05c2a1d09de9c9da0b2372616d9b6e7f52becc1273df347abd7568fce20dc18357badc6ba12e30255bc39876768b3bf32365f1900ad DIST coverage-7.6.7.tar.gz 799938 BLAKE2B f780fdefcb9a9610384646ede95acaff27d1a27a6fcefdcf092baac6134c0731914c10c195fce966282c33b06f45d4fd404b275cb797d6bbbae681ad6abbe916 SHA512 73b4cf99eb17b2615e5c70488ee219d25e18c0484dc5e53dbaba459486b6b2308c60adfc4acf9093c258e5914729dfbbf21401a871ce6ed3c01bf95912261fc0 +DIST coverage-7.6.8.tar.gz 801425 BLAKE2B a1bfb660a0e079411c13d4fca28863085c6010cb696b4e0dd7d06686313baea1bb25c91373b095630854d737fdf003fd8ced67e91e356d807e2b9b4fc903398c SHA512 1d1aea6fba8511ebd0db1a5f528dccf79d40280b8f8a0531dfca293611346df2f82dba974a351a3ea1a17e648b30ea7ea6689cb646c56de84ac33778362b4b4c EBUILD coverage-7.6.2.ebuild 2670 BLAKE2B a4af413c7af27de2134da8f07ab089961e1f3926d1f99d1bfbf52f343dd089c782554e9499ede1bd00f9b34c718794a75f474bc76327c79827cd0b01cafd90ac SHA512 d3b3e9e02a29cada83553a9cbd269b786d6e7ff76481c704962d9c3129f7fad59720171492d1278431813d25cc837e3c06c62b82335f0c277d1abc688215cedf EBUILD coverage-7.6.3.ebuild 2671 BLAKE2B d2f45b0370a99652fbb7992544753233769578ca50b62e9c9f62f6f17953ed1d5b5b58a641e10ae5217b199b3ccd405f52cd9703e15d200bc7f0608efdf87875 SHA512 64dea655b87841015dac5ee3383c8ad30c5f3d3a5f723595802ee17912ce38c6cf14d24fb1de04a6abdd43574dcfd8157c2ebf1d0feef1d6be4f5c3d8e8e8070 EBUILD coverage-7.6.4.ebuild 2671 BLAKE2B d2f45b0370a99652fbb7992544753233769578ca50b62e9c9f62f6f17953ed1d5b5b58a641e10ae5217b199b3ccd405f52cd9703e15d200bc7f0608efdf87875 SHA512 64dea655b87841015dac5ee3383c8ad30c5f3d3a5f723595802ee17912ce38c6cf14d24fb1de04a6abdd43574dcfd8157c2ebf1d0feef1d6be4f5c3d8e8e8070 EBUILD coverage-7.6.5.ebuild 2678 BLAKE2B a192b24f1c622a54a8c659dfc4cfc12d3fb5bc92482b54cda090515778048b35b03f9b4ef4307dbc5543fa9d1b8b8259c409ea34a928d565eeda3139a74b6caf SHA512 d9276a455e1a1e4301d4a896f0a031d0c667a00006399d2bfb883dc79fb5a4cc20e45c27f2e93440d4d35da083ecb6b2a2f6954266d42d741ae45f51d0a3f83f EBUILD coverage-7.6.7.ebuild 2678 BLAKE2B a192b24f1c622a54a8c659dfc4cfc12d3fb5bc92482b54cda090515778048b35b03f9b4ef4307dbc5543fa9d1b8b8259c409ea34a928d565eeda3139a74b6caf SHA512 d9276a455e1a1e4301d4a896f0a031d0c667a00006399d2bfb883dc79fb5a4cc20e45c27f2e93440d4d35da083ecb6b2a2f6954266d42d741ae45f51d0a3f83f +EBUILD coverage-7.6.8.ebuild 2678 BLAKE2B a192b24f1c622a54a8c659dfc4cfc12d3fb5bc92482b54cda090515778048b35b03f9b4ef4307dbc5543fa9d1b8b8259c409ea34a928d565eeda3139a74b6caf SHA512 d9276a455e1a1e4301d4a896f0a031d0c667a00006399d2bfb883dc79fb5a4cc20e45c27f2e93440d4d35da083ecb6b2a2f6954266d42d741ae45f51d0a3f83f MISC metadata.xml 771 BLAKE2B 38e9680d0851f70050aad987714a9dd2f95178b0bc3d794dc08726c0618d1ea98be32a413ac397f4b222e8a5d8fdc747b7f1677bcfe842bac4080537e85a03a9 SHA512 8c44c40348fe5d416d8b4016fe22cc9ae0b94fbaf181deb79aa737f87271992521b710c1208d0eeb7ef92d96fc8a7daac1ec6feb1ae081a80f13327b5b094064 diff --git a/dev-python/coverage/coverage-7.6.8.ebuild b/dev-python/coverage/coverage-7.6.8.ebuild new file mode 100644 index 000000000000..806fc7ea8616 --- /dev/null +++ b/dev-python/coverage/coverage-7.6.8.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-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} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Code coverage measurement for Python" +HOMEPAGE=" + https://coverage.readthedocs.io/en/latest/ + https://github.com/nedbat/coveragepy/ + https://pypi.org/project/coverage/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/addopts/s:-q -n auto::' pyproject.toml || die + distutils-r1_src_prepare +} + +test_tracer() { + local -x COVERAGE_CORE=${1} + einfo " Testing with the ${COVERAGE_CORE} core ..." + epytest -p flaky -p hypothesis -p xdist tests +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO: fails because of additional "Terminated" print on SIGTERM + tests/test_concurrency.py::SigtermTest::test_sigterm_threading_saves_data + # broken because of pytest plugins explicity loaded + tests/test_debug.py::ShortStackTest::test_short_stack{,_skip} + # these expect specific availability of C extension matching + # COVERAGE_CORE (which breaks testing pytracer on CPython) + tests/test_cmdline.py::CmdLineStdoutTest::test_version + tests/test_debug.py::DebugTraceTest::test_debug_sys_ctracer + # mismatch of expected concurrency in error message + # TODO: report upstream? + tests/test_concurrency.py::ConcurrencyTest::test_greenlet + tests/test_concurrency.py::ConcurrencyTest::test_greenlet_simple_code + ) + local EPYTEST_IGNORE=( + # pip these days insists on fetching build deps from Internet + tests/test_venv.py + ) + + "${EPYTHON}" igor.py zip_mods || die + + local -x COVERAGE_TESTING=True + # TODO: figure out why they can't be imported inside test env + local -x COVERAGE_NO_CONTRACTS=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + + local prev_opt=$(shopt -p nullglob) + shopt -s nullglob + local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) + ${prev_opt} + + if [[ -n ${c_ext} ]]; then + cp "${c_ext}" coverage/ || die + test_tracer ctrace + fi + + test_tracer pytrace + + case ${EPYTHON} in + python3.1[01]|pypy3) + ;; + *) + # available since Python 3.12 + test_tracer sysmon + ;; + esac + + if [[ -n ${c_ext} ]]; then + rm coverage/*.so || die + fi +} diff --git a/dev-python/frozenlist/Manifest b/dev-python/frozenlist/Manifest index a89b034db23b..27b374100ecc 100644 --- a/dev-python/frozenlist/Manifest +++ b/dev-python/frozenlist/Manifest @@ -1,6 +1,3 @@ -AUX frozenlist-1.4.1-py313.patch 538 BLAKE2B 2bc9c7018392625120b4766ad27dfb7aee243c8ac0469f1fd1c437b051d33b96ee48d6705a524b9a679d853037f5b3f41ae8d376cb992e697b95109103003d09 SHA512 8c90f53eb4fc0cdf959539d9e6b4200fb1b18fd748d0f617a3174f42b577dbab6d386fff41fc601b1ef0d2a4e15f5046db6e377a9268b042cdddf65bb45669ee -DIST frozenlist-1.4.1.gh.tar.gz 46357 BLAKE2B 44ee864cd6c7918634d2db85937d778a8526f3117e4d27e06267c979bda2228de5bacaa87d8e0339f7718d6c12325336025214b8d42bdcc744aac7adb63b736a SHA512 a82059fd7d16ec8e17cdf9d05eb128194fc3eed7c20ea4a3daf508a949e6c039fb5824794eac1ca768de11d883f55f46de45f5dcc5031f5cb31291b33df87023 DIST frozenlist-1.5.0.gh.tar.gz 46957 BLAKE2B 385b6439985256c5fd074582001a9c3d8ae82a0b839abfb3c2ff054ba3f5904d17740d7e49a17c96c571a0d8940933d292cc980c5a7bb30ae25fe88484ade185 SHA512 4486a3132038cf3eb29184bc27baab2f166078d25163da29114cb0595bd97c88848d88241cef39d42be9da5e2a99d14141d899bc5f268690c97bf38bf07c54dd -EBUILD frozenlist-1.4.1.ebuild 1332 BLAKE2B 098e7a04c4b2c8b0178f53e2522eb3e92e119ba22ec88e07c35d62d2152587ea6fa216e58fac0e95568ed58b58f39e3834057075c711996f76d8a2d90342e045 SHA512 3507bcbb88eb877400f6ccee1d744275d917677378ca944fcd2c0fda890237ad97f43793cd3316b57fdfc07f7c3350b2ddf3ad292d99884d89b6bf6c49d9ba20 EBUILD frozenlist-1.5.0.ebuild 1210 BLAKE2B c5889ad1386f1952346572ca5b230bce2cc50f84c83fbac1814be5e7a1bdc3d2a4be21af71be3518f89ab4ab679517d185068a22f11f792f363bb160373a6671 SHA512 c74b2c864d27998cfb92ca14ead222337e59297c6a4e34b126f029358a6277e91e8f0175eb89c922293f81844ecd3820ab2e5d3223be23bca77e1859b16841de MISC metadata.xml 495 BLAKE2B 98916d3eb7834f06b99201a1339f8a432c2ce12aeb4038bba22ea218d73244151463d4671cdd18350c14ed8e466a93b31620f6f57fc306dcfeff9c812f8b71ec SHA512 0d0d154af4e43a5fde5fac025948a6c25e2b0efa2350b50e2a7cc826c576ced6c4746ba0a17d9d1cf0a304828d850acdef96e56381fae9728ef37fefc12b4ec5 diff --git a/dev-python/frozenlist/files/frozenlist-1.4.1-py313.patch b/dev-python/frozenlist/files/frozenlist-1.4.1-py313.patch deleted file mode 100644 index 5607461c9229..000000000000 --- a/dev-python/frozenlist/files/frozenlist-1.4.1-py313.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/tests/test_frozenlist.py b/tests/test_frozenlist.py -index c0d91b5..b65a998 100644 ---- a/tests/test_frozenlist.py -+++ b/tests/test_frozenlist.py -@@ -11,7 +11,7 @@ from frozenlist import FrozenList, PyFrozenList - class FrozenListMixin: - FrozenList = NotImplemented - -- SKIP_METHODS = {"__abstractmethods__", "__slots__"} -+ SKIP_METHODS = {"__abstractmethods__", "__slots__", "__static_attributes__", "__firstlineno__"} - - def test___class_getitem__(self) -> None: - assert self.FrozenList[str] is not None diff --git a/dev-python/frozenlist/frozenlist-1.4.1.ebuild b/dev-python/frozenlist/frozenlist-1.4.1.ebuild deleted file mode 100644 index e87bb49e59b7..000000000000 --- a/dev-python/frozenlist/frozenlist-1.4.1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{10..13} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A list-like structure which implements collections.abc.MutableSequence" -HOMEPAGE=" - https://pypi.org/project/frozenlist/ - https://github.com/aio-libs/frozenlist/ -" -SRC_URI=" - https://github.com/aio-libs/frozenlist/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="+native-extensions" - -BDEPEND=" - dev-python/expandvars[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - native-extensions? ( - $(python_gen_cond_dep ' - dev-python/cython[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/aio-libs/frozenlist/issues/588#issuecomment-2139078800 - "${FILESDIR}/${P}-py313.patch" -) - -python_compile() { - # pypy is not using the C extension - if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then - local -x FROZENLIST_NO_EXTENSIONS=1 - fi - - distutils-r1_python_compile -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - rm -rf frozenlist || die - epytest -o addopts= -} diff --git a/dev-python/mygpoclient/Manifest b/dev-python/mygpoclient/Manifest index 7f8bdd77ee05..b3fa62e2c7e7 100644 --- a/dev-python/mygpoclient/Manifest +++ b/dev-python/mygpoclient/Manifest @@ -1,4 +1,6 @@ +DIST mygpoclient-1.10.gh.tar.gz 44992 BLAKE2B 395fd80bc5c29d16cc02a84a5e763c51f9ef1e4363a56d847f173acf1c01c08591fab9219372bd5f82dfe62ce26037f82697ac844299d40b5077f8700d63895c SHA512 65af230ad86da9dd93023b17737774fcdbd1622c7623cf1934cb63a3e63fad642faecfd2f00461830e492fe14cc61cc47f92a0b0e3970961be1714cffb71255d DIST mygpoclient-1.9.gh.tar.gz 44998 BLAKE2B 5feb17fbcdd02c632a11d9ae685b099addd2fed056e72d532e6391b707cfc46e694182ea4e5d7334be10796b5bb19b2d8cbceafe0b69798206f5ec41ca337913 SHA512 57502295725d3a1351e877998442141dd596927215d3746786c12db061ebe3bdf8282e8b2d554997515a558f608c0815e4caad311ad3f1ea9f5b62321e8d6635 DIST mygpoclient-pr19.patch 32982 BLAKE2B b0103372aaea9c83a45a035d3e32e6e0d3297370e7e6dd93996a14cec7f3f1723c4e0a4dca943b346fe6ce976aaea90d51478cdb3ee0218612fe28c36153047d SHA512 b816ee676c62e696f0bc14f06a60ee2a276d21b0ffb781a0d800042c64e16bee972a56c348c9dde203a0d41fc4f403d707a15bf197ea47d952ba753e659f26ab +EBUILD mygpoclient-1.10.ebuild 631 BLAKE2B 20401e4abc738c07e52c82ab7ed2084e96e90a054dfc99fb186d9c3589b508355ebf0f8e29e9a8662742c8f626a1a1bcdbfbabc86fd6628bce39b3ba699dcbbb SHA512 3a35fa3e077e61fde16c568f0eaf29960a50a515fa4c971731ce26f33ae0e3902733cb52e8ef9fd0b5cfea6bf774cbda20bd29362a5149551377c97695c89366 EBUILD mygpoclient-1.9-r1.ebuild 824 BLAKE2B d9cc902a1de581e329eead5428f10c4064f0a5cd8e2adf74711f2930f9f0e8ff8fd74bfd3da8d039ed34b5b99d9ba336ed4e40f96d7420c6012724f98d4e7fab SHA512 0a339f10d0b9bba4dbd2f69f4452a334515b9895eae246454dbd3b962d8453499ad2be56f8af076cca174a0ad798fc8b37c77aa0c27f16cc5bf768fb14cea85a MISC metadata.xml 512 BLAKE2B 2ff1435acc5efe1b4390e91957781baa2d555f127de82ceeefb7349f5c4b553a56924e0ecfe698e8a570da8a6d5ef462240a4c5b2f00c65918f2a175596fa9d5 SHA512 c89fef8499773f751d23d33d7c4407be85286ccf88f93f5fdc630a86602de024e2f3cb014837877f7b70012a3dac8625263fa8898aaf5c0675f0fa3afac31b20 diff --git a/dev-python/mygpoclient/mygpoclient-1.10.ebuild b/dev-python/mygpoclient/mygpoclient-1.10.ebuild new file mode 100644 index 000000000000..b32bf5ba9037 --- /dev/null +++ b/dev-python/mygpoclient/mygpoclient-1.10.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="A gpodder.net client library" +HOMEPAGE=" + https://github.com/gpodder/mygpoclient/ + https://pypi.org/project/mygpoclient/ + https://mygpoclient.readthedocs.io/en/latest/ +" +SRC_URI=" + https://github.com/gpodder/mygpoclient/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +BDEPEND=" + test? ( + dev-python/minimock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 0b3722f6a170..e81077273937 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,3 +1,5 @@ DIST Nuitka-2.5.1.tar.gz 3776847 BLAKE2B a6c36e736cf8aaa830cb5a47a2ae9ea9394c2afb5163e7955c196fb9ee9c37c61edc085c65f258bac0e27468bd97e5fb93bdeb8776fee85b99fd8c45076166b6 SHA512 ddf86589e2e576ae79b4e88fecac0668ef8e8c720d79d83799a15647c664c0d026f1241bcbc29036fab821611079ae808c22cb81ef14781bc7d0f96c3dba0428 +DIST Nuitka-2.5.2.tar.gz 3779445 BLAKE2B a670a06cab84bf0c6fde599afd50cbd713c780f782240c2349d9636a683fff05a842cd1f9c6c6d7124472ca0bb2a117b5eaa95564d453cdace2a5c672748db68 SHA512 3a112268274931870a11ef00ff17a10e16175b33427babb1159b08cadfe430ff76ca3f5682e238d0813ce1d09c463ea35155c44a1b23fa6b0d3f813bd5c88f7a EBUILD nuitka-2.5.1.ebuild 1222 BLAKE2B 172c3dfa35f912ae359c41bd5176ef8ce85b17c24169599e787225f62ebd8a906939e7a8666cab9727cd70358caa8596e9cdc677e1303d7f392511d40446bc35 SHA512 788d25cfe72f025177db6d79d7ea66918e6b1eb4fb2670aa12488e278e9079ec854060067f18599d2b5729297dd5d9e259c230124b8c915639c6881cec10a250 +EBUILD nuitka-2.5.2.ebuild 1222 BLAKE2B 172c3dfa35f912ae359c41bd5176ef8ce85b17c24169599e787225f62ebd8a906939e7a8666cab9727cd70358caa8596e9cdc677e1303d7f392511d40446bc35 SHA512 788d25cfe72f025177db6d79d7ea66918e6b1eb4fb2670aa12488e278e9079ec854060067f18599d2b5729297dd5d9e259c230124b8c915639c6881cec10a250 MISC metadata.xml 943 BLAKE2B d7ab883773e7480dcfb4b79932a3874e2274669169a24a54aa622a2a0ac079e0296da4bd196d166cb11fcff785985da0b10d0fae351032914ccf312c9bb9833c SHA512 625d8760b8e849c6e014856f584cb42f50bb5ebb1fa648cb704a5a1baf175e7d2ce9f43f6f724d11c81a68e364b6ac1c38459540b58f2ccd6a675902af5b1cc9 diff --git a/dev-python/nuitka/nuitka-2.5.2.ebuild b/dev-python/nuitka/nuitka-2.5.2.ebuild new file mode 100644 index 000000000000..d79d86fa299c --- /dev/null +++ b/dev-python/nuitka/nuitka-2.5.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 flag-o-matic optfeature pypi + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://nuitka.net/ + https://github.com/Nuitka/Nuitka/ + https://pypi.org/project/Nuitka/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-build/scons[${PYTHON_USEDEP}] + >=dev-python/ordered-set-4.1.0[${PYTHON_USEDEP}] + >=dev-python/zstandard-0.15[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + doman doc/nuitka.1 doc/nuitka-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" dev-util/patchelf +} diff --git a/dev-python/numexpr/Manifest b/dev-python/numexpr/Manifest index 7a3aa6fc737c..fe15669001a9 100644 --- a/dev-python/numexpr/Manifest +++ b/dev-python/numexpr/Manifest @@ -1,3 +1,5 @@ DIST numexpr-2.10.1.gh.tar.gz 119668 BLAKE2B 9b6255831b2512eb14c9eb1ef41cd0c90984c74d0555bc17e0d85c9a18ba12ab0d58fef84b650c8c5be648201e298883bca9f51cdf1ff5270a841843e738ab2e SHA512 8d98b08db6ad9872c18384c49b961321560f7612c75eceb1691b40802ba165c491ae170ac005ad854f140f40e5a40dbb0dbda5377d5b561b6e61afbbafc8d284 +DIST numexpr-2.10.2.gh.tar.gz 122622 BLAKE2B 762bab8166989ca6839c029289ce3c196b13f2698c377095c1baaefbe333c75a4a27d552ad7c69c97ca63ed91b5343464c9b36aee118f1ec6a8c039e8719997a SHA512 d1414300fb173b3b66e48fe1d782649e8d4085f6da2c72eec89d37deb01686505bb33514b003d01fcd6c645e2a5cf8a967739fc360e62172beee30b4e02d1e9e EBUILD numexpr-2.10.1.ebuild 1251 BLAKE2B 8cf39ee3078569405c9b68b30fcd68f35fb627a713986dbc16d3a4021b990e32879ad321da53a632b7299862ace6fd4c6d49f44a013ad978a0ddc6fd5a26d89e SHA512 c29de5cd25a5768167e1f4495aa8f55694861eab14c3c8f3f59116466cead392b76d02944c1ca67a2a5101b423c330b9537b2f132405fa803b79cd30f0d414fc +EBUILD numexpr-2.10.2.ebuild 1257 BLAKE2B 91d40c548260ec8ed1d91ca2d4e0b5e9b0fd888d5a8da80a6cd82feaae9c827fcdeffbbf069c4c9e57da8d9aeba8d4451bbaae9b0c58a552a0a2fcdc7175ab31 SHA512 42e2e329ed7f9c35ebba5253049f2696e87862122a732a7fa9ff58de3732e0031ca3f4099c03991b4c1ec730e44b1f0213c0bc91d96cfeaee500f1888a205c57 MISC metadata.xml 963 BLAKE2B 054bf0762161cf275c8898c5ceb15af773f9843bad7ca9624880c9376cbb5e34104dee891287c113dc1762b1e3d642b9b7a39a200fda55211158af30c57521b7 SHA512 9f5d054d0f7f1a7eb1f10f638d9992c72652d5fe8b94664ed189630e9516374bb9fd28db2972212c350b8804aa79bfaed09e12ea4d3bc7836140e805c2fb3ac7 diff --git a/dev-python/numexpr/numexpr-2.10.2.ebuild b/dev-python/numexpr/numexpr-2.10.2.ebuild new file mode 100644 index 000000000000..d5f32057f2a6 --- /dev/null +++ b/dev-python/numexpr/numexpr-2.10.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-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=( pypy3 python3_{10..13} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Fast numerical array expression evaluator for Python and NumPy" +HOMEPAGE=" + https://github.com/pydata/numexpr/ + https://pypi.org/project/numexpr/ +" +SRC_URI="https://github.com/pydata/numexpr/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" + +DEPEND=" + >=dev-python/numpy-2.0.0_rc:=[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + dev-python/packaging[${PYTHON_USEDEP}] +" + +src_prepare() { + # broken with > 8 CPU threads? + # https://github.com/pydata/numexpr/issues/490 + sed -e 's:test_max_threads_unset:_&:' \ + -i numexpr/tests/test_numexpr.py || die + + distutils-r1_src_prepare +} + +python_test() { + pushd "${BUILD_DIR}/install/$(python_get_sitedir)" >/dev/null || die + "${EPYTHON}" - <<-EOF || die "Tests failed with ${EPYTHON}" + import sys,numexpr + sys.exit(0 if numexpr.test(verbosity=2).wasSuccessful() else 1) + EOF + pushd >/dev/null || die +} diff --git a/dev-python/orjson/Manifest b/dev-python/orjson/Manifest index be87b1abc14e..e2bc0385e4d2 100644 --- a/dev-python/orjson/Manifest +++ b/dev-python/orjson/Manifest @@ -2,37 +2,50 @@ DIST associative-cache-2.0.0.crate 13960 BLAKE2B d0089d97ffd7bf1db65489501b53ad5 DIST bytecount-0.6.8.crate 14694 BLAKE2B f534fadb45ce25036313c0c4d54ecfd2091069d5402e02606da36d73696c74e3162990dfdbc95dca4424b498983bf04019234af6eb71e38ca28fb7da61d181fb SHA512 5984dbb71fe22371db00ca56675f409cefcf7c093f406ce1abc330a0b1535f30a43a520fb64d66c04a181a4f05d956300e35f77b43aceeb161eaf8a2c64df614 DIST castaway-0.2.3.crate 11509 BLAKE2B bbecba400bf98ef4158581f3b1673ca77dbec3ad754d3749f0e9342a47d1fa9f638c1388f0762413277b73251854ade26e08dd85b7d7133c73a5750d4dbf7d92 SHA512 2565a4e5709a25118462ac25b9f741e92456c81ddbf7c4e791d8c647f2ca5227b2f59ffac108f9d32c77cedc12219c517218c51a78b1d22a1baef1bf2c16e0a9 DIST cc-1.1.31.crate 84637 BLAKE2B 80b95666f87f80f20efc53aacb132db32900132a58995411e95fdb043e65467ac3c84ac905d13206524d9666563486ab594a09df1fe86035ec3e5542f78a6f5e SHA512 fbc42db9e908d69fe2dac18605e057f3187ccca067ee0e9f0c271b6b9dd213f0bce1a1e32f073bc012d2ea756878929f506775076d453593a14accc5f9a159ea +DIST cc-1.2.1.crate 92731 BLAKE2B c9cb100964834692781ecc3f47972f83adaf27e019ca212f896b19a853521cf2084da213f2c2fc5c8a1bc794cc83fe9f81faf7751e1b065a3a2a08137cda0b61 SHA512 54bc5d85d48d678d33dc795aa6cc823a59ae6d17b4ec5708a1dd515e3495eabccdd949e9467e9bb3a29e44847a2d3ccd75055dfda241d8abbb16bfad650f2819 DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff DIST compact_str-0.8.0.crate 70994 BLAKE2B 27ab4163d71915f9cfc160fdfa4ed049c98b06d0060def8c4bdd29e8ca37716a1c53877f70d1eb38260d44003e833c538b20bb4960f0b28a7becca5c9b29984e SHA512 5a236c501222b577fef7d7190882e20e85cc6deacf9d1f6a1d710893654b53a91c7d47373f0d10e9bfe138dbb2f4e99802deb2a92001bae7e130f6558ed9d1fd DIST crunchy-0.2.2.crate 2995 BLAKE2B 74ddf8c5e0deb2ceab65c20a2743e1230739ac6aa3af60c9e867a7852270697a1278b7dee00df8949fc4268f9756a4a098df1211ab3b3e31a122652c3ba0a6fb SHA512 36dc0aebc41a3aac5f1b178a7e61b65bcd9bb5c8539b2024f79428200f7c62daa7098af55c6ab0765febd2f8969bd6c0ac8096f73cdc0958e5c4e4eb6a4f7025 DIST encoding_rs-0.8.35.crate 1381050 BLAKE2B 2db6797e4f226b3836c18496ed77f3fb113fbc075864fd264f23c4fec8396eb3a01c439985ba0586a4464ac4043ddd3acac80e0ecf897cb59569e5065ce2137c SHA512 4b55b53553c5cb6fe05ae81d1c6f3b0bab73ecd3d426b15c58b9de9ea8dd61617bf0bb2e6d3ae2514c7cb6e73019b1a083173d1423b3ece2d190770c597114c4 DIST gimli-0.30.0.crate 277411 BLAKE2B e3d2b0f55a407f6ea64c36dd4042e3e3601d032c4feb9819c2c414f0203a860cd2181c4d6cf9590ec2c2d978998c2cde6e5d36dfae885abacf7a42d57e13f1af SHA512 f7ab35abb6e565d4cc717659ec6fbb21598c1d350052b60e3f7cf03e87ed3b588f0f2e44991960ec5cbc7992299cdf4cee88eda38dda456127374a758cfdcb35 +DIST gimli-0.31.1.crate 279515 BLAKE2B c8924ce351af5b8f96ef757a189f7a9be14533c024d496c62037cd4eda790b3f6282cd3013ba82ecc83082acab1b60ea80b83e0fd5f8eeb381fd7f9df88ce0ee SHA512 b9c8c11547dc7420fe936b9f32a4f5ccf3bb68d1d9f39dedffd40d631360f6e032e719d858668826f1099b8a262e8096aa7ae1f6d7d3d7aaf47934d832715949 DIST half-2.4.1.crate 50892 BLAKE2B c275a9ec70d2fc0c50cb63421399202d31252b0dbf463798ed0a12a17493817c66b8933811d483b348f8f945cb05aab7cc2a4d952bd16009c3da4860202e28dc SHA512 0bce235583ca128723186e1fb50f636b519bf826c942f02c5b969db4117baa87c644665c541991c16d1f1dd97c7233c017a513d45075fc72c5d99ccc7c1ac193 DIST itoa-1.0.11.crate 10563 BLAKE2B 94da07e0f7f2535d0b1491b3a3c64905274b315ffd35ec8e9a3e36e26cd7211733b462eefb5208963e388345f65be9694804c344a6132b2b595b0bc716c0b328 SHA512 7e22dffac34c9c9f432daef395e0ec710ed658164bc9cd9fc6445c9f984c912a10bac556214a026bcddbe27a3197b35b0c87d6709fd605062637d086b2d20311 +DIST itoa-1.0.13.crate 11188 BLAKE2B f9e61bff257763f1b395e8f8f93335be2e46d1c57be67ddc42af44053ebca2e7a35b26f6d109fb42af35ddbf608ab6960c62f1dd740aaaf0dda18ee2b44d09de SHA512 8d9104f57e6eef32ec7c1389177060cd0ecb628d48c8b202c7f46e29c8a6a2ac93f9fcaf00f903024d213998a88febeeaf70d15cdebc414517b94e76b29ac6a2 DIST itoap-1.0.1.crate 83316 BLAKE2B db0d9f712155bfe4285c3d3debf314da2d64ffd127d6b9dd471074eb7e5dcda41f1e5b04bdad63e0fbd695043eff21956709ffdf2cdd7fc5b329d1d79ee69fc6 SHA512 ed15ba3e1ee1ef5f1658fbb47e8cba66e62acf05d8ac45340e15ace24c86e5adf072b52bfb90ebc5e90f31a9a8e91ada23d4322db9a87bb966922afdd4775840 DIST jiff-0.1.14.crate 605138 BLAKE2B 130b0fff23f8d710378aed399ab20c84e3a69e5b05d21046c6f6eec4767006c2d9995a7327ead3d334b82a38d11111a5a5591f14fe52d4c7adc26135ee8b047e SHA512 3f1d403e4a6393bcb84b93d4aa0b876de83056fa7dd145b61da611b5436a7dd6ecd1d1681c2eec8c61406c9f4f5cca7cc3000391c9fbeac2f81d7666fdea0d0e DIST libc-0.2.161.crate 765389 BLAKE2B 4880efbc347e0b92faa893993f37c486a69afd1a3c741cfb9d3a2d3c87fd56e49788f8aeac17baca217f4ceee9180097386ef481f4e142942802f27983f8e6fa SHA512 264d7a872c10484b9cb19ee858c2ac44bf165297653fbc6220672bd2e0ba10913408130f21d370d2861eef529f9ecafece66515b47b4461d56e6b02f55ea2be8 +DIST libc-0.2.164.crate 769055 BLAKE2B cfb757ea04ec8ad6d6a0dff92cbedd626aa4932cd83d67d19ac51cc140f9aeb54b38b488796c4a0e722f7bceaf54c4807a32ec0560bae4840a82fc1c4a5151ab SHA512 614835ee7388c854cacdc179b5700b7de0c696ec0eebca2b997f1039157f737fa79e208832a46f2fa27fcedb6fe7a27faf26079f06ee0e679b6f35d4a5371e3f DIST memchr-2.7.4.crate 96670 BLAKE2B da38114beca670467c3e1fbf4e415af6f22d52e3223715d52e181babb89b872b46511563985bcc16d7ff4e82f812c6e83ad904b0fe2501b14445119dfa8240e6 SHA512 8d0e8b9c30208897d4b1b920f1bdcccd0c2b75d92a06abe4a1b2407938768abb6487d63de56c6a80419798fe69517210643dfaf11f5f5540185f0eccf220adb2 DIST no-panic-0.1.30.crate 11789 BLAKE2B 11c9978e79fc55a259f4a6b16dc5df9b46e722301970722f9ede1133f3907e0d6c474eda5071f619f52e578c9afafcb94a80c3aa67843f0360db9d70d41f8a7e SHA512 c357be0341e7008662a79b1f3c8b749f90074553002dfa5177089116f4cceaeb062c1a2953acc91d63079d95a70fe550f1f02f47a96d7b09858d60e72be26bb0 DIST once_cell-1.20.2.crate 33394 BLAKE2B 79dd394fcf1637adfef28b4159ec653c8b71d2bda0e0e36a940c04e3d87698f039dc30c97f26648ecf0d9742962f1f0a117568f7c705a8a3fc167085b0ca3e80 SHA512 bc6005bdab7a154c01e2203fb553a68695727475a9a882cf906d49c054ce886ad92cb491d380b6b9fe71a81b2fd690ce91c9a6cf8dfa8508470ac9acfc8a31c8 DIST orjson-3.10.11.tar.gz 5444879 BLAKE2B bfa24e6f07fdc952dc9f80a28449fa9121c960cac52cd867796e1ce21344a5c00450bc652b28340c8a4c64f2e8f63699595528e924a019c0b46a8b0c4103eb41 SHA512 b7a960cd06c0176a194c7c9e9dd412c47000258fb79e2407182156e07a48bc02823118ac708c23f482bcb8f3b77dcdcfd95f61f408b45cbaabca8ed317ef63e4 +DIST orjson-3.10.12.tar.gz 5438647 BLAKE2B 88378c76f7b4aaefcc56b3963e60bc6fd8cf740ab683a15c735b8b1a9f69f0a9fb9924e2385c3234ca6f4b44c772f7b6ef359cfc1afc8982fc521db0e99b3100 SHA512 089420645ef4a54674436ebc4f49ba67fda4fff716c949e03a4af402fdd817decd066c508b18c19ac24b634e7173b37924ac1c2180679a92551884957d4b11ae DIST proc-macro2-1.0.89.crate 49446 BLAKE2B 844c021394e7a2551bc179592a6769d672360150abf92debcb9ac60a94a2e426c48c408f06aeb2128686f5f04d66dc12973714670c21a5063ee6b9f3bae4e671 SHA512 488ab38a04df1d0330309382a7e4f667238cbc9b4d513da6a8f5718f8a762f76cc122af67fefe8f4b021a286b3d23e3ec83d781fe6ac823042a6daf14d147e2f +DIST proc-macro2-1.0.92.crate 52353 BLAKE2B 9aa29fa6f1c56c0392a94a81b4c61953f4d185012cdca37e356817845535da79d7094bf43472ce63109ce479a2fd0cbef4d802afd61daf92c4db303bcac60e7e SHA512 e614f08acc0a7e97ef580479cf5b682378df1ca16f09bfb2296ebb3490a435229dea9d682c621c54ce57e8e1d3b7803eb8ff83c88bd02e07228dba6d02f14aee DIST quote-1.0.37.crate 28558 BLAKE2B a7d007a69e619f853af94333e1066bb767013312bd99f147b1b153611242bcfa9c76768b1ba47278589db309a9acd61a772c8ec3b567e48439bb9d831f9326d4 SHA512 c4ed21428c1f89cf22b85d80720a7869831a9c129d694617b0ce8c258278114ab98846f3f653abf736d1c86bc9224bbd695e9a7b06aa3adf292d02e1ef14cc05 DIST rustversion-1.0.18.crate 17794 BLAKE2B fa35445404b836214bdbaa3de8e43312b6d8f50eea32540f808a6255908d756bb1a5dcf49ca6268a1d214c535c2ee770e295c0e7d6430268142a190b31032421 SHA512 263d2cef02b6df4d38b35af7a9ee3a6a044f160f3cf7c6771528f23dea342232087f73f89e419ef7869db771e73c273c05b3dccfe9e29f707586b2059e820645 DIST ryu-1.0.18.crate 47713 BLAKE2B 409cdf4b4e77685394018371e91ad6fdb175ac57e1df9f902871f13208515e5a2ab1daa226fc1e7291278e64448332845be4cc9409bce3b2f3daed409259e104 SHA512 a9b2beac778ec47e6be303148d7512ee681bd2361f6e4ac6db32c8b4baf86a8c5eb5b0d02eacd6131ae88c7b5105c57018c3050676e0b3dd1ed9c4d2fd650e84 DIST serde-1.0.214.crate 78523 BLAKE2B c701f316a3204625d475668d2722991d75c8d9c573ae32e9175ccf99780fbe0c9c9d1dd0b4bac35f2cc91aca888c7f3dc41af2842dd833ab82776a38c2a2f6c0 SHA512 100eac65a39b9b9c32c1671d36fa9cf8aca84a2673e24c2521fdbdb3ed9f932c71548f3f1a26b1e73dd7c92a34ffa8ed1c76eb173fa20d6e85736cdf8dc9a8ee +DIST serde-1.0.215.crate 78527 BLAKE2B ca8e1175839ca45a4d78a155f5943396211408a85e0840b065c52948188010653d68fc4fc7b63bf2c39a11a6988abb7f6f3c6d878ca1373596e0a5d62186e109 SHA512 3da13f1a74393f1fcb6d659b5e060a11ecae358f55cdf4a2fd05bfc863fea6f75d3140d3bc74902f8feba8cddf7dae71a3f4e4e78e78e1b08ed46b3e4900281f DIST serde_derive-1.0.214.crate 56630 BLAKE2B c284561109e5d60e103f1bb421e4da48f35c5046aa52359177e286449cf8fe51a92f6295f5bec3dc4cd737025e8d0bc618436e2f7640873f66bc5b77bb4f450a SHA512 70bc0a31d344cfec8d30f2034beab25097ef76ab8d89947b21753f737759e5d4e60e5596e0c7994a7cc35993bae01148120f6cdf5239be25fb243056effa27f0 +DIST serde_derive-1.0.215.crate 57092 BLAKE2B f28bb66017599afdcd8d45c514b8e07854eb944c1dcf931e052a01ce421e0de6c20c13b3867da5922e2153e25ce88bf9fa27e2e68ddc9d212977f71fa0bd6352 SHA512 cae686bdf10c683149956ffe1c64fcf3e9b9bf0cd6e33b4ce7429d0ca35b9fdb55443693866c1202fa79348c6ea0f49ab3be3d5f857de4ae0818d2b4c8c67d9b DIST serde_json-1.0.132.crate 150549 BLAKE2B a49aef7737fad2e6f6ec79cb6da00c734e7de7ef16be321846d1f6229534b58e15ceb0f6306eeae6f85bf07431d82959c0a56ed1394d21a67b65c8c48e971f3f SHA512 9d157ce7d705fee8245569e7c577310782b69675a6e459f21904544b824a1ca5c9b445d17419fee438dfeb6fcc35343ba14e022043fffade0210b6d2c1b5795e +DIST serde_json-1.0.133.crate 150739 BLAKE2B 7891eb5b8edcc7fd09ab1e15d3881ffdcb629aa39f2bd758c0505700a5f2dfabd85b1b66c3b094268bc1627b346e204c792f4ca61efa76c54ab9cd5744fb0ee2 SHA512 20e65ec87bff319897a141960d13deb5cadcf821209c1ee8799f1dc7f458ce432bc62c16df5bdada1c8d3cc01ff23b8125e8fa0a03545d4614f32efd687dc69f DIST shlex-1.3.0.crate 18713 BLAKE2B 18800c364d3a628f1a3125097ea82fe6286550c2997235df0bf8483a3906aacabc81308cb239887d46ba2f457cc6f8acd5aca78316707eea5098cd5666aea67d SHA512 5c8cedbe666a14b8a0874defb9208146ce64579cde52ed483e4a794cac5dde6a24bf8d684404edff582f842e1fd4fa3fbeddbe074f191e4ec4aa517aa456fe8a DIST simdutf8-0.1.5.crate 28488 BLAKE2B 1e0ac310d874a3c279c4d2d5369de12c2ec20050455b2102c0a10325383c0d2ebcf262ffa1bc1eabda14ca62508d4120538d7b353200122168a659ad4791d162 SHA512 139668c7232f533d3439986474da5036efa32d4e0d21fa72e1283e27dbd0670984283d91c238e445be61317426f67cdb8d3f13738b2fb657563f866c8b6d89d6 DIST smallvec-1.13.2.crate 35216 BLAKE2B 31a268aad595c06cdb078577a97b089dbea156a0df307a3e6aaaf4861bd9a680c5b11921da9dbdb1bcfe17d58c0cbede1ffe6bba3aef59b384fb1b9703c62d27 SHA512 a97c758b668e40ad9eb572e65feeae4954e09200a04ab92e26a13b48894381cd3a3d2571070c4b7a5e181182e1ede9688f990650342ec69ecfe1a264d234c679 DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee DIST syn-2.0.86.crate 276473 BLAKE2B be9de484d0b3ea6818cac64f195c893e39271fdc5eefe2b78fbe6c39f61a7960bfb254324deec6f1b0da2626c3d116ac50fe491427a967a00d20e4affd3e5c54 SHA512 1106de0b14981e4dcc1526d932764837cd2905ca2ca3f259a59e9f9992438f88dff49934bd99f3268055e920c1f226a8bbde0c779fbade7ed311a2d4e5230095 +DIST syn-2.0.89.crate 289852 BLAKE2B 4e2b06d2a0ea9b8970338ab61f8c5569cb7c10466dcf139576d0618c3690cfd23c98b66f0714c34839364dee72df6a6d8571f73dbf03ecc347fb1effb118fc2f SHA512 d172936f04a383b7b5e79dad328e70ea3c4faba4a88d0b6d186645413e8698434d30f53012cc9d3813f617c8bef75e95a2d064fdabae7867678abbed22bcd910 DIST target-lexicon-0.12.16.crate 26488 BLAKE2B e7950e4a302059a1bfc9bc15618a3c1b971a17cffae117a6e8f5f63a0d82fd2bd02680301d15338612d5426d349dd24cfee30ee787a15a7d3187f2a6825e69ce SHA512 092639957c4a0391560b6442b31c47159c04d12e971010f730a6ec9cb5389e4be903ef3d7daa06db95e64dc78b6970731fb647179ebaad2b12e9ed5e9b24da27 DIST unicode-ident-1.0.13.crate 43279 BLAKE2B b5e935020d1c9f3aa24f7d382f6b73d6510d654a61ce1c9c024e2e365bb817182e076139f370e822573531356fb78ff7499049b1f29aa1e2f4a2cc74a955b47b SHA512 5ba884f39debe9c8eb0b1d251ca713f7e2bc191d211707ed10cd81465487dbdca53914c19e131edfa1da15af132dc2c346260c3969c61e3747b63399ccb1cc51 +DIST unicode-ident-1.0.14.crate 47547 BLAKE2B 30e0b6d7f3a967aaf5b9d91237008a60c3a8ded53bda901696e23cea3931dd71b01ddab866dca9e31e17c395d5f5a68f2a938655b693e894962568c2cff5ca15 SHA512 7c6dcd1724e8cfedc37546d1abd49088b633dad228097acc73d7b6cab255b223e830c541144e05a00388fd8ca8066f27c18792419cfa58ee9da4460a38d0bc0a DIST unwinding-0.2.2.crate 26818 BLAKE2B 14e918929cb6d7f2d0e1698ab425658353549d83a66733f05d172344a5b6b319c977576d48601ab5f363f5f7b552ec6049a4f291382885f295a1549c0b043ae0 SHA512 0fb87c31dcf607a01f6600fee2a4c87e8d2864603b71b060e3cfcc14f96ffd351e39e8217e8c8a39ef3e550dbe923befa5294367c64edf42bebb3df6878047dd +DIST unwinding-0.2.4.crate 27931 BLAKE2B d12075b92a298203642a85ec776bd8a85c6ebe561c3042783b7e54288507791e79d11625f0673f1efcaffbf0868829c8758a5c62f2530ca15a3637920c70ae99 SHA512 9bd56197a4befbcc65b3ef926945b3efb37a6206556437435fd2fd97a447dbd8d2d5236afce05e21b015404e301d51e7a4a4bc573cc4ec64bf85dddae5c3ced6 DIST uuid-1.11.0.crate 47683 BLAKE2B 37a601b0fe7ec57333613f8c18ada76bd784c43c8af7c252200a7c9c76b445b179931cdf727b5ddae3ffa3fa29c5a13507fb0f2bd604d306982843e042038314 SHA512 0cd1b95fc2247bf4e627de6abb41e332ebaf39e5720640e52b9f235f7a0e2d451e7a486efdabb616ce00e47832d21919611683d0e6a71c86a86f290940cfda32 DIST version_check-0.9.5.crate 15554 BLAKE2B 131e75cc287518831e142430e2a39b48e4275874f4473780d47a27552294097aa1cddb65c385583e1022478f940b495eb43c24a8b1617b8ac5a24af3340c0d72 SHA512 d11d5a2240ab0c67ea69db56561ce202201edeef9a8e5eda3d9ae7ab7bb5752d8f343fe7f6536d8383de8d55f9024efa84f66a0c21e69563b7a38c4a628014db DIST xxhash-rust-0.8.12.crate 21329 BLAKE2B e9596bb83cd0f0465c279deecaf4dd87aac05db1c8c7d3aed4f0689022c5a0522d976379fb3dcf6cfe1c18452c87890e95f3d17998c777d92f5cbe58119a20a9 SHA512 6fd17ec65be94b58f109b6aa9bb283e51092621e8af624f8c2c2c95558a3d0461d743cb8a65a0da5853ff7fd98273daec0dcc5b632440868524f99894beeff3d EBUILD orjson-3.10.11-r1.ebuild 1661 BLAKE2B 2a9a57f26b774c01b5cc00550c38747b8849485575f4abed9497831fa5766d36a53afa77c7c08d782dd2ae9724081cc82bb1529eb3a06da73bce8931965e611d SHA512 07bac807fd8fb972318c7d812a29e622ad542d90e3c20d88d42973d4fae8188e206900a39360223da22debb15744b58bc18ad4d1e5e46daee2b91d1bf9b508ab +EBUILD orjson-3.10.12.ebuild 1645 BLAKE2B 7baefff5254bb532c8784c61071e912eb18e9c92de78fe8640d5c5ad3bba70eef5baf1cce8aacf21c4a6b8b13fcc456cc52a7f8fd48839645ac91123996f51a2 SHA512 223e0a2ff61fa715434d9210faacbc9452c971761bb110328c86a9971c61987b4a48e92459ca9e6c5e7e96076c949014c7849b4b98c46ebf58f7fda387d597d0 MISC metadata.xml 360 BLAKE2B b19f85a4e5055dc309e35bf1706b10ebcc1961c96884bec0c9efd7ee7bf58adf53c0f61d8c1d1094c38f0e0bf78fa00c5be1e7ee58c85939ac1c6fff40fcbd07 SHA512 e168db6bda3fbb7f801aeb7a91733fad54441e21913a16447e7b8fc694fdeb0fe3216c15de2864efbf92f2ca8e1a0743eb3d62e8c250648e91be68a465c21ae0 diff --git a/dev-python/orjson/orjson-3.10.12.ebuild b/dev-python/orjson/orjson-3.10.12.ebuild new file mode 100644 index 000000000000..ad89da1b76ef --- /dev/null +++ b/dev-python/orjson/orjson-3.10.12.ebuild @@ -0,0 +1,88 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{10..13} ) + +CRATES=" + associative-cache@2.0.0 + bytecount@0.6.8 + castaway@0.2.3 + cc@1.2.1 + cfg-if@1.0.0 + compact_str@0.8.0 + crunchy@0.2.2 + encoding_rs@0.8.35 + gimli@0.31.1 + half@2.4.1 + itoa@1.0.13 + itoap@1.0.1 + jiff@0.1.14 + libc@0.2.164 + memchr@2.7.4 + once_cell@1.20.2 + proc-macro2@1.0.92 + quote@1.0.37 + rustversion@1.0.18 + ryu@1.0.18 + serde@1.0.215 + serde_derive@1.0.215 + serde_json@1.0.133 + shlex@1.3.0 + simdutf8@0.1.5 + smallvec@1.13.2 + static_assertions@1.1.0 + syn@2.0.89 + target-lexicon@0.12.16 + unicode-ident@1.0.14 + unwinding@0.2.4 + uuid@1.11.0 + version_check@0.9.5 + xxhash-rust@0.8.12 +" + +RUST_MIN_VER="1.74.1" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" +HOMEPAGE=" + https://github.com/ijl/orjson/ + https://pypi.org/project/orjson/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="|| ( Apache-2.0 MIT )" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT Unicode-3.0 +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/arrow[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ' 'python3*') + ) +" + +QA_FLAGS_IGNORED=".*" + +distutils_enable_tests pytest + +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index d4f7e606cc28..caa70f09cfae 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1,4 +1,7 @@ AUX pypiserver-1.5.0-unbundle-bottle.patch 3428 BLAKE2B f30c9c5b7204b3efed6f6515ce11ca6921ad44a5af69af6ea19059daa9b07396bf7312d649b93492e3e1f98bcc3e0df16c9178aa0abda77b048634b0461ae194 SHA512 fca45138c22b8c12c5fe5fc1742f5a7034d9353e7a520a8870b4a0b4d113b915ed8a34dc9cc9f268ff8f9220425f1131db8ea13443ff9050852bcd9d362ac942 +AUX pypiserver-2.3.1-unbundle-bottle.patch 3335 BLAKE2B 7993059d0c2373bdffaa11719929c94418cc3348e817b16a1f8ead090bc4f36bd30f70db00adcbef5fafb7a635e2bff0e1eefd44bca8da7484c5fd2e675b45b1 SHA512 fc209684b649a052443ff77d30968d7282de6e75385ece6fece79f351508351a015bee6e462d18372fb71c3d6e487495f1c53b0e1239afcdab25e121727a412a DIST pypiserver-2.2.0.gh.tar.gz 158107 BLAKE2B 8c5e68201a4d376bc04ca8a5dc243c8c176f6a1bfd362fd5b0eb2875ca071cd124d15814312c2c14ded57c8476f72d41ccf1057eced2247d17f1cc6b7b12e86c SHA512 e1c313b52c852b90ee3efe07b754d91ac842483718fe30f0c59951aad9aa84bc36c9264956fd931a98aaad5ee151089a06472f19e4ae5e9eb1d20c72cc98f436 +DIST pypiserver-2.3.1.gh.tar.gz 165683 BLAKE2B 0a24b26a804f44bcd314595c4559fe7f41264910cd841e6ca7835e225fca2ec76073952ad9fb228c8e7f5d59045ad37578e676283499ab745fe204a7e353ee31 SHA512 c8a449e49daf2e3f149fbc87e01e40ad5cd5e33d1453b5d2bc97eefe10d7b8dcf74eda1008e62175de5f4f1429dec163774e19c92573ded1fe98f82293643e67 EBUILD pypiserver-2.2.0.ebuild 1846 BLAKE2B 4dbdfdca43ca943601998e8f72b425666d03d3c5bbafbef18d09c050d4f5160e740f4655a3326b3a1efddd6351effafc8a4912f321a0ecc9191bf0fb32512889 SHA512 6d68c2224557fb15dfdcdf0e3f4e1693917acb296789c2d9e886e5093b13116ccdbd3d9b66f25c4f07c981f75925ff92d3d008b2dd519509c71faef57052a7f9 +EBUILD pypiserver-2.3.1.ebuild 1948 BLAKE2B 698dedf3052ff2d8e3eee7d9d304877de082d89a3d1ea7064991dad3d730ea812916bec4993a84ce6eaa36d07f6870c2ce3b044e01b79a315d685a48b03a048a SHA512 e67eb5f47edbd594fdfac758d90954e346b7fb4544fe443a1030dbf1aa98ecb8865bd6005d8b8bbcb4d0c1358a10f5991daf647483e01947e2b816c73a912488 MISC metadata.xml 399 BLAKE2B e8726c9c4a494a64dd1490aa88f8bbca6536635af045364307d057d5dfa4762a1b0d59d3eacf7d84c9002ac38516eb7d2228ebd872db762a669bd6015139a4ec SHA512 a3d90eb11fc5bb2c78e53a4d64cffaf213a445c1677939c46fb400e01f4e74d1f206df2259ab348b61d27e3a9b3f03e94a49485be948b2e4106ba254154c7ada diff --git a/dev-python/pypiserver/files/pypiserver-2.3.1-unbundle-bottle.patch b/dev-python/pypiserver/files/pypiserver-2.3.1-unbundle-bottle.patch new file mode 100644 index 000000000000..c879e5291a88 --- /dev/null +++ b/dev-python/pypiserver/files/pypiserver-2.3.1-unbundle-bottle.patch @@ -0,0 +1,110 @@ +From 65c42e562500590d4e2377479ce23c4bcf4c325c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Sun, 24 Nov 2024 04:11:10 +0100 +Subject: [PATCH] unbundle pypiserver + +--- + pypiserver/__init__.py | 2 +- + pypiserver/__main__.py | 2 +- + pypiserver/_app.py | 2 +- + tests/test_app.py | 3 ++- + tests/test_main.py | 8 ++++---- + 5 files changed, 9 insertions(+), 8 deletions(-) + +diff --git a/pypiserver/__init__.py b/pypiserver/__init__.py +index 326a13f..42bbcd0 100644 +--- a/pypiserver/__init__.py ++++ b/pypiserver/__init__.py +@@ -4,7 +4,7 @@ import re as _re + import sys + import typing as t + +-from pypiserver.bottle import Bottle ++from bottle import Bottle + from pypiserver.config import Config, RunConfig, strtobool + + version = __version__ = "2.3.1" +diff --git a/pypiserver/__main__.py b/pypiserver/__main__.py +index a47418b..b433335 100644 +--- a/pypiserver/__main__.py ++++ b/pypiserver/__main__.py +@@ -160,7 +160,7 @@ def main(argv: t.Sequence[str] = None) -> None: + + gevent.monkey.patch_all() + +- from pypiserver import bottle ++ import bottle + + bottle.debug(config.verbosity > 1) + bottle._stderr = ft.partial( # pylint: disable=protected-access +diff --git a/pypiserver/_app.py b/pypiserver/_app.py +index ed6ae20..2224619 100644 +--- a/pypiserver/_app.py ++++ b/pypiserver/_app.py +@@ -13,7 +13,7 @@ from urllib.parse import urljoin, urlparse, quote + + from pypiserver.config import RunConfig + from . import __version__ +-from .bottle import ( ++from bottle import ( + static_file, + redirect, + request, +diff --git a/tests/test_app.py b/tests/test_app.py +index 230a03e..8bd3d75 100644 +--- a/tests/test_app.py ++++ b/tests/test_app.py +@@ -8,12 +8,13 @@ import xmlrpc.client as xmlrpclib + from html import unescape + + # Third party imports ++import bottle + import pytest + import webtest + + # Local Imports + from tests.test_pkg_helpers import files, invalid_files +-from pypiserver import __main__, bottle, core, Bottle, _app ++from pypiserver import __main__, core, Bottle, _app + from pypiserver.backend import CachingFileBackend, SimpleFileBackend + + # Enable logging to detect any problems with it +diff --git a/tests/test_main.py b/tests/test_main.py +index 5fcace7..5369c78 100644 +--- a/tests/test_main.py ++++ b/tests/test_main.py +@@ -5,11 +5,11 @@ import sys + import typing as t + from unittest import mock + ++import bottle + import pytest + +-import pypiserver.bottle ++from bottle import Bottle + from pypiserver import __main__ +-from pypiserver.bottle import Bottle + + + THIS_DIR = pathlib.Path(__file__).parent +@@ -51,7 +51,7 @@ def main(monkeypatch): + main.update_args = args + main.update_kwargs = kwargs + +- monkeypatch.setattr("pypiserver.bottle.run", run) ++ monkeypatch.setattr("bottle.run", run) + monkeypatch.setattr("pypiserver.manage.update_all_packages", update) + + return main +@@ -262,7 +262,7 @@ def test_auto_servers() -> None: + """Test auto servers.""" + # A list of bottle ServerAdapters + bottle_adapters = tuple( +- a.__name__.lower() for a in pypiserver.bottle.AutoServer.adapters ++ a.__name__.lower() for a in bottle.AutoServer.adapters + ) + # We are going to expect that our AutoServer enum names must match those + # at least closely enough to be recognizable. +-- +2.47.0 + diff --git a/dev-python/pypiserver/pypiserver-2.3.1.ebuild b/dev-python/pypiserver/pypiserver-2.3.1.ebuild new file mode 100644 index 000000000000..e17ff4ee134b --- /dev/null +++ b/dev-python/pypiserver/pypiserver-2.3.1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Minimal PyPI server" +HOMEPAGE=" + https://github.com/pypiserver/pypiserver/ + https://pypi.org/project/pypiserver/ +" +SRC_URI=" + https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/bottle[${PYTHON_USEDEP}] + >=dev-python/packaging-23.2[${PYTHON_USEDEP}] + >=dev-python/pip-7[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib-resources[${PYTHON_USEDEP}] + ' 3.{10..11}) +" +# NB: many test deps are optional/specific to tests we skip +BDEPEND=" + dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + >=dev-python/build-1.2.0[${PYTHON_USEDEP}] + >=dev-python/passlib-1.6[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGES.rst README.md ) + +PATCHES=( + "${FILESDIR}/${PN}-2.3.1-unbundle-bottle.patch" +) + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # stray unconditional importlib-resources dep + sed -i -e '/importlib_resources/d' setup.py || die + # remove bundled bottle (sic!) + rm pypiserver/bottle.py || die +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_server.py::test_hash_algos + tests/test_server.py::test_pip_install_open_succeeds + tests/test_server.py::test_pip_install_authed_succeeds + # seems to rely on internal bottle details + tests/test_main.py::test_auto_servers + ) + + if ! has_version "dev-python/twine[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_server.py::test_twine_upload + tests/test_server.py::test_twine_register + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests +} diff --git a/dev-python/python-markdown-math/Manifest b/dev-python/python-markdown-math/Manifest index e196b0e0bb4f..4e58bf933e49 100644 --- a/dev-python/python-markdown-math/Manifest +++ b/dev-python/python-markdown-math/Manifest @@ -1,3 +1,3 @@ DIST python-markdown-math-0.8.tar.gz 8509 BLAKE2B f91d0dbd6073d724f90a1265a64f2375be51ce25f6bdf808e1176a582c0e98aa59a52d45d67c5e37f674db5b5b7dead572a93950b9143f0950a0ee20b241e4a2 SHA512 d35e0cba68fb4ec099368d0d4865a5ad1baab6fbd23f7457312ab6893c3864287c41c32f560bbd8cddb0afff6522640f9b9144a02774539eba4e1302fac05bcb EBUILD python-markdown-math-0.8-r1.ebuild 545 BLAKE2B 699d072aa88e6152453148807f7677dd53ca4128394bef34169d1e193c0c99ba8d1fa7653993ae432ead22bbe0fe0d41d98da03a04fdf3ecaa3e397d0f6e53d0 SHA512 a83653848caf4e90a82d0611de028a77940d327dadcbbe95cd8cfd2a95728cd617ec41c8e8348b9b348f5383c8be516d8ce498021ee0b8cec14c626416be4af9 -MISC metadata.xml 673 BLAKE2B 4db5def6fafb04f04eee6e210dae60688e47d18f84d6d92cd66f75c67adf678c91908b8c06ba7dd9d1bf4089cd552bef2bdbe462537a2c4d117ea98c8df87aff SHA512 84d67e6430d8ca0202ed926f6a784c02168e68d2b44421acae27ad94a2a319d41e8fd171c3db282a27553c79da614c914f83b7264d6f5770dbb851984283f36d +MISC metadata.xml 416 BLAKE2B f3e22bad4d9b31937b00f35261f16a4a26307302369b3fcea4544505caa8e01924b3e79b7a723f76b1fb690d606538994b5f10313cfce22637a0dba8cd5eb6b3 SHA512 d74420517c124111e560d480dc3089ceddb9d29c151b77c773f934e449ece7093d27887d1cdfd2d77657e8b7b34af2056b84b7f277254cc1a6feb69941c182d9 diff --git a/dev-python/python-markdown-math/metadata.xml b/dev-python/python-markdown-math/metadata.xml index 230afccf28d7..7b184e3ef24e 100644 --- a/dev-python/python-markdown-math/metadata.xml +++ b/dev-python/python-markdown-math/metadata.xml @@ -1,14 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>holgersson@posteo.de</email> - <name>Nils Freydank</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> <maintainer type="project"> <email>python@gentoo.org</email> <name>Python</name> diff --git a/dev-python/ruamel-yaml-clib/Manifest b/dev-python/ruamel-yaml-clib/Manifest index 946be2597a99..952f63334c5e 100644 --- a/dev-python/ruamel-yaml-clib/Manifest +++ b/dev-python/ruamel-yaml-clib/Manifest @@ -1,8 +1,3 @@ -AUX ruamel-yaml-clib-0.2.7_cython_pointer_types.patch 2575 BLAKE2B 15b2ac0cee6c27f8d929ea4f4e5ce094cc36a017f6b593e256447f67df8ec97c8a6a7cb0212619481192ad014432da38fa4f8f15affac2ee0b190749e70b50ec SHA512 401320bd7ba8e14e348a8bb1e1ddb4ced6a1b25103dc27f8b96b95ea9b5727c902722af01fe135bdeedd9e491d8f33922707c7e3c7bdb6d730612cc02c0b7b0d DIST ruamel.yaml.clib-0.2.12.tar.gz 225315 BLAKE2B fdba5da04b387f5d983f3e31ff192d96d20d0c8f97622406bdde8515c59fe35995b031affe86c6eca59f1367548fa8aa87c4f19c378b2cddf5706a870b956509 SHA512 36715cfaa663f9948034d7eb64f1b9e9cf69971e27e5ac1f2cd54234c8889c91416fe95aa3f5cce44eb00c9c383f458457c3f5ba9e3afa3e5637c118ec2e5113 -DIST ruamel.yaml.clib-0.2.8.tar.xz 163768 BLAKE2B 38f41c45a4e043b01a80d725baeba5fd6e74fa56e86ad0c1e7e0b811f85fd92f98f3ac096419757bae2273537e7c31356d0d222896e631a39ddc36684ebf29e0 SHA512 3877bc6fcefab91f5d2bd013275f63bba6dd2f5ce1b29b74aef73d01638e184ff1f16ab1fbf9ccbf30d148a33f19dc2535ca8b5d8aecca8c48f1d3eef188e151 -DIST ruamel.yaml.clib-0.2.9.tar.xz 166220 BLAKE2B c65868c0c3e70f2e520252a85c7a973837f7b59aaf12e3a886dac0261d19e901ec508ede5cdfc573d17bec3b4ce6ad25abac2a3dc5ec84976a717bf750c550f8 SHA512 a7f1b54a661811632151abdb67804abf294c058bc487626472bc2b2b467c3fa7e3a9c3cbe45f87569f8f7ac67474e5f9e6b3031fbfb70d41b054d1c1ca59cb89 EBUILD ruamel-yaml-clib-0.2.12.ebuild 832 BLAKE2B 20fe01fd7badff20bdee84e34288f960bd52d489b61026d84c577687118b029c4d6170841399acc01a0eb2d857bd0c458610d9c937d16eaee9da365cf8fbb7ee SHA512 d6bd072174e3be09394356d05ec4a68e921a871641d74e5be7f4812fd17509a3c2c45439d10df95aae26e9f7d4d2e20e78b9ecced4ce0525abcd9ebdbe87ef1f -EBUILD ruamel-yaml-clib-0.2.8.ebuild 1008 BLAKE2B 4106de8841262ce62b8bed2359ff21a33476740ee41e799a292f9134f98c9330f0ad7e652135c196b7da3e3815299e26470e2971d8c430c91904f6eca7859040 SHA512 5a9f8b4acfb4be41d2448a4998ade1cd31a60bd98dc280494bf4b30c5db0c56691cec0114e9f19a82564bdc593ebc12786ab4b36a928dc8d6feb0e05b5b8a4c6 -EBUILD ruamel-yaml-clib-0.2.9.ebuild 949 BLAKE2B 0c49d5d051acd61b1016d8069970160d0471a6e88ef12768292229835b4dab7189184bb606b09d03915e2ac38554d29b1d86de730f9244cad9be2bfa093a8da8 SHA512 40e1d1826390a4b6cbb63efd7d5be1c1b6bfe40649fc7d3137254ad4ac273e09b630eeae573a476aa22e2aeae8a9b33a622e270006f0aea67bc47398c25c339b MISC metadata.xml 1067 BLAKE2B 19f0bc06ddc64581bf75fdf0ff860ab58a248ac74f193ae6e26914a8de53219e86287f7e6c2f4326c7ca544c2a839d874576d88f0a571101a5e028571ea65536 SHA512 b91553ddbaf0b8b1d68c7ae530d07ae928d2e3bfeda5e423f60141ce1a90211a2da3d42af431a57979ed9920ca8de0f74eac48a6d5c484be9646aeb03ccca044 diff --git a/dev-python/ruamel-yaml-clib/files/ruamel-yaml-clib-0.2.7_cython_pointer_types.patch b/dev-python/ruamel-yaml-clib/files/ruamel-yaml-clib-0.2.7_cython_pointer_types.patch deleted file mode 100644 index 855571f05bb0..000000000000 --- a/dev-python/ruamel-yaml-clib/files/ruamel-yaml-clib-0.2.7_cython_pointer_types.patch +++ /dev/null @@ -1,75 +0,0 @@ ---- a/_ruamel_yaml.pxd -+++ b/_ruamel_yaml.pxd -@@ -2,15 +2,15 @@ - cdef extern from "_ruamel_yaml.h": - - void malloc(int l) -- void memcpy(char *d, char *s, int l) -+ void memcpy(unsigned char *d, char *s, int l) - int strlen(char *s) - int PyString_CheckExact(object o) - int PyUnicode_CheckExact(object o) - char *PyString_AS_STRING(object o) - int PyString_GET_SIZE(object o) -- object PyString_FromStringAndSize(char *v, int l) -+ object PyString_FromStringAndSize(unsigned char *v, size_t l) - object PyUnicode_FromString(char *u) -- object PyUnicode_DecodeUTF8(char *u, int s, char *e) -+ object PyUnicode_DecodeUTF8(unsigned char *u, size_t s, char *e) - object PyUnicode_AsUTF8String(object o) - int PY_MAJOR_VERSION - -@@ -85,11 +85,11 @@ - YAML_MAPPING_START_EVENT - YAML_MAPPING_END_EVENT - -- ctypedef int yaml_read_handler_t(void *data, char *buffer, -- int size, int *size_read) except 0 -+ ctypedef int yaml_read_handler_t(void *data, unsigned char *buffer, -+ size_t size, size_t *size_read) except 0 - -- ctypedef int yaml_write_handler_t(void *data, char *buffer, -- int size) except 0 -+ ctypedef int yaml_write_handler_t(void *data, unsigned char *buffer, -+ size_t size) except 0 - - ctypedef struct yaml_mark_t: - int index -@@ -112,7 +112,7 @@ - char *handle - char *suffix - ctypedef struct _yaml_token_scalar_data_t: -- char *value -+ unsigned char *value - int length - yaml_scalar_style_t style - ctypedef struct _yaml_token_version_directive_data_t: -@@ -151,7 +151,7 @@ - ctypedef struct _yaml_event_scalar_data_t: - char *anchor - char *tag -- char *value -+ unsigned char *value - int length - int plain_implicit - int quoted_implicit ---- a/_ruamel_yaml.pyx -+++ b/_ruamel_yaml.pyx -@@ -904,7 +904,7 @@ - raise error - return 1 - --cdef int input_handler(void *data, char *buffer, int size, int *read) except 0: -+cdef int input_handler(void *data, unsigned char *buffer, size_t size, size_t *read) except 0: - cdef CParser parser - parser = <CParser>data - if parser.stream_cache is None: -@@ -1514,7 +1514,7 @@ - self.ascend_resolver() - return 1 - --cdef int output_handler(void *data, char *buffer, int size) except 0: -+cdef int output_handler(void *data, unsigned char *buffer, size_t size) except 0: - cdef CEmitter emitter - emitter = <CEmitter>data - if emitter.dump_unicode == 0: diff --git a/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.8.ebuild b/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.8.ebuild deleted file mode 100644 index 0e3b8814b50d..000000000000 --- a/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.8.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-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=( pypy3 python3_{10..13} ) - -inherit distutils-r1 - -MY_PN="${PN//-/.}" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="C-based reader/scanner and emitter for dev-python/ruamel-yaml" -HOMEPAGE=" - https://pypi.org/project/ruamel.yaml.clib/ - https://sourceforge.net/projects/ruamel-yaml-clib/ -" -# sdist lacks .pyx files for cythonizing -SRC_URI="https://downloads.sourceforge.net/ruamel-dl-tagged-releases/${MY_P}.tar.xz" -# workaround https://bugs.gentoo.org/898716 -S=${WORKDIR}/ruamel_yaml_clib - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.2.7_cython_pointer_types.patch -) - -src_unpack() { - default - mv "${MY_P}" ruamel_yaml_clib || die -} - -src_configure() { - cython -f -3 _ruamel_yaml.pyx || die -} diff --git a/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.9.ebuild b/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.9.ebuild deleted file mode 100644 index 211198d73cec..000000000000 --- a/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.9.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-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=( pypy3 python3_{10..13} ) - -inherit distutils-r1 - -MY_PN="${PN//-/.}" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="C-based reader/scanner and emitter for dev-python/ruamel-yaml" -HOMEPAGE=" - https://pypi.org/project/ruamel.yaml.clib/ - https://sourceforge.net/projects/ruamel-yaml-clib/ -" -# sdist lacks .pyx files for cythonizing -SRC_URI="https://downloads.sourceforge.net/ruamel-dl-tagged-releases/${MY_P}.tar.xz" -# workaround https://bugs.gentoo.org/898716 -S=${WORKDIR}/ruamel_yaml_clib - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] -" - -src_unpack() { - default - mv "${MY_P}" ruamel_yaml_clib || die -} - -src_configure() { - cython -f -3 _ruamel_yaml.pyx || die -} |