diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-07-05 18:54:43 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-07-05 18:54:43 +0000 |
| commit | c5a7034a331d43d4ad46ea9a01e20fa83d52ed24 (patch) | |
| tree | f11eced8ec37ac09f68be3e2024ebaef196e2cb6 /dev-python | |
| parent | ea6cd7e4f8e5606e1bf55158f1cc658accdcaf4c (diff) | |
| download | baldeagleos-repo-c5a7034a331d43d4ad46ea9a01e20fa83d52ed24.tar.gz baldeagleos-repo-c5a7034a331d43d4ad46ea9a01e20fa83d52ed24.tar.xz baldeagleos-repo-c5a7034a331d43d4ad46ea9a01e20fa83d52ed24.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
53 files changed, 873 insertions, 74 deletions
diff --git a/dev-python/asteval/metadata.xml b/dev-python/asteval/metadata.xml index 959ed6f30c6e..853174b8f2ab 100644 --- a/dev-python/asteval/metadata.xml +++ b/dev-python/asteval/metadata.xml @@ -1,9 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>pacho@gentoo.org</email> - </maintainer> <maintainer type="project"> <email>python@gentoo.org</email> <name>Python</name> diff --git a/dev-python/django-browser-reload/Manifest b/dev-python/django-browser-reload/Manifest new file mode 100644 index 000000000000..38a6e1af0f43 --- /dev/null +++ b/dev-python/django-browser-reload/Manifest @@ -0,0 +1 @@ +DIST django-browser-reload-1.13.0.gh.tar.gz 31384 BLAKE2B b3eef7078440ea2eef295d9d46654d836bd448c0afd38a8d95b5bc6d362f6445dec377777babad56864e9e6a075342d3b8977013233805576459d64526913a9c SHA512 e00fcec34fcf394ef2a1dc620f0b5ee77c199a763ffa58f7b379303d7ed133cc287e3301332062e92892b023f53990f4f6ee50b0042c3cddbb1a95628789a0be diff --git a/dev-python/django-browser-reload/django-browser-reload-1.13.0.ebuild b/dev-python/django-browser-reload/django-browser-reload-1.13.0.ebuild new file mode 100644 index 000000000000..8e327841fb53 --- /dev/null +++ b/dev-python/django-browser-reload/django-browser-reload-1.13.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Automatically reload your browser in development" +HOMEPAGE=" + https://github.com/adamchainz/django-browser-reload + https://pypi.org/project/django-browser-reload/ +" +SRC_URI="https://github.com/adamchainz/django-browser-reload/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/asgiref[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytest-django[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/django-browser-reload/metadata.xml b/dev-python/django-browser-reload/metadata.xml new file mode 100644 index 000000000000..736a1167c898 --- /dev/null +++ b/dev-python/django-browser-reload/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/django-constance/Manifest b/dev-python/django-constance/Manifest new file mode 100644 index 000000000000..7de4875892bf --- /dev/null +++ b/dev-python/django-constance/Manifest @@ -0,0 +1 @@ +DIST django-constance-3.1.0.tar.gz 36806 BLAKE2B 83b436a98a59c640241c0f5850af3b7ddad743bd81e391dc2efadfa99882aa4342e8956768e2065a7015b2cff353ca9eab45c1507ba9787ad851e0c1ea3723a8 SHA512 c2bd130f168a06552aa4364e9c8e5bc7d928392c2e8965133315cc990b9fa23a5f7b63b01f096280247dd9f13f432edbdde098be02a525e4ed09995094dfdb31 diff --git a/dev-python/django-constance/django-constance-3.1.0.ebuild b/dev-python/django-constance/django-constance-3.1.0.ebuild new file mode 100644 index 000000000000..360355e0eb7b --- /dev/null +++ b/dev-python/django-constance/django-constance-3.1.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2024 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,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Django live settings with pluggable backends, including Redis" +HOMEPAGE=" + https://github.com/jazzband/django-constance + https://pypi.org/project/django-constance/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +# TODO: Find out how this is supposed to be run +RESTRICT="test" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] + dev-python/django-picklefield[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/django-constance/metadata.xml b/dev-python/django-constance/metadata.xml new file mode 100644 index 000000000000..736a1167c898 --- /dev/null +++ b/dev-python/django-constance/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/django-debug-toolbar/Manifest b/dev-python/django-debug-toolbar/Manifest index bac6f85c86b6..0138f9fac96e 100644 --- a/dev-python/django-debug-toolbar/Manifest +++ b/dev-python/django-debug-toolbar/Manifest @@ -1,2 +1,3 @@ DIST django_debug_toolbar-4.4.2.tar.gz 267356 BLAKE2B f9a84d686cdd785fc6bf9072049e72322bcb8328d3ba5975469cd01861df238e71e108118bcbe427a4b8162ee695afbb64a26102d156d21945655e4c1d2f43d6 SHA512 24e3365758c9666afeda8ecf9db6b1813a657a0cebf0a84e76b3e712700527a232bbabe34b5d42b913de9ff68cadbabbae4173fe38d48d484f74383284b2dbbe DIST django_debug_toolbar-4.4.3.tar.gz 271501 BLAKE2B 731d4ac2257b495a67076aebb27236271a1ee12f4cf97682b93e5a1319dd54e241846dced43758c9568da02018a49552329428936406c73a59beda06e5c16e61 SHA512 cdadfcef1ce033f65451fa0e0c6bf34f9bfd3a1af428956b72d3aa47e0df36c478173de9e29b17c02f7f35629634bb9d2bf7458912af14ace630dd484e018fb7 +DIST django_debug_toolbar-4.4.5.tar.gz 272503 BLAKE2B b77107867a8cc8844a138f4947816c290850b9ca7aa866066cbe3a1d6e72a4b488a7dd7141445c2fa6c7d05eea8fdc73680163a4506d1d14df7e0d14acfe7818 SHA512 afa43c0e0ef06bf58cdfae37ec57ebbe0813f9065b82123935c4ecc18153ffa7ac5227e19942bf2e7d4d3bc76849d2acfb69f3a831070bb14af5263e242b9902 diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-4.4.5.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-4.4.5.ebuild new file mode 100644 index 000000000000..a1b2a3c030c3 --- /dev/null +++ b/dev-python/django-debug-toolbar/django-debug-toolbar-4.4.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023-2024 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,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A configurable set of panels that display various debug information" +HOMEPAGE=" + https://github.com/jazzband/django-debug-toolbar/ + https://pypi.org/project/django-debug-toolbar/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-4.2.9[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/html5lib[${PYTHON_USEDEP}] + ) +" + +python_test() { + "${EPYTHON}" -m django test -v 2 --settings tests.settings tests \ + || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/django-picklefield/Manifest b/dev-python/django-picklefield/Manifest new file mode 100644 index 000000000000..5c80dba3379e --- /dev/null +++ b/dev-python/django-picklefield/Manifest @@ -0,0 +1 @@ +DIST django-picklefield-3.2.0.gh.tar.gz 11908 BLAKE2B e6c31f88ab364d7f80a37dd40af34d3dd568e8497295ccef5e09781048e48d8745147b6f164cedd5b059a32cf00207ccc69399e2f07163ae1ebfc31e790b7e30 SHA512 6cbfd75f6c55e4f910a0334e872a1b51742474fd3cac253563f2971aaa6199268c73cf908fc37f7f5e8f758a9bfdde0fb1169deed61831f20510f07086de6799 diff --git a/dev-python/django-picklefield/django-picklefield-3.2.0.ebuild b/dev-python/django-picklefield/django-picklefield-3.2.0.ebuild new file mode 100644 index 000000000000..01ec380b0d40 --- /dev/null +++ b/dev-python/django-picklefield/django-picklefield-3.2.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Pickled object field for Django" +HOMEPAGE=" + https://github.com/gintas/django-picklefield + https://pypi.org/project/django-picklefield/ +" +SRC_URI="https://github.com/gintas/django-picklefield/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# TODO: Find out how this is supposed to be run +RESTRICT="test" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/django-picklefield/metadata.xml b/dev-python/django-picklefield/metadata.xml new file mode 100644 index 000000000000..736a1167c898 --- /dev/null +++ b/dev-python/django-picklefield/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/django-tailwind/Manifest b/dev-python/django-tailwind/Manifest new file mode 100644 index 000000000000..3bc4b7c3e33b --- /dev/null +++ b/dev-python/django-tailwind/Manifest @@ -0,0 +1 @@ +DIST django_tailwind-3.8.0.tar.gz 8969 BLAKE2B ddc17680571081ebc864a3e5eddf6414be1f02e17c7f6d52aae14f6ea66d369f6fadede9946741c971755c380cf82a429467e5177c2edd66eac11bee806c34fc SHA512 6501ca2de280da4c5edbf8e1b0f22f02ebf5397eb11a0ec759e064228c28d0a3927684264e6cc5d5f83b5f030c5cd9e34f59516dba519126c2992115798f3abe diff --git a/dev-python/django-tailwind/django-tailwind-3.8.0.ebuild b/dev-python/django-tailwind/django-tailwind-3.8.0.ebuild new file mode 100644 index 000000000000..242f4968c002 --- /dev/null +++ b/dev-python/django-tailwind/django-tailwind-3.8.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 2024 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,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Tailwind CSS Framework for Django projects" +HOMEPAGE=" + https://github.com/timonweb/django-tailwind + https://pypi.org/project/django-tailwind/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] + dev-python/django-browser-reload[${PYTHON_USEDEP}] +" diff --git a/dev-python/django-tailwind/metadata.xml b/dev-python/django-tailwind/metadata.xml new file mode 100644 index 000000000000..736a1167c898 --- /dev/null +++ b/dev-python/django-tailwind/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/django-tinymce/Manifest b/dev-python/django-tinymce/Manifest new file mode 100644 index 000000000000..d9c4b6079d65 --- /dev/null +++ b/dev-python/django-tinymce/Manifest @@ -0,0 +1 @@ +DIST django_tinymce-4.1.0.tar.gz 1087250 BLAKE2B 37e67144c3614c69583ce306b5d0944ae0fe82d406d753c9ef51c53121caa1a787ccfd1e6533d69b489b8920f76b3f89e0494d44de1953aa54ac250c227da9ae SHA512 02b4a742bb975cca6c2c64fe81eb6ce5c062b5b206ea3f91283272a72cd8d59cf02843411c3b966a36710a40f7be60cc243b76b963c1acff4c8a7a2fa43b8677 diff --git a/dev-python/django-tinymce/django-tinymce-4.1.0.ebuild b/dev-python/django-tinymce/django-tinymce-4.1.0.ebuild new file mode 100644 index 000000000000..6c987ace2ad6 --- /dev/null +++ b/dev-python/django-tinymce/django-tinymce-4.1.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="TinyMCE integration for Django" +HOMEPAGE=" + https://github.com/jazzband/django-tinymce + https://pypi.org/project/django-tinymce +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# TODO: Find out how this is supposed to be run +RESTRICT="test" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + ${EPYTHON} runtests.py || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/django-tinymce/metadata.xml b/dev-python/django-tinymce/metadata.xml new file mode 100644 index 000000000000..736a1167c898 --- /dev/null +++ b/dev-python/django-tinymce/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/fontawesomefree/Manifest b/dev-python/fontawesomefree/Manifest new file mode 100644 index 000000000000..6470a4df1eda --- /dev/null +++ b/dev-python/fontawesomefree/Manifest @@ -0,0 +1 @@ +DIST fontawesomefree-6.5.1-py3-none-any.whl 25604778 BLAKE2B 5bed1c98800a0903682692cdc7436117b5502e7c1d5787d1c0dc2a5bb16d36057f97a42568e67eaff79681440ed0fe14dfc23bc1d3b4b6d2a3d20de046e15373 SHA512 8224d729454986173a616da35b6d40ccbca3cf61eaecf62741ecb5052a424c2dbeafb2b0d941afbb5a21b8c1e4473f7ca5ec1291c14d584de82016661c6f9120 diff --git a/dev-python/fontawesomefree/fontawesomefree-6.5.1.ebuild b/dev-python/fontawesomefree/fontawesomefree-6.5.1.ebuild new file mode 100644 index 000000000000..8d146228bb50 --- /dev/null +++ b/dev-python/fontawesomefree/fontawesomefree-6.5.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 2024 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,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Font Awesome Free" +HOMEPAGE=" + https://github.com/FortAwesome/Font-Awesome + https://pypi.org/project/fontawesomefree/ +" +SRC_URI=$(pypi_wheel_url) +S="${WORKDIR}" + +LICENSE="CC-BY-4.0 OFL-1.1 MIT" +SLOT="0" +KEYWORDS="~amd64" + +python_compile() { + distutils_wheel_install "${BUILD_DIR}/install" \ + "${DISTDIR}/${P}-py3-none-any.whl" +} diff --git a/dev-python/fontawesomefree/metadata.xml b/dev-python/fontawesomefree/metadata.xml new file mode 100644 index 000000000000..736a1167c898 --- /dev/null +++ b/dev-python/fontawesomefree/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index f9e652c9146e..92e85be2ada5 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1,2 +1,3 @@ DIST fonttools-4.51.0.gh.tar.gz 3826324 BLAKE2B 84485874ce373ef759746104f8c0593d63e2955427a1606404e56ae006342fef39e3fe9468d85b974741ae26a8cceba23ea46e33fff0e2648c154074b01b5eac SHA512 3a9984b56a8ed1e918781c8503dd8901276ae7e20659777ff0a9bf799a42b4ec112a6cfd31deb81f73f7f19c03145a66962187fb243b2580db9d3ef7011d3d82 DIST fonttools-4.53.0.gh.tar.gz 3847778 BLAKE2B 31cf6e495441aeee90f96d6f96b9eedb581f3ee7e5e6f00f7df41547738e7da24d58b4aeac691c44961f842bbf347b32965b052d84ced88c7ade9c0d95c0367a SHA512 f810c428680c4203af3450c4a4b3a1d0f3f5e06ec7d7aac65e1e4aadf5d1e98f9efa5fed75388c8b0a0dcef5094d9b0586c0a71587360bafc91ad683a961698a +DIST fonttools-4.53.1.gh.tar.gz 3850978 BLAKE2B 9c6b5af2cbde939b82043e29ffbbb23434c7b4bb7d7ce68385de701cdf97792bfb58b39acf5e0843493d4b4c3b70f76df6194c9a2ba4f4dfa7ec46155b9f8ce0 SHA512 c51a439c4c760bc929359ff3010612d00280ff1bfa8e6dd5248f181b3244239b82089727b4b6c81594fec57407f4c20f95497e0e26fe0e75fde30f8680022d07 diff --git a/dev-python/fonttools/fonttools-4.53.1.ebuild b/dev-python/fonttools/fonttools-4.53.1.ebuild new file mode 100644 index 000000000000..67f5ef02f1ee --- /dev/null +++ b/dev-python/fonttools/fonttools-4.53.1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 virtualx + +DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" +HOMEPAGE=" + https://github.com/fonttools/fonttools/ + https://pypi.org/project/fonttools/ +" +SRC_URI=" + https://github.com/fonttools/fonttools/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +RDEPEND=" + >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ' 'python*') + ) + test? ( + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/munkres[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + app-arch/zopfli + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # When dev-python/pytest-shutil is installed, we get weird import errors. + # This is due to incomplete nesting in the Tests/ tree: + # + # Tests/feaLib/__init__.py + # Tests/ufoLib/__init__.py + # Tests/svgLib/path/__init__.py + # Tests/otlLib/__init__.py + # Tests/varLib/__init__.py + # + # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. + touch Tests/svgLib/__init__.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + local -x FONTTOOLS_WITH_CYTHON=$(usex native-extensions) + [[ ${EPYTHON} == pypy3 ]] && FONTTOOLS_WITH_CYTHON=0 + distutils-r1_python_compile +} + +src_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # flaky test + Tests/ttLib/woff2_test.py::WOFF2ReaderTest::test_get_normal_tables + ) + + if [[ ${EPYTHON} == pypy3 ]] && + has_version "dev-python/pyxattr[${PYTHON_USEDEP}]" && + { + has_version "<dev-python/pypy3_10-exe-7.3.13_p2" || + has_version "<dev-python/pypy3_10-exe-bin-7.3.13_p2" + } + then + EPYTEST_DESELECT+=( + # affected by a bug in PyPy/pyxattr + # https://github.com/iustin/pyxattr/issues/41 + Tests/t1Lib/t1Lib_test.py::ReadWriteTest::test_read_with_path + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest \ + -p rerunfailures --reruns=5 \ + Tests fontTools || die -n "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/hashids/Manifest b/dev-python/hashids/Manifest new file mode 100644 index 000000000000..24ee2e2de01b --- /dev/null +++ b/dev-python/hashids/Manifest @@ -0,0 +1 @@ +DIST hashids-1.3.1.tar.gz 7884 BLAKE2B 5b4b303e014034a04d34b2abe3cf77a2b307822e0592023059759fda142390c56e66038042769474193f9d8c5657d5e9cb5d1cd87b36e931bef0130e3972c862 SHA512 feb3bd7e4afb7464e455dd421bed29af398cd8126e5fe0716ff85daa3c6fd79d3e9ae86affb9c5b0b2e1d805c4e00d83e2fe3369baf8fae91ee4b57bff5366b8 diff --git a/dev-python/hashids/hashids-1.3.1.ebuild b/dev-python/hashids/hashids-1.3.1.ebuild new file mode 100644 index 000000000000..ffefadd9931c --- /dev/null +++ b/dev-python/hashids/hashids-1.3.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Implements the hashids algorithm in python" +HOMEPAGE=" + https://hashids.org/python/ + https://pypi.org/project/hashids/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest diff --git a/dev-python/hashids/metadata.xml b/dev-python/hashids/metadata.xml new file mode 100644 index 000000000000..736a1167c898 --- /dev/null +++ b/dev-python/hashids/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/keystoneauth1/Manifest b/dev-python/keystoneauth1/Manifest index 46a03f1523d3..f8571d289a9c 100644 --- a/dev-python/keystoneauth1/Manifest +++ b/dev-python/keystoneauth1/Manifest @@ -1 +1,2 @@ DIST keystoneauth1-5.6.0.tar.gz 275560 BLAKE2B 394c32973ef2b1592263bc1b37fe51c63417ec955d3b2f4e330ff2fe3ebc45e389c5e8e1d7707153b0dc2c5d12050894994292e28c295deb44a972431e8aaf18 SHA512 cb80fd5f804ea2f1152a99a8935ea31e305e693bd6095560d8fb1f3a0b60cdd8c167609818b43b8ea52c34ebd443202ca5dc391f4e67d82a04731216f504fd87 +DIST keystoneauth1-5.7.0.tar.gz 275942 BLAKE2B 71e94ed879cb79b65ea19cb06718c10268979a4f271e04314b24db648eccf3b0003826e71942854360d3df7563c893ee73590a826337fe1c0aafb67245f58f2e SHA512 529a831b6ec51e780fae09d6368d32eabfc843d019a16101c66a6cf2b8ed6b246e1d9e8def5ed11154115b460e806f29a47cb419e1c72da43b7348480843255b diff --git a/dev-python/keystoneauth1/keystoneauth1-5.7.0.ebuild b/dev-python/keystoneauth1/keystoneauth1-5.7.0.ebuild new file mode 100644 index 000000000000..2ed45dc8b40c --- /dev/null +++ b/dev-python/keystoneauth1/keystoneauth1-5.7.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="This package contains tools for authenticating to an OpenStack-based cloud" +HOMEPAGE=" + https://opendev.org/openstack/keystoneauth/ + https://github.com/openstack/keystoneauth/ + https://pypi.org/project/keystoneauth1/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] + >=dev-python/os-service-types-1.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/betamax-0.7.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/lxml-4.2.0[${PYTHON_USEDEP}] + >=dev-python/oauthlib-0.6.2[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.12[${PYTHON_USEDEP}] + >=dev-python/requests-kerberos-0.8.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/testresources-2.0.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fragile to test runner name + keystoneauth1/tests/unit/test_session.py::SessionTests::test_user_agent + # broken betamax + keystoneauth1/tests/unit/test_betamax_fixture.py::TestBetamaxFixture::test_keystoneauth_betamax_fixture +) + +EPYTEST_IGNORE=( + # require hacking + keystoneauth1/tests/unit/test_hacking_checks.py +) diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..37a64204a00a 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." - ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,7 @@ setup( - author_email='michal.danilak@gmail.com', - url='https://github.com/Mimino666/langdetect', - keywords='language detection library', -- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], -+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], - include_package_data=True, - install_requires=['six'], - license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 630fe63c6f53..c09b7356f549 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) - distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 736a1167c898..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,6 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - - <origin>gentoo-guru-overlay</origin> + <maintainer type="person"> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mollie-api-python/Manifest b/dev-python/mollie-api-python/Manifest new file mode 100644 index 000000000000..a82e8dbc606f --- /dev/null +++ b/dev-python/mollie-api-python/Manifest @@ -0,0 +1 @@ +DIST mollie-api-python-3.6.0.gh.tar.gz 89246 BLAKE2B 57e816fc67c65d079a430a19641a1341d8e9276a363865d9533949d4b81daa59a5c2d87741f919952c6fea0dd36e3f5344a574b97a454b68a8101cd63319d667 SHA512 e3e2e5844172d2b117a1e5a89714bf9d59251fe83a68b565dec00362b7c0c68aeb291559e9a745cc3ad083441423f82624df95da92e49beea586caabbc236411 diff --git a/dev-python/mollie-api-python/files/mollie-api-python-3.6.0-no-install-tests.patch b/dev-python/mollie-api-python/files/mollie-api-python-3.6.0-no-install-tests.patch new file mode 100644 index 000000000000..782e078f7efe --- /dev/null +++ b/dev-python/mollie-api-python/files/mollie-api-python-3.6.0-no-install-tests.patch @@ -0,0 +1,13 @@ +diff --git a/setup.py b/setup.py +index 3c0d5dc..da6d0e0 100644 +--- a/setup.py ++++ b/setup.py +@@ -30,7 +30,7 @@ setup( + license="BSD", + long_description=get_long_description(), + long_description_content_type="text/markdown", +- packages=find_packages(), ++ packages=find_packages(exclude=["tests"]), + include_package_data=True, + package_data={ + "mollie": ["py.typed"], diff --git a/dev-python/mollie-api-python/metadata.xml b/dev-python/mollie-api-python/metadata.xml new file mode 100644 index 000000000000..736a1167c898 --- /dev/null +++ b/dev-python/mollie-api-python/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mollie-api-python/mollie-api-python-3.6.0.ebuild b/dev-python/mollie-api-python/mollie-api-python-3.6.0.ebuild new file mode 100644 index 000000000000..b8643b570ceb --- /dev/null +++ b/dev-python/mollie-api-python/mollie-api-python-3.6.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Mollie API client for Python" +HOMEPAGE=" + https://www.mollie.com/ + https://github.com/mollie/mollie-api-python/ + https://pypi.org/project/mollie-api-python/ +" +SRC_URI="https://github.com/mollie/mollie-api-python/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # https://github.com/mollie/mollie-api-python/pull/347 + "${FILESDIR}/${P}-no-install-tests.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + # no pytest-cov + sed -e '/--cov/d' -e '/--no-cov-on-fail/d' -i pyproject.toml || die +} diff --git a/dev-python/pdm-backend/Manifest b/dev-python/pdm-backend/Manifest index 6b2debbca949..31fcd44e73b9 100644 --- a/dev-python/pdm-backend/Manifest +++ b/dev-python/pdm-backend/Manifest @@ -1,2 +1,3 @@ DIST pdm-backend-2.3.0.gh.tar.gz 134657 BLAKE2B 346011ed97111e54c9cd063e216aa5943e6dd5ac1e531ceed225bf07420d07131aca0d6c23d24c0ba11e2e4a8c581b8c1cb1c8b7efa9c7a030d48ba982264dce SHA512 0169b97b662a0520c9810d566b74b6ef378db083954064ee37e8ed8cc40375a556500c307cebb9e269c3192b9f9b8659f575f0d24d67f970b3797e2354b53d54 DIST pdm-backend-2.3.1.gh.tar.gz 136710 BLAKE2B 72293989700a429bfddb1d865b14f0467d56e024d69976264909d1c5113be67fd6892f3821803b6e86d73653f54a62b15ccb02f3dc16a190f6ccd0ca5e0650b5 SHA512 6a1a4d45a95b08f0a06f54635224c6faabc000384f489eb1e462d7dfffdd9899a3040a0fb708d193b3da541e2704b30921185728a178517fa55ecf3314f9903d +DIST pdm-backend-2.3.2.gh.tar.gz 136819 BLAKE2B 15f1375a646337f25fa37b94cd88d257849dbaa79cc2153ca608c4bc35d8e243f7d2a63ddcac87d435bea2fa5200b2d254544720d959566584526c8f182f9152 SHA512 acbf3be68dba894152b0257dbb99ba21e120e5dd48c5989fe5047a6c0073c58f829cb52f8537f32b096838202f0a29f2c38cab43d5c284d1b610811c9f2c25a3 diff --git a/dev-python/pdm-backend/pdm-backend-2.3.2.ebuild b/dev-python/pdm-backend/pdm-backend-2.3.2.ebuild new file mode 100644 index 000000000000..4cfb39e7b26d --- /dev/null +++ b/dev-python/pdm-backend/pdm-backend-2.3.2.ebuild @@ -0,0 +1,75 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" +HOMEPAGE=" + https://pypi.org/project/pdm-backend/ + https://github.com/pdm-project/pdm-backend/ +" +SRC_URI=" + https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# see src/pdm/backend/_vendor/vendor.txt +RDEPEND=" + >=dev-python/editables-0.5[${PYTHON_USEDEP}] + >=dev-python/packaging-24.0[${PYTHON_USEDEP}] + >=dev-python/pyproject-metadata-0.8.0[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/setuptools[${PYTHON_USEDEP}] + dev-vcs/git + ) +" +# setuptools are used to build C extensions +RDEPEND+=" + dev-python/setuptools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + rm -r src/pdm/backend/_vendor || die + find -name '*.py' -exec sed \ + -e 's:from pdm\.backend\._vendor\.:from :' \ + -e 's:from pdm\.backend\._vendor ::' \ + -e 's:import pdm\.backend\._vendor\.:import :' \ + -i {} + || die + distutils-r1_src_prepare +} + +src_compile() { + # this must not be set during src_test() + local -x PDM_BUILD_SCM_VERSION=${PV} + distutils-r1_src_compile +} + +src_test() { + git config --global user.email "test@example.com" || die + git config --global user.name "Test User" || die + distutils-r1_src_test +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -k "not [hg" +} diff --git a/dev-python/pure-protobuf/Manifest b/dev-python/pure-protobuf/Manifest deleted file mode 100644 index e61777204016..000000000000 --- a/dev-python/pure-protobuf/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pure_protobuf-3.0.1.tar.gz 18228 BLAKE2B c714bcd78763e854e9e690b98d4166cf8395511ad8fa8a37692daeec86463e99a884069b3da927a594b6204a5c8b3810b2fac5d7d1075794891d1843a232a2ba SHA512 f08005d2fbeda2d5cfc0f066cb88da350ba3ff7d8ee8922c58b77936360782c5e5ac40f8a5a98377c65c7a0d0df5e10d16fafa082f0a6caddbf6450782551ab0 diff --git a/dev-python/pure-protobuf/files/pure-protobuf-3.0.1-static-version.patch b/dev-python/pure-protobuf/files/pure-protobuf-3.0.1-static-version.patch deleted file mode 100644 index 39e1d7f6cb40..000000000000 --- a/dev-python/pure-protobuf/files/pure-protobuf-3.0.1-static-version.patch +++ /dev/null @@ -1,12 +0,0 @@ -We don't need dynamic versioning, replace with default backend. ---- a/pyproject.toml 2024-03-06 20:59:32.071133500 +0900 -+++ b/pyproject.toml 2024-03-06 21:00:01.002037882 +0900 -@@ -31,7 +31,7 @@ - - [build-system] - requires = ["poetry-core", "poetry-dynamic-versioning"] --build-backend = "poetry_dynamic_versioning.backend" -+build-backend = "poetry.core.masonry.api" - - [tool.poetry.dependencies] - get-annotations = { version = "^0.1.2", python = "<3.10" } diff --git a/dev-python/pure-protobuf/metadata.xml b/dev-python/pure-protobuf/metadata.xml deleted file mode 100644 index c77a8442b312..000000000000 --- a/dev-python/pure-protobuf/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>pastalian46@gmail.com</email> - <name>Takuya Wakazono</name> - </maintainer> - <upstream> - <maintainer> - <email>eigenein@gmail.com</email> - <name>Pavel Perestoronin</name> - </maintainer> - <changelog>https://github.com/eigenein/protobuf/blob/master/CHANGELOG.md</changelog> - <bugs-to>https://github.com/eigenein/protobuf/issues</bugs-to> - </upstream> - <origin>gentoo-guru-overlay</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pure-protobuf/pure-protobuf-3.0.1.ebuild b/dev-python/pure-protobuf/pure-protobuf-3.0.1.ebuild deleted file mode 100644 index 77a44a54c986..000000000000 --- a/dev-python/pure-protobuf/pure-protobuf-3.0.1.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -DISTUTILS_USE_PEP517=poetry -inherit distutils-r1 pypi - -DESCRIPTION="Python implementation of Protocol Buffers data types with dataclasses support" -HOMEPAGE=" - https://github.com/eigenein/protobuf - https://pypi.org/project/pure-protobuf/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="dev-python/typing-extensions[${PYTHON_USEDEP}]" - -PATCHES=( "${FILESDIR}/${P}-static-version.patch" ) diff --git a/dev-python/pypiserver/pypiserver-2.1.1.ebuild b/dev-python/pypiserver/pypiserver-2.1.1.ebuild index 6a7d537a0d13..47b30d082a22 100644 --- a/dev-python/pypiserver/pypiserver-2.1.1.ebuild +++ b/dev-python/pypiserver/pypiserver-2.1.1.ebuild @@ -67,7 +67,7 @@ python_test() { tests/test_main.py::test_auto_servers ) - if ! has_version dev-python/twine; then + if ! has_version "dev-python/twine[${PYTHON_USEDEP}]"; then EPYTEST_DESELECT+=( tests/test_server.py::test_twine_upload tests/test_server.py::test_twine_register diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest index f1069734c7d1..b228f334b928 100644 --- a/dev-python/pyzotero/Manifest +++ b/dev-python/pyzotero/Manifest @@ -1,2 +1,3 @@ DIST pyzotero-1.5.18.tar.gz 527435 BLAKE2B 27ab1ccf32c260098a684ce4ee05c9acdedec787ec268ebe994d4e9904b9aae73c4a48bb169ec84d727d780c2168e177bcb47209d0f09dc661dd990f1a4075db SHA512 c45e18de0ed479b0ce03cc69ec7a2b060370d6c26e57fa707d2230078e87cdb9eb70f341bac8533a9fa6f4101f29aeca8767befa1e275c0dbd7e778e9c227c21 DIST pyzotero-1.5.19.tar.gz 527472 BLAKE2B 3cd188812f44d4f3d77fb74c7a2e915969f835a941234b60975d11435d651408cb86462ba684a607698ab634138389999796749217be8b4db1bdd8a9b3dffd8c SHA512 ffb466592f96f2af5775d7b57da3dd314809605c57a1fcbe863003eed1774e9bf89d99e3bc549c61fbaf29a0d520c0eaa767ff0dd9cdaae538a6880018b6347e +DIST pyzotero-1.5.20.tar.gz 526300 BLAKE2B 7f9110d70843563ce675c2efadc2e7f336671e4e6c9b70ead48dfec1680dd48ec3b4f6ea2898ed37e4548bca4cdeb68d4f50e68f617aefcb94002c9fe1881a40 SHA512 925b1c735c05a251d19de64565e83a91a88e6f21ac9ce0a14bb6fe4288337ff3564623589d1bf1b3c3794d25081e72aa21b9582716a2e4391f404107a9d5a62a diff --git a/dev-python/pyzotero/pyzotero-1.5.20.ebuild b/dev-python/pyzotero/pyzotero-1.5.20.ebuild new file mode 100644 index 000000000000..eb3c245f77fe --- /dev/null +++ b/dev-python/pyzotero/pyzotero-1.5.20.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python client for the Zotero API" +HOMEPAGE=" + https://github.com/urschrei/pyzotero/ + https://pypi.org/project/pyzotero/ +" + +LICENSE="BlueOak-1.0.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-text/zotero-bin + dev-python/bibtexparser[${PYTHON_USEDEP}] + >=dev-python/feedparser-6.0.11[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/requests-2.21.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + >=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}] + test? ( + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/httpretty[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc --no-autodoc +distutils_enable_tests pytest diff --git a/dev-python/setuptools/setuptools-70.1.1.ebuild b/dev-python/setuptools/setuptools-70.1.1-r1.ebuild index 57d94a5e8235..6f908b1a57cb 100644 --- a/dev-python/setuptools/setuptools-70.1.1.ebuild +++ b/dev-python/setuptools/setuptools-70.1.1-r1.ebuild @@ -63,8 +63,13 @@ BDEPEND=" " # setuptools-scm is here because installing plugins apparently breaks stuff at # runtime, so let's pull it early. See bug #663324. +# +# trove-classifiers are optionally used in validation, if they are +# installed. Since we really oughtn't block them, let's always enforce +# the newest version for the time being to avoid errors. PDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}] " src_prepare() { diff --git a/dev-python/setuptools/setuptools-70.2.0.ebuild b/dev-python/setuptools/setuptools-70.2.0-r1.ebuild index 7c827878fddf..b9d3d4c602b8 100644 --- a/dev-python/setuptools/setuptools-70.2.0.ebuild +++ b/dev-python/setuptools/setuptools-70.2.0-r1.ebuild @@ -63,8 +63,14 @@ BDEPEND=" " # setuptools-scm is here because installing plugins apparently breaks stuff at # runtime, so let's pull it early. See bug #663324. +# +# trove-classifiers are optionally used in validation, if they are +# installed. Since we really oughtn't block them, let's always enforce +# the newest version for the time being to avoid errors. +# https://github.com/pypa/setuptools/issues/4459 PDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}] " src_prepare() { diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 484e5211d967..990fb63149ff 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -22,6 +22,7 @@ DIST smallvec-1.11.2.crate 34801 BLAKE2B 58645e99db8f02db64d02c75860c7ea41836c42 DIST sqlglot-25.4.0.tar.gz 18986774 BLAKE2B 0d47dfd72aa404bdce6ce716ebac4d9a0af012807142af0015649825818e8d45d3e451913defec4563b953e33b0888782ee3644c0c24f3d775bb008a3ecb1ea9 SHA512 fe5346c8675b8b21a60359941501854c2861f9ceb3f4ae9e2fc23eb395935051c757dddbe72b101fb3781923cb4f89c4838facc96fe0e0419ceadf705320f77b DIST sqlglot-25.4.1.tar.gz 19001867 BLAKE2B 3b24a44859dd0ab873caa6c13944f0da80baf5ea63a39949111dbc8ca8862c51bd9b1e9a449959e32a6dec8a959478f3a8820ddaa8b57d584fe6a8730b8cbb50 SHA512 e3f0a77325cb6b328f365a3c8287c5cef898cf7cbb80531ac396514889c6b49f8f7c11d0c585956c8e140ee4c8a44ebeceb6bf2827959aa51f6377320c11b5b1 DIST sqlglot-25.5.0.tar.gz 19004386 BLAKE2B 4ff8aad3e10e9edb3db83f4b7e8025f84fb66ab24f050d21e95534e8ed349fa05ea160c5ca19d13350733dab0ecc317b4b21a68738ff0c43e814fe4f219dfe82 SHA512 03de9e1f10ac35ccac66fbac28fabbd953ed9d424e587d9c3eeb294626258ca44ecd78c8080202885324ade06f662d25b3a1ccc3812a64d40b40bae57e81c1d1 +DIST sqlglot-25.5.1.tar.gz 19034839 BLAKE2B 5af6d4d9893f70831729ff1107ac2159e42a099ab6896e7a004a9337d95ab4f63500fceacbbe3e329908787345420e1ed95fddeb672e2c65045526025dfca390 SHA512 e2f3ad495d77810211368bf172af8351d52102462bd7c568915e9eeddced60d46627a6f443b28fb58e1aa48d2d647a6425f5262c4eaec2433ec9e3fc81fbaa2e DIST syn-2.0.41.crate 246016 BLAKE2B 9d389f2e2a0acb4c84c309456e8ffcc88c5d4d541535ed136832d7a6054dde45a598bb68e8a6f3062ca2a96e1ceae947d54b3aec9bad65b0c51d6733aa6c80db SHA512 6bbaf69ca783025dfb81ac3612ac60bfbed31b2d87792909b35c12892dadebdaff2ddf9463105e536b671dce5870610ab90fe29471284bbd3014dca8d6993f1a DIST target-lexicon-0.12.12.crate 25156 BLAKE2B f3803596c75f6c89438592a1176c3748fc2c0524d7d50a20056de1cd26d40c572b05bafcdf6dd702752864bea37c8b4f28f96dadc12a5b3bb1d279b25e489f85 SHA512 6147295c43ba1b7b087a3c5ab51534b2985e4e77e5e15687978cfb9d07e21c4fd9bc7191576d6cabd268d08a44dc733c4a957e59dba8b948c2055d8bb433aeca DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 diff --git a/dev-python/sqlglot/sqlglot-25.5.1.ebuild b/dev-python/sqlglot/sqlglot-25.5.1.ebuild new file mode 100644 index 000000000000..c040bab3734b --- /dev/null +++ b/dev-python/sqlglot/sqlglot-25.5.1.ebuild @@ -0,0 +1,121 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +CARGO_OPTIONAL=1 +CRATES=" + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + heck@0.4.1 + indoc@2.0.4 + libc@0.2.150 + lock_api@0.4.11 + memoffset@0.9.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + proc-macro2@1.0.70 + pyo3-build-config@0.20.0 + pyo3-ffi@0.20.0 + pyo3-macros-backend@0.20.0 + pyo3-macros@0.20.0 + pyo3@0.20.0 + quote@1.0.33 + redox_syscall@0.4.1 + scopeguard@1.2.0 + smallvec@1.11.2 + syn@2.0.41 + target-lexicon@0.12.12 + unicode-ident@1.0.12 + unindent@0.2.3 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 +" + +inherit cargo distutils-r1 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" +SRC_URI+=" + native-extensions? ( + ${CARGO_CRATE_URIS} + ) +" + +LICENSE="MIT" +LICENSE+=" native-extensions? (" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" +LICENSE+=" )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + ${RUST_DEPEND} + dev-util/maturin[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" + +src_unpack() { + cargo_src_unpack +} + +src_prepare() { + # remove fragile timing check + sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + + if use native-extensions; then + local DISTUTILS_USE_PEP517=maturin + cd sqlglotrs || die + distutils-r1_python_compile + cd - >/dev/null || die + fi +} + +python_test() { + local EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" + ) + + # make sure not to use an earlier installed version + local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) + rm -rf sqlglotrs || die + epytest +} + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/tenacity/Manifest b/dev-python/tenacity/Manifest index 3729b6ccbf6e..56ac401df49f 100644 --- a/dev-python/tenacity/Manifest +++ b/dev-python/tenacity/Manifest @@ -1,3 +1,4 @@ DIST tenacity-8.3.0.tar.gz 43608 BLAKE2B fcf7471110c831cfab20c81bb0bfa2c2895ce33b6cdf22c21dfd0f219eeb674dc4e7f4186e7c9a3366574636becd7391d68acb285069844ccaf358da6afa9c02 SHA512 46152ffacc0a87931cec09bd90eed3d2ad46f89101997c5da2aa510844c814b887a83805b4ec0de6a56759a7f2bcbab0cb2b2f1a4e6c11860ae53f64ff2a4c31 DIST tenacity-8.4.1.tar.gz 45426 BLAKE2B e5cb1ed5a93a28a5733b7c25f95a5d9c4d4e341b5185c235e93bcf681590a72cd3895a1e9b24eaa31b939168f6420e8a28a5d8b982847886e9a799a983d41df8 SHA512 7abf17c5c4dbcb45aff3b660f70daa80fc673aa36e0ed95941a566d3740238d051736bc0da330110300bd4beae9a8a56082c4348d24e6bfa20a269bac771d956 DIST tenacity-8.4.2.tar.gz 46206 BLAKE2B b7829d5eecb29e9fe8ec0e01c68bb9381182c93602d86ad3b8aa746aa4d809d733d72480d8a3a3eb793d46f5c091672202109db2eb34e05ec5204d32c32d3995 SHA512 64e56d27ade71116309327cc6a1f04a9fa54c9e1b867cdfbe294799be3707259bdf63d676259235c629ef10b9a9c2850f80bfab5863cec0a019bff779b48e892 +DIST tenacity-8.5.0.tar.gz 47309 BLAKE2B 6d3e1dbcac5facf9c838e13fa3cb0ff03c22cb490cf9ed17aea44e4486f7f256918415779adf3854e4ebb2b2496686265acf2f5e42621b01aa3b6d43910cd828 SHA512 f5568233321bbc6c6cfca0f362f627ff6eecf6094c55644ae46448b5f1d6466928a35a1435c97004b640ac95444e4e8c0bb2b21520e2bba5c619eeff36955e72 diff --git a/dev-python/tenacity/tenacity-8.5.0.ebuild b/dev-python/tenacity/tenacity-8.5.0.ebuild new file mode 100644 index 000000000000..05826678015f --- /dev/null +++ b/dev-python/tenacity/tenacity-8.5.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="General-purpose retrying library" +HOMEPAGE=" + https://github.com/jd/tenacity/ + https://pypi.org/project/tenacity/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/tornado-6.4-r1[${PYTHON_USEDEP}] + dev-python/typeguard[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest index cea0b1c98fda..0353f5b475d8 100644 --- a/dev-python/trio/Manifest +++ b/dev-python/trio/Manifest @@ -1,2 +1,3 @@ DIST trio-0.25.1.gh.tar.gz 600963 BLAKE2B f72df0069ff48f198f7c31221c721ffb127c4cac6c4e004547d62aa5f184673fde09e2baad5c383b206deffec4ef1b04dafad883dad0b2ced2625d72ac842887 SHA512 0a924a1c52ed5153e51cc3343c92b7f6218cf8c56ba2e66b6fe40d27d2acfa7475c3014b8fc5fd22e46df1782530a75f899dbb35d1c875331400957891bd70aa +DIST trio-0.26.0.gh.tar.gz 609710 BLAKE2B ec263e5db731760472111b8eb6a7d6ebdc476f8dc0976787692289caa5d5361a1a3db03d4713f14ee3198ad45dcec19c6c672af4af3860c3cd7ad5ff3e13bc8a SHA512 9a51f4e71795083ffd4a606e989583b1a93e45dc32f93d2d03bccaf32ca62a82daaf964676636363711b7ea1675dddd3eac1acae1be73b0fc570baef3c37c748 DIST trio-0f5fc6cbafa3e7c84f258d1865996d97ae67a318.gh.tar.gz 609698 BLAKE2B db34b8a3157b78340f75fc07d8c2dc333610d962c3849fce3906e643159904ef28cb94fed062c4607a114f9de3bfa822706c2ea6a5eef5833d17e25690c83603 SHA512 692092451376be2424faf395bbdc4f61bec91f6807a0f04d1c701fc2767a4c844830f93b01cf5a813febf9d267a52d968f4f5f8b983eb7cc5ffcb91cc716739a diff --git a/dev-python/trio/trio-0.26.0.ebuild b/dev-python/trio/trio-0.26.0.ebuild new file mode 100644 index 000000000000..552d9a0e3267 --- /dev/null +++ b/dev-python/trio/trio-0.26.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python library for async concurrency and I/O" +HOMEPAGE=" + https://github.com/python-trio/trio/ + https://pypi.org/project/trio/ +" +SRC_URI=" + https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/attrs-23.2.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.2.1[${PYTHON_USEDEP}] + ' 3.10) + dev-python/idna[${PYTHON_USEDEP}] + dev-python/outcome[${PYTHON_USEDEP}] + >=dev-python/sniffio-1.3.0[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] + >=dev-python/immutables-0.6[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +# Bug https://bugs.gentoo.org/916756 +# distutils_enable_sphinx docs/source \ +# dev-python/immutables \ +# dev-python/sphinxcontrib-trio \ +# dev-python/sphinx-rtd-theme \ +# dev-python/towncrier + +python_test() { + local EPYTEST_DESELECT=( + # Times out on slower arches (ia64 in this case) + # https://github.com/python-trio/trio/issues/1753 + tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all + # requires ruff + _tests/tools/test_gen_exports.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + rm -rf trio || die + epytest -p trio._tests.pytest_plugin \ + -m "not redistributors_should_skip" \ + --pyargs trio \ + --skip-optional-imports +} |
