diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-12-20 06:54:35 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-12-20 06:54:35 +0000 |
| commit | 2d1a6e9b4457a150b8bb03fc6475ba7346f7bcaf (patch) | |
| tree | 3691ef2e75eb2b20df050a80592ff1e884577d0d /dev-python | |
| parent | c429b66d43125e720adeabe612505625c7594f86 (diff) | |
| download | baldeagleos-repo-2d1a6e9b4457a150b8bb03fc6475ba7346f7bcaf.tar.gz baldeagleos-repo-2d1a6e9b4457a150b8bb03fc6475ba7346f7bcaf.tar.xz baldeagleos-repo-2d1a6e9b4457a150b8bb03fc6475ba7346f7bcaf.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/dacite/dacite-1.8.1.ebuild | 11 | ||||
| -rw-r--r-- | dev-python/ipython/files/ipython-8.30.0-python3.13-debugger-pdb-curframe.patch | 30 | ||||
| -rw-r--r-- | dev-python/ipython/ipython-8.30.0-r1.ebuild (renamed from dev-python/ipython/ipython-8.30.0.ebuild) | 2 | ||||
| -rw-r--r-- | dev-python/langdetect/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch | 13 | ||||
| -rw-r--r-- | dev-python/langdetect/langdetect-1.0.9.ebuild | 4 | ||||
| -rw-r--r-- | dev-python/langdetect/metadata.xml | 10 | ||||
| -rw-r--r-- | dev-python/nextinspace/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/nextinspace/files/nextinspace-3.0.0-license.patch | 20 | ||||
| -rw-r--r-- | dev-python/nextinspace/nextinspace-3.0.0.ebuild | 39 | ||||
| -rw-r--r-- | dev-python/nextinspace/nextinspace-9999.ebuild | 10 | ||||
| -rw-r--r-- | dev-python/validator-collection/validator-collection-1.5.0-r2.ebuild (renamed from dev-python/validator-collection/validator-collection-1.5.0-r1.ebuild) | 24 |
12 files changed, 121 insertions, 45 deletions
diff --git a/dev-python/dacite/dacite-1.8.1.ebuild b/dev-python/dacite/dacite-1.8.1.ebuild index 6d475065a7c8..afa4d0ba4f11 100644 --- a/dev-python/dacite/dacite-1.8.1.ebuild +++ b/dev-python/dacite/dacite-1.8.1.ebuild @@ -16,8 +16,13 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" -DEPEND=" - test? ( dev-python/pytest-benchmark ) -" +EPYTEST_IGNORE=( + # benchmarks + tests/performance +) distutils_enable_tests pytest + +python_test() { + epytest -o "addopts=" +} diff --git a/dev-python/ipython/files/ipython-8.30.0-python3.13-debugger-pdb-curframe.patch b/dev-python/ipython/files/ipython-8.30.0-python3.13-debugger-pdb-curframe.patch new file mode 100644 index 000000000000..8e44fd3d0261 --- /dev/null +++ b/dev-python/ipython/files/ipython-8.30.0-python3.13-debugger-pdb-curframe.patch @@ -0,0 +1,30 @@ +FAILED IPython/core/tests/test_run.py::TestMagicRunPass::test_run_debug_twice - AttributeError: 'Pdb' object has no attribute 'curframe'. Did you mean: 'botframe'? +FAILED IPython/core/tests/test_run.py::TestMagicRunPass::test_run_debug_twice_with_breakpoint - AttributeError: 'Pdb' object has no attribute 'curframe'. Did you mean: 'botframe'? +https://bugs.gentoo.org/946568 +https://github.com/ipython/ipython/pull/14598 +https://github.com/ipython/ipython/commit/c1e945b5bc8fb673109cf32c4f238f6d5e0f5149.patch + +From c1e945b5bc8fb673109cf32c4f238f6d5e0f5149 Mon Sep 17 00:00:00 2001 +From: M Bussonnier <bussonniermatthias@gmail.com> +Date: Sun, 8 Dec 2024 11:37:11 +0100 +Subject: [PATCH] Fix pdb issues in Python 3.13.1 + +For some reason it is not always set, it was/is a bug in IPython to not +check. +--- + IPython/core/debugger.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/IPython/core/debugger.py b/IPython/core/debugger.py +index 1f0d7b2fba..76c42e0230 100644 +--- a/IPython/core/debugger.py ++++ b/IPython/core/debugger.py +@@ -550,7 +550,7 @@ def _get_frame_locals(self, frame): + So if frame is self.current_frame we instead return self.curframe_locals + + """ +- if frame is self.curframe: ++ if frame is getattr(self, "curframe", None): + return self.curframe_locals + else: + return frame.f_locals diff --git a/dev-python/ipython/ipython-8.30.0.ebuild b/dev-python/ipython/ipython-8.30.0-r1.ebuild index 265742e39f2a..0c40cb7412aa 100644 --- a/dev-python/ipython/ipython-8.30.0.ebuild +++ b/dev-python/ipython/ipython-8.30.0-r1.ebuild @@ -81,6 +81,8 @@ PDEPEND=" ) " +PATCHES=( "${FILESDIR}"/${P}-python3.13-debugger-pdb-curframe.patch ) # bug #946568 + python_prepare_all() { # Rename the test directory to reduce sys.path pollution # https://github.com/ipython/ipython/issues/12892 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 eb2586280d80..56733bbffc48 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 c0f74ac187e2..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>pastalian46@gmail.com</email> - <name>Takuya Wakazono</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> + <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/nextinspace/Manifest b/dev-python/nextinspace/Manifest index ca45cfafa5b3..44820474adaa 100644 --- a/dev-python/nextinspace/Manifest +++ b/dev-python/nextinspace/Manifest @@ -1 +1,2 @@ DIST nextinspace-2.0.5.gh.tar.gz 48406 BLAKE2B 6f6e2c95fc1a5a8175faca4df0a51de9996ca24847926dc35b94d0e4bd5c9de880ad757606309f622f41c825d0c2e46c587f255573b4df70fe35c937148af9d7 SHA512 c8f55446d9eea0409afb8a8ddb41001b18b55d9105d007b306717a3d932ea1b03ecb2363d0deb42ec8da1cc245b77ffb18cee6ec3474121c15c4c9b79ff80405 +DIST nextinspace-3.0.0.gh.tar.gz 55095 BLAKE2B 02140cbfaeca9fd4cb19fefd40448fc5ffbed19a8e5bcb448800b1c5917d7873be69e0aab5c4d96acf4dfb7fc57b780420de19dc38a523b5ca38c9847cfa0263 SHA512 fa1d20401b7ed910e0c65c9010062cf6d1ffe7e73c09b47f42b19ab1bfbb74612cb7405571e4db0404de81e66211799f38b6654763222643f66e63176e4a72ab diff --git a/dev-python/nextinspace/files/nextinspace-3.0.0-license.patch b/dev-python/nextinspace/files/nextinspace-3.0.0-license.patch new file mode 100644 index 000000000000..0f1708777ff7 --- /dev/null +++ b/dev-python/nextinspace/files/nextinspace-3.0.0-license.patch @@ -0,0 +1,20 @@ +commit 6e03e0f5cc94f039df06506a340b70d38860b84b +Author: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> +Date: Thu Dec 19 18:40:53 2024 +0100 +Upstream: https://github.com/gideonshaked/nextinspace/pull/18 + + Don't install LICENSE file in site-diretory + +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -58,7 +58,9 @@ classifiers = [ + "Programming Language :: Python :: 3 :: Only", + "Natural Language :: English" + ] +-include = ["LICENSE"] ++include = [ ++ { path = "LICENSE", format = "sdist" }, ++] + + [tool.poetry.dependencies] + python = "^3.10" diff --git a/dev-python/nextinspace/nextinspace-3.0.0.ebuild b/dev-python/nextinspace/nextinspace-3.0.0.ebuild new file mode 100644 index 000000000000..ca09ee97de6f --- /dev/null +++ b/dev-python/nextinspace/nextinspace-3.0.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +inherit distutils-r1 + +DESCRIPTION="A command-line tool for seeing the latest in space" +HOMEPAGE="https://github.com/gideonshaked/nextinspace" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/gideonshaked/nextinspace.git" +else + SRC_URI="https://github.com/gideonshaked/nextinspace/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +RDEPEND=" + >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] + >=dev-python/requests-2.24[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-lazy-fixtures[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.8[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/${P}-license.patch" +) + +distutils_enable_tests pytest diff --git a/dev-python/nextinspace/nextinspace-9999.ebuild b/dev-python/nextinspace/nextinspace-9999.ebuild index d212d7d5d684..ca09ee97de6f 100644 --- a/dev-python/nextinspace/nextinspace-9999.ebuild +++ b/dev-python/nextinspace/nextinspace-9999.ebuild @@ -27,21 +27,13 @@ RDEPEND=" " BDEPEND=" test? ( - ${RDEPEND} dev-python/pytest-lazy-fixtures[${PYTHON_USEDEP}] >=dev-python/requests-mock-1.8[${PYTHON_USEDEP}] ) " PATCHES=( - "${FILESDIR}/${PN}-2.0.5-lazy_fixtures.patch" + "${FILESDIR}/${P}-license.patch" ) distutils_enable_tests pytest - -src_prepare() { - default - - # Don't install license files - sed -e '/^include = \["LICENSE"\]$/d' -i pyproject.toml || die -} diff --git a/dev-python/validator-collection/validator-collection-1.5.0-r1.ebuild b/dev-python/validator-collection/validator-collection-1.5.0-r2.ebuild index edd33ff5b22f..5ac48115810c 100644 --- a/dev-python/validator-collection/validator-collection-1.5.0-r1.ebuild +++ b/dev-python/validator-collection/validator-collection-1.5.0-r2.ebuild @@ -8,29 +8,24 @@ PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit distutils-r1 -DESCRIPTION="Python library of 60+ commonly-used validator functions." -HOMEPAGE="https://github.com/insightindustry/validator-collection https://pypi.org/project/validator-collection" -SRC_URI="https://github.com/insightindustry/validator-collection/archive/refs/tags/v.${PV}.tar.gz -> ${P}.gh.tar.gz" +DESCRIPTION="Collection of 60+ Python functions for validating data" +HOMEPAGE=" + https://github.com/insightindustry/validator-collection + https://pypi.org/project/validator-collection +" +SRC_URI="https://github.com/insightindustry/${PN}/archive/refs/tags/v.${PV}.tar.gz -> ${P}.gh.tar.gz" S="${WORKDIR}/${PN}-v.${PV}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="test" +RDEPEND="dev-python/jsonschema[${PYTHON_USEDEP}]" BDEPEND=" - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/sphinx-tabs[${PYTHON_USEDEP}] - dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] test? ( - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/pytest-benchmark[${PYTHON_USEDEP}] - dev-python/pytest-cov[${PYTHON_USEDEP}] - dev-python/codecov[${PYTHON_USEDEP}] dev-python/pyfakefs[${PYTHON_USEDEP}] ) " -DEPEND="${BDEPEND}" EPYTEST_DESELECT=( # Errors, probably because of missing privileges or problems in the virtual file system used in the tests @@ -41,4 +36,7 @@ EPYTEST_DESELECT=( ) distutils_enable_tests pytest -distutils_enable_sphinx docs + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme \ + dev-python/sphinx-tabs |
