From 9b9df3b10cb94f71ae49783e2e18be1aa6bf5a1a Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 2 Sep 2023 20:37:58 +0000 Subject: Adding metadata --- dev-python/GitPython/GitPython-3.1.34.ebuild | 84 +++++++++++++++ dev-python/GitPython/Manifest | 2 + dev-python/asttokens/Manifest | 1 + dev-python/asttokens/asttokens-2.3.0.ebuild | 43 ++++++++ dev-python/dask/Manifest | 1 + dev-python/dask/dask-2023.9.0.ebuild | 84 +++++++++++++++ dev-python/django-environ/Manifest | 1 + .../django-environ/django-environ-0.11.2.ebuild | 24 +++++ dev-python/django-environ/metadata.xml | 4 + .../django-guardian/django-guardian-2.4.0.ebuild | 17 ++- dev-python/django-guardian/metadata.xml | 2 +- .../django-rest-framework-guardian2-0.5.0.ebuild | 19 ++-- .../django-rest-framework-guardian2/metadata.xml | 2 +- dev-python/dulwich/Manifest | 1 + dev-python/dulwich/dulwich-0.21.6.ebuild | 56 ++++++++++ dev-python/fsspec/Manifest | 1 + dev-python/fsspec/fsspec-2023.9.0.ebuild | 64 +++++++++++ dev-python/gphoto2/Manifest | 2 +- dev-python/gphoto2/gphoto2-2.3.6.ebuild | 23 ---- dev-python/gphoto2/gphoto2-2.5.0.ebuild | 21 ++++ dev-python/langdetect/Manifest | 2 - dev-python/langdetect/metadata.xml | 10 +- dev-python/mistletoe/mistletoe-1.2.1.ebuild | 2 +- dev-python/mkdocstrings/Manifest | 1 + dev-python/mkdocstrings/mkdocstrings-0.23.0.ebuild | 57 ++++++++++ dev-python/peewee/Manifest | 1 - .../peewee/files/peewee-3.16.2-cython3.patch | 102 ------------------ dev-python/peewee/peewee-3.16.2-r1.ebuild | 62 ----------- dev-python/peewee/peewee-3.16.2.ebuild | 57 ---------- dev-python/rich/Manifest | 2 - dev-python/rich/rich-13.5.0.ebuild | 65 ----------- dev-python/rich/rich-13.5.1.ebuild | 65 ----------- dev-python/rich/rich-13.5.2.ebuild | 2 +- dev-python/soupsieve/Manifest | 1 + dev-python/soupsieve/soupsieve-2.5.ebuild | 33 ++++++ dev-python/translate-toolkit/Manifest | 1 - .../translate-toolkit-3.10.0.ebuild | 2 +- .../translate-toolkit-3.9.2.ebuild | 119 --------------------- dev-python/typeguard/Manifest | 4 - dev-python/typeguard/typeguard-4.0.0.ebuild | 42 -------- dev-python/typeguard/typeguard-4.0.1.ebuild | 42 -------- dev-python/typeguard/typeguard-4.1.1.ebuild | 42 -------- dev-python/typeguard/typeguard-4.1.2.ebuild | 42 -------- dev-python/validators/Manifest | 1 + dev-python/validators/validators-0.22.0.ebuild | 21 ++++ dev-python/xxhash/Manifest | 1 - dev-python/xxhash/xxhash-3.2.0.ebuild | 38 ------- dev-python/zeroconf/Manifest | 1 + dev-python/zeroconf/zeroconf-0.91.1.ebuild | 56 ++++++++++ 49 files changed, 580 insertions(+), 746 deletions(-) create mode 100644 dev-python/GitPython/GitPython-3.1.34.ebuild create mode 100644 dev-python/asttokens/asttokens-2.3.0.ebuild create mode 100644 dev-python/dask/dask-2023.9.0.ebuild create mode 100644 dev-python/django-environ/django-environ-0.11.2.ebuild create mode 100644 dev-python/dulwich/dulwich-0.21.6.ebuild create mode 100644 dev-python/fsspec/fsspec-2023.9.0.ebuild delete mode 100644 dev-python/gphoto2/gphoto2-2.3.6.ebuild create mode 100644 dev-python/gphoto2/gphoto2-2.5.0.ebuild create mode 100644 dev-python/mkdocstrings/mkdocstrings-0.23.0.ebuild delete mode 100644 dev-python/peewee/files/peewee-3.16.2-cython3.patch delete mode 100644 dev-python/peewee/peewee-3.16.2-r1.ebuild delete mode 100644 dev-python/peewee/peewee-3.16.2.ebuild delete mode 100644 dev-python/rich/rich-13.5.0.ebuild delete mode 100644 dev-python/rich/rich-13.5.1.ebuild create mode 100644 dev-python/soupsieve/soupsieve-2.5.ebuild delete mode 100644 dev-python/translate-toolkit/translate-toolkit-3.9.2.ebuild delete mode 100644 dev-python/typeguard/typeguard-4.0.0.ebuild delete mode 100644 dev-python/typeguard/typeguard-4.0.1.ebuild delete mode 100644 dev-python/typeguard/typeguard-4.1.1.ebuild delete mode 100644 dev-python/typeguard/typeguard-4.1.2.ebuild create mode 100644 dev-python/validators/validators-0.22.0.ebuild delete mode 100644 dev-python/xxhash/xxhash-3.2.0.ebuild create mode 100644 dev-python/zeroconf/zeroconf-0.91.1.ebuild (limited to 'dev-python') 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[0-float-5-1-True]" + "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[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 @@ -1,6 +1,10 @@ + + dev@liguros.net + Development + core@liguros.net Development 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 @@ - core@liguros.net + dev@liguros.net Development 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 @@ - core@liguros.net + dev@liguros.net Development 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.3.6.ebuild deleted file mode 100644 index c66983abf8c3..000000000000 --- a/dev-python/gphoto2/gphoto2-2.3.6.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 2021-2023 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11} ) -DISTUTILS_USE_SETUPTOOLS=no - -inherit distutils-r1 - -DESCRIPTION="python-gphoto2 is a comprehensive Python binding to libgphoto2" -HOMEPAGE="https://pypi.org/project/gphoto2 https://github.com/jim-easterbrook/python-gphoto2" -SRC_URI="https://github.com/jim-easterbrook/python-gphoto2/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - media-libs/libgphoto2 -" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/python-${P} diff --git a/dev-python/gphoto2/gphoto2-2.5.0.ebuild b/dev-python/gphoto2/gphoto2-2.5.0.ebuild new file mode 100644 index 000000000000..db6656dfbe19 --- /dev/null +++ b/dev-python/gphoto2/gphoto2-2.5.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 2021-2023 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11} ) +DISTUTILS_USE_SETUPTOOLS=no + +inherit distutils-r1 + +DESCRIPTION="python-gphoto2 is a comprehensive Python binding to libgphoto2" +HOMEPAGE="https://pypi.org/project/gphoto2 https://github.com/jim-easterbrook/python-gphoto2" +SRC_URI="https://github.com/jim-easterbrook/python-gphoto2/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +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 @@ - marcin.deranek@slonko.net - Marcin Deranek + cyber+gentoo@sysrq.in + Anna - - https://github.com/Mimino666/langdetect/issues - - slonko-overlay + + gentoo-guru-overlay \ 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 -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 = 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 = pBase - object table_func_cls = (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 = pBase - peewee_cursor *pCur = 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 = pBase - object table_func = 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 = pBase - object table_func = 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 = 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 = pBase - pRowid[0] = 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 = 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 = pBase - object table_func = 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} -" -#