diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-02-21 07:52:55 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-02-21 07:52:55 +0000 |
| commit | c939486cdb8916d1876296535cadc2d484cd309f (patch) | |
| tree | 33737458ab0a969e19f8af8cb0373e226272d053 /dev-python | |
| parent | 0d37eb1568757a8376e10590f7546ccfa17d25d7 (diff) | |
| download | baldeagleos-repo-c939486cdb8916d1876296535cadc2d484cd309f.tar.gz baldeagleos-repo-c939486cdb8916d1876296535cadc2d484cd309f.tar.xz baldeagleos-repo-c939486cdb8916d1876296535cadc2d484cd309f.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/a2wsgi/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/a2wsgi/a2wsgi-1.10.2.ebuild | 30 | ||||
| -rw-r--r-- | dev-python/aiosqlite/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/aiosqlite/aiosqlite-0.20.0.ebuild | 30 | ||||
| -rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/boto3/boto3-1.34.46.ebuild | 58 | ||||
| -rw-r--r-- | dev-python/botocore/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/botocore/botocore-1.34.46.ebuild | 67 | ||||
| -rw-r--r-- | dev-python/coverage/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/coverage/coverage-7.4.2.ebuild | 98 | ||||
| -rw-r--r-- | dev-python/httpbin/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/httpbin/httpbin-0.10.2.ebuild | 54 | ||||
| -rw-r--r-- | dev-python/langdetect/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch | 13 | ||||
| -rw-r--r-- | dev-python/langdetect/langdetect-1.0.9.ebuild | 4 | ||||
| -rw-r--r-- | dev-python/langdetect/metadata.xml | 10 | ||||
| -rw-r--r-- | dev-python/pooch/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pooch/pooch-1.8.1.ebuild | 59 | ||||
| -rw-r--r-- | dev-python/wcmatch/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/wcmatch/wcmatch-8.5.1.ebuild | 61 |
20 files changed, 483 insertions, 11 deletions
diff --git a/dev-python/a2wsgi/Manifest b/dev-python/a2wsgi/Manifest index 6dd104d9eab3..f0f65d5e9124 100644 --- a/dev-python/a2wsgi/Manifest +++ b/dev-python/a2wsgi/Manifest @@ -1,2 +1,3 @@ DIST a2wsgi-1.10.0.tar.gz 17811 BLAKE2B f88c243b2141c1ec04eb1447714f66384cd9dd630a081233f801779cc2abbebc1bcf479f3f5311e2f4b7a33ab549cce7197f78a8cf79221f6fe38131d2bd41e5 SHA512 fa92e7cdbcfe1a4ece72ce39c4d718b50f3e6b78daf0c85cbe7b933bca5dcc6d5e27d4004f58d8ce83fdaf7fcb43f25fbd481a0f5f4141f42d72ec5757dc1ab9 DIST a2wsgi-1.10.1.tar.gz 18121 BLAKE2B e5d17100d8ccf4f8d6fabc3156d66dbbf0cedaf52cd6714385ade7760792db476a197c9955aa99b906a2e3e08d0458f646781f04d0905671ab0a38e9908ac07b SHA512 b0347462c3557444c4fd33f922ea0baf3ef92d390820ce4d5bf723ae6af708c3b5fdd05c2be7d92fc31f4b76a157b37fbe784c30c3b6588d13e6a23028ddf059 +DIST a2wsgi-1.10.2.tar.gz 18126 BLAKE2B 8f0163a9acd3548d5627b026cba7f573cb10d3d346b4304a2152d92f0c9c9a7c0a622ec2761c473a23ef3724d706da1c832f28f7040f7b44303a74794aff6702 SHA512 c084cdeba47c848635cd1ae8ab05d46b6d83acbad48a923f4c21141564d755ac73e52acb097251a6fb3feba9009aca03db40d9a44aa94ea89caad5218cb5e456 diff --git a/dev-python/a2wsgi/a2wsgi-1.10.2.ebuild b/dev-python/a2wsgi/a2wsgi-1.10.2.ebuild new file mode 100644 index 000000000000..d01e0e31d956 --- /dev/null +++ b/dev-python/a2wsgi/a2wsgi-1.10.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Convert WSGI app to ASGI app or ASGI app to WSGI app" +HOMEPAGE=" + https://github.com/abersheeran/a2wsgi/ + https://pypi.org/project/a2wsgi/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + <dev-python/asgiref-4[${PYTHON_USEDEP}] + >=dev-python/asgiref-3.2.7[${PYTHON_USEDEP}] + <dev-python/httpx-1[${PYTHON_USEDEP}] + >=dev-python/httpx-0.22.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/aiosqlite/Manifest b/dev-python/aiosqlite/Manifest index 831441bdeb84..cdadca4809ae 100644 --- a/dev-python/aiosqlite/Manifest +++ b/dev-python/aiosqlite/Manifest @@ -1 +1,2 @@ DIST aiosqlite-0.19.0.tar.gz 21832 BLAKE2B 0cd367979e84af23e7ca9965535ab6477bb78c6b2b0c6af3a8698bbde6400dee80d468b99f125ae03ab98053212170cbbaaeac5134e9f85dc66704eafa96f78f SHA512 56debffdb73b6ec98bb69ce2b711e53417cbcb06501a2dc94558157c2cd010f9f56345bcf5378a17eb064ac6bd5f3638650edffcd1f73883bdeae7476afa96e8 +DIST aiosqlite-0.20.0.tar.gz 21691 BLAKE2B 2cfa096fa10e4964eb73b0fa698bad07311a78a66258d38864d3d8957df5280fd3a4bf8cb497c9b6f3e0f3bc513a439790f3df81f7736736f73717cf60df54e4 SHA512 b0421d2b8acf90a38e33f68d8af7f0d11194c59413f074dcf7d676924adf30f0ba27dcf45e061ba1aad58c2aae49c523bfb6dc3e3fd85bf6c64052151c300be5 diff --git a/dev-python/aiosqlite/aiosqlite-0.20.0.ebuild b/dev-python/aiosqlite/aiosqlite-0.20.0.ebuild new file mode 100644 index 000000000000..4a489115b03f --- /dev/null +++ b/dev-python/aiosqlite/aiosqlite-0.20.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 pypi + +DESCRIPTION="asyncio bridge to the standard sqlite3 module" +HOMEPAGE=" + https://aiosqlite.omnilib.dev + https://pypi.org/project/aiosqlite/ + https://github.com/omnilib/aiosqlite +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/typing-extensions-4[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +# AttributeError: 'str' object has no attribute 'supported' +#distutils_enable_sphinx docs dev-python/m2r diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index ae5576f71a0c..b8910c31caf1 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,3 +2,4 @@ DIST boto3-1.34.34.gh.tar.gz 771553 BLAKE2B 52459e1baefd7986256bb6c89074aac365fb DIST boto3-1.34.39.gh.tar.gz 773491 BLAKE2B 69256649eb3bc5a856adffe4fb1e0e3f1e14e9a8ff557a9c4a4a8009bc0b8483555e9350f98656d3088c271152db199201c2739e4860fbc0c63810e19a13eca4 SHA512 88fb84a97c072f3e1719116d10dae2a8a840f495aa89f42f13fb105209d0d098390cbdbc443811ae78a684735fa571dbe66bf10c0e53718e783a17de36a18197 DIST boto3-1.34.44.gh.tar.gz 775883 BLAKE2B 97648819e48af3bbdec76ca47f5532cf9f0a99845f90515cbc7bec02bd5cc04ed5cc842b55cd589a8fb1cd8852edf4d12d3e8a23320e23fd4c5920854ef588d3 SHA512 310689dd7fc3a08c3a8ed6e223381870f028ee07354f74654abafc893f8230fee82bcd136c9e04a675a06bad496458f6778e6d571e75f6541130b3e06cdf324a DIST boto3-1.34.45.gh.tar.gz 776142 BLAKE2B 0fc27d192ab356e4dad6faaf6ed33d32b728efdbfdb4b662db1269de8eaac7b8f966b45167eb29c4f94abacfe01173f71eb792df2dea9f03d10df6e7d7753406 SHA512 ddfdd97643dbdf139783c03625b8d4d652a4d83c485a1c1cdba9b09fc214f8ff5ed75f51b5498449ec3c69f69c92127ad6ca79a8db8e951e528d6cabe3d57ada +DIST boto3-1.34.46.gh.tar.gz 776383 BLAKE2B 94fcc2899d6d8a02acdf4e293dd9ad7f29b03be88ad40714e295eae9c0d34fe9d063b7ad186787755d87e127ef4f693a7c02a3f6c0cd31f45cad1cd0ffea216e SHA512 24882634ea2b5c8ee5d7b50b5ea8543fc74dd853524fd70c3897feebe45c99f26f6244de512b5a857ac07062db1d3ea4249198778dfb13799fdf4ef223793aca diff --git a/dev-python/boto3/boto3-1.34.46.ebuild b/dev-python/boto3/boto3-1.34.46.ebuild new file mode 100644 index 000000000000..c6201d2c5818 --- /dev/null +++ b/dev-python/boto3/boto3-1.34.46.ebuild @@ -0,0 +1,58 @@ +# 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_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 6741e844fc02..575b2c93a062 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,3 +2,4 @@ DIST botocore-1.34.34.gh.tar.gz 12682925 BLAKE2B 514e6946558d1014371ca7ae4c76614 DIST botocore-1.34.39.gh.tar.gz 12697404 BLAKE2B d8670c591c06cf5b02562adb234225dde1da6a805d40f314ea7e88b8dc532dc9cb3bff80255aff8798137584a8038b3747e5dc428fd0dc20def923c9a9953a5d SHA512 e5091955cbaa838365664458e71e77ecc4649e12995735a367ea007bdf5e10b41e4009afa8c3832f88a6c49888091b7d668834f1e5edbd64298d88c4eb8f3f1c DIST botocore-1.34.44.gh.tar.gz 12716767 BLAKE2B 335d59ae57ae5a5a1bdb44c3e196dff18cb24dd4a4d3beb59e7b8e887d5cc56f0716b2e4fead0c9a4c96978d661308fb0f1e045300e7af69c94ed799bb25a2ef SHA512 12893173c0123711f496448e661bb8e463fcc29ac95c500fe427e2dcf9810659b92de1d38ec3192e1e20a92ca01a5315733f34d0ffe61f2c9b69763e427ee96f DIST botocore-1.34.45.gh.tar.gz 12726866 BLAKE2B c5095199626afcd7d83ff62623593f1863aa068a05347adcc738b1b168e8f0f224d6370bd05f71f8fa72dd0f2180067016d37956b332d6cfa42ea5e68c4d9bb3 SHA512 2aff40aa39a431bd9ee99ee30e136051e2b9039dc2bbdd6a36bd1108e470f6dbda5ad23534b9b148799b27d4c7eb0806698ae2f05dbee94a6ff6ee3fe087dcf1 +DIST botocore-1.34.46.gh.tar.gz 12726577 BLAKE2B 0c1574bd5e045bc478e44f300d64d5d56489246ad7cddc1ae19e2ad9080abbf30985330e435b833acfb1f1ded46e60ee2e70e1273568a93b69a47018df68ff4a SHA512 9ff234090e3a315612cd97e36ec5eb577d799465c4bb99ef1a5b2efbd83ce3cd5de94300996381c704896efd6bbb612a9b76831040dfd68f9cf86a821680b24b diff --git a/dev-python/botocore/botocore-1.34.46.ebuild b/dev-python/botocore/botocore-1.34.46.ebuild new file mode 100644 index 000000000000..857224b496b7 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.46.ebuild @@ -0,0 +1,67 @@ +# 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_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index 89f81c1c5d33..db641d6abacc 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -1,2 +1,3 @@ DIST coverage-7.4.0.tar.gz 776507 BLAKE2B ea96db033e711c5b47ebbd585f1eec8e576908dfbecd7df6e555a5e96cdbadf546e0b2b1a5790fd66be386a068ced5a1544dff79601546fe6a4ac0e9b36a05a2 SHA512 7563ca34ed8d0dd3b9f376b20cbaeb9c952ba0dda57d9f1a33abe94ac17ed6411d0d537f039613c310957eb926e8fa102ad888c5de8bdb3f0233668bdf96d395 DIST coverage-7.4.1.tar.gz 780560 BLAKE2B bd23208a3fe86a0476b964150ba5bf7db5e26af3844eb16a36c4aaf96a40056486a906f82016f8a5adb05cca8562adcfa11cb44fdef78587aa575b93d24d54eb SHA512 a5e6a40a9b83a9e3ab88c432305a89caa4a7575f17c35385782a59237cc0464d879222afd524879e3e36a09f185fc6249af6198cbc0a10a6c3e83a19de452e79 +DIST coverage-7.4.2.tar.gz 783045 BLAKE2B c4085c8ae59dc0c4ccc5a7cc94e1acc7791c34c7220bc611aae6d4ca4beeffaf3aafdbaa760cb030ec216bb749306146840c964c8bb6f2dc3f69c444576544b2 SHA512 480483d3923d956f23f156e3732a2ac1c03209d55c155b832386b4539a834521604749f35ea1b0a5c2109958fc77d8ae69456604fd5a2d1174fd83c8fddfe407 diff --git a/dev-python/coverage/coverage-7.4.2.ebuild b/dev-python/coverage/coverage-7.4.2.ebuild new file mode 100644 index 000000000000..8f7e197a5950 --- /dev/null +++ b/dev-python/coverage/coverage-7.4.2.ebuild @@ -0,0 +1,98 @@ +# 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_{8,9,10,11,12} 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 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{9..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 + ) + 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/httpbin/Manifest b/dev-python/httpbin/Manifest index 0dc9fe2291fa..c095ce2f4c3f 100644 --- a/dev-python/httpbin/Manifest +++ b/dev-python/httpbin/Manifest @@ -1 +1,2 @@ DIST httpbin-0.10.1.tar.gz 107058 BLAKE2B a46732946fc3454e2ae71c4eec4f88521e190b736445c54f555021a273a75f57acbc9234237e6973a21fc3bf8f71d8c8b51d6422d719f03546ecd6887a20fe1b SHA512 e3b851253c347893a80e866e7d0188c572f2a87a540125de3d9cbe0b8c3f1ddfab2c60ee3ffde3fd7274fc662294c978c39b1b52acfd92c52fd552966da203be +DIST httpbin-0.10.2.tar.gz 107327 BLAKE2B 39ab1e518c9f7e1ede9cd0aa2e3155f7e36267c83d1d2537a5b6cb5aa1c9e70efe96c5bf98a5b22cd05e70368d1495f8e5364032fcf2f476d62512b7e7322652 SHA512 731b842090be516d9eccb1d2bb8303128d2b2e24b1ebf0b2018a2f0b8629b164c7de686e1775841cd57417ec89941d98fc81f878a284c7242bfef4db481a781b diff --git a/dev-python/httpbin/httpbin-0.10.2.ebuild b/dev-python/httpbin/httpbin-0.10.2.ebuild new file mode 100644 index 000000000000..44e7664e7639 --- /dev/null +++ b/dev-python/httpbin/httpbin-0.10.2.ebuild @@ -0,0 +1,54 @@ +# 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_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="HTTP Request and Response Service" +HOMEPAGE=" + https://github.com/psf/httpbin/ + https://pypi.org/project/httpbin/ +" + +LICENSE="|| ( MIT ISC )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + >=dev-python/flask-2.2.4[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/markupsafe[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + >=dev-python/werkzeug-2.2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + test-rust? ( + dev-python/flasgger[${PYTHON_USEDEP}] + ) + ) +" + +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + # https://github.com/psf/httpbin/pull/44 (simplified) + "${FILESDIR}/httpbin-0.10.1-optional-flasgger.patch" + ) + + # remove unnecessary deps + sed -i -e '/greenlet/d' -e '/flasgger/d' pyproject.toml || die + distutils-r1_src_prepare +} + +pkg_postinst() { + optfeature "Fancy index" dev-python/flasgger +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index e9da2ac43cac..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index c09b7356f549..630fe63c6f53 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..736a1167c898 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,12 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pooch/Manifest b/dev-python/pooch/Manifest index d4778b578e9e..3b3f6f0cf991 100644 --- a/dev-python/pooch/Manifest +++ b/dev-python/pooch/Manifest @@ -1 +1,2 @@ DIST pooch-1.8.0.tar.gz 59408 BLAKE2B 07ed7c17e98ef4627f347e9b71355e147f56970fe5f0d709269602796a5ba2d8ffd5ad0ad47a17114d32841b9a7fc3eeab978f8ca9f64d35c89ff35b0aa62279 SHA512 d97e3e1098d1eeee30108affc64ed5a12f679e9122d35494598a03f3a548bb83b57dc54ac5a2c85bc42e664cb90f713bdb55b47b430ff000a722ffad58010497 +DIST pooch-1.8.1.tar.gz 59614 BLAKE2B ff30e6f1a1cc71091d5e822eb0eeda59fb1ff8f53d2dd6dc67dccc955d28f3fa485d03615d544096fdae7786c181a3395b62e3c59212f80b977755e3df0addf0 SHA512 9e78da7839deb443340c925622d5e9b1d7a3f14fdac3eae2528fb91ebf86f88715e8737e869057fe7c703e8423303e15379c07e5d11a7bebd3da63b1ac06ae3f diff --git a/dev-python/pooch/pooch-1.8.1.ebuild b/dev-python/pooch/pooch-1.8.1.ebuild new file mode 100644 index 000000000000..1b2cce0461f0 --- /dev/null +++ b/dev-python/pooch/pooch-1.8.1.ebuild @@ -0,0 +1,59 @@ +# 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_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Manage your Python library's sample data files" +HOMEPAGE=" + https://github.com/fatiando/pooch/ + https://pypi.org/project/pooch/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.5.0[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/paramiko[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # Needs network + pooch/tests/test_core.py::test_check_availability_invalid_downloader + pooch/tests/test_core.py::test_load_registry_from_doi + pooch/tests/test_core.py::test_load_registry_from_doi_zenodo_with_slash + # dev-python/pytest-localftpserver -> dev-python/pyftpdlib has py3.12 issues + # https://github.com/giampaolo/pyftpdlib/issues/560#issuecomment-971377238 + pooch/tests/test_core.py::test_check_availability_on_ftp + pooch/tests/test_downloaders.py::test_invalid_doi_repository + pooch/tests/test_downloaders.py::test_doi_url_not_found + pooch/tests/test_downloaders.py::test_figshare_url_file_not_found + pooch/tests/test_downloaders.py::test_doi_downloader +) + +### docs no included in pypi tarball +# distutils_enable_sphinx doc \ +# dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_httpserver -k "not network" +} diff --git a/dev-python/wcmatch/Manifest b/dev-python/wcmatch/Manifest index d4cd5b88324f..e56e0d2e7a89 100644 --- a/dev-python/wcmatch/Manifest +++ b/dev-python/wcmatch/Manifest @@ -1 +1,2 @@ +DIST wcmatch-8.5.1.gh.tar.gz 117483 BLAKE2B db4d77651ab4fc6692c746d94dda68dc0fcdfe72a6e3b512b4f60a1bd5bf7015e21349d022c6ec17ea2bbc55ae87cf6c9a3690d9b6774f02a167b4b0ad65b691 SHA512 10ab7d76ad7c71efb2639e2d439593a45339f485f1f628770ae845c291c34d0e3fc8a9b75b6ce6d3c131c1f0a521f3aafcadc7d24ffad5284e9db06dc5838974 DIST wcmatch-8.5.gh.tar.gz 117301 BLAKE2B db62057e9fe148d64a7b326ba15029a20781008288a60171793db3e4e3aab75ca4eeb1be63b7c2af5951225d512d4a5886982cb278c703980b755e6b816e51bf SHA512 a4de7714945e36e0ac68c5ce99cc06887fdceb3a461464ceb05e66f5a84965cafa9cdac337e3332f5fe42aaef90d53978185e451b28d56730418ca830f98c290 diff --git a/dev-python/wcmatch/wcmatch-8.5.1.ebuild b/dev-python/wcmatch/wcmatch-8.5.1.ebuild new file mode 100644 index 000000000000..30399ededa9a --- /dev/null +++ b/dev-python/wcmatch/wcmatch-8.5.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +DISTUTILS_USE_PEP517=hatchling + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + >=dev-python/mkdocs-pymdownx-material-extras-2.0 + dev-python/mkdocs-material + dev-python/mkdocs-git-revision-date-localized-plugin + dev-python/mkdocs-minify-plugin + dev-python/pyspelling +" + +inherit distutils-r1 docs + +DESCRIPTION="Wildcard/glob file name matcher" +HOMEPAGE=" + https://github.com/facelessuser/wcmatch/ + https://pypi.org/project/wcmatch/ +" +SRC_URI=" + https://github.com/facelessuser/wcmatch/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/bracex-2.1.1[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # tests require some files in homedir + > "${HOME}"/test1.txt || die + > "${HOME}"/test2.txt || die + + # mkdocs-git-revision-date-localized-plugin needs git repo + if use doc; then + git init || die + git config --global user.email "larry@gentoo.org" || die + git config --global user.name "Larry the Cow" || die + git add . || die + git commit -m 'init' || die + fi + + distutils-r1_python_prepare_all +} |
