From 6494b619f6dc35306dc52b7a4efa6f17ddbd7f13 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Mon, 9 Jan 2023 08:32:07 +0000 Subject: Adding metadata --- dev-python/astroid/Manifest | 1 + dev-python/astroid/astroid-2.13.1.ebuild | 61 +++++++++++++++++ dev-python/cleo/Manifest | 2 - dev-python/cleo/cleo-0.8.1-r1.ebuild | 33 --------- dev-python/cleo/cleo-1.0.0.ebuild | 35 ---------- dev-python/cleo/cleo-2.0.1.ebuild | 4 +- dev-python/coverage/Manifest | 1 + dev-python/coverage/coverage-7.0.4.ebuild | 78 +++++++++++++++++++++ dev-python/django-tables2/Manifest | 1 + .../django-tables2/django-tables2-2.5.1.ebuild | 52 ++++++++++++++ .../google-api-core-2.11.0-r1.ebuild | 73 ++++++++++++++++++++ .../google-api-python-client-2.71.0-r1.ebuild | 53 +++++++++++++++ dev-python/google-auth-httplib2/Manifest | 1 + .../google-auth-httplib2-0.1.0-r2.ebuild | 39 +++++++++++ .../google-auth-oauthlib-0.8.0-r2.ebuild | 39 +++++++++++ dev-python/hatch-vcs/Manifest | 2 - dev-python/hatch-vcs/hatch-vcs-0.2.0.ebuild | 34 ---------- dev-python/hatch-vcs/hatch-vcs-0.2.1.ebuild | 34 ---------- dev-python/hatch-vcs/hatch-vcs-0.3.0.ebuild | 2 +- dev-python/hypothesis/Manifest | 1 + dev-python/hypothesis/hypothesis-6.61.3.ebuild | 77 +++++++++++++++++++++ dev-python/iniconfig/Manifest | 1 + dev-python/iniconfig/iniconfig-2.0.0.ebuild | 31 +++++++++ dev-python/libcloud/Manifest | 1 + dev-python/libcloud/libcloud-3.7.0.ebuild | 60 ++++++++++++++++ dev-python/libtmux/Manifest | 4 +- dev-python/libtmux/libtmux-0.16.1.ebuild | 56 --------------- dev-python/libtmux/libtmux-0.18.2.ebuild | 56 --------------- dev-python/libtmux/libtmux-0.18.3.ebuild | 56 +++++++++++++++ dev-python/libtmux/libtmux-0.19.1.ebuild | 56 +++++++++++++++ dev-python/mkdocs-material/Manifest | 1 + .../mkdocs-material/mkdocs-material-9.0.3.ebuild | 53 +++++++++++++++ dev-python/networkx/Manifest | 1 + dev-python/networkx/networkx-3.0.ebuild | 65 ++++++++++++++++++ dev-python/nox/nox-2022.11.21.ebuild | 5 ++ dev-python/platformdirs/Manifest | 3 - dev-python/platformdirs/platformdirs-2.5.4.ebuild | 35 ---------- dev-python/platformdirs/platformdirs-2.6.0.ebuild | 35 ---------- dev-python/platformdirs/platformdirs-2.6.1.ebuild | 35 ---------- dev-python/platformdirs/platformdirs-2.6.2.ebuild | 4 +- dev-python/prettytable/Manifest | 1 + dev-python/prettytable/prettytable-3.6.0.ebuild | 38 +++++++++++ dev-python/proto-plus/proto-plus-1.22.1-r1.ebuild | 40 +++++++++++ dev-python/redis-py/Manifest | 1 + dev-python/redis-py/redis-py-4.4.1.ebuild | 79 ++++++++++++++++++++++ dev-python/sphinxcontrib-applehelp/Manifest | 1 + .../sphinxcontrib-applehelp-1.0.3.ebuild | 44 ++++++++++++ dev-python/svglib/Manifest | 1 + dev-python/svglib/svglib-1.5.1.ebuild | 38 +++++++++++ 49 files changed, 1057 insertions(+), 367 deletions(-) create mode 100644 dev-python/astroid/astroid-2.13.1.ebuild delete mode 100644 dev-python/cleo/cleo-0.8.1-r1.ebuild delete mode 100644 dev-python/cleo/cleo-1.0.0.ebuild create mode 100644 dev-python/coverage/coverage-7.0.4.ebuild create mode 100644 dev-python/django-tables2/django-tables2-2.5.1.ebuild create mode 100644 dev-python/google-api-core/google-api-core-2.11.0-r1.ebuild create mode 100644 dev-python/google-api-python-client/google-api-python-client-2.71.0-r1.ebuild create mode 100644 dev-python/google-auth-httplib2/google-auth-httplib2-0.1.0-r2.ebuild create mode 100644 dev-python/google-auth-oauthlib/google-auth-oauthlib-0.8.0-r2.ebuild delete mode 100644 dev-python/hatch-vcs/hatch-vcs-0.2.0.ebuild delete mode 100644 dev-python/hatch-vcs/hatch-vcs-0.2.1.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.61.3.ebuild create mode 100644 dev-python/iniconfig/iniconfig-2.0.0.ebuild create mode 100644 dev-python/libcloud/libcloud-3.7.0.ebuild delete mode 100644 dev-python/libtmux/libtmux-0.16.1.ebuild delete mode 100644 dev-python/libtmux/libtmux-0.18.2.ebuild create mode 100644 dev-python/libtmux/libtmux-0.18.3.ebuild create mode 100644 dev-python/libtmux/libtmux-0.19.1.ebuild create mode 100644 dev-python/mkdocs-material/mkdocs-material-9.0.3.ebuild create mode 100644 dev-python/networkx/networkx-3.0.ebuild delete mode 100644 dev-python/platformdirs/platformdirs-2.5.4.ebuild delete mode 100644 dev-python/platformdirs/platformdirs-2.6.0.ebuild delete mode 100644 dev-python/platformdirs/platformdirs-2.6.1.ebuild create mode 100644 dev-python/prettytable/prettytable-3.6.0.ebuild create mode 100644 dev-python/proto-plus/proto-plus-1.22.1-r1.ebuild create mode 100644 dev-python/redis-py/redis-py-4.4.1.ebuild create mode 100644 dev-python/sphinxcontrib-applehelp/sphinxcontrib-applehelp-1.0.3.ebuild create mode 100644 dev-python/svglib/svglib-1.5.1.ebuild (limited to 'dev-python') diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index bff60211af61..eab7457e6012 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,2 +1,3 @@ DIST astroid-2.12.13.gh.tar.gz 437906 BLAKE2B c00462d44c9705dc5b46fc52915e6a44e53e840d5326427d235c9156bc4de58b184271338ebc10a4572e1aace8d4ababd3bd7e440a6ee585aa66d15dfe4117be SHA512 16d062b1a619663b157c4753f1744e56e7d0ef7cace12660feb7f6bc540e54be02638b52c1c877d3eb514e2d7423c4afc71e7d5464880bfd3724ff7ae6d7b90a DIST astroid-2.12.14.gh.tar.gz 440473 BLAKE2B 5b3d55664676b806af73208a2fcbbea2ee0c48bfb59ffa4f54fdc6dd35463d032b4b033530c9d10c52289f3d51c8d59c4d35330a427110c76a1a4566162ceddc SHA512 cdce9ed35ec107bb7ed4a7eb9e778f90c248dbbc00e3da5b4ae86340f960b71f31ffea0cabb677f17bde9daa28f8bed1de4a9f331b8cc975d85793a44dc29b65 +DIST astroid-2.13.1.gh.tar.gz 449003 BLAKE2B 1630cb4cbdea3544942863c58681ba1d5de81bb5d5e49f58bb498d689ab4ad4533bee169eecd6796ad5a62282c8c1f2dc69c7b59b684d1758e0e6e9f8c0f0298 SHA512 703540b1b5ec65d04e56b349cdd82b59672749e58d10e546cba0600ad65a02d05195400379c5534e8b9142b368974d1e18526c86c5ac3b6e2d3dc8db95d7fec7 diff --git a/dev-python/astroid/astroid-2.13.1.ebuild b/dev-python/astroid/astroid-2.13.1.ebuild new file mode 100644 index 000000000000..a7afab1aa951 --- /dev/null +++ b/dev-python/astroid/astroid-2.13.1.ebuild @@ -0,0 +1,61 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Abstract Syntax Tree for logilab packages" +HOMEPAGE=" + https://github.com/PyCQA/astroid/ + https://pypi.org/project/astroid/ +" +SRC_URI=" + https://github.com/PyCQA/astroid/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# Version specified in pyproject.toml +RDEPEND=" + >=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] + gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/networkx/Manifest b/dev-python/networkx/Manifest index 13a1941c634f..f715b0a30e95 100644 --- a/dev-python/networkx/Manifest +++ b/dev-python/networkx/Manifest @@ -1 +1,2 @@ DIST networkx-2.8.8.tar.gz 1960828 BLAKE2B 074e902c2c31e0641fe651d2168c77e62af04b322485bf002f557a42c7a7c63d1391c32f9de95b9d5faf13f7eb9ece93171bb1fdba8548d59df5075ac72263e2 SHA512 c698ed2dcc4221662af585940cf5d6ce1ad97b6b8f6d84348ff1d6b233eb69a36f5fba362bc4bb3a08ec8716434690b52b1d66dc4122edb0f420eaa10023d9d4 +DIST networkx-3.0.tar.gz 1987075 BLAKE2B fd5de216f4934a1d5c730264b3860a91dcaf7a12462b615b1aa22df11bfd7d530a369442eebe185572e94bedf6fae3ef4a452804c84fdf3f1e79527ffab2d5c9 SHA512 73e1a9faca6ecd04f6d8da4cd5a887af31738fbeca3d06adc57a4a61fad1d81ab30e89f9c4d25274b0890519b0a517f09402eea3bf3f26b18c3e3052b837ee37 diff --git a/dev-python/networkx/networkx-3.0.ebuild b/dev-python/networkx/networkx-3.0.ebuild new file mode 100644 index 000000000000..400f0aea381b --- /dev/null +++ b/dev-python/networkx/networkx-3.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_FULLY_TESTED=( python3_{8..11} ) +PYTHON_COMPAT=( "${PYTHON_FULLY_TESTED[@]}" ) + +inherit distutils-r1 optfeature multiprocessing virtualx + +DESCRIPTION="Python tools to manipulate graphs and complex networks" +HOMEPAGE=" + https://networkx.org/ + https://github.com/networkx/networkx/ + https://pypi.org/project/networkx/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +BDEPEND=" + test? ( + >=dev-python/lxml-4.5[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/numpy-1.20[${PYTHON_USEDEP}] + >=dev-python/scipy-1.6.2[${PYTHON_USEDEP}] + ' "${PYTHON_FULLY_TESTED[@]}") + ) +" + +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=() + if ! has_version "dev-python/scipy[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + networkx/drawing/tests/test_pylab.py::test_draw + ) + fi + # virtx implies nonfatal + nonfatal epytest -p no:django -n "$(makeopts_jobs)" || die +} + +src_install() { + distutils-r1_src_install + # those examples use various assets and pre-compressed files + docompress -x /usr/share/doc/${PF}/examples +} + +pkg_postinst() { + optfeature "recommended dependencies" "dev-python/matplotlib dev-python/numpy dev-python/pandas dev-python/scipy" + optfeature "graph drawing and graph layout algorithms" "dev-python/pygraphviz dev-python/pydot" + optfeature "YAML format reading and writing" "dev-python/pyyaml" + optfeature "shapefile format reading and writing" "dev-python/gdal" + optfeature "GraphML XML format" "dev-python/lxml" +} diff --git a/dev-python/nox/nox-2022.11.21.ebuild b/dev-python/nox/nox-2022.11.21.ebuild index c7097b32a6f4..3828f6c759c1 100644 --- a/dev-python/nox/nox-2022.11.21.ebuild +++ b/dev-python/nox/nox-2022.11.21.ebuild @@ -30,6 +30,11 @@ RDEPEND=" >=dev-python/packaging-20.9[${PYTHON_USEDEP}] >=dev-python/virtualenv-14[${PYTHON_USEDEP}] " +BDEPEND=" + test? ( + dev-python/py[${PYTHON_USEDEP}] + ) +" distutils_enable_tests pytest diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index bd3f599ff0e5..4ccd86ab2cd7 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -1,4 +1 @@ -DIST platformdirs-2.5.4.gh.tar.gz 20645 BLAKE2B c995b881bf25d215ffbcfa4d9fd6721d763d2c27e306961965cd16da00bffce5a1e8dc3ebb48f0f499dbc0f5a079fcffbe0755913f61bc3e8a7192e951e8f18b SHA512 35e2f4ff4d289d6d83172105c716b3a337dc55b52be6d4ac653460e6e5696cce2256a645b2e91a8bab4a17f8a6c6e49b4a005924ede8da7ef2d03ede35061703 -DIST platformdirs-2.6.0.gh.tar.gz 20779 BLAKE2B 5958cff9e3583091c365aea0b3380fc02b273d529868587cda80713db43794c5b69df729390152611d1611aa8a29a5aff84d26a4ccd8777bbd800b3c982bb0fe SHA512 727e057197b1f50cd6e9c0afcba042c9c0f85e061a8667f04548966e6d3d8eb80ce35d07d6578f98fc66273f31caf2a0dc7db9599f2f55fe2e89493803c4db57 -DIST platformdirs-2.6.1.gh.tar.gz 21135 BLAKE2B 65cd34d5fcc3aea46f216780d3a069d39395e0e9af1cff7a7af8511318c165233fff50ad6610ccd48a1e98e1dc4ca68f1cb2d6156a2c4e2a4523f04c09abdd0e SHA512 aff9d091ffad8e110aa2b3d615da65e3618b20f26f007210a9cb75d5e7d72d9ab8309e7e5a139f344f9f6dbedb419ab97848f8301e5104a667a6def58f947a6e DIST platformdirs-2.6.2.gh.tar.gz 21184 BLAKE2B 4acc85301f764d4457ace88f9fb409e4d2f8bb17b9133dc3316c4d265a7cf50019298f1ba4cef87f5999b48fd7060687f7008079de26ffe74740a4cefff9309e SHA512 704cc39ba1746055e0459139759e118bd6178fb13cc8ecf580f58d16073fbb8ade0bce8b5eb9230ccc45b19f622a41c84a06f8698ee722da9d5cec44c5f46e25 diff --git a/dev-python/platformdirs/platformdirs-2.5.4.ebuild b/dev-python/platformdirs/platformdirs-2.5.4.ebuild deleted file mode 100644 index 5f2024eecbdf..000000000000 --- a/dev-python/platformdirs/platformdirs-2.5.4.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" -HOMEPAGE=" - https://pypi.org/project/platformdirs/ - https://github.com/platformdirs/platformdirs/ -" -SRC_URI=" - https://github.com/platformdirs/platformdirs/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" - -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/appdirs[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/platformdirs/platformdirs-2.6.0.ebuild b/dev-python/platformdirs/platformdirs-2.6.0.ebuild deleted file mode 100644 index daa913f3bb8a..000000000000 --- a/dev-python/platformdirs/platformdirs-2.6.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" -HOMEPAGE=" - https://pypi.org/project/platformdirs/ - https://github.com/platformdirs/platformdirs/ -" -SRC_URI=" - https://github.com/platformdirs/platformdirs/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/appdirs[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/platformdirs/platformdirs-2.6.1.ebuild b/dev-python/platformdirs/platformdirs-2.6.1.ebuild deleted file mode 100644 index ec990df90bae..000000000000 --- a/dev-python/platformdirs/platformdirs-2.6.1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" -HOMEPAGE=" - https://pypi.org/project/platformdirs/ - https://github.com/platformdirs/platformdirs/ -" -SRC_URI=" - https://github.com/platformdirs/platformdirs/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -BDEPEND=" - >=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}] - test? ( - dev-python/appdirs[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/platformdirs/platformdirs-2.6.2.ebuild b/dev-python/platformdirs/platformdirs-2.6.2.ebuild index ec990df90bae..d04a154560b5 100644 --- a/dev-python/platformdirs/platformdirs-2.6.2.ebuild +++ b/dev-python/platformdirs/platformdirs-2.6.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" >=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}] diff --git a/dev-python/prettytable/Manifest b/dev-python/prettytable/Manifest index 4524f2bd3cd5..15ce1fb497dc 100644 --- a/dev-python/prettytable/Manifest +++ b/dev-python/prettytable/Manifest @@ -1,2 +1,3 @@ DIST prettytable-3.3.0.tar.gz 54305 BLAKE2B 4d131c16b6c6a0fd64aae1f9f54e286bf27b562888af56a6944d192a24c05d6138c3bdb8f298dcc060db7609d72b8d86ab9664bf6bcf43cd2105bdd433bae3cf SHA512 e190717e2ea89e8faddc7015fd5118e0d93ac5f5318641ce5960b22b4ea3740ff12c4d15812b33655252f258c96f9e848f554d1e678d39761c28025ba7772609 DIST prettytable-3.5.0.gh.tar.gz 45387 BLAKE2B 0ddb2c89e80c8f713c01afd4db7d5fcfa8151bcfaf7dcf07d66898b1b868ca093931829fe1b4db96c120a6eda1f84580726931dbd6d49b9870c1fc1eb0e479b9 SHA512 24ef28a42365568bf68a974afd42fcc1bfb9208e1cb75fc1b2890bc2253487afa6536e778b58e320e952ca8bf9b69193bd1293bb7615628d03765ee24c44edff +DIST prettytable-3.6.0.gh.tar.gz 46174 BLAKE2B 2a7e507efdf4ab3282e95e8db14b92477fdd40a06fdb009146ce6a3a52ef49e46a61803ac3cd85d2ec993ad8cc49bd842d438b97fc037e56cb33cd4495b535ef SHA512 b4693a3d30555f598cb955923560d02ce7c757e87ee49bf09c8d50d3ce8bef67ebfad1c780914f488e89852c0e363c2cad098addc058a88864efb8eefa8e9cd8 diff --git a/dev-python/prettytable/prettytable-3.6.0.ebuild b/dev-python/prettytable/prettytable-3.6.0.ebuild new file mode 100644 index 000000000000..861b474e185a --- /dev/null +++ b/dev-python/prettytable/prettytable-3.6.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Easily displaying tabular data in a visually appealing ASCII table format" +HOMEPAGE=" + https://github.com/jazzband/prettytable/ + https://pypi.org/project/prettytable/ +" +SRC_URI=" + https://github.com/jazzband/prettytable/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/wcwidth[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep sqlite) + dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/proto-plus/proto-plus-1.22.1-r1.ebuild b/dev-python/proto-plus/proto-plus-1.22.1-r1.ebuild new file mode 100644 index 000000000000..e185013a1b40 --- /dev/null +++ b/dev-python/proto-plus/proto-plus-1.22.1-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Beautiful, Pythonic protocol buffers" +HOMEPAGE=" + https://github.com/googleapis/proto-plus-python/ + https://pypi.org/project/proto-plus/ +" +SRC_URI=" + https://github.com/googleapis/proto-plus-python/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${PN}-python-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 x86" + +RDEPEND=" + =dev-python/protobuf-python-3.19.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/google-api-core-1.31.5[${PYTHON_USEDEP}] + dev-python/grpcio[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest index 22913d634ce6..db369ab5d50d 100644 --- a/dev-python/redis-py/Manifest +++ b/dev-python/redis-py/Manifest @@ -1 +1,2 @@ DIST redis-py-4.4.0.gh.tar.gz 4637656 BLAKE2B 40b0909c27cefb399353cc2d1d82d7ad3d64e4b3e5ae001ffef9c198d0e65d906f5772a0ac33b599c7fb6ffc5dfad461bb4b9042c5c4fb23dfbfceb0a7facbc0 SHA512 8992f160de7817c48893f3a8588d5c0398dcfb91830a61b4218206adc88185acb102b072507d3064b4a7aade5c957267e5d0e6912510bb106eea834cf9250fab +DIST redis-py-4.4.1.gh.tar.gz 4733306 BLAKE2B b04a5925f87d8c1dbb06b30382f739d6bc39456b6b49be34701afcc1fecfca4783e60a451ddccdaff31f28c38b626e19607a57ebd600f7e28c63a4b62894f397 SHA512 0cec4b518bb56acee6a24ca62e7fdce054b4be764fcfaa860257d8de9f306d9d0f15a662354d7414a4a552475e2b49d97d97de05059310eead068a6269bc3038 diff --git a/dev-python/redis-py/redis-py-4.4.1.ebuild b/dev-python/redis-py/redis-py-4.4.1.ebuild new file mode 100644 index 000000000000..0471f7571158 --- /dev/null +++ b/dev-python/redis-py/redis-py-4.4.1.ebuild @@ -0,0 +1,79 @@ +# 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_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python client for Redis key-value store" +HOMEPAGE=" + https://github.com/redis/redis-py/ + https://pypi.org/project/redis/ +" +SRC_URI=" + https://github.com/redis/redis-py/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Flaky test + tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock + # TODO + tests/test_commands.py::TestRedisCommands::test_acl_list + # redis-7 different return + tests/test_commands.py::TestRedisCommands::test_xautoclaim + ) + + # TODO: try to run more servers? + epytest -m "not redismod and not onlycluster and not replica and not ssl" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + if has_version ">=dev-db/redis-7"; then + local extra_conf=" + enable-debug-command yes + enable-module-command yes + " + fi + + # Spawn Redis itself for testing purposes + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 ::1 + ${extra_conf} + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/sphinxcontrib-applehelp/Manifest b/dev-python/sphinxcontrib-applehelp/Manifest index 45dabb0e11ac..5af12bba789a 100644 --- a/dev-python/sphinxcontrib-applehelp/Manifest +++ b/dev-python/sphinxcontrib-applehelp/Manifest @@ -1 +1,2 @@ DIST sphinxcontrib-applehelp-1.0.2.tar.gz 24548 BLAKE2B 9532cb990ed97c6773388a66895a066958187e9100d226e2274c26ba07fc5832e42ba407864b69b002da926a79e71ac2d6315125906156214df3920b585d9f71 SHA512 1325ac83ff15dd28d6f2791caf64e6c08d1dd2f0946dc8891f5c4d8fd062a1e8650c9c39a7459195ef41f3b425f5b8d6c5e277ea85621a36dd870ca5162508da +DIST sphinxcontrib-applehelp-1.0.3.gh.tar.gz 20624 BLAKE2B d9dbd5974527044ecf2d5800da1a3e4b169fdfc2f322006c56ff70f85f3690c95f7f1161693c3bbd14c90a76b8e64035fd3f5bec1529a35f723ae0a47c5967d1 SHA512 d790a58a0b95f90f370c80d198f0e4181485d522d4dcc6e03874c2a2d53b20f84770507a0c956610135d1ad85ccaab68cb287b1e1c463d32c5a0447a5ae49f45 diff --git a/dev-python/sphinxcontrib-applehelp/sphinxcontrib-applehelp-1.0.3.ebuild b/dev-python/sphinxcontrib-applehelp/sphinxcontrib-applehelp-1.0.3.ebuild new file mode 100644 index 000000000000..12e45ad52bb9 --- /dev/null +++ b/dev-python/sphinxcontrib-applehelp/sphinxcontrib-applehelp-1.0.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Sphinx extension which outputs Apple help book" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinxcontrib-applehelp/ + https://pypi.org/project/sphinxcontrib.applehelp/ +" +SRC_URI=" + https://github.com/sphinx-doc/sphinxcontrib-applehelp/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +PDEPEND=" + >=dev-python/sphinx-2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( ${PDEPEND} ) +" + +distutils_enable_tests pytest + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + distutils_write_namespace sphinxcontrib + cd "${T}" || die + epytest "${S}"/tests +} diff --git a/dev-python/svglib/Manifest b/dev-python/svglib/Manifest index c5075c6ef2ec..a35e18d7d10d 100644 --- a/dev-python/svglib/Manifest +++ b/dev-python/svglib/Manifest @@ -1,2 +1,3 @@ DIST svglib-1.4.1.gh.tar.gz 1265260 BLAKE2B ad4d6a402cd56e2e6f1fb534a8cc9c2bdc038fbdd01aad228d0b6471fd9781bcec88064dd6b93ef324201f141202404d25e31834c0f32a40c0a8037be7196edc SHA512 058aae53224cc590d56585a0f5e45506bd6586f70ddb3d9429052c8b2c18a3906925cd17a19c0f6b46695159eee1914f5e658293e7c40c1a7506f2414f8c41f8 DIST svglib-1.5.0.gh.tar.gz 1265070 BLAKE2B 269a5f290c20bc8a1e5df257ba02449471daf1e9e8ec7128a2008b888c8037d8c610e59bc18d379efd41bbb2bedf265d6751b0d5e2bb34b5ff2c24a4a8f4fca3 SHA512 baa69d766b353ed4da176815a9cc205b9200d1c29b88958f6dcf1de7451d0f8f8783138ddf49aa09dbf49ccd4f36f1a3d9be3d72d7a0d1491dc61840210a850c +DIST svglib-1.5.1.gh.tar.gz 1265304 BLAKE2B e147df6c5326f0ed27ffa56a158442b7727946cd9f51577df36b05b04ffa7ee6b8112736eab92e214ef26b7d055506844820b323e5342e04efbd615a7b8f982f SHA512 5cd93db39078c7598a51e08afee08b689c4c95e5ac6340d1a51f85b6459fa4635b8edf45add3b39d0a079f0177a99b3d4786e40fb6276aa5ba80c9b5513e6d4c diff --git a/dev-python/svglib/svglib-1.5.1.ebuild b/dev-python/svglib/svglib-1.5.1.ebuild new file mode 100644 index 000000000000..1524699da010 --- /dev/null +++ b/dev-python/svglib/svglib-1.5.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Pure-Python library for reading and converting SVG" +HOMEPAGE=" + https://github.com/deeplook/svglib/ + https://pypi.org/project/svglib/ +" +SRC_URI=" + https://github.com/deeplook/svglib/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/cssselect2[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/reportlab[${PYTHON_USEDEP}] + dev-python/tinycss2[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Needs network access + tests/test_samples.py::TestWikipediaFlags::test_convert_pdf + tests/test_samples.py::TestW3CSVG::test_convert_pdf_png +) -- cgit v1.3