From b6835747c8be77cea55de5c48ebd8414482fc875 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Mon, 17 Feb 2025 18:53:12 +0000 Subject: Adding metadata --- .../PyQt5-stubs/PyQt5-stubs-5.15.6.0-r1.ebuild | 32 +++++++++++++++++ dev-python/PyQt5-stubs/PyQt5-stubs-5.15.6.0.ebuild | 32 ----------------- dev-python/gherkin-official/Manifest | 2 +- .../gherkin-official-31.0.0.ebuild | 29 --------------- .../gherkin-official-32.0.0.ebuild | 29 +++++++++++++++ dev-python/langdetect/Manifest | 2 -- .../files/langdetect-1.0.9-explicit-config.patch | 13 +++++++ dev-python/langdetect/langdetect-1.0.9.ebuild | 4 ++- dev-python/langdetect/metadata.xml | 10 +++--- dev-python/pycpio/Manifest | 2 +- dev-python/pycpio/pycpio-1.5.0.ebuild | 31 ---------------- dev-python/pycpio/pycpio-1.5.1.ebuild | 41 ++++++++++++++++++++++ dev-python/pycpio/pycpio-9999.ebuild | 15 ++++++-- 13 files changed, 137 insertions(+), 105 deletions(-) create mode 100644 dev-python/PyQt5-stubs/PyQt5-stubs-5.15.6.0-r1.ebuild delete mode 100644 dev-python/PyQt5-stubs/PyQt5-stubs-5.15.6.0.ebuild delete mode 100644 dev-python/gherkin-official/gherkin-official-31.0.0.ebuild create mode 100644 dev-python/gherkin-official/gherkin-official-32.0.0.ebuild create mode 100644 dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch delete mode 100644 dev-python/pycpio/pycpio-1.5.0.ebuild create mode 100644 dev-python/pycpio/pycpio-1.5.1.ebuild (limited to 'dev-python') diff --git a/dev-python/PyQt5-stubs/PyQt5-stubs-5.15.6.0-r1.ebuild b/dev-python/PyQt5-stubs/PyQt5-stubs-5.15.6.0-r1.ebuild new file mode 100644 index 000000000000..bb808bb957ab --- /dev/null +++ b/dev-python/PyQt5-stubs/PyQt5-stubs-5.15.6.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Stubs for PyQt5" +HOMEPAGE=" + https://pypi.org/project/PyQt5-stubs/ + https://github.com/python-qt-tools/PyQt5-stubs + +" + +# no tests on pypi +SRC_URI="https://github.com/python-qt-tools/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="test? ( + dev-python/mypy[${PYTHON_USEDEP}] + dev-python/pyqtwebengine[${PYTHON_USEDEP}] + dev-python/pyqt5[${PYTHON_USEDEP},dbus,declarative,designer,multimedia,network,opengl,serialport,sql,svg,widgets] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/PyQt5-stubs/PyQt5-stubs-5.15.6.0.ebuild b/dev-python/PyQt5-stubs/PyQt5-stubs-5.15.6.0.ebuild deleted file mode 100644 index d8af9afbbfdb..000000000000 --- a/dev-python/PyQt5-stubs/PyQt5-stubs-5.15.6.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="Stubs for PyQt5" -HOMEPAGE=" - https://pypi.org/project/PyQt5-stubs/ - https://github.com/python-qt-tools/PyQt5-stubs - -" - -# no tests on pypi -SRC_URI="https://github.com/python-qt-tools/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND="test? ( - dev-python/mypy[${PYTHON_USEDEP}] - dev-python/pyqtwebengine[${PYTHON_USEDEP}] - dev-python/pyqt5[${PYTHON_USEDEP},dbus,declarative,designer,location,multimedia,network,opengl,positioning,serialport,sql,svg,widgets] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/gherkin-official/Manifest b/dev-python/gherkin-official/Manifest index b5611d4e9385..f281d3ecfa4c 100644 --- a/dev-python/gherkin-official/Manifest +++ b/dev-python/gherkin-official/Manifest @@ -1,2 +1,2 @@ DIST gherkin-30.0.4.gh.tar.gz 3858403 BLAKE2B bdf5cf80f1e06c9e8464d3fbc5a56a594b75f3d8ae6ff13dafcd583aa6571e1a6ba4aa4dd344f7c532174b09829bdaf9aae1e1e02339521e2836dbf9b3014108 SHA512 52cd5bab779e46d5d2c451558b545fb8ac408d1d5d11558e1dace94d77472ca271589eb183c412093fcbdef2574a495fdd11c98ce97d8146077a54b3369a9a6e -DIST gherkin-31.0.0.gh.tar.gz 3850999 BLAKE2B e38bdd97af5d3a011e2c31e2cc67f25c72a4e729c9af8be4355a4a9155d83b403781f182f05e8db9b10cb929bbd208067ef39433982514bee29afa2aa4d621b4 SHA512 7b512a5ef2d4e840939f6109ff850913052dbb7263d8013a79f3485cc4037a3a2967706e9d8fbb9e7e436863819c89214953f493fa4666a496465fdb20d7c524 +DIST gherkin-32.0.0.gh.tar.gz 3842521 BLAKE2B b0afbf2638bd85817a141e2f89bd81e9ba564c96ddcbfa56f803d7239736864e1047bed6d0fa1a48edb0dac88553b8777e530b6fd06a82d71e4e971105f68020 SHA512 2ce444bde2d1e4ed3f1214205e4dd43cfa21c0f31d5194cfa9da6aeabdf2f0ac70966f1d98617b9d8f3633dadae6b773d67a6f050f0e37ae477c594b0e670aa9 diff --git a/dev-python/gherkin-official/gherkin-official-31.0.0.ebuild b/dev-python/gherkin-official/gherkin-official-31.0.0.ebuild deleted file mode 100644 index 5eb5ba433d9f..000000000000 --- a/dev-python/gherkin-official/gherkin-official-31.0.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# note: only bump when there is a release on pypi, GH tags (which include -# tests) are for the whole package and may have no changes to python/ - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -inherit distutils-r1 - -DESCRIPTION="Gherkin parser/compiler for Python" -HOMEPAGE="https://github.com/cucumber/gherkin/" -SRC_URI=" - https://github.com/cucumber/gherkin/archive/refs/tags/v${PV}.tar.gz - -> gherkin-${PV}.gh.tar.gz -" -S=${WORKDIR}/gherkin-${PV}/python - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/typing-extensions[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/gherkin-official/gherkin-official-32.0.0.ebuild b/dev-python/gherkin-official/gherkin-official-32.0.0.ebuild new file mode 100644 index 000000000000..5eb5ba433d9f --- /dev/null +++ b/dev-python/gherkin-official/gherkin-official-32.0.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# note: only bump when there is a release on pypi, GH tags (which include +# tests) are for the whole package and may have no changes to python/ + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +inherit distutils-r1 + +DESCRIPTION="Gherkin parser/compiler for Python" +HOMEPAGE="https://github.com/cucumber/gherkin/" +SRC_URI=" + https://github.com/cucumber/gherkin/archive/refs/tags/v${PV}.tar.gz + -> gherkin-${PV}.gh.tar.gz +" +S=${WORKDIR}/gherkin-${PV}/python + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/typing-extensions[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index 37a64204a00a..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 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 new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 56733bbffc48..eb2586280d80 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ - marcin.deranek@slonko.net - Marcin Deranek + pastalian46@gmail.com + Takuya Wakazono - - https://github.com/Mimino666/langdetect/issues - - slonko-overlay + + gentoo-guru-overlay \ No newline at end of file diff --git a/dev-python/pycpio/Manifest b/dev-python/pycpio/Manifest index 1ce9c41bec4d..3e6d13948d9f 100644 --- a/dev-python/pycpio/Manifest +++ b/dev-python/pycpio/Manifest @@ -1,2 +1,2 @@ DIST pycpio-1.4.2.gh.tar.gz 22690 BLAKE2B 244145dabdee1fa50e54f98327608b96afef354d53e1405e2e54c47d9cc8a71c80e4adfe8f1c7a079a9acdd30751f125e7b5db61cd34baf375433248c7370757 SHA512 7fe6b7e6597a8733d740348888b5c41aa37f08e2ecd5843ab32751e8a5cd6ce9390201ba5a47c3febd2f61562db4ce6724404f9359238de91f94f4bc12b9c41b -DIST pycpio-1.5.0.gh.tar.gz 23293 BLAKE2B a01a62f2caf687956be65256a5ebde9c65d084a425f7777cc253f233e3ddd479b8220173417573b665d0271eb77397eadb2a8698f33d3794efd3243a96d0d63c SHA512 ae8ab8dcb852f40721f8cccac6235824d01349d0372d2931d456297cbe9899b071030fac46f564fe5f0e7ecf77b325245f5153e726520f16bbb4832c44eb34a2 +DIST pycpio-1.5.1.gh.tar.gz 23307 BLAKE2B 4c922cb5ced9f34143426ed60b76d0556ad7417bab73fb5ee6c23f2dd77666051c4a96347d54f212a1d640d34c4ef5ecdbc20f8e0d67a19d58f47e1902f8a07f SHA512 2b905cc655bd4b1b37d0fc7dca68a094c63104bac3898e3faf6855772af939d6128720fe560edf332d6623a6b4e3a1107f723a4cc9adcec3177ccd23c369eedf diff --git a/dev-python/pycpio/pycpio-1.5.0.ebuild b/dev-python/pycpio/pycpio-1.5.0.ebuild deleted file mode 100644 index 03559de99478..000000000000 --- a/dev-python/pycpio/pycpio-1.5.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="Python CPIO library" -HOMEPAGE="https://github.com/desultory/pycpio/" -SRC_URI=" - https://github.com/desultory/pycpio/archive/refs/tags/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - >=dev-python/zenlib-3.0.2[${PYTHON_USEDEP}] - >=dev-python/zstd-1.5.6.1[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest - -python_test() { - eunittest tests -} diff --git a/dev-python/pycpio/pycpio-1.5.1.ebuild b/dev-python/pycpio/pycpio-1.5.1.ebuild new file mode 100644 index 000000000000..122b3c13ef92 --- /dev/null +++ b/dev-python/pycpio/pycpio-1.5.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 optfeature shell-completion + +DESCRIPTION="Python CPIO library" +HOMEPAGE="https://github.com/desultory/pycpio/" +SRC_URI=" + https://github.com/desultory/pycpio/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/zenlib-3.0.2[${PYTHON_USEDEP}] +" + +BDEPEND="test? ( dev-python/zstd[${PYTHON_USEDEP}] )" + +distutils_enable_tests unittest + +python_test() { + eunittest tests +} + +python_install_all() { + distutils-r1_python_install_all + dozshcomp completion/_pycpio # Install zsh autocomplete script +} + +pkg_postinst() { + optfeature "zstd compression support" dev-python/zstd +} diff --git a/dev-python/pycpio/pycpio-9999.ebuild b/dev-python/pycpio/pycpio-9999.ebuild index 06bee18fb4d1..478deaa83483 100644 --- a/dev-python/pycpio/pycpio-9999.ebuild +++ b/dev-python/pycpio/pycpio-9999.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -inherit distutils-r1 git-r3 +inherit distutils-r1 optfeature git-r3 shell-completion DESCRIPTION="Python CPIO library" HOMEPAGE="https://github.com/desultory/pycpio/" @@ -16,12 +16,23 @@ LICENSE="GPL-2" SLOT="0" RDEPEND=" - >=dev-python/zenlib-3.0.2[${PYTHON_USEDEP}] + >=dev-python/zenlib-9999[${PYTHON_USEDEP}] >=dev-python/zstd-1.5.6.1[${PYTHON_USEDEP}] " +BDEPEND="test? ( dev-python/zstd[${PYTHON_USEDEP}] )" + distutils_enable_tests unittest python_test() { eunittest tests } + +python_install_all() { + distutils-r1_python_install_all + dozshcomp completion/_pycpio # Install zsh autocomplete script +} + +pkg_postinst() { + optfeature "zstd compression support" dev-python/zstd +} -- cgit v1.3.1