diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-02-10 00:12:21 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-02-10 00:12:21 +0000 |
commit | 3a81cede4783e464b7485722b2eaac0280dbc570 (patch) | |
tree | 261618bfbe562244c237d48a7960d4952bc6b318 /dev-python | |
parent | b95a6fd4a7b591baa7cfc689f8ce5643592d07be (diff) |
gentoo auto-resync : 10:02:2025 - 00:12:20
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/Manifest.gz | bin | 274519 -> 274515 bytes | |||
-rw-r--r-- | dev-python/coverage/Manifest | 2 | ||||
-rw-r--r-- | dev-python/coverage/coverage-7.6.11.ebuild | 111 | ||||
-rw-r--r-- | dev-python/evdev/Manifest | 2 | ||||
-rw-r--r-- | dev-python/evdev/evdev-1.9.0.ebuild | 44 | ||||
-rw-r--r-- | dev-python/identify/Manifest | 2 | ||||
-rw-r--r-- | dev-python/identify/identify-2.6.7.ebuild | 29 | ||||
-rw-r--r-- | dev-python/pyarrow/Manifest | 6 | ||||
-rw-r--r-- | dev-python/pyarrow/pyarrow-18.0.0.ebuild | 111 | ||||
-rw-r--r-- | dev-python/pyarrow/pyarrow-18.1.0.ebuild | 112 | ||||
-rw-r--r-- | dev-python/pyarrow/pyarrow-19.0.0.ebuild | 2 | ||||
-rw-r--r-- | dev-python/pypdf/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pypdf/pypdf-5.3.0.ebuild | 56 |
13 files changed, 250 insertions, 229 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 8ed4b40e1627..f4b019960045 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index 3dbcd23f6a75..1498e1b968bb 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -1,5 +1,7 @@ DIST coverage-7.6.10.tar.gz 803868 BLAKE2B 88ab379f33ca3056b03020befa56406b3e4d8ce57f9152abddefbf77186dbccd993e855078ea6f61ed2da3d198aab9b63e65fb9db3789a80bb080b1907e9de80 SHA512 3badf42f8f1f1dc19ff7dd7cca7fe57cd738364fea71b1fee52ec7774fbebd2bb241154d2ca06adb6ed87766179bcf0b6eb9a5120af5ec8f3df7b6fd0c27fa02 +DIST coverage-7.6.11.tar.gz 805460 BLAKE2B f035dfb27242926727875a806acd6725720d8828de0285cdcdc3aac406395b2648b00c75b206338ff282d0c98e70d2abf4fc13c4a1862317c7fd88c5d83de1b4 SHA512 83ce4fd99900bb4902fc25ecf386e0128f0c073f5c1ce3403149e175d8a55b177209c9413ae33b1ab3d2f6decdd4614f5a5a3c3f36d326cfc0d62c13e64d1250 DIST coverage-7.6.9.tar.gz 801710 BLAKE2B ac3a28d939e5ad7af341e8ef6ac2021ce9aad14117a4f6a31ae68432a0d55c2721c0f99a5e4fec40d4f2bf293e1cd549533643d3f1d6dd20997955614c7eb987 SHA512 ee2e3f93dfd723dabe3c88bac888c056f8dabc890d9078c49393d01c21522d946f7f6d50565a978dfc1d5b8009eca612d9a102a86f568689adc85df8478ecb8c EBUILD coverage-7.6.10.ebuild 2671 BLAKE2B 3a7779c7aaf83dd653f183fcd2a2863e66bc76f07e39b621f7a24cb3c6357911b1009dfcfe11307e9e1b308e9fcc8b8890dfa615d01efcf5eb7c0a40c38310ba SHA512 3cc2d45bd43739c4cb46d68c8534dd1bda229e1c5076694d83d90c2821592bfe871306b7eb17d52fa8e7eee45aa9d4cb0ebbb0e95563a145d9579889e9533c05 +EBUILD coverage-7.6.11.ebuild 2833 BLAKE2B bb3b938baf5f0950e3454e7c8aa9c912bd3adbb2406a94aae5bd18fd044e6356fa8b64221b35266612863c4129b48e452098723a2a9b9ee93d29716c6f7b0003 SHA512 44a534c1276e8c5ed5f43ed0ac038cdae5a04e09c42cbbaa5cf6eb9574c88f8d948d003bbc31892c77cd4fdba86fb408e76743579f2e3ca956143eb935dc4b76 EBUILD coverage-7.6.9.ebuild 2670 BLAKE2B a4af413c7af27de2134da8f07ab089961e1f3926d1f99d1bfbf52f343dd089c782554e9499ede1bd00f9b34c718794a75f474bc76327c79827cd0b01cafd90ac SHA512 d3b3e9e02a29cada83553a9cbd269b786d6e7ff76481c704962d9c3129f7fad59720171492d1278431813d25cc837e3c06c62b82335f0c277d1abc688215cedf MISC metadata.xml 771 BLAKE2B 38e9680d0851f70050aad987714a9dd2f95178b0bc3d794dc08726c0618d1ea98be32a413ac397f4b222e8a5d8fdc747b7f1677bcfe842bac4080537e85a03a9 SHA512 8c44c40348fe5d416d8b4016fe22cc9ae0b94fbaf181deb79aa737f87271992521b710c1208d0eeb7ef92d96fc8a7daac1ec6feb1ae081a80f13327b5b094064 diff --git a/dev-python/coverage/coverage-7.6.11.ebuild b/dev-python/coverage/coverage-7.6.11.ebuild new file mode 100644 index 000000000000..bba747e1e72a --- /dev/null +++ b/dev-python/coverage/coverage-7.6.11.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2025 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" +IUSE="native-extensions" + +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 +} + +python_compile() { + if ! use native-extensions; then + local -x COVERAGE_DISABLE_EXTENSION=1 + fi + + distutils-r1_python_compile +} + +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/evdev/Manifest b/dev-python/evdev/Manifest index ae3ce5ac3b61..c852af360b1b 100644 --- a/dev-python/evdev/Manifest +++ b/dev-python/evdev/Manifest @@ -1,6 +1,8 @@ AUX evdev-1.8.0-test.patch 780 BLAKE2B 63049c2740f39ef3b9df5adb4ae140985856e2027224bd3d540e790b2e7e5ae0d4088b64049c54f7232d8eda73b60e75059de3bc369f9a0d8bfabd5a95994dc5 SHA512 bdcd4e3795d02375262a420b792cfa4b9219486b95a7129c4c1c614fe97b792fc4b19990e04f0022b237a14420a335f17d935501c48289c0cc16fe5021d8d442 DIST python-evdev-1.7.1.gh.tar.gz 88275 BLAKE2B 334f70785411bd0e8d348ddeb0a6a728dbfd5c3604a19e7153c47d6868f76b0d3c10317230b0d6874cc14b3765d0e520d932c551842bd0d758b7a735b30ba7cb SHA512 802ba7c252a8817c60480db90b28e89b8356580d7b7f6a35725c70fcacbcabb3d3216330f6639ece940d901434cf1617d7682d344b7428fd5c5b6ab940700ff8 DIST python-evdev-1.8.0.gh.tar.gz 47568 BLAKE2B 489ebf6eecf2a7212b67f1393e105bbb801236f039bcc2adb805049a4941fc4d064a22b0928c69fa907197c444b49e7446b7641c4b19c1ff10b1fc4ad1a0d1ab SHA512 86b2c08068863473e89f1455ff29f049786c292eaf1bdd44ad584054280aa2d40182640d67301653251ed13b2e7414bc81b7afc6b978a392d95fdce786f23e36 +DIST python-evdev-1.9.0.gh.tar.gz 47965 BLAKE2B 0e3f48f6e2e5896647eda50b05f87b3342706ef7d9d962dd01d48f5c03b3ed4f1a26c47a8390cc903ced1be38d0401844a270a8b91348513f2fffc3d57656147 SHA512 dfe9d457f768814ec2f8e610a21503ba3c218f1518cad6ab5ee369b7d5c604e4ffdf3304461b3004d2bf582412d9d6d1d2b3f86ed28bb03e6e663f3de1ff3a25 EBUILD evdev-1.7.1.ebuild 896 BLAKE2B f0818657d3dc94a9f19f826cd3480739ad1a8d1f2e50f2bfd672530b263e197a5ac0cff81abca19c8a87fb582672321203e7732fc2d4bb11283019b4bb07d330 SHA512 e4d071acecd059f9605917a33e25b94f73fd6a63679b85a8cd0b3bf941b70002c78feedf7f03464351ad4f06a0465fcde8efa450e6ab52e7021d37fa6d867967 EBUILD evdev-1.8.0.ebuild 1008 BLAKE2B 601fe86a589f26fcbf434263587859c08c2bf926ef927b67c4f074c728cd1090fa5d16bc6f4baa81f57ea8c6e37705f9044855d8f88cf2656ceed027ac82ca03 SHA512 3aa8fbbffb4fb9f2831b1c1610fc42defb676dcea89451f3cc97c10a012071832d7ef3a24cb06e377a68bd85fab5b0f183f620a4c5435d001212e9883a6774a5 +EBUILD evdev-1.9.0.ebuild 898 BLAKE2B 8d48ce31704a846fec7e62905ce51fe388de2e1a37f545067d1c5d92d2f9b3bbae10ad2b9655394da68370d92fcce7c277188d4f381bf4064ac64aab459cb2ee SHA512 ffa0fd207eb96803e8f949cfd05a6b2a233acb1c6c89853a859a4899a961597ef07f7ac63dbf04cdd176dc6669ce064fe470d348ad49f2ae17dfbadfa980db66 MISC metadata.xml 369 BLAKE2B 3db50cf2308091023bd5dd7768e1ff0af97124c5009efb710defc139b2809a804472969055cd0d120399d14b78d7da9dd92ca44b7de35fbf0e4cda2838ceb911 SHA512 1ceaa34af50744cd1108c990891c7105fa5373242b02fdd9b25718a6275b90d787a948b78ab4a17f0cfc168ba0c9f98d4c5b1e33997a0d751f7ffaed0b7189da diff --git a/dev-python/evdev/evdev-1.9.0.ebuild b/dev-python/evdev/evdev-1.9.0.ebuild new file mode 100644 index 000000000000..38d528c26c4a --- /dev/null +++ b/dev-python/evdev/evdev-1.9.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 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 ) + +inherit distutils-r1 + +MY_P=python-evdev-${PV} +DESCRIPTION="Python library for evdev bindings" +HOMEPAGE=" + https://python-evdev.readthedocs.io/ + https://github.com/gvalkov/python-evdev/ + https://pypi.org/project/evdev/ +" +SRC_URI=" + https://github.com/gvalkov/python-evdev/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + tests/test_uinput.py +) + +python_configure_all() { + esetup.py build_ecodes \ + --evdev-headers \ + "${ESYSROOT}/usr/include/linux/input.h:${ESYSROOT}/usr/include/linux/input-event-codes.h" +} + +src_test() { + cd tests || die + distutils-r1_src_test +} diff --git a/dev-python/identify/Manifest b/dev-python/identify/Manifest index 22d57f9ccbe8..ae878605396a 100644 --- a/dev-python/identify/Manifest +++ b/dev-python/identify/Manifest @@ -1,3 +1,5 @@ DIST identify-2.6.6.gh.tar.gz 101889 BLAKE2B e6246bceed1aaf806e4d7984581214c9272508782cd35429b8d58779a0546b5dc1536d970d6a71bd7135afb73216896ffaee0ec627261f25907034081580018f SHA512 0312654b6cf20e59248656fe09d54292fafa4f1c41b85def6f828f986b4ef5fe9d275a9d90537f3129060a572106b79aad338ac52f9d0d4287a8a6db805fb18f +DIST identify-2.6.7.gh.tar.gz 101902 BLAKE2B 078426177c20ba9b6d8ce3771c982304af2935329ef4c0c09fa8cd0f8309987fe85f31f5c4bf05e231bab43065320f92797cbb19441e839b37729e95d81681da SHA512 9f43ce68e3767bfc45fc56509b9c7604c7a1947688f8305019bd551205820fb4f095ad48d7cc0d05caf90dd8ca43b2d3ef4bb1808938e04b7a44b3658734bdc4 EBUILD identify-2.6.6.ebuild 595 BLAKE2B c7ca323901a085a6776d11381cd4c6528dde9a9379700373595a5c3dca02ec6bceca9d791a429c52c4984235a5f702efec6894b41a7b95994b1a3318bd497c32 SHA512 4a8d477fe333830fc5d9279573e39764bb17c2ec54d70baf76f8c8fd781eb80264d1de7819b72277ddaabd8dd05203bd2563c669c8e1f43a045a2fb6ce550b2e +EBUILD identify-2.6.7.ebuild 598 BLAKE2B 725411b524aa5293e51c25b249cc1da67dd0835f507c1af74926bfe87678210bda22d9c57ca2185357154a9e86c7cba74cf01f821222d98cfde8c044cc053819 SHA512 3621fce30088da6b855b9aa0c78337e9a0f25c9e3cf9e75e89ecb5d76ac66e7c9edc5bfe4ede7659d8d6dfb746b54a3956d2597eeed517c15a3f9b0ec655e347 MISC metadata.xml 395 BLAKE2B 01314d222b5ab4f906d3a0b8ba56d9ffaeb1cdb4513147a675df16f4ce1dbb6f45d8e63d36a42344c3e2278737956467abd8f71c74db232c5da7889810ee80fb SHA512 14280c2065b6f69836cbb493342c8e50c900f218a019cd074688913879e5f515388902cefcd618e8bb552af8145ae33c92a9b7caad867d66e457369fe74a187f diff --git a/dev-python/identify/identify-2.6.7.ebuild b/dev-python/identify/identify-2.6.7.ebuild new file mode 100644 index 000000000000..c40a9ab3694b --- /dev/null +++ b/dev-python/identify/identify-2.6.7.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2025 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="File identification library for Python" +HOMEPAGE=" + https://github.com/pre-commit/identify/ + https://pypi.org/project/identify/ +" +SRC_URI=" + https://github.com/pre-commit/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/ukkonen[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/pyarrow/Manifest b/dev-python/pyarrow/Manifest index 4ed365b67c39..7a7237b8aab3 100644 --- a/dev-python/pyarrow/Manifest +++ b/dev-python/pyarrow/Manifest @@ -1,9 +1,5 @@ -DIST apache-arrow-18.0.0.tar.gz 19113236 BLAKE2B c358f8e61155432540a4002c6dfba7a3763d934a43eddae0a9a6f98bb26879df51e3cdcc64db6dd684ffde2ef8ef6dcff8906355b5769f71afae907aa1e920c5 SHA512 4df30ab5561da695eaa864422626b9898555d86ca56835c3b8a8ca93a1dbaf081582bb36e2440d1daf7e1dd48c76941f1152a4f25ce0dbcc1c2abe244a00c05e -DIST apache-arrow-18.1.0.tar.gz 19132388 BLAKE2B 4a8c60d8a5dcf2b8ac4e2ae3a7f555dd0604d5ccc4b72ba317f18e16e75725b24553050fe88a02f382b0581310f20d0b795133b243f2851fa0e8d3801a839358 SHA512 7249c03a6097bc64fb0092143e4d4aaef3227565147e6254f026ddd504177c8dd565a184a0df39743dc989070dc3785e5b66f738c8e310ed9c982b61c2ec4914 DIST apache-arrow-19.0.0.tar.gz 17830405 BLAKE2B cf611106b0ee5f92a4cbf341e9f5b6771f377710bb11c6eab555706a52b5c72fcf4590ba55c36100a97c6219ec421813f51ef6337530d84eb8394735ef2787b5 SHA512 6820de33a5d5b0922ea64dd8ff55d186ef02596ad0415578067aaf3e5cf7d3eead473bc3a5f92d6d3f19b97d153fe1c901359008d922d1ffb0fc2a65dc860c79 DIST arrow-testing-4d209492d514c2d3cb2d392681b9aa00e6d8da1c.tar.gz 3572558 BLAKE2B fe5b6a46babbde8e2becefea09fecf090201a49faa7d4ee2f44b0bb4da42c344b37564999d32fdbd54a81a56c33fbde9b2d9d2fa664bf127cb5661e845fb6229 SHA512 6758ad936e1eeb2c5dd2b4b40fe90822a48a4ce67ee4d36657c168e1db5d9a17c092f4cf571b13d56b568a773515385441874d1ea36a1f6e5b15a99f67176fa3 DIST parquet-testing-cb7a9674142c137367bf75a01b79c6e214a73199.tar.gz 1068025 BLAKE2B 0fdd12d04108b27b17564c60ca36e751453f5d74cfbbe3a076e8befa1696aa0f093e2d1a5eacb99e69a98deda502930ba79b8329403af1e8b9d696e6617c6075 SHA512 dd221d9d59442cebb7158d7cf769d6e5323416bfcde2852eee37a26ff089bc04ea10b9ae7158a37d8694c10469d77c7d251d0dd2549596a7b3899d9c39b45997 -EBUILD pyarrow-18.0.0.ebuild 3291 BLAKE2B df00ce6cff7c522d51aa81463fcc3351347504a1cb9c85222f73b91a67b5ae254d7647c79bb6d6bd133ff90be2f54440682f278be44392069ccb87348306b4ef SHA512 39078fbbc9e9fb227cbf22b7f51a9cd5dfea401c5a82efea65af4bd6d0a77212d76ea52e6f0ba68d94e12799e4eec978da381ef5782f76c2efe50f8f13b796b8 -EBUILD pyarrow-18.1.0.ebuild 3348 BLAKE2B 9cae5028f1430b3cfc2c1c7fc044b0a6be5456ef6b83d25632e14ae5a959a86b3eb6df03bea22280ac88ed3cd45b75284fad00db49f79119dd228267b1dc5718 SHA512 17a7418a99bbaefd40552fe1e8ebca86824ffe821e58c5e1e78792a85b4ac344d6915f21a8f11e2731a18a78483530a4483d479e78d32c9cfdba1b860a6f7ab1 -EBUILD pyarrow-19.0.0.ebuild 3556 BLAKE2B fb624a4145e5241c05e2de35f30655a5fc1793debabc4b7f9bac201b393fdbfba153886717760f6cbf603a7d682857ae2dd319c9059c616a41b6aad18a225e81 SHA512 72c09e26f0c9a9146e080af0ca2aaeaa39b24f32cc5050ede8a9c60773565e173386d3e54525f3c782e2ecda08e08e38577ae4ff39dde4af786e315dccb8d8fa +EBUILD pyarrow-19.0.0.ebuild 3554 BLAKE2B 919013cd67aa25f59cfec429b6933edbbe3b1bb233174f74e368de62340a537a5485d3bff0c81184e3002aa09fc6a70a6fab98dcc8cb908ccb86b633d256666b SHA512 5adbde951fc6283365a4be31c0dafc7de16edb1c8b9aa63b531839287bb9a294ca039ffc07d00aaee0f595e4f487bd167edfd0a763aef40e7119431235bead7c MISC metadata.xml 555 BLAKE2B 5683205ece2b0266e5792f42ebd515c1822563d2705f046ebcabd1de71efc67800616303b2fc83ea8cac3395303178f13e859b7390adfcef23da8d687fc8d6a3 SHA512 61d8f5bcbdbe92b858d0aab3040cd3e8dcb33ba0c45808649e032a165d6826c1a489ae2cfbf8dca52eda82d5b24b4c3f74a9abd6f87d5ff72f6578cf7535c797 diff --git a/dev-python/pyarrow/pyarrow-18.0.0.ebuild b/dev-python/pyarrow/pyarrow-18.0.0.ebuild deleted file mode 100644 index c3a6c3921c11..000000000000 --- a/dev-python/pyarrow/pyarrow-18.0.0.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 2023-2025 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} ) - -inherit distutils-r1 multiprocessing - -# arrow.git: testing -ARROW_DATA_GIT_HASH=4d209492d514c2d3cb2d392681b9aa00e6d8da1c -# arrow.git: cpp/submodules/parquet-testing -PARQUET_DATA_GIT_HASH=cb7a9674142c137367bf75a01b79c6e214a73199 - -DESCRIPTION="Python library for Apache Arrow" -HOMEPAGE=" - https://arrow.apache.org/ - https://github.com/apache/arrow/ - https://pypi.org/project/pyarrow/ -" -SRC_URI=" - mirror://apache/arrow/arrow-${PV}/apache-arrow-${PV}.tar.gz - test? ( - https://github.com/apache/parquet-testing/archive/${PARQUET_DATA_GIT_HASH}.tar.gz - -> parquet-testing-${PARQUET_DATA_GIT_HASH}.tar.gz - https://github.com/apache/arrow-testing/archive/${ARROW_DATA_GIT_HASH}.tar.gz - -> arrow-testing-${ARROW_DATA_GIT_HASH}.tar.gz - ) -" -S="${WORKDIR}/apache-arrow-${PV}/python" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" -IUSE="+parquet +snappy ssl" - -RDEPEND=" - ~dev-libs/apache-arrow-${PV}[compute,dataset,json,parquet?,re2,snappy?,ssl?] - >=dev-python/numpy-1.16.6:=[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/cffi[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-libs/apache-arrow[lz4,zlib] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # cython's -Werror - sed -i -e '/--warning-errors/d' CMakeLists.txt || die -} - -src_compile() { - export PYARROW_PARALLEL="$(makeopts_jobs)" - export PYARROW_BUILD_VERBOSE=1 - export PYARROW_CXXFLAGS="${CXXFLAGS}" - export PYARROW_BUNDLE_ARROW_CPP_HEADERS=0 - export PYARROW_CMAKE_GENERATOR=Ninja - export PYARROW_WITH_HDFS=1 - if use parquet; then - export PYARROW_WITH_DATASET=1 - export PYARROW_WITH_PARQUET=1 - use ssl && export PYARROW_WITH_PARQUET_ENCRYPTION=1 - fi - if use snappy; then - export PYARROW_WITH_SNAPPY=1 - fi - - distutils-r1_src_compile -} - -python_test() { - local EPYTEST_DESELECT=( - # wtf? - tests/test_fs.py::test_localfs_errors - # these require apache-arrow with jemalloc that doesn't seem - # to be supported by the Gentoo package - tests/test_memory.py::test_env_var - tests/test_memory.py::test_specific_memory_pools - tests/test_memory.py::test_supported_memory_backends - # hypothesis health check failures - # https://github.com/apache/arrow/issues/41318 - tests/interchange/test_interchange_spec.py::test_dtypes - tests/test_convert_builtin.py::test_array_to_pylist_roundtrip - tests/test_feather.py::test_roundtrip - tests/test_pandas.py::test_array_to_pandas_roundtrip - tests/test_strategies.py::test_types - tests/test_types.py::test_hashing - # fragile memory tests - tests/test_csv.py::TestSerialStreamingCSVRead::test_batch_lifetime - tests/test_csv.py::TestThreadedStreamingCSVRead::test_batch_lifetime - # takes forever, and manages to generate timedeltas over 64 bits - tests/test_strategies.py - ) - - cd "${T}" || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PARQUET_TEST_DATA="${WORKDIR}/parquet-testing-${PARQUET_DATA_GIT_HASH}/data" - local -x ARROW_TEST_DATA="${WORKDIR}/arrow-testing-${ARROW_DATA_GIT_HASH}/data" - epytest --pyargs pyarrow -} diff --git a/dev-python/pyarrow/pyarrow-18.1.0.ebuild b/dev-python/pyarrow/pyarrow-18.1.0.ebuild deleted file mode 100644 index 55b9c333c4c9..000000000000 --- a/dev-python/pyarrow/pyarrow-18.1.0.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 2023-2025 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} ) - -inherit distutils-r1 multiprocessing - -# arrow.git: testing -ARROW_DATA_GIT_HASH=4d209492d514c2d3cb2d392681b9aa00e6d8da1c -# arrow.git: cpp/submodules/parquet-testing -PARQUET_DATA_GIT_HASH=cb7a9674142c137367bf75a01b79c6e214a73199 - -DESCRIPTION="Python library for Apache Arrow" -HOMEPAGE=" - https://arrow.apache.org/ - https://github.com/apache/arrow/ - https://pypi.org/project/pyarrow/ -" -SRC_URI=" - mirror://apache/arrow/arrow-${PV}/apache-arrow-${PV}.tar.gz - test? ( - https://github.com/apache/parquet-testing/archive/${PARQUET_DATA_GIT_HASH}.tar.gz - -> parquet-testing-${PARQUET_DATA_GIT_HASH}.tar.gz - https://github.com/apache/arrow-testing/archive/${ARROW_DATA_GIT_HASH}.tar.gz - -> arrow-testing-${ARROW_DATA_GIT_HASH}.tar.gz - ) -" -S="${WORKDIR}/apache-arrow-${PV}/python" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 arm64 ~riscv ~x86" -IUSE="+parquet +snappy ssl" - -RDEPEND=" - ~dev-libs/apache-arrow-${PV}[compute,dataset,json,parquet?,re2,snappy?,ssl?] - >=dev-python/numpy-1.16.6:=[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/cffi[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-libs/apache-arrow[lz4,zlib] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # cython's -Werror - sed -i -e '/--warning-errors/d' CMakeLists.txt || die -} - -src_compile() { - export PYARROW_PARALLEL="$(makeopts_jobs)" - export PYARROW_BUILD_VERBOSE=1 - export PYARROW_CXXFLAGS="${CXXFLAGS}" - export PYARROW_BUNDLE_ARROW_CPP_HEADERS=0 - export PYARROW_CMAKE_GENERATOR=Ninja - export PYARROW_WITH_HDFS=1 - if use parquet; then - export PYARROW_WITH_DATASET=1 - export PYARROW_WITH_PARQUET=1 - use ssl && export PYARROW_WITH_PARQUET_ENCRYPTION=1 - fi - if use snappy; then - export PYARROW_WITH_SNAPPY=1 - fi - - distutils-r1_src_compile -} - -python_test() { - local EPYTEST_DESELECT=( - # wtf? - tests/test_fs.py::test_localfs_errors - # these require apache-arrow with jemalloc that doesn't seem - # to be supported by the Gentoo package - tests/test_memory.py::test_env_var - tests/test_memory.py::test_specific_memory_pools - tests/test_memory.py::test_supported_memory_backends - # hypothesis health check failures - # https://github.com/apache/arrow/issues/41318 - tests/interchange/test_interchange_spec.py::test_dtypes - tests/test_convert_builtin.py::test_array_to_pylist_roundtrip - tests/test_feather.py::test_roundtrip - tests/test_pandas.py::test_array_to_pandas_roundtrip - tests/test_strategies.py::test_types - tests/test_types.py::test_hashing - # fragile memory tests - tests/test_csv.py::TestSerialStreamingCSVRead::test_batch_lifetime - tests/test_csv.py::TestThreadedStreamingCSVRead::test_batch_lifetime - # takes forever, and manages to generate timedeltas over 64 bits - tests/test_strategies.py - "tests/test_array.py::test_pickling[builtin_pickle]" - ) - - cd "${T}" || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PARQUET_TEST_DATA="${WORKDIR}/parquet-testing-${PARQUET_DATA_GIT_HASH}/data" - local -x ARROW_TEST_DATA="${WORKDIR}/arrow-testing-${ARROW_DATA_GIT_HASH}/data" - epytest --pyargs pyarrow -} diff --git a/dev-python/pyarrow/pyarrow-19.0.0.ebuild b/dev-python/pyarrow/pyarrow-19.0.0.ebuild index 7daac2cf9ced..e48a185ba49d 100644 --- a/dev-python/pyarrow/pyarrow-19.0.0.ebuild +++ b/dev-python/pyarrow/pyarrow-19.0.0.ebuild @@ -33,7 +33,7 @@ S="${WORKDIR}/apache-arrow-${PV}/python" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv x86" IUSE="+parquet +snappy ssl" RDEPEND=" diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 3c22565be297..a242d8993a89 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,6 +1,8 @@ DIST pypdf-5.1.0.gh.tar.gz 8026822 BLAKE2B 068490ced3dd97d7c08fe87620b68a7363900ea4b9875b52ea525263ba9240b9ce07f1e98c2fe13167c8f9aa58f9a4280b4eb2ef899ef54efa58a8c1ce02f38c SHA512 2c13b0622fcad1faaee41e82489d12f9f2006822487412eda6108bbec68b37bfc2e94510f29eb0f3a9af788c5d99142fd64f28ed3e464ff17dbecad0442dfd2e DIST pypdf-5.2.0.gh.tar.gz 8032194 BLAKE2B e7e9a3f5d4bb8ad5ae2158c3d00961f0b00fb12a04ea31649a24a3fb672367766b447c4aa84b06ecf3df8c32ea545f1efe6c52f786aabb3170d11c6e3ef3dde2 SHA512 8112dcf0fe5a2be97bbf940c417eff718a1fc7827fdacc7e2c1768263306441d422a2e3c84c83c757182cb595dc12ad17b2424284f8e0ec1697cfc37fc630492 +DIST pypdf-5.3.0.gh.tar.gz 8036039 BLAKE2B dfdbcf5112da7e82aaa87753433cd236dbfbac20e5c83194d18da13b878713bb7c8b102f0c62e35f157bb28bc125fdc491a0720fd59d1a0a30c8a13476d24a9d SHA512 c656fb766d6e7d550768150c83b289450e8da8632353aa90ce9f355a99b613dbb6be84f1d0742b53ca093dc747dee6ac56f243a96ad60ad7764b1e66e0cca3bd DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 EBUILD pypdf-5.1.0.ebuild 1660 BLAKE2B 3f48ae6da3e588de31a32bac9b5a49d3ce935b76422faecd90a859096511a76725f8569fdbd72e4b91f466387f1814e63e3638f6275ce7b4dc13f58a17a03992 SHA512 2e735e20eb7b4491d47998b1724b4ca8abe00de2096d50646f9b900c7b30fa154bbdc8e1bf16d02ed2618da32bd46a9e01c97294bd5c4c0103ee00e4fd2a2161 EBUILD pypdf-5.2.0.ebuild 1447 BLAKE2B 0f481586e2fe8e39300a028a498467a67b4549f1169362be059e9c119b47f53a4071e46ccf9a10ebcf4311fe50e12c005327a929c1b795f1812c938964825788 SHA512 60c2689e0b0a9ffc30c112f381f877e705cec224e4e9b4f4834913f6629308a70764142ecabdca86574eb2df7c041ba1620b4ff5c4a6a30e3894032fa8290a2e +EBUILD pypdf-5.3.0.ebuild 1214 BLAKE2B c8e7cbc7059cbebd15737943975411ce8871c532bbbb69d16f1cd71a278cb4b2ce30f2314e0745fe00f4b9041ba6fad188731c133cab0d5a9de342027225435f SHA512 7462db459a01a49260b03f6df0cd1ad844da222d3513bf132dc0e07a56537a0da747b57ca76bb59339d42e49dd3376481774e13ca6cd5dde806b72a92eaf834f MISC metadata.xml 373 BLAKE2B a829b7048eb3a95caeb1be83b6172603df6a031d40995294f2687bf3c3cb70e66fafb9ba8339d9979fc85f5936b9552963a8fcd072a20661fa78f3aa3c4b89c0 SHA512 775ac2de487f11fba1ea8d283b42b9ef56e42cd95ea11f50a06b099420e69c0567f65c506b14891ac641da90ea05ca70da4f8a3e4a028cf41bdbc823021dccfe diff --git a/dev-python/pypdf/pypdf-5.3.0.ebuild b/dev-python/pypdf/pypdf-5.3.0.ebuild new file mode 100644 index 000000000000..a177ecd49219 --- /dev/null +++ b/dev-python/pypdf/pypdf-5.3.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=8c405ece5eff12396a34a1fae3276132002e1753 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +} |