diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-09-02 20:37:58 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-09-02 20:37:58 +0000 |
| commit | 9b9df3b10cb94f71ae49783e2e18be1aa6bf5a1a (patch) | |
| tree | ff548924c5c9b705ea4087625114b7ce3873422b /dev-python | |
| parent | e15156d0d51479ee4318479057953194e68722cc (diff) | |
| download | baldeagleos-repo-9b9df3b10cb94f71ae49783e2e18be1aa6bf5a1a.tar.gz baldeagleos-repo-9b9df3b10cb94f71ae49783e2e18be1aa6bf5a1a.tar.xz baldeagleos-repo-9b9df3b10cb94f71ae49783e2e18be1aa6bf5a1a.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
48 files changed, 560 insertions, 726 deletions
diff --git a/dev-python/GitPython/GitPython-3.1.34.ebuild b/dev-python/GitPython/GitPython-3.1.34.ebuild new file mode 100644 index 000000000000..000208c03eb5 --- /dev/null +++ b/dev-python/GitPython/GitPython-3.1.34.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +TEST_P=GitPython-${PV} +GITDB_P=gitdb-4.0.10 +SMMAP_P=smmap-5.0.0_p1 + +DESCRIPTION="Library used to interact with Git repositories" +HOMEPAGE=" + https://github.com/gitpython-developers/GitPython/ + https://pypi.org/project/GitPython/ +" +SRC_URI+=" + test? ( + https://dev.gentoo.org/~mgorny/dist/${TEST_P}.gitbundle + https://dev.gentoo.org/~mgorny/dist/${GITDB_P}.gitbundle + https://dev.gentoo.org/~mgorny/dist/${SMMAP_P}.gitbundle + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-vcs/git + >=dev-python/gitdb-4.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + git config --global user.email "travis@ci.com" || die + git config --global user.name "Travis Runner" || die + + git clone "${DISTDIR}/${TEST_P}.gitbundle" "${T}"/test || die + git clone "${DISTDIR}/${GITDB_P}.gitbundle" \ + "${T}"/test/git/ext/gitdb || die + git clone "${DISTDIR}/${SMMAP_P}.gitbundle" \ + "${T}"/test/git/ext/gitdb/gitdb/ext/smmap || die + + cd "${T}"/test || die + git rev-parse HEAD > .git/refs/remotes/origin/master || die + TRAVIS=1 ./init-tests-after-clone.sh || die + cat test/fixtures/.gitconfig >> ~/.gitconfig || die + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # performance tests are unreliable by design + test/performance + # unimpoortant and problematic + test/test_installation.py + # Internet + test/test_repo.py::TestRepo::test_leaking_password_in_clone_logs + test/test_quick_doc.py::QuickDoc::test_cloned_repo_object + # requires which(1) + # https://github.com/gitpython-developers/GitPython/pull/1525 + test/test_git.py::TestGit::test_refresh + # TODO + test/test_submodule.py::TestSubmodule::test_base_rw + test/test_submodule.py::TestSubmodule::test_git_submodules_and_add_sm_with_new_commit + test/test_submodule.py::TestSubmodule::test_list_only_valid_submodules + test/test_submodule.py::TestSubmodule::test_root_module + ) + + epytest -o addopts= test +} diff --git a/dev-python/GitPython/Manifest b/dev-python/GitPython/Manifest index c8e3a89f3482..51a9abc2b446 100644 --- a/dev-python/GitPython/Manifest +++ b/dev-python/GitPython/Manifest @@ -2,5 +2,7 @@ DIST GitPython-3.1.32.gitbundle 9676140 BLAKE2B e975f7949f3f3e25f66008b1f2be80db DIST GitPython-3.1.32.tar.gz 196978 BLAKE2B 914b0ceebe89b00e5d65c963055c1d64c3125699a4df80e04c5a0ca59181faac5357880767224d3b3cad9b884668299510ea055ae0c228648c1b1c2e5ec048d0 SHA512 b1a4ac7d98b9543454525819357afef4c45dde842a8a8689f5f059312cd45ee10a7a5b22e2417a0a7120b78c0a40addc4f9189789d70ca34d2bc21962fe44fb7 DIST GitPython-3.1.33.gitbundle 9635126 BLAKE2B d851f8766f4d145b54de7b2593d84c9002d4a6ae6b55c1b8533f8945b668966bc4a3a94f4467adc4390326e26b78fd88d141931e11251ebcbaa6120081bfba7b SHA512 cc4eb17f1b32a7d5f592bd4a84936e0fe9e12ccfe555b9c9ee57a48678f62181b4a0d6c003222873f5d53af932bc8099568f2792d06ee44dd240af0a2dd94df8 DIST GitPython-3.1.33.tar.gz 198466 BLAKE2B 5e27cc92ba937f730ba746fa565b3a9a5b50ea3d4bec11cd2e484b0cf96db9a8f51f920d0788b6170750e48e2361ab0327017d445652aee4851396e83a57b0b3 SHA512 49001b55530966e90e1f8adeeb5e43d144b813d073deb01ceff0fd709f6a65e791e4971f6db9353da5fc84ba4a6bfe5c409f9229c85c9bd0497dc52e05f03707 +DIST GitPython-3.1.34.gitbundle 9638239 BLAKE2B e9bd820ac329928871a6341c9ed0fc8529bb99866ec9a2b10593113dcf8d859960f49b615de300275f0d16d56621852b659e565278ec591e93e5821514126a46 SHA512 c1a4f61a7632e83bad5f4ee59a1b5d3d3afd67506fe574cecc7cdf685eff1e61030a0eb11b75f7995f7c453b8e97516f03ef5b662ce75b3c8ff7e0ca15247449 +DIST GitPython-3.1.34.tar.gz 198460 BLAKE2B 7045ce1cba39043564a6f89b99d11779327ffd9098178b7e80a32c6cf0ed2200fb2ddd4f16b9e09e190628c63acbc02afd2d42d20fd04c0df5018c3619e06d5e SHA512 d0eee7e04bd542a8cad8312d95ef0cbf60964e4aec71e825003d792f9d6c7e20c9603b793f75a87f0fed223148f21b8fc51c98f47164440f2f243a1b81427b35 DIST gitdb-4.0.10.gitbundle 1485461 BLAKE2B 5a217c609a402cd7888da1502b25d217812503cd703cda8bce3c7159732c59d7f4bcd52688a5da457f43fde1645a6db79588a6fc8cc8dff5c58e9dcbaef79b9a SHA512 98dba48f75e28eaded791f91c611e07bef73c28a7f8ac58889b05d04f4b3699a85a5be1c829ea3e2f380507a9009f35bc552bb4260564127e2863807f9b4712a DIST smmap-5.0.0_p1.gitbundle 324544 BLAKE2B 69098c7644abaec7f32226cad7ff3008e49d94c9f7349d0b815223249c20bfd2b51a50474e51864821f30c98f5982e5c35ce9217145a1e5d11326492c41faecc SHA512 4f36ca2c94ddfeb949c880fb52c3b1905d144dd59b95f2f05c93ed7b694dcb128218a2800ca23b721fbeff9a1920e8c3326675098e2ef0361ff6e90c8c2850ba diff --git a/dev-python/asttokens/Manifest b/dev-python/asttokens/Manifest index 30414c748f6a..460521610974 100644 --- a/dev-python/asttokens/Manifest +++ b/dev-python/asttokens/Manifest @@ -1 +1,2 @@ DIST asttokens-2.2.1.gh.tar.gz 56115 BLAKE2B 89c235391f9cc68fc640c5f9fccd1055cd7649ac92f4f935a872c1b90458f4bf577979fdeb3267f7bd5a5af505b6a33582da47d5fb65b57c411f482622d90feb SHA512 f7fb00918403054bc6a118494f49dcc11946141d2193624455ff2b1ca137d1c75315c779295701e93ae350ce4f5f670d6287e91a116b6b5cbcb06b374a6d00b5 +DIST asttokens-2.3.0.gh.tar.gz 56996 BLAKE2B 742e1332c6dcc35930e6ac85df1a851143772ab390f51088bd89bbc8c6f2d2277ed1cc31af554f274b3d6fab554a542a54b0ef08afbd470f8308ca5eddf9728b SHA512 128e9d41db1e7dd85ce3e459123c0a28d8478c3757b06c35a53eed4286ed23ac8747a221b9bbcf17d87dd98288a3b58a33e0a2e4e9f5cf8b137264bd22eadc36 diff --git a/dev-python/asttokens/asttokens-2.3.0.ebuild b/dev-python/asttokens/asttokens-2.3.0.ebuild new file mode 100644 index 000000000000..64660807ab3b --- /dev/null +++ b/dev-python/asttokens/asttokens-2.3.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2020-2023 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} ) + +inherit distutils-r1 + +DESCRIPTION="Annotate Python AST trees with source text and token information" +HOMEPAGE=" + https://github.com/gristlabs/asttokens/ + https://pypi.org/project/asttokens/ +" +SRC_URI=" + https://github.com/gristlabs/asttokens/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 ~arm64-macos ~x64-macos" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/astroid[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # test suite itself broken with new astroid versions, upstream less care + # https://github.com/gristlabs/asttokens/issues/79 + tests/test_astroid.py +) + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/dask/Manifest b/dev-python/dask/Manifest index 8d5c1a0bffa7..fd94332b8eb4 100644 --- a/dev-python/dask/Manifest +++ b/dev-python/dask/Manifest @@ -1,2 +1,3 @@ DIST dask-2023.8.0.gh.tar.gz 8539262 BLAKE2B 3ce61191bca458e32ac88904460f8ee843f34ddc9be88d0de7f56a90897dd599d70012f92b5063b5df996bc61c85c16b2d6b745e1a334847d8b66f66721bc422 SHA512 9afee3571e58b0f923347e2ec06c80ab5e4f35abb23e0635777170def0561cf1df6c940844cad1efe112059909020cf6435147b9003c4a449eba98d38d9eefab DIST dask-2023.8.1.gh.tar.gz 8541743 BLAKE2B 485a88354d3aa54ff1f6afb1bd4a8b3317a6a48b519bef4dadf1bcbb240f21e54eb165f2c076ea8aa9b5753fd8714af26453858d7fe154bb015489f89b8114be SHA512 4ca231236e5d868f8fbb69b38721e495a44fbc982a53ea087ef68085c4df2cc99526b5a66b7fee93a3b63a6cd621f8448b877b98370b3dfe1a32e386dd91e73e +DIST dask-2023.9.0.gh.tar.gz 8541973 BLAKE2B 06e04377f8f7d0e6a6487c1c2aa52e61a8ab73a04455e9a6d7da238bd747d7ac6cf1526f645f0c874f2588f28708139f8fb1fa0271e6166442be6a15ce68b9f1 SHA512 eadc3a9cd5d8d960d8006db2641e5513a093b4818c1cd4de058d70f088ef1cfd74413abcf0bbba757d9188de4b3c103a3fdfe4ce76f14554b589540011c53835 diff --git a/dev-python/dask/dask-2023.9.0.ebuild b/dev-python/dask/dask-2023.9.0.ebuild new file mode 100644 index 000000000000..b2012b98ed2a --- /dev/null +++ b/dev-python/dask/dask-2023.9.0.ebuild @@ -0,0 +1,84 @@ +# 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_{8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Task scheduling and blocked algorithms for parallel processing" +HOMEPAGE=" + https://www.dask.org/ + https://github.com/dask/dask/ + https://pypi.org/project/dask/ +" +SRC_URI=" + https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/click-8.0[${PYTHON_USEDEP}] + >=dev-python/cloudpickle-1.5.0[${PYTHON_USEDEP}] + >=dev-python/fsspec-2021.9.0[${PYTHON_USEDEP}] + >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.21[${PYTHON_USEDEP}] + >=dev-python/pandas-1.3[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + >=dev-python/partd-1.2.0[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] + >=dev-python/toolz-0.10.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/toolz[${PYTHON_USEDEP}] + >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] + test? ( + dev-python/moto[${PYTHON_USEDEP}] + dev-python/numexpr[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # fails with sqlalchemy-2.0, even though we don't use it x_x + sed -i -e '/RemovedIn20Warning/d' pyproject.toml || die + sed -i -e 's:--cov-config=pyproject.toml::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # more tests relying on -Werror + "dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]" + dask/array/tests/test_random.py::test_RandomState_only_funcs + # TODO + dask/array/tests/test_reductions.py::test_mean_func_does_not_warn + dask/tests/test_config.py::test__get_paths + dask/array/tests/test_linalg.py::test_solve_assume_a + "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]" + "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]" + dask/array/tests/test_image.py::test_preprocess + dask/tests/test_system.py::test_cpu_count_cgroups_v2 + # require sqlalchemy<2.0 + dask/dataframe/io/tests/test_sql.py + ) + + if ! has_version -b "dev-python/pyarrow[parquet,${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + # fails if pyarrow is installed without USE=parquet + # (optional dep, skipped if it's not installed at all) + dask/dataframe/io/tests/test_parquet.py::test_pyarrow_filter_divisions + ) + fi + + epytest -p no:flaky -m "not network" +} diff --git a/dev-python/django-environ/Manifest b/dev-python/django-environ/Manifest index ad9e3639d0f2..38f3ee34526b 100644 --- a/dev-python/django-environ/Manifest +++ b/dev-python/django-environ/Manifest @@ -1 +1,2 @@ DIST django-environ-0.10.0.gh.tar.gz 49508 BLAKE2B 1df34e55fad0072b5be368af880609cb439772ded6446d63e4af03560adc11825e8dda3ac39dddcddf78667a28f0bf26ebc87942c7aaeb5274e56299f240483b SHA512 31296172cb919d2fc295c177618b2af09229943a8683beeeab3da4544bc0aad2eafe64d8ba98c45ede8a0ccd38c63b06425c268c548c47277747b47c21673001 +DIST django-environ-0.11.2.gh.tar.gz 50806 BLAKE2B d7ae0300fb3074e1f0c1bd97b46623f4e703f9330ce016f3690b8758ed6109f64f007747cf098d3f680110edd576476bf7c5c4080651b50f35bfd14320e24d80 SHA512 f712783d087f8942ac23d88ae1fc3f3a55ef9eaf4e63124a433151717b7245853c6e70a3fcfb0d90c31d0432de12ebd246dfc465c7a428d244393ca82194b649 diff --git a/dev-python/django-environ/django-environ-0.11.2.ebuild b/dev-python/django-environ/django-environ-0.11.2.ebuild new file mode 100644 index 000000000000..1967175dc54e --- /dev/null +++ b/dev-python/django-environ/django-environ-0.11.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 2023 Liguros 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} ) + +inherit distutils-r1 + +DESCRIPTION="A Django application to retrieve user's IP address" +HOMEPAGE="https://github.com/joke2k/django-environ" +SRC_URI="https://github.com/joke2k/django-environ/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/django-1.11[${PYTHON_USEDEP}] +" + +python_test() { + "${EPYTHON}" tests/manage.py test -v2 myapp || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/django-environ/metadata.xml b/dev-python/django-environ/metadata.xml index a2df676e20ae..22079d22a2ee 100644 --- a/dev-python/django-environ/metadata.xml +++ b/dev-python/django-environ/metadata.xml @@ -2,6 +2,10 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> + <email>dev@liguros.net</email> + <name>Development</name> + </maintainer> + <maintainer type="project"> <email>core@liguros.net</email> <name>Development</name> </maintainer> diff --git a/dev-python/django-guardian/django-guardian-2.4.0.ebuild b/dev-python/django-guardian/django-guardian-2.4.0.ebuild index 4b310ffad20f..c8e50b7a4f76 100644 --- a/dev-python/django-guardian/django-guardian-2.4.0.ebuild +++ b/dev-python/django-guardian/django-guardian-2.4.0.ebuild @@ -1,6 +1,5 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 2023 Liguros Authors # Distributed under the terms of the GNU General Public License v2 - EAPI=8 DISTUTILS_USE_PEP517=setuptools @@ -10,25 +9,21 @@ inherit distutils-r1 DESCRIPTION="A Django application to retrieve user's IP address" HOMEPAGE=" - https://github.com/django-guardian/django-guardian - https://pypi.org/project/django-guardian/ -" -SRC_URI=" - https://github.com/django-guardian/django-guardian/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz + https://github.com/django-guardian/django-guardian + https://pypi.org/project/django-guardian/ " +SRC_URI="https://github.com/django-guardian/django-guardian/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" RDEPEND=" - >=dev-python/django-1.11[${PYTHON_USEDEP}] + >=dev-python/django-1.11[${PYTHON_USEDEP}] dev-python/django-environ dev-python/mock " python_test() { - "${EPYTHON}" tests/manage.py test -v2 myapp || - die "Tests failed with ${EPYTHON}" + "${EPYTHON}" tests/manage.py test -v2 myapp || die "Tests failed with ${EPYTHON}" } diff --git a/dev-python/django-guardian/metadata.xml b/dev-python/django-guardian/metadata.xml index a2df676e20ae..36acccda7221 100644 --- a/dev-python/django-guardian/metadata.xml +++ b/dev-python/django-guardian/metadata.xml @@ -2,7 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> - <email>core@liguros.net</email> + <email>dev@liguros.net</email> <name>Development</name> </maintainer> diff --git a/dev-python/django-rest-framework-guardian2/django-rest-framework-guardian2-0.5.0.ebuild b/dev-python/django-rest-framework-guardian2/django-rest-framework-guardian2-0.5.0.ebuild index 2da4c87ebaad..621c6f5bda98 100644 --- a/dev-python/django-rest-framework-guardian2/django-rest-framework-guardian2-0.5.0.ebuild +++ b/dev-python/django-rest-framework-guardian2/django-rest-framework-guardian2-0.5.0.ebuild @@ -1,6 +1,5 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 2023 Liguros Authors # Distributed under the terms of the GNU General Public License v2 - EAPI=8 DISTUTILS_USE_PEP517=setuptools @@ -10,23 +9,17 @@ inherit distutils-r1 DESCRIPTION="A Django application to retrieve user's IP address" HOMEPAGE=" - https://github.com/johnthagen/django-rest-framework-guardian2 - https://pypi.org/project/djangorestframework-guardian2/ -" -SRC_URI=" - https://github.com/johnthagen/django-rest-framework-guardian2/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz + https://github.com/johnthagen/django-rest-framework-guardian2 + https://pypi.org/project/djangorestframework-guardian2/ " +SRC_URI="https://github.com/johnthagen/django-rest-framework-guardian2/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -RDEPEND=" - >=dev-python/django-1.11[${PYTHON_USEDEP}] -" +RDEPEND=">=dev-python/django-1.11[${PYTHON_USEDEP}]" python_test() { - "${EPYTHON}" tests/manage.py test -v2 myapp || - die "Tests failed with ${EPYTHON}" + "${EPYTHON}" tests/manage.py test -v2 myapp || die "Tests failed with ${EPYTHON}" } diff --git a/dev-python/django-rest-framework-guardian2/metadata.xml b/dev-python/django-rest-framework-guardian2/metadata.xml index a2df676e20ae..36acccda7221 100644 --- a/dev-python/django-rest-framework-guardian2/metadata.xml +++ b/dev-python/django-rest-framework-guardian2/metadata.xml @@ -2,7 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> - <email>core@liguros.net</email> + <email>dev@liguros.net</email> <name>Development</name> </maintainer> diff --git a/dev-python/dulwich/Manifest b/dev-python/dulwich/Manifest index e6cb11e9546b..0be481f9ef1f 100644 --- a/dev-python/dulwich/Manifest +++ b/dev-python/dulwich/Manifest @@ -1 +1,2 @@ DIST dulwich-0.21.5.tar.gz 441948 BLAKE2B a65aaa3611de6b18a3f63bd195d3831733bea726f634964c14bb817954147e45753868982fb0c3dcf57dec5a2ed8c985229d110234fd6cae8c783367a06bc20c SHA512 5966a4df8ef94d4c61c4e0a2aebbf11b7f9072139f11357e5194e58dc4edfbe83eb76f7b7aa3a52f96f97c5b7908850fcef5de2aa4bccb212126bb21fdc53934 +DIST dulwich-0.21.6.tar.gz 445545 BLAKE2B a3189b4777e295bf26345172fa1c4f6ca4c45e807a9197cd2bc8c0255a9ebb7fa752bc98369ffe780671dc9610fefb1fc4bd9b6b75d90b7322d048197da0aeaa SHA512 24f1d82be08b6ee78e41cd86ec2323a51dd6bff3714b1eae1f8484eda316c9d1c8089ded853511d587898ba789d36ee014c8f3b7c718bf7168519725f4d9dc2c diff --git a/dev-python/dulwich/dulwich-0.21.6.ebuild b/dev-python/dulwich/dulwich-0.21.6.ebuild new file mode 100644 index 000000000000..43705dd6f925 --- /dev/null +++ b/dev-python/dulwich/dulwich-0.21.6.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure-Python implementation of the Git file formats and protocols" +HOMEPAGE=" + https://github.com/jelmer/dulwich/ + https://pypi.org/project/dulwich/ +" + +LICENSE="GPL-2+ Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + app-crypt/gpgme[python,${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/fastimport[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs + +python_test() { + # remove interference from the tests that do stuff like user.name + unset GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE + unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_COMMITTER_DATE + unset EMAIL + # Do not use make check which rebuilds the extension and uses -Werror, + # causing unexpected failures. + "${EPYTHON}" -m unittest -v dulwich.tests.test_suite || + die "tests failed with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index 0def53993949..529c10412e13 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1 +1,2 @@ DIST filesystem_spec-2023.6.0.gh.tar.gz 386708 BLAKE2B e47825893073d969eff8c7936068c26bed270d3b65fb4407f64b5032ce8e71b7794ae6b3ae16fb08ec3e1e2f830b2fce7fa238fd8189354e8a16c618e2af7398 SHA512 ede711d22dede2deee1b36f2ca591bc96a8f1b66d6cb16cc2ad6e1776ea441a1c73382b7622262872a3f5fff92b15ba6bdabaca80fd0ed898b7ddcac02792cf7 +DIST filesystem_spec-2023.9.0.gh.tar.gz 399288 BLAKE2B 47317bf4c50dc2e4dd541100d67989c16fcd9a0d21f2b871386cf2c379389487f51af5b81420b9b455ec083e250e2bb1b0da8243b25512f6ad227b1c16357741 SHA512 4a19f24fa3e41da0aa6f7b22b1720ee093260c5b3ff9547f678ea00887f8d12cb048dad6b2a27ea3743d3cca7837a19b061a63c5d96e10227139ebdefcaec3d0 diff --git a/dev-python/fsspec/fsspec-2023.9.0.ebuild b/dev-python/fsspec/fsspec-2023.9.0.ebuild new file mode 100644 index 000000000000..77903b17db10 --- /dev/null +++ b/dev-python/fsspec/fsspec-2023.9.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 2020-2023 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} ) + +inherit distutils-r1 + +MY_P=filesystem_spec-${PV} +DESCRIPTION="A specification that python filesystems should adhere to" +HOMEPAGE=" + https://github.com/fsspec/filesystem_spec/ + https://pypi.org/project/fsspec/ +" +SRC_URI=" + https://github.com/fsspec/filesystem_spec/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +src_test() { + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + distutils-r1_src_test +} + +EPYTEST_DESELECT=( + fsspec/tests/test_spec.py::test_find + # requires s3fs + fsspec/implementations/tests/test_local.py::test_urlpath_inference_errors + fsspec/tests/test_core.py::test_mismatch + # requires pyarrow, fastparquet + fsspec/implementations/tests/test_reference.py::test_df_single + fsspec/implementations/tests/test_reference.py::test_df_multi +) + +EPYTEST_IGNORE=( + # sftp and smb require server started via docker + fsspec/implementations/tests/test_dbfs.py + fsspec/implementations/tests/test_sftp.py + fsspec/implementations/tests/test_smb.py + # unhappy about dev-python/fuse-python (?) + fsspec/tests/test_fuse.py +) diff --git a/dev-python/gphoto2/Manifest b/dev-python/gphoto2/Manifest index 5112f9baa7dd..6d001ca4c593 100644 --- a/dev-python/gphoto2/Manifest +++ b/dev-python/gphoto2/Manifest @@ -1,2 +1,2 @@ -DIST gphoto2-2.3.6.tar.gz 551901 BLAKE2B 74a4ff52464c8cc0d8591186309119d686b441e6c5f75f68b95b47e38f7e2fb4c5afe0505a2e12e9dfd191ba2717ba30073bba4d828b36c17a7e71ffe997df76 SHA512 eebc21fa19bde90e6c2f4f26a8aad6f302662ab3567712a3e47f0e48615dd3f1f96a956c21a74581bbf34513907f29e08bb0560ae3a1c5e24d4a1373770873a6 DIST gphoto2-2.4.0.tar.gz 531293 BLAKE2B 077d7fb8708d51c7e3dfdbdf8cccc055ade92780052163c7f4c8194b723d862c1865295739155415393030900c9397bb5ea9f4acf3e6838680011782736d7bd1 SHA512 b228fa5b8ee3c8db634bbeab6cf395f40e5b7bc1d151d3848979f7bd6373036dc19a4db030d3d62580fb78448f9b0e95408389c7faa4f75f3fb963947dfe62c6 +DIST gphoto2-2.5.0.tar.gz 565800 BLAKE2B 256f1178d33a6dade8ff8ff8c6bdfd134ac0edd7346d16901d30ea74c537d54619cd7f1008ac3d67a52e5b2398511ddc586ff93879e2668eb7fa05b5b8e7dd0b SHA512 d6139bf499baf20cf448d854e63e389b61d284fef6a30866fe6634309534dd4af57b82b80a8673f254cde9417d7f98345f24effea297f2f74a4f65dfb471da6a diff --git a/dev-python/gphoto2/gphoto2-2.3.6.ebuild b/dev-python/gphoto2/gphoto2-2.5.0.ebuild index c66983abf8c3..db6656dfbe19 100644 --- a/dev-python/gphoto2/gphoto2-2.3.6.ebuild +++ b/dev-python/gphoto2/gphoto2-2.5.0.ebuild @@ -15,9 +15,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -RDEPEND=" - media-libs/libgphoto2 -" +RDEPEND="media-libs/libgphoto2" DEPEND="${RDEPEND}" S=${WORKDIR}/python-${P} 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/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..ddb5b0f1787e 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</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/mistletoe/mistletoe-1.2.1.ebuild b/dev-python/mistletoe/mistletoe-1.2.1.ebuild index 66ba7f7f6c0c..b2f50afd4d79 100644 --- a/dev-python/mistletoe/mistletoe-1.2.1.ebuild +++ b/dev-python/mistletoe/mistletoe-1.2.1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm64 ~x86" +KEYWORDS="amd64 arm64 x86" # NB: pygments is technically optional but we like syntax highlighting RDEPEND=" diff --git a/dev-python/mkdocstrings/Manifest b/dev-python/mkdocstrings/Manifest index a27f500a5959..f3a522f3f31f 100644 --- a/dev-python/mkdocstrings/Manifest +++ b/dev-python/mkdocstrings/Manifest @@ -1 +1,2 @@ DIST mkdocstrings-0.22.0.gh.tar.gz 81345 BLAKE2B ee2bcc0084c5d17368bc1a04db2f097f997872b38fd6b3d32f7daaefe78a496bb0a23d6588458a65b827954382e11c6b6d81baa2117af4b3341e9e727c616ca0 SHA512 c6226d50aaf029a139f51bb1f7101446e11a3e1337f7cd1c9324a2e258753cf25911b2da7042a08a64ae4cf51987b0b2a6ab752af408cdb54d436bcc908d66ff +DIST mkdocstrings-0.23.0.gh.tar.gz 80975 BLAKE2B fb561b46f98372093846d28890b3d7e1a65f89007a6d321c08535eeefc82ee9c06d447c594a53ef2109ed58286d8e1a8202e1678f77328c3ec5a3150bfc129ea SHA512 e1d9be20691f2272d64d746dd6af8c152f7d6eabef1e6c03f7e0b36af4e04591a8d878d036c0bb448483759311abc652db09e5b705569ddb83f81ad785ad5005 diff --git a/dev-python/mkdocstrings/mkdocstrings-0.23.0.ebuild b/dev-python/mkdocstrings/mkdocstrings-0.23.0.ebuild new file mode 100644 index 000000000000..09ff5850c88b --- /dev/null +++ b/dev-python/mkdocstrings/mkdocstrings-0.23.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 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} ) + +inherit distutils-r1 + +DESCRIPTION="Automatic documentation from sources, for MkDocs" +HOMEPAGE=" + https://mkdocstrings.github.io/ + https://github.com/mkdocstrings/mkdocstrings/ + https://pypi.org/project/mkdocstrings/ +" +# Tests require files absent from PyPI tarballs +SRC_URI=" + https://github.com/mkdocstrings/mkdocstrings/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + >=dev-python/jinja-2.11.1[${PYTHON_USEDEP}] + >=dev-python/markdown-3.3[${PYTHON_USEDEP}] + >=dev-python/markupsafe-1.1[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.5[${PYTHON_USEDEP}] + >=dev-python/mkdocs-autorefs-0.3.1[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-6.3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mkdocs-material[${PYTHON_USEDEP}] + dev-python/mkdocstrings-python[${PYTHON_USEDEP}] + ) +" + +# mkdocstrings documentation generation requires several currently +# unpackaged mkdocs extensions and plug-ins, and this test +# makes use of mkdocs configuration +EPYTEST_DESELECT=( + tests/test_plugin.py::test_disabling_plugin + # WTF, it tries to unlink installed files from installed package?! + tests/test_handlers.py::test_extended_templates + # TODO: package markdown-exec + tests/test_inventory.py::test_sphinx_load_mkdocstrings_inventory_file + # Internet + tests/test_inventory.py::test_load_inventory +) + +distutils_enable_tests pytest + +export PDM_BUILD_SCM_VERSION=${PV} diff --git a/dev-python/peewee/Manifest b/dev-python/peewee/Manifest index c71a992f9a73..adb8e22e753e 100644 --- a/dev-python/peewee/Manifest +++ b/dev-python/peewee/Manifest @@ -1,2 +1 @@ -DIST peewee-3.16.2.gh.tar.gz 912162 BLAKE2B d865a63fb0eeff064b6655029741291ebd002ffa428fe98f87b319874713064eed9500fb45e3710b7e1223ea2537408d51dc4a6f40b525467f074f225c05bf20 SHA512 7e507d9f2ace45c5ec482d657e7722812fae10eea9a23b12caf2611d3739bc6dc70800f21d606d5e854e3209dd6d2ff73b93f004515f6549c3bbc423bce650d8 DIST peewee-3.16.3.gh.tar.gz 913271 BLAKE2B c243eaa0baa1289030f294141a0fa469682272b87aa9cf89cc2ff628c0f35e6824ee6215c11c12dbc992f210afbd2c9e5efebbc9efa402d92cc2de77dd574e5f SHA512 e940c0fc78c736477b2550379912587f2129bf6c11252a04188a70d260410539ef90879dcf4145466c3276130b33c85b53db80afb5503b7b76693155d5f8abbe diff --git a/dev-python/peewee/files/peewee-3.16.2-cython3.patch b/dev-python/peewee/files/peewee-3.16.2-cython3.patch deleted file mode 100644 index 5ddbd7ae9377..000000000000 --- a/dev-python/peewee/files/peewee-3.16.2-cython3.patch +++ /dev/null @@ -1,102 +0,0 @@ -https://github.com/coleifer/peewee/commit/83c6b78bd5df2c8c942f4fc32c4daedde01e8a63 - -From 83c6b78bd5df2c8c942f4fc32c4daedde01e8a63 Mon Sep 17 00:00:00 2001 -From: Charles Leifer <coleifer@gmail.com> -Date: Tue, 18 Jul 2023 17:37:27 -0500 -Subject: [PATCH] Changes for Cython 3.0 - ---- a/playhouse/_sqlite_ext.pyx -+++ b/playhouse/_sqlite_ext.pyx -@@ -386,7 +386,7 @@ ctypedef struct peewee_cursor: - # We define an xConnect function, but leave xCreate NULL so that the - # table-function can be called eponymously. - cdef int pwConnect(sqlite3 *db, void *pAux, int argc, const char *const*argv, -- sqlite3_vtab **ppVtab, char **pzErr) with gil: -+ sqlite3_vtab **ppVtab, char **pzErr) noexcept with gil: - cdef: - int rc - object table_func_cls = <object>pAux -@@ -407,7 +407,7 @@ cdef int pwConnect(sqlite3 *db, void *pAux, int argc, const char *const*argv, - return rc - - --cdef int pwDisconnect(sqlite3_vtab *pBase) with gil: -+cdef int pwDisconnect(sqlite3_vtab *pBase) noexcept with gil: - cdef: - peewee_vtab *pVtab = <peewee_vtab *>pBase - object table_func_cls = <object>(pVtab.table_func_cls) -@@ -419,7 +419,8 @@ cdef int pwDisconnect(sqlite3_vtab *pBase) with gil: - - # The xOpen method is used to initialize a cursor. In this method we - # instantiate the TableFunction class and zero out a new cursor for iteration. --cdef int pwOpen(sqlite3_vtab *pBase, sqlite3_vtab_cursor **ppCursor) with gil: -+cdef int pwOpen(sqlite3_vtab *pBase, sqlite3_vtab_cursor **ppCursor) \ -+ noexcept with gil: - cdef: - peewee_vtab *pVtab = <peewee_vtab *>pBase - peewee_cursor *pCur = <peewee_cursor *>0 -@@ -443,7 +444,7 @@ cdef int pwOpen(sqlite3_vtab *pBase, sqlite3_vtab_cursor **ppCursor) with gil: - return SQLITE_OK - - --cdef int pwClose(sqlite3_vtab_cursor *pBase) with gil: -+cdef int pwClose(sqlite3_vtab_cursor *pBase) noexcept with gil: - cdef: - peewee_cursor *pCur = <peewee_cursor *>pBase - object table_func = <object>pCur.table_func -@@ -454,7 +455,7 @@ cdef int pwClose(sqlite3_vtab_cursor *pBase) with gil: - - # Iterate once, advancing the cursor's index and assigning the row data to the - # `row_data` field on the peewee_cursor struct. --cdef int pwNext(sqlite3_vtab_cursor *pBase) with gil: -+cdef int pwNext(sqlite3_vtab_cursor *pBase) noexcept with gil: - cdef: - peewee_cursor *pCur = <peewee_cursor *>pBase - object table_func = <object>pCur.table_func -@@ -483,7 +484,7 @@ cdef int pwNext(sqlite3_vtab_cursor *pBase) with gil: - - # Return the requested column from the current row. - cdef int pwColumn(sqlite3_vtab_cursor *pBase, sqlite3_context *ctx, -- int iCol) with gil: -+ int iCol) noexcept with gil: - cdef: - bytes bval - peewee_cursor *pCur = <peewee_cursor *>pBase -@@ -502,7 +503,7 @@ cdef int pwColumn(sqlite3_vtab_cursor *pBase, sqlite3_context *ctx, - return python_to_sqlite(ctx, row_data[iCol]) - - --cdef int pwRowid(sqlite3_vtab_cursor *pBase, sqlite3_int64 *pRowid): -+cdef int pwRowid(sqlite3_vtab_cursor *pBase, sqlite3_int64 *pRowid) noexcept: - cdef: - peewee_cursor *pCur = <peewee_cursor *>pBase - pRowid[0] = <sqlite3_int64>pCur.idx -@@ -510,7 +511,7 @@ cdef int pwRowid(sqlite3_vtab_cursor *pBase, sqlite3_int64 *pRowid): - - - # Return a boolean indicating whether the cursor has been consumed. --cdef int pwEof(sqlite3_vtab_cursor *pBase): -+cdef int pwEof(sqlite3_vtab_cursor *pBase) noexcept: - cdef: - peewee_cursor *pCur = <peewee_cursor *>pBase - return 1 if pCur.stopped else 0 -@@ -520,7 +521,8 @@ cdef int pwEof(sqlite3_vtab_cursor *pBase): - # get access to the parameters that the function was called with, and call the - # TableFunction's `initialize()` function. - cdef int pwFilter(sqlite3_vtab_cursor *pBase, int idxNum, -- const char *idxStr, int argc, sqlite3_value **argv) with gil: -+ const char *idxStr, int argc, sqlite3_value **argv) \ -+ noexcept with gil: - cdef: - peewee_cursor *pCur = <peewee_cursor *>pBase - object table_func = <object>pCur.table_func -@@ -572,7 +574,7 @@ cdef int pwFilter(sqlite3_vtab_cursor *pBase, int idxNum, - # SQLite will (in some cases, repeatedly) call the xBestIndex method to try and - # find the best query plan. - cdef int pwBestIndex(sqlite3_vtab *pBase, sqlite3_index_info *pIdxInfo) \ -- with gil: -+ noexcept with gil: - cdef: - int i - int col_idx - diff --git a/dev-python/peewee/peewee-3.16.2-r1.ebuild b/dev-python/peewee/peewee-3.16.2-r1.ebuild deleted file mode 100644 index 652cf89e3f26..000000000000 --- a/dev-python/peewee/peewee-3.16.2-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -DESCRIPTION="Small Python ORM" -HOMEPAGE=" - https://github.com/coleifer/peewee/ - https://pypi.org/project/peewee/ -" -SRC_URI=" - https://github.com/coleifer/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" -IUSE="examples +native-extensions test" -RESTRICT="!test? ( test )" - -DEPEND=" - native-extensions? ( dev-db/sqlite:3= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}"/${P}-cython3.patch -) - -distutils_enable_sphinx docs - -src_compile() { - # native-extensions are always disabled on PyPy - # https://github.com/coleifer/peewee/blob/master/setup.py#L35..L37 - if ! use native-extensions; then - local -x NO_SQLITE=1 - fi - - distutils-r1_src_compile -} - -python_test() { - "${EPYTHON}" runtests.py -v 2 || die "tests failed under ${EPYTHON}" -} - -python_install_all() { - use examples && DOCS=( examples/ ) - distutils-r1_python_install_all -} diff --git a/dev-python/peewee/peewee-3.16.2.ebuild b/dev-python/peewee/peewee-3.16.2.ebuild deleted file mode 100644 index 74bf73c80c2d..000000000000 --- a/dev-python/peewee/peewee-3.16.2.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -DESCRIPTION="Small Python ORM" -HOMEPAGE=" - https://github.com/coleifer/peewee/ - https://pypi.org/project/peewee/ -" -SRC_URI=" - https://github.com/coleifer/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" -IUSE="examples +native-extensions test" -RESTRICT="!test? ( test )" - -DEPEND=" - native-extensions? ( dev-db/sqlite:3= ) -" -RDEPEND=" - ${DEPEND} -" -# <cython-3 for bug #911412 -BDEPEND=" - <dev-python/cython-3[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx docs - -src_compile() { - if ! use native-extensions; then - local -x NO_SQLITE=1 - fi - - distutils-r1_src_compile -} - -python_test() { - "${EPYTHON}" runtests.py -v 2 || die "tests failed under ${EPYTHON}" -} - -python_install_all() { - use examples && DOCS=( examples/ ) - distutils-r1_python_install_all -} diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest index 38088d936aea..ad574c727fd7 100644 --- a/dev-python/rich/Manifest +++ b/dev-python/rich/Manifest @@ -1,4 +1,2 @@ DIST rich-13.4.2.gh.tar.gz 15063000 BLAKE2B f65079440bc7d89a3ff03be01fa71e076493ae50f22ae8781be2448a7ff2769c174d6654db3a835d34720c34cd8cbecfdd6b13e3064cf7fdcade71806563309d SHA512 17052a9fb0e1d89b31a00d8a719214719891d048fd805185b2d4258c8766130f44bf2280c9567bc162f3b34d9bf2eb7d747d6a37d910c81cd53d3003b51f70bd -DIST rich-13.5.0.gh.tar.gz 15064859 BLAKE2B 70122d319145ed8ba7ce9caa5bb79600b3b66adb897a6555c02d4d5f41ab7aa36298bbc890ce2a895a7968f0fd4c6b15b3f4772a2cf867a56cbd9755442ac0cd SHA512 0c7c62d99b15fecfc54b955e01e88eae6dc5fee7dc56749f8b9c9447425a5c32b89d19b1132c72a32204a1df0a14268e2b0797a3ba3e164dc94f72858f790a17 -DIST rich-13.5.1.gh.tar.gz 15064870 BLAKE2B 0d3ced34100eba982aae578f9b3dd304711000aa36a5b4c802a472ec2deeea1b82b53006a91b1f35342131663b93b7c47b8026e3af822b07d01fe4307f2f57f4 SHA512 445f426cece2a18c1181aa5c7e91387bc7059b330b142a1838391619a34122bd6da4334bcf7b53854f3ccf25231de98fed7e3319604c9d1b01a55af3260030f3 DIST rich-13.5.2.gh.tar.gz 15064941 BLAKE2B 64f7e879588c42db9ac4f2173647143722c1de4865479b975ac5362e8073f60b493193abb0f50fb0d85923fdbe4145b2331fff7564ab78e3b43bc3a1be9d461c SHA512 60dfc66836f277763695611f6a3890da21afbb84bd85f38952efdac78680a8e3faca2e8c0aa937d618f876df1f36d3e67986979aa4fa9b6cb7dfb214f348b8aa diff --git a/dev-python/rich/rich-13.5.0.ebuild b/dev-python/rich/rich-13.5.0.ebuild deleted file mode 100644 index 55e6fe8a25d8..000000000000 --- a/dev-python/rich/rich-13.5.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python library for rendering rich text, tables, etc. to the terminal" -HOMEPAGE=" - https://github.com/Textualize/rich/ - https://pypi.org/project/rich/ -" -SRC_URI=" - https://github.com/Textualize/rich/archive/v${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" - -RDEPEND=" - dev-python/colorama[${PYTHON_USEDEP}] - >=dev-python/markdown-it-py-2.2.0[${PYTHON_USEDEP}] - >=dev-python/pygments-2.13.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - local -x COLUMNS=80 - local EPYTEST_DESELECT=( - # TODO - tests/test_console.py::test_size_can_fall_back_to_std_descriptors - tests/test_inspect.py::test_inspect_integer_with_methods_python38_and_python39 - # pygments? - tests/test_syntax.py::test_python_render_simple_indent_guides - tests/test_syntax.py::test_python_render_line_range_indent_guides - ) - # version-specific output -- the usual deal - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # pypy3.10, to be more precise - tests/test_inspect.py::test_inspect_integer_with_methods_python310only - ) - ;; - python3.12) - EPYTEST_DESELECT+=( - tests/test_inspect.py::test_inspect_builtin_function_except_python311 - tests/test_inspect.py::test_inspect_integer_with_methods_python310only - tests/test_inspect.py::test_inspect_integer_with_methods_python311_and_above - tests/test_pretty.py::test_attrs_broken - ) - ;; - esac - epytest -p no:pytest-qt -} - -pkg_postinst() { - optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets -} diff --git a/dev-python/rich/rich-13.5.1.ebuild b/dev-python/rich/rich-13.5.1.ebuild deleted file mode 100644 index 55e6fe8a25d8..000000000000 --- a/dev-python/rich/rich-13.5.1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python library for rendering rich text, tables, etc. to the terminal" -HOMEPAGE=" - https://github.com/Textualize/rich/ - https://pypi.org/project/rich/ -" -SRC_URI=" - https://github.com/Textualize/rich/archive/v${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" - -RDEPEND=" - dev-python/colorama[${PYTHON_USEDEP}] - >=dev-python/markdown-it-py-2.2.0[${PYTHON_USEDEP}] - >=dev-python/pygments-2.13.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - local -x COLUMNS=80 - local EPYTEST_DESELECT=( - # TODO - tests/test_console.py::test_size_can_fall_back_to_std_descriptors - tests/test_inspect.py::test_inspect_integer_with_methods_python38_and_python39 - # pygments? - tests/test_syntax.py::test_python_render_simple_indent_guides - tests/test_syntax.py::test_python_render_line_range_indent_guides - ) - # version-specific output -- the usual deal - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # pypy3.10, to be more precise - tests/test_inspect.py::test_inspect_integer_with_methods_python310only - ) - ;; - python3.12) - EPYTEST_DESELECT+=( - tests/test_inspect.py::test_inspect_builtin_function_except_python311 - tests/test_inspect.py::test_inspect_integer_with_methods_python310only - tests/test_inspect.py::test_inspect_integer_with_methods_python311_and_above - tests/test_pretty.py::test_attrs_broken - ) - ;; - esac - epytest -p no:pytest-qt -} - -pkg_postinst() { - optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets -} diff --git a/dev-python/rich/rich-13.5.2.ebuild b/dev-python/rich/rich-13.5.2.ebuild index 55e6fe8a25d8..8a9b5ebc304e 100644 --- a/dev-python/rich/rich-13.5.2.ebuild +++ b/dev-python/rich/rich-13.5.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/colorama[${PYTHON_USEDEP}] diff --git a/dev-python/soupsieve/Manifest b/dev-python/soupsieve/Manifest index 1d50cb39e822..2ce27614daf4 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.5.gh.tar.gz 104832 BLAKE2B 8f3f2079e3ac758bb4459529e92015348e628be37f828c14d6729505097f208a2d88c2d315e0ff8c33ff3fcec7fc670df38c0a685dfb492c8f40d5a95d5f9d18 SHA512 5b3bb1f8ea84c69a97b273c87f385513baf9f0c49f5cf822120e4a73c16801ad8eb65f7ac32f83091b3efac716b3a7097b7511273e7fb8079f49ca6caa238656 diff --git a/dev-python/soupsieve/soupsieve-2.5.ebuild b/dev-python/soupsieve/soupsieve-2.5.ebuild new file mode 100644 index 000000000000..830413cd77f7 --- /dev/null +++ b/dev-python/soupsieve/soupsieve-2.5.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_{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/soupsieve/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/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest index d66e3533cf4f..73f1149dc831 100644 --- a/dev-python/translate-toolkit/Manifest +++ b/dev-python/translate-toolkit/Manifest @@ -1,2 +1 @@ DIST translate-3.10.0.gh.tar.gz 1195239 BLAKE2B be1e2925632d032081a07cd99d540a90f4526810d5a9f587b4c651c41f7afe53ec212b408dfb81bf57a74fb286124c49b5b7f9f56a9c4b861c8874c7c6986532 SHA512 9669e4eccb68eab93ed7a35e2673df4f60bcc9602c4d97954180a8eb7e92ad9b82d2c8ef0caa8d8ce19ee2ae58e04867729bfd326c9e1a11a451d702372377fe -DIST translate-3.9.2.gh.tar.gz 1175987 BLAKE2B 1d187f56f2cb003690038489bf2f788c8f60e9aef522642439f1ee169c7722f8b5646114e3fef2e6ba8f4b3a02ae27a58241c25a146dc6b0b7c8fbbe4044d1b5 SHA512 23c8238ee65ede57654e86e255608211b5f183b18bf7c2865fc5621a77619f1ad798b6e3be907adfa0db883b750db2d3be89001335d25afe6b259d8e91ba509c diff --git a/dev-python/translate-toolkit/translate-toolkit-3.10.0.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.10.0.ebuild index 718d107f1be3..c1549d2974df 100644 --- a/dev-python/translate-toolkit/translate-toolkit-3.10.0.ebuild +++ b/dev-python/translate-toolkit/translate-toolkit-3.10.0.ebuild @@ -23,7 +23,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 arm64 ~x86" +KEYWORDS="amd64 arm64 x86" IUSE="+html +ical +ini +subtitles +yaml" RDEPEND=" diff --git a/dev-python/translate-toolkit/translate-toolkit-3.9.2.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.9.2.ebuild deleted file mode 100644 index 519edb970633..000000000000 --- a/dev-python/translate-toolkit/translate-toolkit-3.9.2.ebuild +++ /dev/null @@ -1,119 +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_{8,9,10,11} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -MY_P=translate-${PV} -DESCRIPTION="Toolkit to convert between many translation formats" -HOMEPAGE=" - https://github.com/translate/translate/ - https://pypi.org/project/translate-toolkit/ -" -SRC_URI=" - https://github.com/translate/translate/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S="${WORKDIR}"/${MY_P} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm64 x86" -IUSE="+html +ical +ini +subtitles +yaml" - -RDEPEND=" - app-text/iso-codes - >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] - dev-python/cheroot[${PYTHON_USEDEP}] - >=dev-python/Levenshtein-0.12.0[${PYTHON_USEDEP}] - >=dev-python/lxml-4.3.1[${PYTHON_USEDEP}] - >=dev-python/pycountry-19.8.18[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - sys-devel/gettext - html? ( dev-python/utidylib[${PYTHON_USEDEP}] ) - ical? ( dev-python/vobject[${PYTHON_USEDEP}] ) - ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] ) - subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] ) - yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) -" -# Technically, the test suite also has undeclared dependency -# on dev-python/snapshottest but all the tests using it are broken -# anyway, so we skip them. -BDEPEND=" - test? ( - dev-python/phply[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_test() { - # unfortunately, this bad quality package doesn't support XDG_DATA_DIRS - # correctly, so we need to reassemble all data files in a single directory - local -x XDG_DATA_HOME=${T}/share - cp -r translate/share "${T}/" || die - cp -r "${ESYSROOT}/usr/share"/gaupol "${XDG_DATA_HOME}"/ || die - - distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # Fails with network-sandbox (and even with it off but w/ softer fail) - 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' - 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' - # all tests based on snapshottest are broken and I'm too tired - # to figure this out - translate/tools/test_pocount.py::test_cases - translate/tools/test_pocount.py::test_output - translate/tools/test_junitmsgfmt.py::test_output - ) - local EPYTEST_IGNORE=( - # unpackaged fluent.* - translate/storage/test_fluent.py - # changes directory and does not change it back, sigh - tests/odf_xliff/test_odf_xliff.py - ) - - if ! use ini; then - EPYTEST_IGNORE+=( - translate/convert/test_ini2po.py - translate/convert/test_po2ini.py - ) - fi - - if ! use subtitles; then - EPYTEST_IGNORE+=( - translate/storage/test_subtitles.py - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -python_install_all() { - distutils-r1_python_install_all - - insinto /usr - doins -r translate/share - - if ! use html; then - rm "${ED}"/usr/bin/{html2po,po2html} || die - fi - if ! use ical; then - rm "${ED}"/usr/bin/{ical2po,po2ical} || die - fi - if ! use ini; then - rm "${ED}"/usr/bin/{ini2po,po2ini} || die - fi - if ! use subtitles; then - rm "${ED}"/usr/bin/{sub2po,po2sub} || die - fi -} diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest index 94acadcaefcc..cc07b0a86b16 100644 --- a/dev-python/typeguard/Manifest +++ b/dev-python/typeguard/Manifest @@ -1,6 +1,2 @@ -DIST typeguard-4.0.0.tar.gz 66064 BLAKE2B 250ef359fedb83df7573c9acb97f80fbf1d5b949505deb3d3757422aedadda65a106bf9533d858e13e2c49e0212a40a8604fa2edc8b24903e374a678985f4c85 SHA512 2acf8b9aabaa8d4cce75e1ff23aeae4d1445bdfc28044c74b8e96127b1e740287e5da89bd49bea92229ba5c02c7cec3b0e25126fa35eb5163b798b2087b1df6a -DIST typeguard-4.0.1.tar.gz 67242 BLAKE2B bf0b092402e4044675f1252a1ad4657fa8ec316bfda5e0afcce609f616e8d86998c059544ebbeea73eb5fa627eeae9371d46581b33891319f7b2385faa359310 SHA512 2e93086309550d6b98f2087a8900797ab9486c1a969da649d1a6cb508f6154b57b6807762e87df43088f80b69bcc11f87c71d83b38ca205d3ad8878a2cd4eb0e DIST typeguard-4.1.0.tar.gz 67584 BLAKE2B d2f6777cad306410d4a536312a981600371e0e0cae224eee286e3b6bd48a0777ca587eb44b4f48fd9a2c7fe5e35d274f5d1c2eb508ed9708b25b686b395976fb SHA512 5a1a374c1b9679cf1d840a750698caea47deae0fcec8eda3312773fd8eee8ccc533030b78c8e1c8bfae6bee79c323ba421176b2c8d2e85a87444ba767891ede7 -DIST typeguard-4.1.1.tar.gz 67711 BLAKE2B e4fd162d858907afea9e4bbaed7960fb3e8728acfa921cf889ba53422d21a09e5a0811b942aa7db564cc247d43ea3dca12f9124ae4ae54e3e4d6804dc443c35a SHA512 93a9f7ae5eabee85b133024971019647b6f49eff12059fdcfbf76927585362734c9db6e9c42dcbd97d63d498fd06d240f882fe8cd08a854c2214241e3a2bd1b2 -DIST typeguard-4.1.2.tar.gz 67758 BLAKE2B 89d9502ac3d3685ca7b3dcbf0725a4a758fa3dff97a69eb64447e61e27629a5aa2cf4bd8fddfe8d552a383487329c22818030100a20642a71eed21780018d778 SHA512 4fc45a725d1aaaab01fa0f88711965d7d859111857df6f4e480daa73119d3c8da3f987ddec39c22ede74fbb7fe1278f4a62fdc468aa1699d19ae700af0317760 DIST typeguard-4.1.3.tar.gz 67821 BLAKE2B 66373b95f9f3c995ad560f4f35318647a6dd8581b1b7ad1a4adbc3f4944a7ca130cc3291d12b062b3c0d05f82ad254249a80ececa5984f4d16fd093deeecc1fb SHA512 bf9914ac33b3c7afb439e96c9319f79ee67591d3bfa7da1f0df50ba7b2bbaf0c3705d45d9fe7215b132f838f4d57ae2c0abe1f4b90c4199520601453d2ca04f8 diff --git a/dev-python/typeguard/typeguard-4.0.0.ebuild b/dev-python/typeguard/typeguard-4.0.0.ebuild deleted file mode 100644 index 523a1cc1c2a6..000000000000 --- a/dev-python/typeguard/typeguard-4.0.0.ebuild +++ /dev/null @@ -1,42 +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_{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/typing-extensions-4.4.0[${PYTHON_USEDEP}] - ' 3.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-4.0.1.ebuild b/dev-python/typeguard/typeguard-4.0.1.ebuild deleted file mode 100644 index 18d69019e2e3..000000000000 --- a/dev-python/typeguard/typeguard-4.0.1.ebuild +++ /dev/null @@ -1,42 +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_{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/typing-extensions-4.7.0[${PYTHON_USEDEP}] - ' 3.{10..11}) -" -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-4.1.1.ebuild b/dev-python/typeguard/typeguard-4.1.1.ebuild deleted file mode 100644 index 18d69019e2e3..000000000000 --- a/dev-python/typeguard/typeguard-4.1.1.ebuild +++ /dev/null @@ -1,42 +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_{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/typing-extensions-4.7.0[${PYTHON_USEDEP}] - ' 3.{10..11}) -" -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-4.1.2.ebuild b/dev-python/typeguard/typeguard-4.1.2.ebuild deleted file mode 100644 index 18d69019e2e3..000000000000 --- a/dev-python/typeguard/typeguard-4.1.2.ebuild +++ /dev/null @@ -1,42 +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_{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/typing-extensions-4.7.0[${PYTHON_USEDEP}] - ' 3.{10..11}) -" -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/validators/Manifest b/dev-python/validators/Manifest index 70049c70e167..e6871142fed5 100644 --- a/dev-python/validators/Manifest +++ b/dev-python/validators/Manifest @@ -1,2 +1,3 @@ DIST validators-0.20.0.tar.gz 30665 BLAKE2B 7534c4970ab288cc02794176e0b3368ed2d4035d602d36ecadad84fb4a41407210b22a8ed1230650f4f247ba1552634aa500fea5c2f03f5e13d6e1120e62b15b SHA512 2f3d9caac9246b346e10604758168092ac483fe6e4a0c9470900e49719fbbebfd18e03aca525f8cca33cec224589aee28de3ea9bf5cd4941a49715d4216dba20 DIST validators-0.21.2.tar.gz 40739 BLAKE2B 0420a1a56c3ceb96062d9a78c78be8151f94eba2a8cc06db7003ceebbb535eb55810289bf5787a24807d9c0556ce0621b7fc159ddd1c62fe28ae0dc61f257b58 SHA512 558630849f6c81b13f7043f5713c160f0cdcc94c7d90c9e13c97ab972c1bf74df9a9d889b50238f7239c6885a34549a8a209b3a325d62291d93073b9cad18d08 +DIST validators-0.22.0.tar.gz 41479 BLAKE2B b949ce879df0885c201a972cce746d22810b6338c820f9aad71941b5277b8e14a4b367aa2c18421dd4643dc2ce7247e7bc9511eec5ffe7f737ed07d213b862b0 SHA512 2024f0b33c142537f160086d2c2e511342af283dfed2d9a9ff19877a7897c64b3f2f1f48ee451c38f7fd63374e2e7ce17d0340afc71cb6d272837a37f212142d diff --git a/dev-python/validators/validators-0.22.0.ebuild b/dev-python/validators/validators-0.22.0.ebuild new file mode 100644 index 000000000000..13fbf57df848 --- /dev/null +++ b/dev-python/validators/validators-0.22.0.ebuild @@ -0,0 +1,21 @@ +# 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_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python Data Validation for Humans" +HOMEPAGE=" + https://github.com/python-validators/validators/ + https://pypi.org/project/validators/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~s390 ~sparc ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/xxhash/Manifest b/dev-python/xxhash/Manifest index 5c2639f65c74..fc5308e36143 100644 --- a/dev-python/xxhash/Manifest +++ b/dev-python/xxhash/Manifest @@ -1,2 +1 @@ -DIST xxhash-3.2.0.tar.gz 74561 BLAKE2B d2c32b9a556eaaa67d961e130b017ff82944fbec983f24e0356436a7a23927faaba118328eff508e288e0757a1379b5ff88a48c2130eb9b3cf347e178cfc810d SHA512 bbe903b95de3e91177064986adc5c945a9b7058650ea2b5cc10ee162a15a42909dc69f95b86081b8d276960f309b4bacf895ad263a9d9188fa66bb216d76dcd5 DIST xxhash-3.3.0.tar.gz 84262 BLAKE2B 9655bed8c30e8ecc7b3f12bebe9f845412e4fbc24daef11570eb8bf78deaf78fe4ea874a5ed334c965c055e6ad4e32f03f025d3ed815bb7a2249e8f80a0b04b0 SHA512 1418e0ff8d7dca7759bfe048ee42c2b1168b68ec69f431622f065c28bcf65b2e21f5951a8651f2151a17f8d1b19b47d5c305a545ae1e0d427c7cadf29e94b968 diff --git a/dev-python/xxhash/xxhash-3.2.0.ebuild b/dev-python/xxhash/xxhash-3.2.0.ebuild deleted file mode 100644 index eabc53d6ba13..000000000000 --- a/dev-python/xxhash/xxhash-3.2.0.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_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python binding for the xxHash library" -HOMEPAGE=" - https://github.com/ifduyue/python-xxhash/ - https://pypi.org/project/xxhash/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" - -DEPEND=" - >=dev-libs/xxhash-0.8.0 -" -RDEPEND=" - ${DEPEND} -" - -distutils_enable_tests unittest - -python_configure_all() { - export XXHASH_LINK_SO=1 -} - -python_test() { - cd tests || die - eunittest -} diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 54aeccfaddb8..2e2008650c17 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -3,3 +3,4 @@ DIST zeroconf-0.86.0.tar.gz 149030 BLAKE2B d2ea241bcd1416517d8ac9e98c205c956419b DIST zeroconf-0.87.0.tar.gz 149844 BLAKE2B ef946a08b97493e536560178cc6516d86c8315b8db16d59867e7979d6f35a514f27d6cde401a7de5ec23b20f37f35ddde59ce6addd545d7640e3f15560859637 SHA512 cec7ea7e9bbac068b6ed6528a284de29c88ba0d4fc0ccf077b6520a4c0ea38964dc6971fdd34af3cf273dbcf1c9c34aac43d92e40217b0d192a58ff6610314e0 DIST zeroconf-0.88.0.tar.gz 150009 BLAKE2B 45a8abca7bbda4246af8838818cffda445bae082e11f90716b7c358dcf4c3524a2bd89e9d4c270e6a21af46c2c02b0e61c4af354091410108a6f4453021df525 SHA512 4235e6e75956748792ed1b84dff24861a487fe06a43f7978137e9f6516b8591d77c1254a6425a29125a5ee8843a3d4e5f1f02c1753b7a29553809e2abd1e6f1a DIST zeroconf-0.90.0.tar.gz 150318 BLAKE2B 5239571a4b65f736a799b285d11221636a26d6cf19625bd276baa346a61420519698e13bcfa5909a5ece3026aeb2229a143824915d15ee1d01bfc7c9ef956809 SHA512 82c8d9410f0f6fe0f2ab3136034f4d62752eec0b4c3e5acc0689a0aa817fd9aa33555a0b92f18c224a3ac8b90dd583d77bf372637a20b889d0d8be9e4d8e0458 +DIST zeroconf-0.91.1.tar.gz 150551 BLAKE2B 220e6b5684d503c7d1c594196ffa7ecc4f06975accad2ad64a6dd0a75881326110bbf897e74a2a176307fc392fc9fce903c77bbf9fc70fec84f193072bd7a016 SHA512 852946a2f823de1dc25dda5321ec23c67e3893fd8dcf55391e001afb01eb4c8143813aaa0950fddbea6634975eb0904a6e3b500cbe082e843da301c0cd704e9a diff --git a/dev-python/zeroconf/zeroconf-0.91.1.ebuild b/dev-python/zeroconf/zeroconf-0.91.1.ebuild new file mode 100644 index 000000000000..3df0828376ec --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.91.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE=" + https://github.com/python-zeroconf/python-zeroconf/ + https://pypi.org/project/zeroconf/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export REQUIRE_CYTHON=1 + +python_test() { + local -x SKIP_IPV6=1 + local EPYTEST_DESELECT=( + # network + tests/test_core.py::Framework::test_close_multiple_times + tests/test_core.py::Framework::test_launch_and_close + tests/test_core.py::Framework::test_launch_and_close_context_manager + + # fragile to timeouts (?) + tests/services/test_browser.py::test_service_browser_expire_callbacks + tests/utils/test_asyncio.py::test_run_coro_with_timeout + ) + + epytest -o addopts= +} |
