diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-10-30 17:59:12 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-10-30 17:59:12 +0000 |
| commit | 66983b0029f6c4803a35bd33ff32bea7abee640f (patch) | |
| tree | 033c822d60e625c9fd7b1289be7f35512e0fa3dc /dev-python | |
| parent | d0b48a4e60d056bda9466abe69007fe01fc644a7 (diff) | |
| download | baldeagleos-repo-66983b0029f6c4803a35bd33ff32bea7abee640f.tar.gz baldeagleos-repo-66983b0029f6c4803a35bd33ff32bea7abee640f.tar.xz baldeagleos-repo-66983b0029f6c4803a35bd33ff32bea7abee640f.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
34 files changed, 489 insertions, 264 deletions
diff --git a/dev-python/aiohttp/aiohttp-3.10.10.ebuild b/dev-python/aiohttp/aiohttp-3.10.10.ebuild index f32d658c9f08..33b02552830b 100644 --- a/dev-python/aiohttp/aiohttp-3.10.10.ebuild +++ b/dev-python/aiohttp/aiohttp-3.10.10.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="+native-extensions test-rust" RDEPEND=" diff --git a/dev-python/cbor2/cbor2-5.6.5.ebuild b/dev-python/cbor2/cbor2-5.6.5.ebuild index 5522aeecc366..4097d59bab93 100644 --- a/dev-python/cbor2/cbor2-5.6.5.ebuild +++ b/dev-python/cbor2/cbor2-5.6.5.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 ~arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="+native-extensions" BDEPEND=" diff --git a/dev-python/hatch-nodejs-version/hatch-nodejs-version-0.3.2.ebuild b/dev-python/hatch-nodejs-version/hatch-nodejs-version-0.3.2.ebuild index f77d9929862f..9a2a25b91e92 100644 --- a/dev-python/hatch-nodejs-version/hatch-nodejs-version-0.3.2.ebuild +++ b/dev-python/hatch-nodejs-version/hatch-nodejs-version-0.3.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/hatchling-0.21.0[${PYTHON_USEDEP}] diff --git a/dev-python/jedi/Manifest b/dev-python/jedi/Manifest index 292e876933b4..04a4fd273b51 100644 --- a/dev-python/jedi/Manifest +++ b/dev-python/jedi/Manifest @@ -1,4 +1,3 @@ DIST django-stubs-fd057010f6cbf176f57d1099e82be46d39b99cb9.tar.gz 183312 BLAKE2B a68f6139903f5001db994ee0d881f40ab74932e81c3e2c3a0c22dc56e6be681d0fb42ce837603b21e4d0d448ccb25884ef0f69039305f309e82603267cee9f6a SHA512 506322c132f94e6a1e88cdbde6027a566387731fa6ad59934f95c3511f49d90eff2a3138363811be648b096407d418cd1f801df0bc35b1e464ef181e4076ada1 -DIST jedi-0.19.1.gh.tar.gz 472341 BLAKE2B 34238969acb5b6e6db0307d1d18c1c6f3cf666c00e590c5f2338584526135b75e56a3b4e0cef63dc52fd96db4078cb4b82e0652a9ca092c99f4da8448bf65d1f SHA512 aaa2684b787ec99d2477755d7b6ef4ec727fd244bb55178cf3a9e78b50f660c6fab7b88d09e3d02e76f17e656cd1cdb6078282b63516e5e52a1852a821540105 DIST jedi-82d1902f382ddac5b0e6647646b72f28a3181ec3.gh.tar.gz 475311 BLAKE2B bb525951a57fd979f4b5dfc49c536b79e3713deb479062abaf668cadc005da98b3d921c48fd5e2d2e8a6ab62dbcae76fcf9cb9e7e26f94cb7d95c363e89c5b5b SHA512 bcfd6b676370363cd9568cf25775bc8a5b0362b04247e2cf5cba828f2578f4b16bb1550fd3bcf227bc6b80601b3de3074d32ea59a1c97673787dad098cc8afbe DIST typeshed-ae9d4f4b21bb5e1239816c301da7b1ea904b44c3.tar.gz 602044 BLAKE2B 53298918a7e9a1163e76d4c70ad2a2117ee90b49329aa82d82b2aaaeaf000c971872f83ed283af6dc4be068b813876760c8b1b4acb4131865572a4aed3ea9230 SHA512 b3b9da66b6c6e03e0b262b3262df31215a5e080468ca9ebf4332ed53d715cd3956db7067fad3ec267042ff704f81ac665c703ef2fd0c5b445d440bd8e52bf1aa diff --git a/dev-python/jedi/jedi-0.19.1.ebuild b/dev-python/jedi/jedi-0.19.1.ebuild deleted file mode 100644 index ca10fd613229..000000000000 --- a/dev-python/jedi/jedi-0.19.1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 - -TYPESHED_P="typeshed-ae9d4f4b21bb5e1239816c301da7b1ea904b44c3" -DJANGO_STUBS_P="django-stubs-fd057010f6cbf176f57d1099e82be46d39b99cb9" - -DESCRIPTION="Autocompletion library for Python" -HOMEPAGE=" - https://github.com/davidhalter/jedi/ - https://pypi.org/project/jedi/ -" -SRC_URI=" - https://github.com/davidhalter/jedi/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - https://github.com/davidhalter/typeshed/archive/${TYPESHED_P#typeshed-}.tar.gz - -> ${TYPESHED_P}.tar.gz - https://github.com/davidhalter/django-stubs/archive/${DJANGO_STUBS_P#django-stubs-}.tar.gz - -> ${DJANGO_STUBS_P/v/}.tar.gz -" - -LICENSE=" - MIT - test? ( Apache-2.0 ) -" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" - -RDEPEND=" - <dev-python/parso-0.9[${PYTHON_USEDEP}] - >=dev-python/parso-0.8.3[${PYTHON_USEDEP}] -" - -# RDEPEND needed because of an import jedi inside conf.py -distutils_enable_sphinx docs \ - dev-python/parso \ - dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -python_prepare_all() { - # upstream includes these as submodules ... - rmdir "${S}"/jedi/third_party/{django-stubs,typeshed} || die - mv "${WORKDIR}/${DJANGO_STUBS_P/v/}" \ - "${S}/jedi/third_party/django-stubs" || die - mv "${WORKDIR}/${TYPESHED_P}" \ - "${S}/jedi/third_party/typeshed" || die - - # test_complete_expanduser relies on $HOME not being empty - > "${HOME}"/somefile || die - - distutils-r1_python_prepare_all -} - -python_test() { - local EPYTEST_DESELECT=( - # fragile - test/test_speed.py - # assumes pristine virtualenv - test/test_inference/test_imports.py::test_os_issues - ) - - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - test/test_api/test_api.py::test_preload_modules - test/test_api/test_interpreter.py::test_param_infer_default - test/test_inference/test_compiled.py::test_next_docstr - test/test_inference/test_compiled.py::test_time_docstring - ) - ;; - esac - - # some plugin breaks case-insensitivity on completions - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # django and pytest tests are very version dependent - epytest -o addopts= -k "not django and not pytest" -} diff --git a/dev-python/jedi/jedi-0.19.1_p20240706.ebuild b/dev-python/jedi/jedi-0.19.1_p20240706.ebuild index 4b26c876ecd5..df4d0eedf9bd 100644 --- a/dev-python/jedi/jedi-0.19.1_p20240706.ebuild +++ b/dev-python/jedi/jedi-0.19.1_p20240706.ebuild @@ -33,7 +33,7 @@ LICENSE=" test? ( Apache-2.0 ) " SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" <dev-python/parso-0.9[${PYTHON_USEDEP}] 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 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/littleutils/littleutils-0.2.4.ebuild b/dev-python/littleutils/littleutils-0.2.4.ebuild index 10b756c41b7d..c6e2ac3f0490 100644 --- a/dev-python/littleutils/littleutils-0.2.4.ebuild +++ b/dev-python/littleutils/littleutils-0.2.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" python_test() { "${EPYTHON}" -m doctest -v littleutils/__init__.py || diff --git a/dev-python/mpmath/Manifest b/dev-python/mpmath/Manifest index 1c59325f1f6e..43a4ae3426cc 100644 --- a/dev-python/mpmath/Manifest +++ b/dev-python/mpmath/Manifest @@ -1,2 +1 @@ -DIST mpmath-1.3.0.tar.gz 508106 BLAKE2B 9d4eebbbb6788dd3ee45c8c30068ef3512043dd09ab626cbaf69b0f6bdf057a6e8c53c34e3dda7627db923f0d536a0bebf83916d8942f4dde9546bb8e0046f33 SHA512 a68028150095d743eae9669a0f70cbe6b7bcb4d27dfad6b1a96575f0885ec7306459a2a464117bab18779883ee8b4293502b4bd0ebd8672767e1d08d38f8b202 DIST mpmath-1.4.0a2.tar.gz 2079112 BLAKE2B 9d2d99dddd4e800b3860f38ef1955b7d803c928d54a7e5d7b07386a127c5a6477818e3ac5c9f679f596c7a2c21bbf430f0bb2348c70ab77d6a888cfb19c6a218 SHA512 523775f3e7d96fd9e0d2c5e4caf855f62d0b683ac00df9dce4fd50d8764bfcf77282fdb34afb51bc53bb303178e7f0e8b6d72700e530d3ca11e3d365b09fc4de diff --git a/dev-python/mpmath/metadata.xml b/dev-python/mpmath/metadata.xml index e56dafa61dc9..64f01a943809 100644 --- a/dev-python/mpmath/metadata.xml +++ b/dev-python/mpmath/metadata.xml @@ -15,5 +15,4 @@ </maintainer> <origin>gentoo-staging</origin> - <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mpmath/mpmath-1.3.0-r1.ebuild b/dev-python/mpmath/mpmath-1.3.0-r1.ebuild deleted file mode 100644 index ee275bfde0ce..000000000000 --- a/dev-python/mpmath/mpmath-1.3.0-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# 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_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 optfeature pypi virtualx - -DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic" -HOMEPAGE=" - https://mpmath.org/ - https://github.com/mpmath/mpmath/ - https://pypi.org/project/mpmath/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - "${EPYTHON}" mpmath/tests/runtests.py -local || die "Tests failed with ${EPYTHON}" -} - -pkg_postinst() { - optfeature "gmp support" dev-python/gmpy - optfeature "matplotlib support" dev-python/matplotlib -} diff --git a/dev-python/mpmath/mpmath-1.4.0_alpha2.ebuild b/dev-python/mpmath/mpmath-1.4.0_alpha2.ebuild index c93e5e4f3d9e..77a931ed7781 100644 --- a/dev-python/mpmath/mpmath-1.4.0_alpha2.ebuild +++ b/dev-python/mpmath/mpmath-1.4.0_alpha2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] @@ -32,10 +32,10 @@ BDEPEND=" dev-python/gmpy[${PYTHON_USEDEP}] ' 'python3*') !mips? ( - dev-python/matplotlib[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/ipython[${PYTHON_USEDEP}] - ' 3.{10..12}) + dev-python/ipython[${PYTHON_USEDEP}] + !hppa? ( + dev-python/matplotlib[${PYTHON_USEDEP}] + ) ) ) " diff --git a/dev-python/nbformat/Manifest b/dev-python/nbformat/Manifest index 801b196148ab..fca7a424a634 100644 --- a/dev-python/nbformat/Manifest +++ b/dev-python/nbformat/Manifest @@ -1,2 +1 @@ -DIST nbformat-5.10.3.tar.gz 142678 BLAKE2B 7de9dab29ca69fe89fb8c080f1e336a22acdc7d9a0daaf69dd03c61f7a01853895bd2302ee90787c3a7a555a27cf5cc1bab6ca0c898c60326ff3870820a00fbe SHA512 9baed15fed4bf05c2c97f7634ce1440149bf5e44a7fd330aa40f7c3954a6f16fc755e1d643a01a4d9ee62fb7a0f24299b83d9a4cf753e7c3495319ee052ae5e8 DIST nbformat-5.10.4.tar.gz 142749 BLAKE2B 88121046cce0e473597f26cb597b3ae9865849cf05bcb64070b48d8bcf3661a6c7b7b7e6845752ca1467e31dd9da939f208e99f51b873ea12e62b3a605bf375b SHA512 cacec6bca3177958863e7ed860c55498a91507634098adc08b49a3bb43f1158a32b0c029262d44d0f1beb1e795ba7d03753b522120a9aec14514ed8d961d5baa diff --git a/dev-python/nbformat/files/nbformat-5.7.1-no-node.patch b/dev-python/nbformat/files/nbformat-5.7.1-no-node.patch deleted file mode 100644 index dc2bfb7c0ab7..000000000000 --- a/dev-python/nbformat/files/nbformat-5.7.1-no-node.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/pyproject.toml b/pyproject.toml -index e30d156..97e57de 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,10 +1,10 @@ - [build-system] --requires = ["hatchling>=1.5", "hatch-nodejs-version"] -+requires = ["hatchling>=1.5"] - build-backend = "hatchling.build" - - [project] - name = "nbformat" --dynamic = ["version"] -+version = "5.10.3" - description = "The Jupyter Notebook format" - license = { file = "COPYING.md" } - keywords = ["Interactive", "Interpreter", "Shell", "Web"] -@@ -58,9 +58,6 @@ test = [ - [project.scripts] - jupyter-trust = "nbformat.sign:TrustNotebookApp.launch_instance" - --[tool.hatch.version] --source = "nodejs" -- - [tool.hatch.envs.docs] - features = ["docs"] - [tool.hatch.envs.docs.scripts] diff --git a/dev-python/nbformat/nbformat-5.10.3-r1.ebuild b/dev-python/nbformat/nbformat-5.10.3-r1.ebuild deleted file mode 100644 index 74394a79baf9..000000000000 --- a/dev-python/nbformat/nbformat-5.10.3-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -PYTHON_REQ_USE='sqlite' - -inherit distutils-r1 pypi - -DESCRIPTION="Reference implementation of the Jupyter Notebook format" -HOMEPAGE=" - https://jupyter.org/ - https://github.com/jupyter/nbformat/ - https://pypi.org/project/nbformat/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/fastjsonschema[${PYTHON_USEDEP}] - >=dev-python/jsonschema-2.6[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.1[${PYTHON_USEDEP}] - dev-python/jupyter-core[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/testpath[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs \ - dev-python/myst-parser \ - dev-python/pydata-sphinx-theme \ - dev-python/sphinxcontrib-github-alt \ - dev-python/sphinxcontrib-spelling -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/nbformat-5.7.1-no-node.patch" -) - -EPYTEST_IGNORE=( - # requires pep440 package, which is not really relevant for us - tests/test_api.py -) diff --git a/dev-python/nbformat/nbformat-5.10.3-r2.ebuild b/dev-python/nbformat/nbformat-5.10.3-r2.ebuild deleted file mode 100644 index c26160720e32..000000000000 --- a/dev-python/nbformat/nbformat-5.10.3-r2.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -PYTHON_REQ_USE='sqlite' - -inherit distutils-r1 pypi - -DESCRIPTION="Reference implementation of the Jupyter Notebook format" -HOMEPAGE=" - https://jupyter.org/ - https://github.com/jupyter/nbformat/ - https://pypi.org/project/nbformat/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - dev-python/fastjsonschema[${PYTHON_USEDEP}] - >=dev-python/jsonschema-2.6[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.1[${PYTHON_USEDEP}] - dev-python/jupyter-core[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-nodejs-version[${PYTHON_USEDEP}] - test? ( - dev-python/testpath[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs \ - dev-python/myst-parser \ - dev-python/pydata-sphinx-theme \ - dev-python/sphinxcontrib-github-alt \ - dev-python/sphinxcontrib-spelling -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # requires pep440 package, which is not really relevant for us - tests/test_api.py -) diff --git a/dev-python/nbformat/nbformat-5.10.4.ebuild b/dev-python/nbformat/nbformat-5.10.4.ebuild index c9f85a8f3927..c8280a7d49ba 100644 --- a/dev-python/nbformat/nbformat-5.10.4.ebuild +++ b/dev-python/nbformat/nbformat-5.10.4.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/fastjsonschema-2.15[${PYTHON_USEDEP}] diff --git a/dev-python/pyasn1-modules/Manifest b/dev-python/pyasn1-modules/Manifest index 7dca03942c77..62a78b1f1b1f 100644 --- a/dev-python/pyasn1-modules/Manifest +++ b/dev-python/pyasn1-modules/Manifest @@ -1 +1,2 @@ DIST pyasn1_modules-0.4.0.tar.gz 307859 BLAKE2B 7808c3ad72cda2292fa358a066cb401884a785281c5ba3c28ec5cbf1a7c7408031ff1018f4e0c4e53ac227a6b7082bb5572216ab12074c90f0a3159330ec3f35 SHA512 d28cbb44788b3a33b9da807d273a6afab38ff420e8ce1264a9ebc68beb003f9ac9673210a5eb829d17ed1ae01798f856a0409dcbcd1a17b489c767d4b11467d3 +DIST pyasn1_modules-0.4.1.tar.gz 310028 BLAKE2B dcffd13196982fb9f4808a789252b9c9910bff3c3eb3e852d13cf1e1285bac4f2900dc62698d9929da4ff882e5d823f2e5290fecd1488e5b61d04c62fe24e2ec SHA512 d3716cafbfe940c5415cb59073897cd15d69b9723064ba581b7d573fe9a0fad9872d88517fe03b0db5b4fa93f8cd3254372e71d60ff5975013c97409b6c22d1d diff --git a/dev-python/pyasn1-modules/files/pyasn1-modules-0.4.1-test.patch b/dev-python/pyasn1-modules/files/pyasn1-modules-0.4.1-test.patch new file mode 100644 index 000000000000..979e5f8d9c78 --- /dev/null +++ b/dev-python/pyasn1-modules/files/pyasn1-modules-0.4.1-test.patch @@ -0,0 +1,168 @@ +From 079c176eb00ed7352c9696efa12a0577beeecd71 Mon Sep 17 00:00:00 2001 +From: Heiko Becker <mail@heiko-becker.de> +Date: Wed, 25 Sep 2024 22:38:42 +0200 +Subject: [PATCH] Stop using pyasn1.compat.octets + +It was removed from pyasn1 in +https://github.com/pyasn1/pyasn1/commit/6f770ba886a8931c35cb090a5c3a6d67f5a41bd9 + +Fixes #19. +--- + tests/test_pem.py | 3 +-- + tests/test_rfc3770.py | 3 +-- + tests/test_rfc4073.py | 3 +-- + tests/test_rfc4334.py | 3 +-- + tests/test_rfc5755.py | 3 +-- + tests/test_rfc6032.py | 7 +++---- + tests/test_rfc6120.py | 1 - + 7 files changed, 8 insertions(+), 15 deletions(-) + +diff --git a/tests/test_pem.py b/tests/test_pem.py +index dbcca5a7..e0fe334d 100644 +--- a/tests/test_pem.py ++++ b/tests/test_pem.py +@@ -7,7 +7,6 @@ + import sys + import unittest + +-from pyasn1.compat.octets import ints2octs + from pyasn1_modules import pem + + +@@ -93,7 +92,7 @@ def testReadBase64fromText(self): + 24, 102, 241, 236, 50 + ] + +- self.assertEqual(ints2octs(expected), binary) ++ self.assertEqual(bytes(expected), binary) + + + suite = unittest.TestLoader().loadTestsFromModule(sys.modules[__name__]) +diff --git a/tests/test_rfc3770.py b/tests/test_rfc3770.py +index 667ab249..93d40932 100644 +--- a/tests/test_rfc3770.py ++++ b/tests/test_rfc3770.py +@@ -10,7 +10,6 @@ + + from pyasn1.codec.der.decoder import decode as der_decoder + from pyasn1.codec.der.encoder import encode as der_encoder +-from pyasn1.compat.octets import str2octs + + from pyasn1_modules import pem + from pyasn1_modules import rfc5480 +@@ -79,7 +78,7 @@ def testOpenTypes(self): + self.assertEqual(extn['extnValue'], der_encoder(extnValue)) + + if extn['extnID'] == rfc3770.id_pe_wlanSSID: +- self.assertIn(str2octs('Example'), extnValue) ++ self.assertIn(b'Example', extnValue) + + if extn['extnID'] == rfc5280.id_ce_extKeyUsage: + self.assertIn(rfc3770.id_kp_eapOverLAN, extnValue) +diff --git a/tests/test_rfc4073.py b/tests/test_rfc4073.py +index 4bd5e5f7..3b516ccb 100644 +--- a/tests/test_rfc4073.py ++++ b/tests/test_rfc4073.py +@@ -10,7 +10,6 @@ + + from pyasn1.codec.der.decoder import decode as der_decoder + from pyasn1.codec.der.encoder import encode as der_encoder +-from pyasn1.compat.octets import str2octs + + from pyasn1_modules import pem + from pyasn1_modules import rfc2634 +@@ -131,7 +130,7 @@ def testOpenTypes(self): + + self.assertIn(next_ci['contentType'], rfc5652.cmsContentTypesMap) + self.assertEqual(rfc5652.id_data, next_ci['contentType']) +- self.assertIn(str2octs('Content-Type: text'), next_ci['content']) ++ self.assertIn(b'Content-Type: text', next_ci['content']) + + for attr in ci['content']['attrs']: + self.assertIn(attr['attrType'], rfc5652.cmsAttributesMap) +diff --git a/tests/test_rfc4334.py b/tests/test_rfc4334.py +index 9ba5fdf3..e180d676 100644 +--- a/tests/test_rfc4334.py ++++ b/tests/test_rfc4334.py +@@ -10,7 +10,6 @@ + + from pyasn1.codec.der.decoder import decode as der_decoder + from pyasn1.codec.der.encoder import encode as der_encoder +-from pyasn1.compat.octets import str2octs + + from pyasn1_modules import pem + from pyasn1_modules import rfc5280 +@@ -67,7 +66,7 @@ def testOpenTypes(self): + self.assertEqual(extn['extnValue'], der_encoder(extnValue)) + + if extn['extnID'] == rfc4334.id_pe_wlanSSID: +- self.assertIn( str2octs('Example'), extnValue) ++ self.assertIn(b'Example', extnValue) + + if extn['extnID'] == rfc5280.id_ce_extKeyUsage: + self.assertIn(rfc4334.id_kp_eapOverLAN, extnValue) +diff --git a/tests/test_rfc5755.py b/tests/test_rfc5755.py +index cf4a05fa..46908e23 100644 +--- a/tests/test_rfc5755.py ++++ b/tests/test_rfc5755.py +@@ -10,7 +10,6 @@ + + from pyasn1.codec.der.decoder import decode as der_decoder + from pyasn1.codec.der.encoder import encode as der_encoder +-from pyasn1.compat.octets import str2octs + + from pyasn1_modules import pem + from pyasn1_modules import rfc5280 +@@ -85,7 +84,7 @@ def testOpenTypes(self): + count += 1 + if attr['type'] == rfc5755.id_aca_authenticationInfo: + self.assertEqual( +- str2octs('password'), attr['values'][0]['authInfo']) ++ b'password', attr['values'][0]['authInfo']) + + self.assertEqual(5, count) + +diff --git a/tests/test_rfc6032.py b/tests/test_rfc6032.py +index 287bad89..2327416d 100644 +--- a/tests/test_rfc6032.py ++++ b/tests/test_rfc6032.py +@@ -10,7 +10,6 @@ + + from pyasn1.codec.der.decoder import decode as der_decoder + from pyasn1.codec.der.encoder import encode as der_encoder +-from pyasn1.compat.octets import str2octs + + from pyasn1_modules import pem + from pyasn1_modules import rfc5652 +@@ -64,7 +63,7 @@ def testDerCodec(self): + self.assertFalse(rest) + self.assertTrue(keyid.prettyPrint()) + self.assertEqual(attrVal0, der_encoder(keyid)) +- self.assertEqual(str2octs('ptf-kdc-812374'), keyid) ++ self.assertEqual(b'ptf-kdc-812374', keyid) + + def testOpenTypes(self): + substrate = pem.readBase64fromText(self.encrypted_key_pkg_pem_text) +@@ -86,8 +85,8 @@ def testOpenTypes(self): + self.assertNotEqual('0x', attr['attrValues'][0].prettyPrint()[:2]) + + if attr['attrType'] == rfc6032.id_aa_KP_contentDecryptKeyID: +- self.assertEqual(str2octs( +- 'ptf-kdc-812374'), attr['attrValues'][0]) ++ self.assertEqual( ++ b'ptf-kdc-812374', attr['attrValues'][0]) + + + suite = unittest.TestLoader().loadTestsFromModule(sys.modules[__name__]) +diff --git a/tests/test_rfc6120.py b/tests/test_rfc6120.py +index bdedab8c..a6217454 100644 +--- a/tests/test_rfc6120.py ++++ b/tests/test_rfc6120.py +@@ -10,7 +10,6 @@ + + from pyasn1.codec.der.decoder import decode as der_decoder + from pyasn1.codec.der.encoder import encode as der_encoder +-from pyasn1.compat.octets import str2octs + + from pyasn1_modules import pem + from pyasn1_modules import rfc5280 diff --git a/dev-python/pyasn1-modules/pyasn1-modules-0.4.1.ebuild b/dev-python/pyasn1-modules/pyasn1-modules-0.4.1.ebuild new file mode 100644 index 000000000000..093dcefe484f --- /dev/null +++ b/dev-python/pyasn1-modules/pyasn1-modules-0.4.1.ebuild @@ -0,0 +1,37 @@ +# 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_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="pyasn1 modules" +HOMEPAGE=" + https://pypi.org/project/pyasn1-modules/ + https://github.com/pyasn1/pyasn1-modules/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +RDEPEND=" + <dev-python/pyasn1-0.7.0[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.4.6[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +PATCHES=( + # https://github.com/pyasn1/pyasn1-modules/pull/22 + "${FILESDIR}/${P}-test.patch" +) + +python_install_all() { + distutils-r1_python_install_all + insinto /usr/share/${P} + doins -r tools +} diff --git a/dev-python/pyasn1/Manifest b/dev-python/pyasn1/Manifest index ce8a6097420f..499a080a73a2 100644 --- a/dev-python/pyasn1/Manifest +++ b/dev-python/pyasn1/Manifest @@ -1 +1,2 @@ DIST pyasn1-0.6.0.tar.gz 148088 BLAKE2B 42ad0d3478c6860b035e27627b019b94b1f39cee8ac62c289349c4fd24e129e1a20f13b57b69c0e5e1376f59524f715e3c42ad2b8e0ed4774000418b74ea8506 SHA512 577bbb750a00e82e7a00806da6c564ab863341e0aa57b74e3132e1be814e0349e33ff05d48c04e58cd514ce97a971a5eafbaae75c978a3eb9268008c2270d15e +DIST pyasn1-0.6.1.tar.gz 145322 BLAKE2B e3f55b01e88aa14e47bcb2a2296ab48eb950b2a80184c525ddb7f7871ebaf2402c28e8e56f1d87b635eb59745f6b717324f1d19c0f0c8fee27474ea78ca1cd7b SHA512 a85036aeafc899b72a0dbd6adfe43d6b4d6ac8e79e2c8a043534ff9298c3a1942aeac42241fcc8a57bf89a9be845fecb01d3814bf812260ec7f370fa2f56e774 diff --git a/dev-python/pyasn1/pyasn1-0.6.1.ebuild b/dev-python/pyasn1/pyasn1-0.6.1.ebuild new file mode 100644 index 000000000000..36e83dd10a03 --- /dev/null +++ b/dev-python/pyasn1/pyasn1-0.6.1.ebuild @@ -0,0 +1,22 @@ +# 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_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="ASN.1 library for Python" +HOMEPAGE=" + https://pypi.org/project/pyasn1/ + https://github.com/pyasn1/pyasn1/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +distutils_enable_tests unittest +distutils_enable_sphinx "docs/source" diff --git a/dev-python/pysmi/Manifest b/dev-python/pysmi/Manifest index bb52a8a9333d..d67294d9340e 100644 --- a/dev-python/pysmi/Manifest +++ b/dev-python/pysmi/Manifest @@ -1 +1,2 @@ DIST pysmi-1.5.0.tar.gz 124064 BLAKE2B 763501b0fd575e356944372f0f173857d8a982a1cc7342636807d7147f7b6615d9c9518f099fb3071356957f0775e7bbd6b5f37d2110947ad22585cc44dff461 SHA512 f99fbc186b2fd481b16269e5b3622821b932459ec97023968ce8e0ae5c2d863702122a44fafb26d901b8a0b03c02f97e60c6999bdde0f19d551a61daf4e926b5 +DIST pysmi-1.5.6.tar.gz 123690 BLAKE2B bd5ca7b8bb5e9eaa3e16f59e4c32eed3cc80a0d17e7834fd0512271ea1b24dfc473d3b63943c4e621d6ba4e469eb5005fe1855387bed831e314e1e349a655d84 SHA512 86522b72726cd6f279a8259ed1037f23b2c03b302c0981e6a89f5a7e93b602a65b2bc8e3a264dea738f10710280a618b93f24563c89e66a30cc0661a90e79549 diff --git a/dev-python/pysmi/pysmi-1.5.6.ebuild b/dev-python/pysmi/pysmi-1.5.6.ebuild new file mode 100644 index 000000000000..a30c82e1cea3 --- /dev/null +++ b/dev-python/pysmi/pysmi-1.5.6.ebuild @@ -0,0 +1,42 @@ +# Copyright 2017-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 pypi + +DESCRIPTION="Pure-Python implementation of SNMP/SMI MIB parsing and conversion library" +HOMEPAGE=" + https://github.com/lextudio/pysmi/ + https://pypi.org/project/pysmi/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86" + +RDEPEND=" + >=dev-python/jinja-3.1.3[${PYTHON_USEDEP}] + >=dev-python/ply-3.11[${PYTHON_USEDEP}] + >=dev-python/requests-2.26.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pysnmp-6.1.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # incompatibility with pysnmp >= 7 + tests/test_objecttype_smiv2_pysnmp.py::ObjectTypeBitsTestCase::testObjectTypeSyntax + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index c069bf120ed8..4d4a6f09d107 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,2 +1,3 @@ DIST stripe-10.12.0.tar.gz 1318680 BLAKE2B 0de2d108c6813d4ed0493b0e2b906a5d41f6b39b0f60fb2730fc3737b9f641d732e22c5ddf5e4e856b6bc5a1b312c10c9304467f29b5474bf8d6a9ca219f876d SHA512 0843cae0e1dd9a54604938a3ae5a28bb681e5166c2e800478c543b22b103626ac138ee999e468e909e3b5865754ed131af5a01287044603082f1f05329da45d3 DIST stripe-11.1.1.tar.gz 1340542 BLAKE2B 49e3884de5db95628efe1dd57685e9cced09d47015e1a7b8f9fa74ec0dd75f16d122bf1f7a579f6786b5886337d77cbf3f68770582431f4eb7dab3c09d2855e1 SHA512 13dd219559abfd38996eef7cf77c0278f58cccf744e34f139bf50068ec4ab18c896b444313103e8eab8eab05653ac6d3ba07a6d5734bde4cdd8cba10c4916be5 +DIST stripe-11.2.0.tar.gz 1362386 BLAKE2B 56e22671886efe3e2b8d3c7f41402f5dcf4320e3ceea8d0ed9cf2813ba682ead62e9af796ef94d05f5eb18f678c55c36a1005902fdceca5ce9a9b5b4ac204193 SHA512 9344845d6b9b89886ea6ec2918b4ce53545141232aadaadfbf3f7bdd6522b1ee1bfe57f0145e69c0edeb66fb01dedb3a9fd7263410f7d2fbae7240c68ac87936 diff --git a/dev-python/stripe/stripe-11.2.0.ebuild b/dev-python/stripe/stripe-11.2.0.ebuild new file mode 100644 index 000000000000..d1292b4bb5a0 --- /dev/null +++ b/dev-python/stripe/stripe-11.2.0.ebuild @@ -0,0 +1,93 @@ +# 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_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Stripe Python bindings" +HOMEPAGE=" + https://github.com/stripe/stripe-python/ + https://pypi.org/project/stripe/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="telemetry" + +RDEPEND=" + >=dev-python/requests-2.20[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] +" +# please bump dev-util/stripe-mock dep to the latest version on every bump +BDEPEND=" + test? ( + >=dev-util/stripe-mock-0.190.0 + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/anyio[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + net-misc/curl + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) + +src_prepare() { + distutils-r1_src_prepare + + if ! use telemetry; then + sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # exception message mismatch with aiohttp-3.10.0 + "tests/test_integration.py::TestIntegration::test_async_timeout[asyncio-aiohttp]" + "tests/test_integration.py::TestIntegration::test_async_raw_request_timeout[asyncio-aiohttp]" + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests -p anyio -p pytest_mock +} + +src_test() { + local stripe_mock_port=12111 + local stripe_mock_max_port=12121 + local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" + # Try to start stripe-mock until we find a free port + while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do + ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" + stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & + local stripe_mock_pid=${!} + sleep 2 + # Did stripe-mock start? + curl --fail -u "sk_test_123:" \ + "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null + eend ${?} "Port ${stripe_mock_port} unavailable" + if [[ ${?} -eq 0 ]]; then + einfo "stripe-mock running on port ${stripe_mock_port}" + break + fi + (( stripe_mock_port++ )) + done + if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then + eerror "Unable to start stripe-mock for tests" + die "Please see the logfile located at: ${stripe_mock_logfile}" + fi + + local -x STRIPE_MOCK_PORT=${stripe_mock_port} + distutils-r1_src_test + + # Tear down stripe-mock + kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" +} diff --git a/dev-python/tinyhtml5/Manifest b/dev-python/tinyhtml5/Manifest new file mode 100644 index 000000000000..b25264645a07 --- /dev/null +++ b/dev-python/tinyhtml5/Manifest @@ -0,0 +1 @@ +DIST tinyhtml5-2.0.0.tar.gz 179507 BLAKE2B 600e4852c49649c77d060114bb412b0cd0cf85c64d627ec4796bbce167605ff5fa15fc11504f8bf170bbce4ab7adbdc76b2f4291971b28b6a30054dab5e4efe5 SHA512 79b78171d021a0cd7f6f56b2e5bd0d9bab422cbec4c601e19cb9c248eac0df74339290f0aaacc12eae4f733e92743a0a24e8caddf709f3bc86f3c022c4df3ded diff --git a/dev-python/tinyhtml5/metadata.xml b/dev-python/tinyhtml5/metadata.xml new file mode 100644 index 000000000000..a0d4c5913ba0 --- /dev/null +++ b/dev-python/tinyhtml5/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/tinyhtml5/tinyhtml5-2.0.0.ebuild b/dev-python/tinyhtml5/tinyhtml5-2.0.0.ebuild new file mode 100644 index 000000000000..21527a33513a --- /dev/null +++ b/dev-python/tinyhtml5/tinyhtml5-2.0.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="HTML parser based on the WHATWG HTML specification" +HOMEPAGE=" + https://doc.courtbouillon.org/tinyhtml5/latest/ + https://github.com/CourtBouillon/tinyhtml5/ + https://pypi.org/project/tinyhtml5/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/webencodings-0.5.1[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest index 76db9b8fcb2d..7af3bbd7ec46 100644 --- a/dev-python/weasyprint/Manifest +++ b/dev-python/weasyprint/Manifest @@ -1 +1,2 @@ DIST weasyprint-62.3.tar.gz 477181 BLAKE2B 144b531e36c0e66fb715d2b1db20affb489e90dc7545435e2d2d5e5e89a0b77e03b5f08166a5ac6f488ed5e2ff5d268408d94edaf66a3327895f719e9329ff60 SHA512 c563019aac075d0f55a153483719a5ea1dd4dced8bf281aeb1c5ccb65b8591e883ea09ca86757073b10a4dd9dc2d718df83ff5913cd5b9ed703fb5cf71bf7fbf +DIST weasyprint-63.0.tar.gz 491295 BLAKE2B f25a777a5057502f5a056417037411325c7600db2f1609c854c43ade98a1d7bda6a5c4663e7221e3b8002dfa763aff1b104541ee4cb55b0079cf973f256efe6d SHA512 79384ead532dbcfc561d2c490fbc04d7d0d11ed3c589fe375e9b2bb43e57a28c5bcfeaa7a6fb8daa1b031ce56720775e7b558c0a6ac5d195dee4310a3a3cab8d diff --git a/dev-python/weasyprint/weasyprint-63.0.ebuild b/dev-python/weasyprint/weasyprint-63.0.ebuild new file mode 100644 index 000000000000..10e346f5b2a5 --- /dev/null +++ b/dev-python/weasyprint/weasyprint-63.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" +HOMEPAGE=" + https://weasyprint.org/ + https://github.com/Kozea/WeasyPrint/ + https://pypi.org/project/weasyprint/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] + >=dev-python/cssselect2-0.1[${PYTHON_USEDEP}] + >=dev-python/fonttools-4.0.0[${PYTHON_USEDEP}] + >=dev-python/pillow-9.1.0[jpeg,jpeg2k,${PYTHON_USEDEP}] + >=dev-python/pydyf-0.11.0[${PYTHON_USEDEP}] + >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] + >=dev-python/tinycss2-1.4.0[${PYTHON_USEDEP}] + >=dev-python/tinyhtml5-2.0.0[${PYTHON_USEDEP}] + media-fonts/dejavu + x11-libs/pango +" + +BDEPEND=" + test? ( + >=app-text/ghostscript-gpl-9.56.1-r3 + media-fonts/ahem + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |
