diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-04-17 12:58:00 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-04-17 12:58:00 +0000 |
| commit | f1da6f9a78bdeee38088d297b44078962ea7aa39 (patch) | |
| tree | 06a1043507dba2da411fe470e4400e820ae59361 /dev-python | |
| parent | 2f2005615c9eae02bf7b39daf099650a9b919bb5 (diff) | |
| download | baldeagleos-repo-f1da6f9a78bdeee38088d297b44078962ea7aa39.tar.gz baldeagleos-repo-f1da6f9a78bdeee38088d297b44078962ea7aa39.tar.xz baldeagleos-repo-f1da6f9a78bdeee38088d297b44078962ea7aa39.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
49 files changed, 648 insertions, 360 deletions
diff --git a/dev-python/BTrees/BTrees-5.0.ebuild b/dev-python/BTrees/BTrees-5.0-r1.ebuild index f2ce878f25ea..c2b2a266b6ba 100644 --- a/dev-python/BTrees/BTrees-5.0.ebuild +++ b/dev-python/BTrees/BTrees-5.0-r1.ebuild @@ -19,16 +19,19 @@ KEYWORDS="~amd64" RDEPEND=" dev-python/persistent[${PYTHON_USEDEP}] dev-python/zope-interface[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" doc? ( dev-python/repoze-sphinx-autointerface[${PYTHON_USEDEP}] dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] ) test? ( + dev-python/persistent[${PYTHON_USEDEP}] dev-python/transaction[${PYTHON_USEDEP}] dev-python/zope-testrunner[${PYTHON_USEDEP}] ) " -DEPEND="${RDEPEND}" distutils_enable_sphinx docs distutils_enable_tests pytest diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index 04ec21a09a31..8ad285f5eb28 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,2 +1,3 @@ DIST astroid-2.15.1.gh.tar.gz 460960 BLAKE2B ec08cc53027323a70291adc888b3621dc139783e6f72859eac05a2c6da0150cc5d19dc6a7278b6a846f985cf44c7d868df1ba11d0c6e3b7a5d3c71a38603743e SHA512 26f85aff9de08d4b413c40951f2aefd2c19304c077b502774b253e3fcced42173bc7e996fac82b3462c6915625ff48fd80dd1ab5e3425aefa103347f821f7df4 DIST astroid-2.15.2.gh.tar.gz 461132 BLAKE2B 1e4d5fa174c7893743ebe9a17b28bdee68fefd35a69802358eb4448402a00622ec56a7ba18a8cdae8cafd9e75bbee9cd18f39bbb44fbcc061c893fc24e308376 SHA512 aea2a55780f81893d8dad4acb572883017e3d6270d48a8f0d3b4520279bc4d79e9d04192479d5aad453ab7bda6d29edf1f56c92d86c04a8ef07bd4561bf908c4 +DIST astroid-2.15.3.gh.tar.gz 461474 BLAKE2B 3631d5d3c591dcf4a7aef0b78a5dea4b7dba90c6c11297fd9a60aefbad7c7a3b8c1dee1adc634991292a6650ad02f4408f8aee15fa0ac67fca4279d86b96f963 SHA512 622a33c6ca278c1036d8f3c7de36d474c8697dd47593ebc6d4987600b779e3901ff7a2ad6d621396bf54ed394a4ea8704dd226d97021b40fd7641756b9b2f975 diff --git a/dev-python/astroid/astroid-2.15.3.ebuild b/dev-python/astroid/astroid-2.15.3.ebuild new file mode 100644 index 000000000000..f365c0e2a280 --- /dev/null +++ b/dev-python/astroid/astroid-2.15.3.ebuild @@ -0,0 +1,63 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Abstract Syntax Tree for logilab packages" +HOMEPAGE=" + https://github.com/pylint-dev/astroid/ + https://pypi.org/project/astroid/ +" +SRC_URI=" + https://github.com/pylint-dev/astroid/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# Version specified in pyproject.toml +RDEPEND=" + >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + <dev-python/wrapt-2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] + ' 3.9 3.10) +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_DESELECT=( + # no clue why they're broken + tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part + tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils + tests/brain/test_regex.py::TestRegexBrain::test_regex_pattern_and_match_subscriptable + # some problem with warnings (our options?) + tests/test_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_one_arg + tests/test_decorators.py::TestDeprecationDecorators::test_deprecated_default_argument_values_two_args + tests/test_scoped_nodes.py::test_deprecation_of_doc_attribute + # requires six bundled in urllib3, sigh + tests/test_modutils.py::test_file_info_from_modpath__SixMetaPathImporter + ) + + # Faker causes sys.path_importer_cache keys to be overwritten + # with PosixPaths + epytest -p no:faker +} diff --git a/dev-python/attrs/Manifest b/dev-python/attrs/Manifest index f04c9c93dc56..0503ca40deba 100644 --- a/dev-python/attrs/Manifest +++ b/dev-python/attrs/Manifest @@ -1 +1,2 @@ DIST attrs-22.2.0.tar.gz 215900 BLAKE2B 9cb96cec022735ecdd7577f9ee06b2e16b9be05e9df1183c101bef186a66f2c4505224f1047b4b4cdca2a05641279199ab54c7b2e26a9599c3cd8b9ab4543845 SHA512 a7707fb11e21cddd2b25c94c9859dc8306745f0256237493a4ad818ffaf005d1c1e84d55d07fce14eaea18fde4994363227286df2751523e1fe4ef6623562a20 +DIST attrs-23.1.0.tar.gz 212878 BLAKE2B e562c22e7afdf50a9cf8deafc221d0438b8f3fb6b379c6eeb7f9e5ef182b69d5aa9bb886f4b7f69818ba2f1e9bf2ffa2831571a61c3521ab1c56f9c199b411a2 SHA512 1fff41da90668601b29412f71b4419dd9ffb9f2a8e54ce2199198557729167d6d7574954dc998818caba0d6bc378ab2ce068541df9c1c0d4ab1b071758d4a38a diff --git a/dev-python/attrs/attrs-23.1.0.ebuild b/dev-python/attrs/attrs-23.1.0.ebuild new file mode 100644 index 000000000000..b28abd2cd0f9 --- /dev/null +++ b/dev-python/attrs/attrs-23.1.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Attributes without boilerplate" +HOMEPAGE=" + https://github.com/python-attrs/attrs/ + https://attrs.readthedocs.io/ + https://pypi.org/project/attrs/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep sqlite) + $(python_gen_cond_dep ' + dev-python/cloudpickle[${PYTHON_USEDEP}] + ' 'python3*') + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/bitstring/Manifest b/dev-python/bitstring/Manifest index fb1367b4f5a5..3d4f1234ddc1 100644 --- a/dev-python/bitstring/Manifest +++ b/dev-python/bitstring/Manifest @@ -1 +1,2 @@ +DIST bitstring-4.0.2.tar.gz 211208 BLAKE2B 75ba6de71ac1a4ea384aad38405ccef21a101c641ee244096d67aad9b46315ee5dab9099b928e3300772c6f15637d4b54899c0a40f6a7ab4e48cfa1c66f310ab SHA512 11d7cddc7372ef9dac92d97df6e9972d7e75e4b02ad1e777357bea667e096beb405871b6cc9baa0522e2251278ad8c11a34724932efb2593fccf572857a608ce DIST bitstring-bitstring-4.0.1.gh.tar.gz 413983 BLAKE2B a4b424d2c139b34ce5ea81522486d0e42d82a06cfc64ce664505a2c1f1a626939b57b1755642220e2fb4219ead3a2a368006878ea05bdae59a638948b24e8b8c SHA512 f036a042f83c70b830f987114e7eb54754145296c60cd6486f398247a069c50588f3c86395a849a99e3c9b94364f1fcf4fedf4b59b80f03b6aecb38d992f5490 diff --git a/dev-python/bitstring/bitstring-4.0.2.ebuild b/dev-python/bitstring/bitstring-4.0.2.ebuild new file mode 100644 index 000000000000..48f8ce8dd102 --- /dev/null +++ b/dev-python/bitstring/bitstring-4.0.2.ebuild @@ -0,0 +1,26 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A pure Python module for creation and analysis of binary data" +HOMEPAGE=" + https://github.com/scott-griffiths/bitstring/ + https://pypi.org/project/bitstring/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +distutils_enable_tests unittest + +src_test() { + cd tests || die + distutils-r1_src_test +} diff --git a/dev-python/httpx-socks/Manifest b/dev-python/httpx-socks/Manifest index 5846d3d30a62..50cad1500761 100644 --- a/dev-python/httpx-socks/Manifest +++ b/dev-python/httpx-socks/Manifest @@ -1 +1,2 @@ DIST httpx-socks-0.7.5.gh.tar.gz 24847 BLAKE2B 9c119b756bf493df47a1bc9c36339508a2192d2bd4392113955fed6929d7c79654f17c069f9d952a11d8c95cf210cdf54af1bb59f47dc50b26b180f0915d3fe9 SHA512 df921af0c5fd0e8b4cb127cd13d5285ae57eb6ff9bc95f9422c02c79771ef55f345ef1618156fd0887467ed81cad2081ea9f2a56a03dc1d80948ed9eabe67aee +DIST httpx-socks-0.7.6.gh.tar.gz 15116 BLAKE2B d94e13cf61a831cc36486962dd493ebfff4822a73c39f9be30fb2c13720330ec6e6ec1fb763ef1551f00fd97270a8b288e4ed7fc2b30c2f78cd8f608e88d77a6 SHA512 08e2d72d93896c15cc9e455f5d878d1015b72da48b17e53a361f7af2d0890caca42478a0f295332093afa19735a0a2fd4fddf13d09c7baf57575cd6534f9cdf9 diff --git a/dev-python/httpx-socks/httpx-socks-0.7.6.ebuild b/dev-python/httpx-socks/httpx-socks-0.7.6.ebuild new file mode 100644 index 000000000000..ef8d0119c855 --- /dev/null +++ b/dev-python/httpx-socks/httpx-socks-0.7.6.ebuild @@ -0,0 +1,44 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Proxy (HTTP, SOCKS) transports for httpx" +HOMEPAGE=" + https://github.com/romis2012/httpx-socks/ + https://pypi.org/project/httpx-socks/ +" +# no tests in sdist, as of 0.7.6 +SRC_URI=" + https://github.com/romis2012/httpx-socks/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + <dev-python/httpx-0.25.0[${PYTHON_USEDEP}] + >=dev-python/httpx-0.21.0[${PYTHON_USEDEP}] + <dev-python/httpcore-0.18.0[${PYTHON_USEDEP}] + >=dev-python/httpcore-0.14.0[${PYTHON_USEDEP}] + >=dev-python/python-socks-2.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/hypercorn-0.12.0[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.18.3[${PYTHON_USEDEP}] + >=dev-python/pytest-trio-0.7.0[${PYTHON_USEDEP}] + >=dev-python/starlette-0.19.1[${PYTHON_USEDEP}] + >=dev-python/trio-0.18.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.6.3[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index be5547b08411..ecddc684586a 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -4,3 +4,4 @@ DIST hypothesis-6.70.0.gh.tar.gz 9351669 BLAKE2B 04e6739a1e6cf5907486c5fc6e09d17 DIST hypothesis-6.70.1.gh.tar.gz 9351685 BLAKE2B 99488f4caae4da403ebe28c2c18829d493ea76515f4a503ece0063dad2638cc5d05f9b55372d5c457b0dfc3af31d3422c44d647ea0c2a92a83b20d64c70c4b2f SHA512 a858df7d469604b2d43d003c76f43e40931f6024f6cf164c9b427a449cd0d843df401052e3312c529fd4467d80e0870810ad6863812ec53a47dcf9ec82336472 DIST hypothesis-6.70.2.gh.tar.gz 9351849 BLAKE2B 074003592741cd89ae9ae44b3857daa3f5d1c8cbb0ab3513f3930b27fcc4e27417994c4240fbbba4649cb04716820db0e9c4f4ac745c194535a81b8a6197f7c3 SHA512 20f812ca8e005877893eacde1bac796495f8697ecbbd6da5f807a9ce6d7e310682030323a8b7bb3e646040253968d2f15cb6fcc858f47be631ef62af4924ac78 DIST hypothesis-6.71.0.gh.tar.gz 9357031 BLAKE2B e4a83a94bb6971c3ecba4cc69655f9da23a83ab48332a7a748ca7364d9e549a671bf466e32f6e65447f809a9917fc8fd2548dd26764173ea5849a4df3e027b54 SHA512 dea1d5ec1b753649345edd784183f171531adb583e33d0e5d12b14554169fa054e05f4c16135171c708c208b42968082b3ce79cc0441efccf1eff6da37c59f97 +DIST hypothesis-6.72.0.gh.tar.gz 9357320 BLAKE2B a688d3bfa90d4b335c022ed823e3ab3c9bb7b6e4404e62259e65faf7d2867d6cb8379b14a8328294c325506278c6523b9a14f6798110d67c9b636a89720a3ab9 SHA512 7d5cdf91114a34267edcca10295ee84005f2799ed58e7125c584fcc49171e60383a80c7a0040e41d24b3225113cb354966d40f61c94a28bcdbd596582577372b diff --git a/dev-python/hypothesis/hypothesis-6.72.0.ebuild b/dev-python/hypothesis/hypothesis-6.72.0.ebuild new file mode 100644 index 000000000000..651999ecf666 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.72.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin + + epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)" +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/jq/Manifest b/dev-python/jq/Manifest index 3be69fe725f8..a74326fc6d94 100644 --- a/dev-python/jq/Manifest +++ b/dev-python/jq/Manifest @@ -1,2 +1 @@ -DIST jq.py-1.4.0.gh.tar.gz 2648402 BLAKE2B 5efc35fd9ee52e5c1c87ac46d980d1557121eedb14beb5d534987d81a37b05c5c765ef69cecf65141d7c451623d05d378bdcf9a6e48667c07a9f52e7d0317bbf SHA512 8acd9c4094e0e6f5ffd43303432347448e8cb160f2c33250a386afc75eac53134b15142da3f344b0ea3eac4df838ffa322771580a27349299f32a2c525e09555 DIST jq.py-1.4.1.gh.tar.gz 2648592 BLAKE2B b1413a07ba03f61d3b2e8cfa3f2c646408e24139f76fb9637d23968d953fa78f82b1dd04c355d5a6e6c6761095a4814d8cfd1f012382ca810ad5a44e007c7878 SHA512 03924793e8cab8041b4b2ecb8ef45bafdf31f14b4502170358ddecc027ead7cc17eda37fc04743eeef073e29144d2f7e6c4428e2a92f1bb8aa859100dce4521b diff --git a/dev-python/jq/jq-1.4.0.ebuild b/dev-python/jq/jq-1.4.0.ebuild deleted file mode 100644 index 66d43dc4aeb0..000000000000 --- a/dev-python/jq/jq-1.4.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -MY_P="jq.py-${PV}" -DESCRIPTION="Python bindings for jq" -HOMEPAGE=" - https://github.com/mwilliamson/jq.py/ - https://pypi.org/project/jq/ -" -SRC_URI=" - https://github.com/mwilliamson/jq.py/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 x86" - -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_compile() { - # Cython compilation isn't part of setup.py, so do it manually - "${EPYTHON}" -m cython -3 jq.pyx -o jq.c || die - distutils-r1_python_compile -} diff --git a/dev-python/mautrix/Manifest b/dev-python/mautrix/Manifest index 17ebc0e031c4..371a4592036e 100644 --- a/dev-python/mautrix/Manifest +++ b/dev-python/mautrix/Manifest @@ -1,3 +1 @@ -DIST mautrix-0.19.10.tar.gz 244595 BLAKE2B 39eac167456337c03a3bd4042f9ca924bb25f5bcccb65680d6344ee3febfb44635cd4a2c1c553d7dc51690ce4cfd449c2cb3b70de902f84de5b24b3dcaf2d0f0 SHA512 5f81ff8dde309e977c80b919c163aeb6d154a66957b93fad760938a9c67f2e940c58209bae93584251e5148278c1a8bf7065d389e1675105b6aba48707cd7c6d -DIST mautrix-0.19.8.tar.gz 240541 BLAKE2B 973b5db77e037d24e5fa0648a385546b9499ce211020c2db533c3a91135011f57495305c9f0c729aa78b4f38ed63462394e1f68548535ca5a7ddb3afb2d07014 SHA512 00f2d65ca9e301237b2837ade71d9154ae170497c6f04762d62794a775062cf33f876808f613ea3c9630b8d033de0da1dfc9945a0fc1ff24b8202d590ecf916f -DIST mautrix-0.19.9.tar.gz 240651 BLAKE2B 75032d7585bb74e8cc3e58ce7337e852b7fbbef2c6657de21a2c07f30d71eca1b303c861be419b3e4e2526999c9e0d00989e8fe74bb3f5bd77198f613c5fc046 SHA512 8ae890973649e17a0885ef7b05f8263aa978f7072ce32f5350db553caea42478c48a3df4a94a3a8f76cfc131ae9298ff4a5cfbe85d6259066d8cfffd25f710e4 +DIST mautrix-0.19.11.tar.gz 245053 BLAKE2B 0ac34cde52d6975d031b30ce8d6abf61a120cf02dfd164309681c224815f513d22414985909e6e97d8278f95412bc442e5fd225fd4813492deae30960ceabf41 SHA512 2442743f7f99577ccb9a8aea876c6daa1fd469be2ac89084b0724376fde9da9346391eecdeb0e2e1899ee5c714a2ffddf471b4b0aabb5bedbf57164468d82da8 diff --git a/dev-python/mautrix/mautrix-0.19.10.ebuild b/dev-python/mautrix/mautrix-0.19.10.ebuild deleted file mode 100644 index 850e9da981d1..000000000000 --- a/dev-python/mautrix/mautrix-0.19.10.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="A Python 3 asyncio Matrix framework" -HOMEPAGE="https://github.com/mautrix/python/" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/olm[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - dev-python/unpaddedbase64[${PYTHON_USEDEP}] - dev-python/yarl[${PYTHON_USEDEP}] - test? ( - dev-python/aiosqlite[${PYTHON_USEDEP}] - dev-python/asyncpg[${PYTHON_USEDEP}] - dev-python/future[${PYTHON_USEDEP}] - <dev-python/sqlalchemy-2[${PYTHON_USEDEP}] - ) -" -DEPEND="${RDEPEND}" - -distutils_enable_tests pytest - -pkg_postinst() { - optfeature "media transcoding" media-video/ffmpeg -} diff --git a/dev-python/mautrix/mautrix-0.19.9.ebuild b/dev-python/mautrix/mautrix-0.19.11.ebuild index 850e9da981d1..2d0281cd1ed2 100644 --- a/dev-python/mautrix/mautrix-0.19.9.ebuild +++ b/dev-python/mautrix/mautrix-0.19.11.ebuild @@ -27,7 +27,6 @@ RDEPEND=" test? ( dev-python/aiosqlite[${PYTHON_USEDEP}] dev-python/asyncpg[${PYTHON_USEDEP}] - dev-python/future[${PYTHON_USEDEP}] <dev-python/sqlalchemy-2[${PYTHON_USEDEP}] ) " diff --git a/dev-python/mautrix/mautrix-0.19.8.ebuild b/dev-python/mautrix/mautrix-0.19.8.ebuild deleted file mode 100644 index 850e9da981d1..000000000000 --- a/dev-python/mautrix/mautrix-0.19.8.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="A Python 3 asyncio Matrix framework" -HOMEPAGE="https://github.com/mautrix/python/" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/olm[${PYTHON_USEDEP}] - dev-python/pycryptodome[${PYTHON_USEDEP}] - dev-python/unpaddedbase64[${PYTHON_USEDEP}] - dev-python/yarl[${PYTHON_USEDEP}] - test? ( - dev-python/aiosqlite[${PYTHON_USEDEP}] - dev-python/asyncpg[${PYTHON_USEDEP}] - dev-python/future[${PYTHON_USEDEP}] - <dev-python/sqlalchemy-2[${PYTHON_USEDEP}] - ) -" -DEPEND="${RDEPEND}" - -distutils_enable_tests pytest - -pkg_postinst() { - optfeature "media transcoding" media-video/ffmpeg -} diff --git a/dev-python/mock/Manifest b/dev-python/mock/Manifest index 708e53ea1096..ea4869bbe749 100644 --- a/dev-python/mock/Manifest +++ b/dev-python/mock/Manifest @@ -1 +1,2 @@ DIST mock-5.0.1.gh.tar.gz 84539 BLAKE2B ac50d187974a671db096222af0d0f27add771959553387ca8402951c17ed8e2b9669fff7b147fbc7aca25abc4b5006f5f9d3c2b13f6626a9bea140f6738b3f78 SHA512 b387137632237fa9079a0f70d8724e28bc1833c49d6e14f8fbc357064cf495f6177c783db9448343c0bea98936fc5c3667ce625f5dcdaca851a2f9cc7e3e5639 +DIST mock-5.0.2.tar.gz 77477 BLAKE2B 1a85d7af3b6444343495980c5169be0373d09c2d91cc68674a1d221edd764642b4de42ec7b58973e8ff9748089f61795bbdec00eee1ab216df77ea42b6c47b1e SHA512 f1fecc4ade7eaeb158f3b4dcb5a9e5ce28c666727722f75946bdfff2600f3c590c2833f972cfbd928fc42bcb05b5bac11790ef9f8ff6389a80bfa121f232686d diff --git a/dev-python/mock/mock-5.0.2.ebuild b/dev-python/mock/mock-5.0.2.ebuild new file mode 100644 index 000000000000..64aa58d1513e --- /dev/null +++ b/dev-python/mock/mock-5.0.2.ebuild @@ -0,0 +1,23 @@ +# 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_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Rolling backport of unittest.mock for all Pythons" +HOMEPAGE=" + https://github.com/testing-cabal/mock/ + https://pypi.org/project/mock/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + +distutils_enable_tests pytest + +DOCS=( CHANGELOG.rst README.rst ) diff --git a/dev-python/pem/Manifest b/dev-python/pem/Manifest new file mode 100644 index 000000000000..b6b482a0e36e --- /dev/null +++ b/dev-python/pem/Manifest @@ -0,0 +1 @@ +DIST pem-21.2.0.tar.gz 35899 BLAKE2B b24affc1228d61b61660615c252fbac36abc3e42d9b54a026fd63c68b3ba470c3208ce12d2d8b188bb4e951f2ad55cd4cf441ffdbc49b681e9f0616ed5290123 SHA512 7e6f6d46bd1c8ab5c84b0edee182fbec7ae3c37e2005854ff1bc6f43cb47490a1f3bb0ac97cbc9e8c0ff830d4f22fcddd52f68206452a16ba862354a75491b18 diff --git a/dev-python/pem/metadata.xml b/dev-python/pem/metadata.xml new file mode 100644 index 000000000000..8c8101bcdb2c --- /dev/null +++ b/dev-python/pem/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>core@liguros.net</email> + <name>Development</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pem/pem-21.2.0.ebuild b/dev-python/pem/pem-21.2.0.ebuild new file mode 100644 index 000000000000..7079594fca73 --- /dev/null +++ b/dev-python/pem/pem-21.2.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +inherit distutils-r1 + +DESCRIPTION="Easy PEM file parsing in Python" +HOMEPAGE="https://pem.readthedocs.io/" +SRC_URI="https://github.com/hynek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="" +BDEPEND=" + test? ( + >=dev-python/coverage-5.0.2[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index fa992b1978e4..4c18bdd04eb7 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,5 +1,7 @@ DIST pypdf-3.6.0.gh.tar.gz 7174931 BLAKE2B 2d9260ecccc03e6039d288d1fb16f8d1deffcd8daf83e4bb25ff7f2c49b3c6c979ebca2f04458964999d29fb5979b21a0087b02ac66c0bf387cce2be50a308be SHA512 43286f7c9c68048d763a87b02eb932ba597a7aa778153e8abd96d7d496da0d910199dab1e985d21c625daae225dde69936fff56accd52102353e6a03e30db4c7 DIST pypdf-3.7.0.gh.tar.gz 7505675 BLAKE2B 68491e9d144717a5f92a00c01ae0cbdd1713c94f65ad44bb9ad1de556a80caac674c164d7c7a2d9738f68afdfb36ad3cde7791016856d0e8ddc1ff2c2d7335b3 SHA512 4d1d7d47ca20970174bf938af19813f5e2738ea6658fe3023b64e93575e3e73eef84327def6eb8868f4bbba01030a24252032a16cd89c6b79e3390b9ee9ecbb8 DIST pypdf-3.7.1.gh.tar.gz 7508532 BLAKE2B 917eb7a825781f966d6b268cf3471935b9d245de5465acd428f87cc387a01bf1739d1cddb504498e4e7505a098508a1e12d686ad21ef73960f11bcddd4acca57 SHA512 5834a5738860c341e231a0ba79d9ffbc14d1f683bc781793d962fb8303aac5e6ec825492cd2e470d47fdd166576c5c4be64bbb7a03f7f79b160d456667ce8f15 +DIST pypdf-3.8.0.gh.tar.gz 7509837 BLAKE2B 2acf12b5c43799252641f2c7d0ebd24c1f1eb02b655b0c458eef1049b660452967ff613e17b2eb70330d67677860b58b0f8f99d3af2c2794c4aacb30646b3244 SHA512 a4f33c8f940303958221a48ffbf088c363d7cf9360d5c9d27829b5703735216c32af63262313a25598c3479c4584999a23ac6bf77daa701042ef65314194dab3 DIST pypdf-sample-files-0c3b1d3879c5cd7d913b3d931fa33b37529d7346.gh.tar.gz 9028862 BLAKE2B 7c72b76724e7b0fb4069c3151c13342d66cc451f398f6826b09dfb5b57e2d2b625118de1f431b5759466c4e6afb5d0c8682c4c28ec2f3b700a6cc39787ec6ecd SHA512 342562a711673030eb729135f27c241f5f37305b0d6f30f555667881e921089b801a3376330d840b16d4a3683d0b6f07824d05e4d208d32a3771ca83a0b7f22d +DIST pypdf-sample-files-d3d250321b01ca1194e16a814d24508897862fe8.gh.tar.gz 9030851 BLAKE2B 63e5778763315aff0753e5a0f06cd55432a494efea921c73e765567aee63223af3f3d81436e22d089008bc38c917e10eb5da7988abd458fd3f3488e8faeed70e SHA512 a8e77982ad78aeb58db7a5a722c9e072d7c55bca7290f448ba388b70256137fc6b9919c8079d8b548407c88b8befe7caeeb65217eb52b6d9bbadfaf652d89e0a DIST pypdf-sample-files-fb7a080b35b3553bd10221282beeda7847959e83.gh.tar.gz 9027029 BLAKE2B 8f8797263b86f08efd9708d5812000efd08708abf66a0e95f50f5a147102e555dd7f8c465ae73cae842d86efdb52cabba5f8962626f56cb1b98409bfa108e150 SHA512 3a9cdab964a14cf6b14d80d917441a4e5effe2b7647163b666781ecabd189624dbbe5039111f6b1d753ff73e013665a1b86d87ca7806580fda58ec5810f88e94 diff --git a/dev-python/pypdf/pypdf-3.8.0.ebuild b/dev-python/pypdf/pypdf-3.8.0.ebuild new file mode 100644 index 000000000000..cb96da3010bb --- /dev/null +++ b/dev-python/pypdf/pypdf-3.8.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=d3d250321b01ca1194e16a814d24508897862fe8 +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 + ) +" +S=${WORKDIR}/pypdf-${PV} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.8 3.9) +" +BDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + test? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/pysubs2/Manifest b/dev-python/pysubs2/Manifest index f51f8273f2c4..c1c1f3c87ea6 100644 --- a/dev-python/pysubs2/Manifest +++ b/dev-python/pysubs2/Manifest @@ -1,3 +1,3 @@ DIST pysubs2-1.4.4.tar.gz 850577 BLAKE2B 00fe742dd0545d816e335370c7691a456f148dc33b7c0f772941c69d6aef7c4ff43e734feecaf56bb8d0f199bc57e558a9a6bf5c3aa8223b87c3e51529eff5a1 SHA512 c8ae6742cafa7097a935dee2a5e2d67620e66bba2f0fefa7ee52d03c5ba53f227b6e6d761b0a60598afd16b34f3bbf9da3d0c423a3133983d1f3cb9437dcc094 DIST pysubs2-1.5.0.tar.gz 851633 BLAKE2B 2f0ee302495931cfb32283f9e9236c2825b90db8224b356d6c517a084f4be6f61e805071b78d3187a2507703bdd4a7e6b4328a3da931dc745c28ee12aaf6ff06 SHA512 c13cb843da1e684e17c40e0704010182ab574627e66597cc9eb0fb70a25bfe1fa3fecc1aa2dd76bf45f64741fcb4750267e14eae647019f4716f1caee52b0efa -DIST pysubs2-1.6.0.tar.gz 856341 BLAKE2B 5b1cfb70eaad916f5822465fb11627a1ed79dd419e19478eb1c7622689e9cfae9aec8fde1916efe5c8529bef8fc69a92c020ddc1787ec1fa1f43e261be1e56f8 SHA512 2cdc6d6998735796e948810934e1854e80f3af6de9af165457314fdbd82670f3fd3e5a05264074ed082d820d807ab99781618eb9d46273a62ae48f057bbc134c +DIST pysubs2-1.6.1.tar.gz 1148547 BLAKE2B ce5b2f902de6c4b7e101688d9aa0c27c6fc70f110a821442a4bbd4a6094997028720713a2928f24f89498fcc0794251e3e019f95216037ccffc4a50e0d31a165 SHA512 64e9b04f9f513b094e73f97ea09285dfe5c046e900fc321b2bb360a7b7eb9eb8070c7d3665008a7239caedd9a4adb1c47bc9aee75934535ee3e200044a5634a0 diff --git a/dev-python/pysubs2/pysubs2-1.6.0.ebuild b/dev-python/pysubs2/pysubs2-1.6.1.ebuild index 241b2a09fc76..241b2a09fc76 100644 --- a/dev-python/pysubs2/pysubs2-1.6.0.ebuild +++ b/dev-python/pysubs2/pysubs2-1.6.1.ebuild diff --git a/dev-python/python-email-validator/Manifest b/dev-python/python-email-validator/Manifest index c9ee5fef7d12..188f4322e606 100644 --- a/dev-python/python-email-validator/Manifest +++ b/dev-python/python-email-validator/Manifest @@ -1,2 +1,3 @@ +DIST email_validator-2.0.0.post1.tar.gz 45136 BLAKE2B d800462f55ee0693917a5348107bd68af2a9c0b6e1a3ccbf28aa22716bbf6da2998bbf4b16352e719c13761b895a85566911bfd4422a516d77214a729da41aca SHA512 0e72d88dea00ade9a8727a4d3ff9a239f581afc14bf7c7a22a582d69e70c7653371c035451493b89fc1a49c70aab8cdfe6159285ea5e8976e645199319004029 DIST python-email-validator-1.3.1.gh.tar.gz 28691 BLAKE2B eb69028066e969a935117f51a32d75595468797a82608bcb7f6ebcbebada01aac29e3e223efc849dc519d85897a375cdc584760f3cb5a431e2c39aa566c20514 SHA512 7806ef35c07cf0cfef3d8c6c7fe6dd3cb58da091a134b57d879a2cfcdf6425f8729ab8b03194135749ae47b369da47434c1d130432cfaa8eeaf5d07149c15dc2 DIST python-email-validator-2.0.0.gh.tar.gz 39007 BLAKE2B 319fa94979fdb6b701c1c8f754f2915e02a53de7ee6f06a5409980b1e4dedca75d08cd24e4f5ee35e7803c7ff4dbb03c1e75645dd7e0443ccaa2b26b6035648a SHA512 6448c55dea3d43d1d457f4b3f24360aaaa6e4ea8f81db891e94d2ff685ae1d8bc1023d4a6329fc495ff6069fc1a6861185e66eada9d2ed6546e6c6b8716df802 diff --git a/dev-python/python-email-validator/python-email-validator-2.0.0_p1.ebuild b/dev-python/python-email-validator/python-email-validator-2.0.0_p1.ebuild new file mode 100644 index 000000000000..334431da6cb1 --- /dev/null +++ b/dev-python/python-email-validator/python-email-validator-2.0.0_p1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=email-validator +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A robust email syntax and deliverability validation library" +HOMEPAGE=" + https://github.com/JoshData/python-email-validator/ + https://pypi.org/project/email-validator/ +" + +LICENSE="CC0-1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +SLOT="0" + +RDEPEND=" + >=dev-python/idna-2.8[${PYTHON_USEDEP}] + >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/test_deliverability.py +) diff --git a/dev-python/python-pidfile/Manifest b/dev-python/python-pidfile/Manifest index 10bfee13cfd6..5ab596510600 100644 --- a/dev-python/python-pidfile/Manifest +++ b/dev-python/python-pidfile/Manifest @@ -1 +1,2 @@ DIST python-pidfile-3.0.0.tar.gz 2943 BLAKE2B aa56e04c22784fd35da236807d5ab3c472047983d7ad76ff6fc65e46133f36ac900dfd30b609a17fb3c4dd8589c4d4aa0f97eef5ced13095e49d82850f164f2e SHA512 82f87a2b3ac733ced78a87216f42b7fdc91f956fa9ec7e64f67ea5d53caf38652dc8b6e0518f6cfacf6bfe662c5d732f632b8f469af60555a8e6a43dbb99afbe +DIST python-pidfile-3.1.1.tar.gz 4501 BLAKE2B d3587d581d008e4248e6a56169b32f1523da37e30f9a9ba96955a60998d5b095e13d51a673327c09d5c582fb37518c6d4ceb5ba94109d5e93e69d318ef0bb489 SHA512 314a2e670d2a6baae786b8aa7639a1384bd177b8006b221e46caf297140d840b72ff23629aac22648b41072274dd44cbfc454444ffcfe64c7cf6fd24fae15c1d diff --git a/dev-python/python-pidfile/python-pidfile-3.1.1.ebuild b/dev-python/python-pidfile/python-pidfile-3.1.1.ebuild new file mode 100644 index 000000000000..f9ba22e98032 --- /dev/null +++ b/dev-python/python-pidfile/python-pidfile-3.1.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYPI_NO_NORMALIZE=1 +inherit distutils-r1 pypi + +DESCRIPTION="PIDFile context processor. Supported py2 and py3" +HOMEPAGE="https://github.com/mosquito/python-pidfile" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="test" # https://github.com/mosquito/python-pidfile/issues/7 + +RDEPEND=" + dev-python/psutil[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_test() { + eunittest tests/ +} diff --git a/dev-python/rapidfuzz/rapidfuzz-2.15.1.ebuild b/dev-python/rapidfuzz/rapidfuzz-2.15.1.ebuild index 387547288001..7e0d23bfbd5a 100644 --- a/dev-python/rapidfuzz/rapidfuzz-2.15.1.ebuild +++ b/dev-python/rapidfuzz/rapidfuzz-2.15.1.ebuild @@ -39,6 +39,8 @@ distutils_enable_tests pytest src_prepare() { # sterilize build flags sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die + # remove bundled libraries + rm -r extern || die distutils-r1_src_prepare diff --git a/dev-python/simplejson/Manifest b/dev-python/simplejson/Manifest index d70d013eebc9..f2b19d5bbbe1 100644 --- a/dev-python/simplejson/Manifest +++ b/dev-python/simplejson/Manifest @@ -1,3 +1,2 @@ -DIST simplejson-3.18.3.gh.tar.gz 81540 BLAKE2B bf6a162499b28a362638e19735f668571f88943ae396fb7f813d51ab0684caa8cb996a35deaf1d68adee2a812d685058e9e80d6f6e66604bbb7c704051b0b37f SHA512 54223e08775ab6277722342084bf56684588dd9dda574428cb73b791d37d0b74decef6082268c0389cc4586a534a19e62ec5738fa9ffffaee63f68e27fb465c8 DIST simplejson-3.18.4.tar.gz 83721 BLAKE2B fb9ea04402ba740a445751ff2be2f5f5c826e20f38289dcf9aa9c8abbaba4b59bf906c3378317818c77bcfa6ccc3fe76608651eac660683eeac61f5750099e3d SHA512 6335389eb620c96d5c537cd335e20d4f112b86c0c463ceed4d8fa36c27bab8b00386b7995e40070bda5eed1fe5883a462579c7d09bdbc828c39537282669d0e4 DIST simplejson-3.19.1.tar.gz 85207 BLAKE2B 4c3d1d5de4292404e44977777332fe57327ece1afcd9890b605d52a248764612da351b7c5afb36d4e1cdcb530f07b99b8d971124899b86e4b2f4005a66afcbb5 SHA512 a2239a932f43abe59da84fc3ba95eeaa6a720c929da79d8f4447603b8c770403c9cba0f008a66c20c5c8aa3255891b687336eef1db071171a2c8435563bbb1bd diff --git a/dev-python/simplejson/simplejson-3.18.3.ebuild b/dev-python/simplejson/simplejson-3.18.3.ebuild deleted file mode 100644 index 50ae6e29ec2a..000000000000 --- a/dev-python/simplejson/simplejson-3.18.3.ebuild +++ /dev/null @@ -1,38 +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_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Simple, fast, extensible JSON encoder/decoder for Python" -HOMEPAGE=" - https://github.com/simplejson/simplejson/ - https://pypi.org/project/simplejson/ -" -SRC_URI=" - https://github.com/simplejson/simplejson/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="|| ( MIT AFL-2.1 )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="+native-extensions" - -DOCS=( README.rst CHANGES.txt ) - -distutils_enable_tests unittest - -src_configure() { - export DISABLE_SPEEDUPS=$(usex native-extensions 0 1) - use native-extensions && export REQUIRE_SPEEDUPS=1 -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - eunittest -} diff --git a/dev-python/soupsieve/Manifest b/dev-python/soupsieve/Manifest index 152568314091..39fc5df20e75 100644 --- a/dev-python/soupsieve/Manifest +++ b/dev-python/soupsieve/Manifest @@ -1 +1,2 @@ +DIST soupsieve-2.4.1.gh.tar.gz 105158 BLAKE2B 73ae01835ac7edf17bd1be1eb33cae5d06a7ef21c63fac50d61fd0f3246f734cd76f70245da19334d65746cf6e02a5a4c970ba2fbfb1a79de7fcda0bca1a38de SHA512 71ed91beabd9afef5756dddbb259f2607ca5109b8ff3f0a25bc3d4730f2948e160c20334b1c6e9f9095362f2b9e601e1ccfee09854e000b2f9f83af514790caa DIST soupsieve-2.4.gh.tar.gz 104437 BLAKE2B cca6185980473245e2c08181142f497584ae01928b4a8569f9436d30df339b93b92c33818dab93b6646f6e1dbeb52242822fffa193be87c18a25324cc03b9e1a SHA512 68885307d8e6731d47372af5130f2fb88567c7d5b5995c84fb11116007b2360dea88aac1b5c8cadc41f99ef71704c4fe710c45318be0be727ed9145ce009e4fd diff --git a/dev-python/soupsieve/soupsieve-2.4.1.ebuild b/dev-python/soupsieve/soupsieve-2.4.1.ebuild new file mode 100644 index 000000000000..b8af70d15f67 --- /dev/null +++ b/dev-python/soupsieve/soupsieve-2.4.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A modern CSS selector implementation for BeautifulSoup" +HOMEPAGE=" + https://github.com/facelessuser/soupsieve/ + https://pypi.org/project/soupsieve/ +" +SRC_URI=" + https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/srt/Manifest b/dev-python/srt/Manifest index 0b0d8eba76ab..f343f484e958 100644 --- a/dev-python/srt/Manifest +++ b/dev-python/srt/Manifest @@ -1,3 +1,3 @@ -DIST srt-3.5.0.tar.gz 24678 BLAKE2B c50704f7811e271116ab6531f4f63eb579b2e34c48e9ab81179d41d08ef803266f3ce7fb0332a9158591326f8a428dda80e3e641db3b4b73cec690cb93af404f SHA512 f5dac7995ce0eddb4da56084b1125200c861a0b21d5b4c8a75c4179a0ce840143abb75f306855ed68170d8c4ab913792c577e21e258ba18bac366c630803a7a5 DIST srt-3.5.1.tar.gz 24003 BLAKE2B 0ba77727043090310d2db69d9569bde53fcd69a55715e9721a83ee148d382459b1d68b369eee52fc7f99ba5e8aca017128a2d999e44b5ae77dda027a23ecc8bc SHA512 0523b5b31d78db195911ea632adbd25e76d1270510cf9c7432a44bd96e44d4928196c7e4f2eed05bbd73c1d96dcbe99ecea2bd755d697ff659924773c3e6a05e DIST srt-3.5.2.tar.gz 24416 BLAKE2B 7da4401cce45045058f4d91a3ea3b688ae65f48d039b642abdf649acf2a8e416e096a5959235dc0165ac0a2169ca63a66b101bac6d8f20b0b330d165626b5010 SHA512 5367d7fa3ed23523f03efad1524fcb44c1a8e1c95e2f3032c0e11ff67795a1399eb32b27365e4b0f98ed5b1d7671d576ab8cd342d50bb4005554faaf03ea9c8a +DIST srt-3.5.3.tar.gz 28296 BLAKE2B 97f8852a799e80401f09219b43b41f5d5f9fe2c7283e2b43312aef70d783d7f1c1bf126e076c3a13c10e74e80ff48f25075cc7a1cef58a99fb4ef32cfa5b2587 SHA512 434331d31763a339ebb7d5b335b9d924b7f6939f307ecd0e5476b91da19b39e0febf1a387199e22f0b15365a4305c24021d85a32a7b65058905abd7946865b70 diff --git a/dev-python/srt/srt-3.5.0.ebuild b/dev-python/srt/srt-3.5.3.ebuild index b62faa0f2083..c7ce475ac48d 100644 --- a/dev-python/srt/srt-3.5.0.ebuild +++ b/dev-python/srt/srt-3.5.3.ebuild @@ -1,17 +1,17 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="A tiny library for parsing, modifying, and composing SRT files" HOMEPAGE="https://github.com/cdown/srt" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -LICENSE="public-domain" +LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" @@ -21,7 +21,7 @@ DEPEND=" test? ( dev-python/hypothesis[${PYTHON_USEDEP}] ) - " +" src_prepare() { default diff --git a/dev-python/tempy/Manifest b/dev-python/tempy/Manifest index 1e7e337e2d89..bea41a5402a4 100644 --- a/dev-python/tempy/Manifest +++ b/dev-python/tempy/Manifest @@ -1 +1 @@ -DIST tempy-1.0.9.tar.gz 1526849 BLAKE2B 8cdfebb70079ad84813a5281363935e3a26179149933927f6815be0dc50b4661e969e5e2fcdfb6d0cd42d5a4f65fa91cc33750d5151a7f3f281b25f6cf7f518c SHA512 62acfa7dd27358bfed2ccb99c04d6b3b5ccde775a9c4708a1f86694d257812a6a51674977a3ea95ad1e829238303fb737d9968b7b93492e32bdfad0f8cae76f3 +DIST tempy-1.1.0.tar.gz 1526857 BLAKE2B 9d043db27466bc254bf285687359cb8302c1280e0e3c4aa97bc927931fdd14b28c59407dbf5005c159f292f7594e6a21ae2b374535941cbe771c35244ea31469 SHA512 e2eec6f5763226868634e5865a103ebde09ddc5dde9bca4ecf74dfe53de1efb0a576c765c23b0b2910fdea573320c0bc8df2f892e22bf4f5959afe7c72a44b68 diff --git a/dev-python/tempy/tempy-1.0.9.ebuild b/dev-python/tempy/tempy-1.1.0.ebuild index d39ed76a707b..c546f4ed8201 100644 --- a/dev-python/tempy/tempy-1.0.9.ebuild +++ b/dev-python/tempy/tempy-1.1.0.ebuild @@ -10,17 +10,16 @@ inherit distutils-r1 DESCRIPTION="A simple, visually pleasing weather report in your terminal" HOMEPAGE="https://github.com/noprobelm/tempy" -SRC_URI="https://github.com/noprobelm/tempy/archive/7a597ee.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/tempy-7a597ee78fc7ba2c4ced041780470f568998f3c1" +SRC_URI="https://github.com/noprobelm/tempy/archive/26f13ed.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/tempy-26f13ed15bc1a4458976572ccdc60399ca5cb123" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" RDEPEND=" dev-python/rich[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}]" -BDEPEND="" DEPEND="${RDEPEND}" PATCHES=( diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest index 2b01cfd43441..ade5ffe6b10b 100644 --- a/dev-python/typeguard/Manifest +++ b/dev-python/typeguard/Manifest @@ -1,4 +1 @@ -DIST typeguard-2.13.3.gh.tar.gz 37436 BLAKE2B a3cb616692119c64a9dc0d0bae25cc661b7974a0b6cf6632fa403f7c5430873570b1aaa310bc03843deee6f77a831c303ea9d9091db596eb565fce43980bbb13 SHA512 26c31ee9670650d1969320187a924d29d986894a38f1026af58f705b132b64be3b6e2ac34729f966f5d302d486334b5a5d9e65fb206245b82b0ff0852020b609 -DIST typeguard-3.0.0.tar.gz 55330 BLAKE2B b0b764414c70e109e5bdddd1bfac06af5b0db8d8913e2777b4bec94598ae70f5ed323686f54d902c541c606e7ae32129b3a29099e59cfe5ff2ecad4e6991409e SHA512 367ffea6636817bf9ce492de575b38b1f15aec323d415476bdea271f01ee60073274fd955bdad0e554eb306fb4e516b80a29e5db10015cf47856279235e36c24 -DIST typeguard-3.0.1.tar.gz 56196 BLAKE2B f53bfc7571063bc74588356cbff513311b0100079f42c3d8188ae430ffc1cf3ff2b7599a6ed0973ae02bb9d5d1818abc1c63a24d453592e630a4ac794ef4a5e4 SHA512 07d0276033730a6fc345aeabcbeb68f3b9740cb8336ed8ad731f75925d3bd9007ce050514bd98d39c1b85a4615ddf503420686ccd8ff6513c2610e40b8f89504 DIST typeguard-3.0.2.tar.gz 58171 BLAKE2B d11b9592c191f131a48c8545a1ffbc4dcf4fc32f12dd0ba0bbab84c11ae1d6ba4cf6126fdc5d5b9b2ba81f07a3047f8328c7a8c29c1779238a04b12d4fe8b01c SHA512 a8f87494d4962cfa451ab266fb2958867acb677ec07acad0e8ccead16b9f3d59facffbe133de4e7808147caefb2b41c184b19bc82a812d041e90c3c1c1c0667a diff --git a/dev-python/typeguard/files/typeguard-2.13.3-test.patch b/dev-python/typeguard/files/typeguard-2.13.3-test.patch deleted file mode 100644 index 3c01c018ea86..000000000000 --- a/dev-python/typeguard/files/typeguard-2.13.3-test.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff --git a/src/typeguard/__init__.py b/src/typeguard/__init__.py -index 5684d63..27fa30b 100644 ---- a/src/typeguard/__init__.py -+++ b/src/typeguard/__init__.py -@@ -61,22 +61,25 @@ except ImportError: - from typing import _ForwardRef as ForwardRef - evaluate_forwardref = ForwardRef._eval_type - --if sys.version_info >= (3, 10): -- from typing import is_typeddict --else: -- _typed_dict_meta_types = () -- if sys.version_info >= (3, 8): -- from typing import _TypedDictMeta -- _typed_dict_meta_types += (_TypedDictMeta,) -+try: -+ from typing_extensions import is_typeddict -+except ImportError: -+ if sys.version_info >= (3, 10): -+ from typing import is_typeddict -+ else: -+ _typed_dict_meta_types = () -+ if sys.version_info >= (3, 8): -+ from typing import _TypedDictMeta -+ _typed_dict_meta_types += (_TypedDictMeta,) - -- try: -- from typing_extensions import _TypedDictMeta -- _typed_dict_meta_types += (_TypedDictMeta,) -- except ImportError: -- pass -+ try: -+ from typing_extensions import _TypedDictMeta -+ _typed_dict_meta_types += (_TypedDictMeta,) -+ except ImportError: -+ pass - -- def is_typeddict(tp) -> bool: -- return isinstance(tp, _typed_dict_meta_types) -+ def is_typeddict(tp) -> bool: -+ return isinstance(tp, _typed_dict_meta_types) - - - if TYPE_CHECKING: diff --git a/dev-python/typeguard/typeguard-2.13.3-r1.ebuild b/dev-python/typeguard/typeguard-2.13.3-r1.ebuild deleted file mode 100644 index 0cd1c3a432ec..000000000000 --- a/dev-python/typeguard/typeguard-2.13.3-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Run-time type checker for Python" -HOMEPAGE=" - https://pypi.org/project/typeguard/ - https://github.com/agronholm/typeguard/ -" -SRC_URI=" - https://github.com/agronholm/typeguard/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/typing-extensions[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -PATCHES=( - # backport from https://github.com/agronholm/typeguard/pull/243 - "${FILESDIR}"/${P}-test.patch -) - -python_test() { - local EPYTEST_IGNORE=( - # mypy changes results from version to version - tests/mypy - ) - - local -x PYTHONDONTWRITEBYTECODE= - epytest -} diff --git a/dev-python/typeguard/typeguard-3.0.0.ebuild b/dev-python/typeguard/typeguard-3.0.0.ebuild deleted file mode 100644 index 5a506dba95c1..000000000000 --- a/dev-python/typeguard/typeguard-3.0.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Run-time type checker for Python" -HOMEPAGE=" - https://pypi.org/project/typeguard/ - https://github.com/agronholm/typeguard/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}] - ' 3.{8..9}) - $(python_gen_cond_dep ' - >=dev-python/typing-extensions-4.4.0[${PYTHON_USEDEP}] - ' 3.{8..10}) -" -BDEPEND=" - >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # mypy changes results from version to version - tests/mypy - ) - - local -x PYTHONDONTWRITEBYTECODE= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # the XFAIL test pass due to some package being installed - epytest -o xfail_strict=False -} diff --git a/dev-python/typeguard/typeguard-3.0.1.ebuild b/dev-python/typeguard/typeguard-3.0.1.ebuild deleted file mode 100644 index 5a506dba95c1..000000000000 --- a/dev-python/typeguard/typeguard-3.0.1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Run-time type checker for Python" -HOMEPAGE=" - https://pypi.org/project/typeguard/ - https://github.com/agronholm/typeguard/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}] - ' 3.{8..9}) - $(python_gen_cond_dep ' - >=dev-python/typing-extensions-4.4.0[${PYTHON_USEDEP}] - ' 3.{8..10}) -" -BDEPEND=" - >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # mypy changes results from version to version - tests/mypy - ) - - local -x PYTHONDONTWRITEBYTECODE= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # the XFAIL test pass due to some package being installed - epytest -o xfail_strict=False -} diff --git a/dev-python/zodb/Manifest b/dev-python/zodb/Manifest new file mode 100644 index 000000000000..4c6c219fcd78 --- /dev/null +++ b/dev-python/zodb/Manifest @@ -0,0 +1 @@ +DIST ZODB-5.8.0.tar.gz 788844 BLAKE2B 820dd1dca250f9167076b410cc33a9200a9372abd5162c7eafb8647f8469a742f7aa4cad841d5d5aa68a64aa354c940f51cc26b11c67815cab76ddb98154e9e9 SHA512 40f617089b0313b47634e56b3b303cda20ef06973178d02b583ff7a424e704d0cd2e60f9de2c90ce134760786d75461763dc7ce20af03505cbfc667b027cab9d diff --git a/dev-python/zodb/metadata.xml b/dev-python/zodb/metadata.xml new file mode 100644 index 000000000000..84ea4b9c6429 --- /dev/null +++ b/dev-python/zodb/metadata.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>julien@jroy.ca</email> + <name>Julien Roy</name> + </maintainer> + <longdescription> + ZODB provides an object-oriented database for Python that provides a high-degree of transparency. ZODB runs on Python 2.7 or Python 3.4 and above. It also runs on PyPy. + + no separate language for database operations + + very little impact on your code to make objects persistent + + no database mapper that partially hides the database. + + Using an object-relational mapping is not like using an object-oriented database. + + almost no seam between code and database. + + ZODB is an ACID Transactional database. + </longdescription> + <upstream> + <maintainer> + <email>zope-dev@zope.org</email> + <name>Zope Foundation and Contributors</name> + </maintainer> + <changelog>https://github.com/zopefoundation/zodb/blob/master/CHANGES.rst</changelog> + <bugs-to>https://github.com/zopefoundation/zodb/issues</bugs-to> + <doc>https://zodb-docs.readthedocs.io</doc> + </upstream> + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/zodb/zodb-5.8.0.ebuild b/dev-python/zodb/zodb-5.8.0.ebuild new file mode 100644 index 000000000000..3ec91e69203d --- /dev/null +++ b/dev-python/zodb/zodb-5.8.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYPI_NO_NORMALIZE=1 +PYPI_PN="${PN^^}" + +inherit distutils-r1 pypi + +DESCRIPTION="Python object-oriented database" +HOMEPAGE="https://github.com/zopefoundation/zodb" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/BTrees[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/persistent[${PYTHON_USEDEP}] + dev-python/transaction[${PYTHON_USEDEP}] + dev-python/zc-lockfile[${PYTHON_USEDEP}] + dev-python/zconfig[${PYTHON_USEDEP}] + dev-python/zodbpickle[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( + dev-python/j1m-sphinxautozconfig[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-zopeext[${PYTHON_USEDEP}] + ) + test? ( + dev-python/manuel[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/zope-testing[${PYTHON_USEDEP}] + dev-python/zope-testrunner[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests setup.py + +src_unpack() { + default + # Remove failing test + rm "${S}/src/${PN^^}/tests/testdocumentation.py" || die +} + +python_test() { + zope-testrunner -pvc -j "$(nproc)" --usecompiled \ + --path "${BUILD_DIR}/install$(python_get_sitedir)/" || die +} diff --git a/dev-python/zstandard/Manifest b/dev-python/zstandard/Manifest index 3ba5c4e64297..02e800d6aba0 100644 --- a/dev-python/zstandard/Manifest +++ b/dev-python/zstandard/Manifest @@ -1 +1,2 @@ DIST python-zstandard-0.20.0.gh.tar.gz 712241 BLAKE2B 6ec393a440eb2a0527e655ee1aec16a47120578bbbb69d2f208b4367be199041887bf02d8feeb74f87992d0ab2b5e668cf8b3d8cd8967bd6dc47d4e052781ebc SHA512 bdbbd829e431a9b1ad1247b83e2e6102314a257a32c92a5c666c5ac050eb115bccd9d358240ac9ab41e975ade13bbbc155c66cb8fb583d2ee8dbd28ae323e4f8 +DIST python-zstandard-0.21.0.gh.tar.gz 711413 BLAKE2B de3c5a5b34242c20452e35ba6bac451a176f9f442dfc7028f5bae9299c8cedafa58edce85b21bbbdd440765a7eef67bf3c996ae1a81d534a18bfc203cdcc1c25 SHA512 51a7a7a6c20733858f96763738f3097f52dae1ca3a33bad3e78e31d6f339d8f2ddb0a7da2fafaa0b162b17e5054c0582ab52054f1215e8c39d8e1f8002babd7c diff --git a/dev-python/zstandard/zstandard-0.21.0.ebuild b/dev-python/zstandard/zstandard-0.21.0.ebuild new file mode 100644 index 000000000000..2c0083a329d1 --- /dev/null +++ b/dev-python/zstandard/zstandard-0.21.0.ebuild @@ -0,0 +1,67 @@ +# 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_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +MY_P=python-zstandard-${PV} +DESCRIPTION="Zstandard Bindings for Python" +HOMEPAGE=" + https://github.com/indygreg/python-zstandard/ + https://pypi.org/project/zstandard/ +" +SRC_URI=" + https://github.com/indygreg/python-zstandard/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +DEPEND=" + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} + $(python_gen_cond_dep ' + >=dev-python/cffi-1.14.0-r2:=[${PYTHON_USEDEP}] + ' 'python*') +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # the C backend is repeatedly broken, so force CFFI instead + sed -e '/PYTHON_ZSTANDARD_IMPORT_POLICY/s:default:cffi:' \ + -i zstandard/__init__.py || die + # unreliable, fails on x86 + sed -e 's:test_estimated_compression_context_size:_&:' \ + -i tests/test_data_structures.py || die + # unbundle zstd + : > zstd/zstdlib.c || die + # it does random preprocessing on that, so we can't use #include + cp "${ESYSROOT}/usr/include/zstd.h" zstd/zstd.h || die + sed -i -e '/include_dirs/a libraries=["zstd"],' make_cffi.py || die + + distutils-r1_src_prepare + + DISTUTILS_ARGS=( + --no-c-backend + ) +} + +src_test() { + rm -r zstandard || die + distutils-r1_src_test +} |
