diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-12-10 11:34:18 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-12-10 11:34:18 +0000 |
| commit | ab62e45380340b7eb7269aa8cfb26752fc111462 (patch) | |
| tree | 6da750220377a0c3e30be02a179c2c6c042f01b0 /dev-python | |
| parent | fff0eb9e60401274bb05a348cca78afbb2742cf9 (diff) | |
| download | baldeagleos-repo-ab62e45380340b7eb7269aa8cfb26752fc111462.tar.gz baldeagleos-repo-ab62e45380340b7eb7269aa8cfb26752fc111462.tar.xz baldeagleos-repo-ab62e45380340b7eb7269aa8cfb26752fc111462.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
54 files changed, 591 insertions, 632 deletions
diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index 98a177d7c6ee..62a41d2b60ec 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -1 +1,2 @@ DIST argcomplete-3.1.6.tar.gz 79685 BLAKE2B df21d5a68a173a3c09b76d866adf949910ad775eb6c7d09d797308e87c128a6eebe173d89fc95aaa42bb87bf08e9c84aa217e8844c9fab5c680c83e07d0c7854 SHA512 7d625dfc49253281f692254a23e7fc4af155b97a7df55a0b33eba9655281702396a1119269cf80b5650885e00d75886fbdcbd85312e7ccac6d940edd6189d50e +DIST argcomplete-3.2.0.tar.gz 80524 BLAKE2B cbe15faf0c46f761204f004a4b630efbb037444a7222c9fcd59dafa7f2d8201edade374cf70fe3a059d3681ef320942dd3b43f0984c04a2cd52fe0571dafce6c SHA512 4ec4b83f68080cf8710b7377ae377a8ae10bc54f46bdd2a825b4c04d80a8d42f63fbc04d6413e2c430d7f4024ecd42f944b102c70e3fa3b60afda10a33994ac7 diff --git a/dev-python/argcomplete/argcomplete-3.2.0.ebuild b/dev-python/argcomplete/argcomplete-3.2.0.ebuild new file mode 100644 index 000000000000..779b34221a7a --- /dev/null +++ b/dev-python/argcomplete/argcomplete-3.2.0.ebuild @@ -0,0 +1,43 @@ +# 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_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Bash tab completion for argparse" +HOMEPAGE=" + https://github.com/kislyuk/argcomplete/ + https://pypi.org/project/argcomplete/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +# pip is called as an external tool +BDEPEND=" + test? ( + app-shells/fish + app-shells/tcsh + app-shells/zsh + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pip-19 + ) +" + +PATCHES=( + # increase test timeouts -- this is particularly necessary + # for entry point tests because they read metadata of all installed + # packages which can take real long on systems with lots of packages + "${FILESDIR}/argcomplete-3.1.6-timeout.patch" +) + +python_test() { + "${EPYTHON}" test/test.py -v || die +} diff --git a/dev-python/argcomplete/files/argcomplete-3.1.6-timeout.patch b/dev-python/argcomplete/files/argcomplete-3.1.6-timeout.patch index d8348818164d..0b2ac120402e 100644 --- a/dev-python/argcomplete/files/argcomplete-3.1.6-timeout.patch +++ b/dev-python/argcomplete/files/argcomplete-3.1.6-timeout.patch @@ -2,10 +2,7 @@ diff --git a/test/test.py b/test/test.py index c89912a..eedfe36 100755 --- a/test/test.py +++ b/test/test.py -@@ -1359,7 +1359,7 @@ class TestBashGlobal(TestBash): - if sys.platform == "darwin": - # Work around https://stackoverflow.com/questions/24257803 - command += ' --install-option="--prefix="' +@@ -1362,4 +1362,4 @@ class TestBashGlobal(TestBash): - install_output = self.sh.run_command(command) + install_output = self.sh.run_command(command, timeout=300) self.assertEqual(self.sh.run_command("echo $?"), "0\r\n", install_output) diff --git a/dev-python/bitarray/Manifest b/dev-python/bitarray/Manifest index 63acd23453b1..e11803bd4251 100644 --- a/dev-python/bitarray/Manifest +++ b/dev-python/bitarray/Manifest @@ -1,2 +1,3 @@ DIST bitarray-2.8.3.tar.gz 128790 BLAKE2B 198723c7e26ad1638f541ae5269a9294e4588d8ece76121c4e2758f79dd704217fb0a83da3b5798f95f93006a18c4a6704aeb0efc7d55a42cc277789c6581154 SHA512 60c551ec98746495c3ae73fc40b660bcadc27dcbb42f022524daf33830494f5d168b9577bb5270de42f59da43a52548cfdb262c3386fafe6c1dd1d18592a7a7e DIST bitarray-2.8.4.tar.gz 129128 BLAKE2B d41ab6d83825c479b4b70aa52d5e314c68223ce46b32a8e5ff3abfd7afd7bb4bb03ffb478d8c58979204109582d725dfdca5070058d0d5dc76fd529cdc347392 SHA512 42533daa7cd98d94f103a873be72244a0a0973dadcbb35441d5efd8134e57b4cd7f77ed734870b58a931f465f26dac1bf81008febac8439b2fa427063ad4947e +DIST bitarray-2.8.5.tar.gz 129895 BLAKE2B a0dc14c488c2c818ca1bbd60abc51fe800b7c4f8a015f373baf90894ea42fe1c70c4d13d235bcbac55fcccb70e2b1245e2b39a0f485e4ce62c44472d3f3f2c9b SHA512 fcae4223608cf308bd1ce07749de2a0c3f00c5d0ff471b25da8c0cc5c289b3776aea0ff24fc7be6b8b89fb86ce268a1989488559b0ed9b08a347d3bb476daaa6 diff --git a/dev-python/bitarray/bitarray-2.8.5.ebuild b/dev-python/bitarray/bitarray-2.8.5.ebuild new file mode 100644 index 000000000000..838465af319e --- /dev/null +++ b/dev-python/bitarray/bitarray-2.8.5.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Efficient arrays of booleans -- C extension" +HOMEPAGE=" + https://github.com/ilanschnell/bitarray/ + https://pypi.org/project/bitarray/ +" + +SLOT="0" +LICENSE="PSF-2" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +python_test() { + "${EPYTHON}" bitarray/test_bitarray.py -v || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 8af9207eb1ab..1dff6636ab84 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -4,8 +4,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 -DIST llvm-project-17.0.5.src.tar.xz 127842560 BLAKE2B 2d657ff14ad2dc932a5cdc6605ad30cba8e22ed8f4adb5ed53bfd9b5b654496023df9eb895f9691e98bba6b6a341b81d8a17361daf81ce4c3cd6a2b3602cd90e SHA512 793b63aa875b6d02e3a2803815cc9361b76c9ab1506967e18630fc3d6811bf51c73f53c51d148a5fc72e87e35dc2b88cb18b48419939c436451fe65c5a326022 -DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B d65bfe2816c49a4b3dda2c70fe5ca6a6b7e922338219e7a62b2f33082d88b700781e184f2b3b0758c1d46825cf369ddd6f8824f3be8d8f3a70a88cfbc06bba45 SHA512 509a61434471463459d3ec837e3f3cce662650d4e72ffc7d28fbeb0d5cfe92d5b1dc4fa568e40f48757b1e708de793bc157de7225ac15a00221191e6c1e660d9 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2 SHA512 6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7 SHA512 f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340 DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 BLAKE2B f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db SHA512 40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45 diff --git a/dev-python/clang-python/clang-python-17.0.5.ebuild b/dev-python/clang-python/clang-python-17.0.5.ebuild deleted file mode 100644 index 6e97c422c39e..000000000000 --- a/dev-python/clang-python/clang-python-17.0.5.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for sys-devel/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - sys-devel/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -python_test() { - # tests rely on results from a specific clang version, so override - # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) - local -x CLANG_NO_DEFAULT_CONFIG=1 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/cson/Manifest b/dev-python/cson/Manifest new file mode 100644 index 000000000000..c15ab9cd2374 --- /dev/null +++ b/dev-python/cson/Manifest @@ -0,0 +1 @@ +DIST pycson-0.8.gh.tar.gz 10448 BLAKE2B 55e2ec4a447761d6764e9f25cdff534d3dcdf2a0e3bfd9255f02b1a5cd9834e4f4323ba47a1659ea973f995c34519622e36c691bef763ba83c8caf87fbc49f58 SHA512 873f1b0d825ad318ca5c62fccbdd12a8738c8b9ff58b4fe27ea611aa47575e24218b5010f6d6b12f5ebda835c2778dd15472ca5c73b634b3004aa08496f45328 diff --git a/dev-python/pycson/pycson-0.8-r4.ebuild b/dev-python/cson/cson-0.8-r4.ebuild index 33319b8149b2..2a8f2b9efdca 100644 --- a/dev-python/pycson/pycson-0.8-r4.ebuild +++ b/dev-python/cson/cson-0.8-r4.ebuild @@ -5,16 +5,27 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + inherit distutils-r1 +MY_P=pycson-${PV} DESCRIPTION="A python parser for the Coffeescript Object Notation (CSON)" -HOMEPAGE="https://github.com/avakar/pycson/" -SRC_URI="https://github.com/avakar/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE=" + https://github.com/avakar/pycson/ + https://pypi.org/project/cson/ +" +SRC_URI=" + https://github.com/avakar/pycson/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm64 ~ppc ~riscv ~x86" +KEYWORDS="amd64 arm64 ~ppc ~riscv x86" -RDEPEND="dev-python/speg[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/speg[${PYTHON_USEDEP}] +" distutils_enable_tests pytest diff --git a/dev-python/pycson/metadata.xml b/dev-python/cson/metadata.xml index ff45577c20ae..ff45577c20ae 100644 --- a/dev-python/pycson/metadata.xml +++ b/dev-python/cson/metadata.xml diff --git a/dev-python/expandvars/expandvars-0.11.0.ebuild b/dev-python/expandvars/expandvars-0.11.0.ebuild index d6035815c4b1..fc1981ea8864 100644 --- a/dev-python/expandvars/expandvars-0.11.0.ebuild +++ b/dev-python/expandvars/expandvars-0.11.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86" distutils_enable_tests pytest diff --git a/dev-python/fonttools/fonttools-4.46.0.ebuild b/dev-python/fonttools/fonttools-4.46.0.ebuild index 7aab6b0f742a..d57e21e8dfd6 100644 --- a/dev-python/fonttools/fonttools-4.46.0.ebuild +++ b/dev-python/fonttools/fonttools-4.46.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" IUSE="+native-extensions" RDEPEND=" diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 68f6881a7e2c..d9aed8576dc1 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,3 +1,4 @@ DIST hypothesis-6.90.0.gh.tar.gz 9395761 BLAKE2B fb910f8f885355d6045f1f218dedf35e6713fbed8d9d247310ec7a8b7aa4549b30715a50ebb0daa5e48f863b6c582a8cbc8910f26ab0da0476bc423f942534fc SHA512 02ca4f5b4c0c6cc2b949d46ac221a3c06a9d05fb89fc17c1a8e42813172b914822ba484970a20d1be1900e5396bf020ba1e274344aa8bf16253f18a6f11c6ac1 DIST hypothesis-6.91.0.gh.tar.gz 9396774 BLAKE2B c2db54aa0cb95725c2ef38854ee04d756551746ea2b9eb5b79728dec274ffed08b9e8357616ce7057f4e988d3194017ea35849bfb88a35ce8d9574dd6710c582 SHA512 e6280e14e600305a0d9007c086fb55a2c5f441e40274d920d627d7cf12f07b0fe65d1e64c42ad712d662cf0f5aa41bfbb00b6ae3a716e88dacb7c72c3067601c DIST hypothesis-6.91.1.gh.tar.gz 9398188 BLAKE2B 3a068ec668f84cf84ebd274505938d861ef7b6f50a9bb33403c26c53b783ee6fe6afba214ca5d9c31e933909dd657d367c09dd74dac257348316e308ed761ccb SHA512 4004fe0dcef1dc679ee512f901f1115426fdbd8d0f2b1fc539c331157d1840bb16c415c7bcf0cbfae3e1dcf6f9741eb8e2ec725810f5d65e20e75f0ea07369b8 +DIST hypothesis-6.92.0.gh.tar.gz 9407699 BLAKE2B 7943aa958e135a954d4534b8992557a4ffd51941529cad6a8bb10b4ccd2e5c136159deaf11f822d96ecf60df536cff8b92756d902cd93de26df74ae10f73e14f SHA512 1fad215bd7ab69896d300ed39fd99a8a7145e6e21799429627b0d587939bfbe01d02fb7e1154a8b31f0b164ba9323b55b6ea36a268be20f1ef282d6b6f0d457a diff --git a/dev-python/hypothesis/hypothesis-6.92.0.ebuild b/dev-python/hypothesis/hypothesis-6.92.0.ebuild new file mode 100644 index 000000000000..a8a6a71f13d8 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.92.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ + tests/cover tests/pytest tests/quality +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/imapclient/Manifest b/dev-python/imapclient/Manifest index e7f0fb02e9e7..58df94c4468f 100644 --- a/dev-python/imapclient/Manifest +++ b/dev-python/imapclient/Manifest @@ -1,3 +1 @@ -DIST imapclient-2.3.1.gh.tar.gz 91141 BLAKE2B c4efbdb4a513277039389e13d0f86498df3bb4c466026510fba55a8cf88316a3c5b02c15215e3e40e8e0b6206e8bd4659e75b1f83ba2a905a2aaec21f8af4b48 SHA512 06a9264e8cc001b8a4a6a855032bbb9b904c94999d090c3f1bedea1ae3a16524f668eb4dfa36e7a23a0622bd9d3e83191dcc1e5e30275cb6fcb7604142e5e2a6 -DIST imapclient-3.0.0.gh.tar.gz 93743 BLAKE2B f1477cc01076876f65afc4e1ca8dcdc5964a2ec129f8decc7c963361a94e262d1312f70959d82772e077062d15d758289fe6942c8395ccea124fbf83ebcc0505 SHA512 01f2b0eaa148e84bf3aae428888da55dec80c3738d31989644da9f7f476fc22877348e9db737d420bbdcc3986e0e74825666ba6970a43d5e2ab6b53b3fee6c1e DIST imapclient-3.0.1.gh.tar.gz 93611 BLAKE2B aff08b392cb15d00d66833c7fba1147202ef37ff5f0ad9fb2c6e79daf67126cea00caaacfa6945b53f2e31b7d1525f4043aaacc94b34e695e26cf35b90f25259 SHA512 36c8740a93d137c5648a20cbe6f1260b3c0e9288ac9d776d318212dad9aebcbfd81e2ff78bc172d29abd97f797c3b494375c6614c2b11a239048c9e747b7a509 diff --git a/dev-python/imapclient/imapclient-2.3.1.ebuild b/dev-python/imapclient/imapclient-2.3.1.ebuild deleted file mode 100644 index 277a27b863c5..000000000000 --- a/dev-python/imapclient/imapclient-2.3.1.ebuild +++ /dev/null @@ -1,34 +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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library" -HOMEPAGE=" - https://github.com/mjs/imapclient/ - https://pypi.org/project/IMAPClient/ -" -SRC_URI=" - https://github.com/mjs/imapclient/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="doc examples" - -RDEPEND="dev-python/six[${PYTHON_USEDEP}]" - -distutils_enable_sphinx doc/src -distutils_enable_tests unittest - -python_install_all() { - distutils-r1_python_install_all - use examples && dodoc -r examples -} diff --git a/dev-python/imapclient/imapclient-3.0.0.ebuild b/dev-python/imapclient/imapclient-3.0.0.ebuild deleted file mode 100644 index 39871d94e597..000000000000 --- a/dev-python/imapclient/imapclient-3.0.0.ebuild +++ /dev/null @@ -1,32 +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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="easy-to-use, pythonic, and complete IMAP client library" -HOMEPAGE=" - https://github.com/mjs/imapclient/ - https://pypi.org/project/IMAPClient/ -" -SRC_URI=" - https://github.com/mjs/imapclient/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="doc examples" - -distutils_enable_sphinx doc/src -distutils_enable_tests unittest - -python_install_all() { - distutils-r1_python_install_all - use examples && dodoc -r examples -} diff --git a/dev-python/imapclient/imapclient-3.0.1.ebuild b/dev-python/imapclient/imapclient-3.0.1.ebuild index 720a17ff488c..e676b25c5ae1 100644 --- a/dev-python/imapclient/imapclient-3.0.1.ebuild +++ b/dev-python/imapclient/imapclient-3.0.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 arm64 x86" +KEYWORDS="amd64 arm64 x86" IUSE="doc examples" distutils_enable_sphinx doc/src diff --git a/dev-python/isort/Manifest b/dev-python/isort/Manifest index 5f6b11e3a97e..4cc17c7c49e3 100644 --- a/dev-python/isort/Manifest +++ b/dev-python/isort/Manifest @@ -1 +1,2 @@ DIST isort-5.12.0.gh.tar.gz 743141 BLAKE2B a7f8deef02b57162eebe15b35e71382c654372a80dedba7eee63d0c9b0899c053fb517401585af17014db3cf9ed44089f6cbd1e2b0ed17393cc667de06bfbddd SHA512 ceb861d1a077be6fecd82fde775bded1fb676c77135e2004c92a6221762e0b3ff6c1071d17957e1add4062ec26ba6c9264e4905724f2c659339cbd0601f4b45e +DIST isort-5.13.0.gh.tar.gz 753826 BLAKE2B 074e8b762b304618a2291d96dc9e18061e5303f3e6772479e8eda42c687cf289c12c73ce585c869df754b244bf14d59c6d2eba10877756287d88f27a3d470939 SHA512 3c5a170b1526ec58f1c774e4b55e2227df0af23eebd7a387d61cd3eaa0a698b5ad22a0be81a87d4e6a026030ffbdaea0f23331a43e28b5df98bf33b7afe2a42d diff --git a/dev-python/isort/isort-5.13.0.ebuild b/dev-python/isort/isort-5.13.0.ebuild new file mode 100644 index 000000000000..823c342367f1 --- /dev/null +++ b/dev-python/isort/isort-5.13.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A python utility/library to sort imports" +HOMEPAGE=" + https://github.com/PyCQA/isort/ + https://pypi.org/project/isort/ +" +SRC_URI=" + https://github.com/PyCQA/isort/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/tomli[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/black[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/natsort[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unbundle tomli + sed -i -e 's:from ._vendored ::' isort/settings.py || die + rm -r isort/_vendored || die + + distutils-r1_src_prepare +} + +python_test() { + cp -a "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + # Install necessary plugins + local p + for p in example*/; do + pushd "${p}" >/dev/null || die + distutils_pep517_install "${BUILD_DIR}"/test + popd >/dev/null || die + done + + local EPYTEST_IGNORE=( + # Excluded from upstream's test script + tests/unit/test_deprecated_finders.py + ) + + if ! has_version "dev-python/pylama[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/unit/test_importable.py + tests/unit/test_pylama_isort.py + ) + fi + + epytest tests/unit +} diff --git a/dev-python/jaraco-collections/Manifest b/dev-python/jaraco-collections/Manifest index ddd3686f4d04..cd80eb0fdf5d 100644 --- a/dev-python/jaraco-collections/Manifest +++ b/dev-python/jaraco-collections/Manifest @@ -1 +1,2 @@ DIST jaraco.collections-4.3.0.tar.gz 17862 BLAKE2B f40c6f40fb7fea5c74244b24a8121471ce4e33615d6db7f0db660f669c8aca65f9fb1986d2213762883b671067c8137c21694e41e7276cd4a9b00bc1989f022d SHA512 cee6169dfbe71752e6ed93db35a41896d891932cab949fed534bb90d5ac246eba3fb19105d39981b5cff9996331914e67858cc1158c23ffa702cf1cdcdced90e +DIST jaraco.collections-5.0.0.tar.gz 17852 BLAKE2B 2ba362417835faea2f3ebfb24c8eeac2b302c64d2f653cf820f16218b5ae92aff270a14680ecee82847f65338d1dafbf9951e92f5874e7df79fd27918d9a2456 SHA512 bc4bf9159c3f2878fb3ed57e311c894986fa106af96423a612f25dbefb51f8dfc77fa1468612a224fbe26c64270745ff1c1db7d05d7c3f5d51040a8773298a73 diff --git a/dev-python/jaraco-collections/jaraco-collections-5.0.0.ebuild b/dev-python/jaraco-collections/jaraco-collections-5.0.0.ebuild new file mode 100644 index 000000000000..1283be057e44 --- /dev/null +++ b/dev-python/jaraco-collections/jaraco-collections-5.0.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Models and classes to supplement the stdlib collections module" +HOMEPAGE=" + https://github.com/jaraco/jaraco.collections/ + https://pypi.org/project/jaraco.collections/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/jaraco-text[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-1.15.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..e9da2ac43cac 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 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 736a1167c898..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,6 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - - <origin>gentoo-guru-overlay</origin> + <maintainer type="person"> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 8af9207eb1ab..1dff6636ab84 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -4,8 +4,6 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43dfd4b921649298b10c3d19da308374c1e49869174294e29943c2af459fe06428264e26881d6c1288ebbc48686cc2cf467c7a SHA512 ca249262c7102e0889ec1bdc6f71a3a6f0e7e5d5fbab8abcd6fccd2871e7955eff7af5b055a76006097baf0dfaf2f5069eff3035b3107fc552abdb2481b21447 -DIST llvm-project-17.0.5.src.tar.xz 127842560 BLAKE2B 2d657ff14ad2dc932a5cdc6605ad30cba8e22ed8f4adb5ed53bfd9b5b654496023df9eb895f9691e98bba6b6a341b81d8a17361daf81ce4c3cd6a2b3602cd90e SHA512 793b63aa875b6d02e3a2803815cc9361b76c9ab1506967e18630fc3d6811bf51c73f53c51d148a5fc72e87e35dc2b88cb18b48419939c436451fe65c5a326022 -DIST llvm-project-17.0.5.src.tar.xz.sig 438 BLAKE2B d65bfe2816c49a4b3dda2c70fe5ca6a6b7e922338219e7a62b2f33082d88b700781e184f2b3b0758c1d46825cf369ddd6f8824f3be8d8f3a70a88cfbc06bba45 SHA512 509a61434471463459d3ec837e3f3cce662650d4e72ffc7d28fbeb0d5cfe92d5b1dc4fa568e40f48757b1e708de793bc157de7225ac15a00221191e6c1e660d9 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2 SHA512 6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7 SHA512 f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340 DIST llvm-project-5237193b87721134541f228e28edfd544a9c8ac8.tar.gz 201404340 BLAKE2B f028b8b100721202007e3106d8ee91bcf2ac90588f9268ec835dc4ea3941363d4b796338146c65d1a9e88957d18738030f713b3fed770616c79cb40043e706db SHA512 40a4d4f99f1a690a0f8737261aeeaa61af6124eeadcb6bab5c3828e88b36b8cce42a8caee6d3f01e675047c59b62210de017d207e341f680eff97758f798ad45 diff --git a/dev-python/lit/lit-17.0.5.ebuild b/dev-python/lit/lit-17.0.5.ebuild deleted file mode 100644 index 061847425c36..000000000000 --- a/dev-python/lit/lit-17.0.5.ebuild +++ /dev/null @@ -1,46 +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_{8,9,10,11,12} ) - -inherit distutils-r1 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from sys-devel/llvm) - -src_prepare() { - # flaky test - # https://github.com/llvm/llvm-project/issues/72022 - rm tests/progress-bar.py || die - - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/livereload/Manifest b/dev-python/livereload/Manifest index f63cedbe64d4..10bd270d011d 100644 --- a/dev-python/livereload/Manifest +++ b/dev-python/livereload/Manifest @@ -1,2 +1 @@ -DIST livereload-2.6.3.tar.gz 29407 BLAKE2B 39f030dbc21bec1b132fd9d43f9072f4c35d23ccdca56819e2c6b35277e9eac9caeeff7052fc766359e34bf415319f809ebd45927bd2cc223be7ac88594feef7 SHA512 ccccb17cb4d835eb9e812f8076f871164f6afb2fdc1aee9e35c5ef2d75be2c0403cee51d4eb30b029d7b35522f357ee8c3e9df926fd93511ba7d010ed2a69e8e DIST python-livereload-2.6.3.gh.tar.gz 29407 BLAKE2B 39f030dbc21bec1b132fd9d43f9072f4c35d23ccdca56819e2c6b35277e9eac9caeeff7052fc766359e34bf415319f809ebd45927bd2cc223be7ac88594feef7 SHA512 ccccb17cb4d835eb9e812f8076f871164f6afb2fdc1aee9e35c5ef2d75be2c0403cee51d4eb30b029d7b35522f357ee8c3e9df926fd93511ba7d010ed2a69e8e diff --git a/dev-python/livereload/livereload-2.6.3-r1.ebuild b/dev-python/livereload/livereload-2.6.3-r1.ebuild index fb92b7b24613..5371a256ca8a 100644 --- a/dev-python/livereload/livereload-2.6.3-r1.ebuild +++ b/dev-python/livereload/livereload-2.6.3-r1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 arm64 x86" +KEYWORDS="amd64 arm64 x86" IUSE="examples" RDEPEND=" diff --git a/dev-python/livereload/livereload-2.6.3.ebuild b/dev-python/livereload/livereload-2.6.3.ebuild deleted file mode 100644 index e78bde07d749..000000000000 --- a/dev-python/livereload/livereload-2.6.3.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Python LiveReload is an awesome tool for web developers" -HOMEPAGE="https://github.com/lepture/python-livereload" -SRC_URI="https://github.com/lepture/python-${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/python-${P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -IUSE="examples" - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - dev-python/tornado[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs dev-python/flask-sphinx-themes - -python_prepare_all() { - # AssertionError: assert (None, None) == ('/var/tmp/portage/dev-python/livereload-2.6.1/work/livereload-2.6.1/tests/tmp/first/foo',\n None) - sed -i -e 's:test_watch_multiple_dirs:_&:' tests/test_watcher.py || die - - distutils-r1_python_prepare_all -} - -python_install_all() { - if use examples; then - docinto examples - dodoc -r example/. - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/mypy/mypy-1.7.1.ebuild b/dev-python/mypy/mypy-1.7.1.ebuild index 12111f84fe9e..ae18c210c422 100644 --- a/dev-python/mypy/mypy-1.7.1.ebuild +++ b/dev-python/mypy/mypy-1.7.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86" IUSE="+native-extensions" # stubgen collides with this package: https://bugs.gentoo.org/585594 diff --git a/dev-python/pathspec/Manifest b/dev-python/pathspec/Manifest index b3170ad1025a..27ac3294b5cf 100644 --- a/dev-python/pathspec/Manifest +++ b/dev-python/pathspec/Manifest @@ -1 +1,2 @@ DIST pathspec-0.11.2.tar.gz 47032 BLAKE2B 4a84b8d5850b226713abff743df4a7ffbef0155454337c20aad78f0fd2dd2ad802d3d0f1e557aaffbb550e85e2e051dc9829090b7a43426795dac802b8da3b7a SHA512 bb1a178db145fee8011f579fb3a87564245e94b22adfac42bda921d8e2b95cab32617379e22d8ec2bd6aa7e6f9d96c10df4503e638aabfe6b358050912ab98a8 +DIST pathspec-0.12.0.tar.gz 50357 BLAKE2B 94c704bd48b6dc741b00e8568ff98affe5d5e50a78d16eacda3f557e71c5baba9b036ecf9c3de50fbf8f6e1015c2d7d8b2fd3788d46e138f79d2bae00977c642 SHA512 c95546a0301333ab42e2af63f0729c3b6ad9ec3b9d3773f3201912866d8544a233ffe8878d1cf96abc6cbb7b46743927cc78233c11812c8d5ffed38be8a4e328 diff --git a/dev-python/pathspec/pathspec-0.12.0.ebuild b/dev-python/pathspec/pathspec-0.12.0.ebuild new file mode 100644 index 000000000000..2559fc67d12a --- /dev/null +++ b/dev-python/pathspec/pathspec-0.12.0.ebuild @@ -0,0 +1,21 @@ +# 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_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Utility library for gitignore style pattern matching of file paths" +HOMEPAGE=" + https://github.com/cpburnz/python-pathspec/ + https://pypi.org/project/pathspec/ +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +distutils_enable_tests unittest diff --git a/dev-python/pycson/Manifest b/dev-python/pycson/Manifest deleted file mode 100644 index ba3e2593baa3..000000000000 --- a/dev-python/pycson/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pycson-0.8.tar.gz 10448 BLAKE2B 55e2ec4a447761d6764e9f25cdff534d3dcdf2a0e3bfd9255f02b1a5cd9834e4f4323ba47a1659ea973f995c34519622e36c691bef763ba83c8caf87fbc49f58 SHA512 873f1b0d825ad318ca5c62fccbdd12a8738c8b9ff58b4fe27ea611aa47575e24218b5010f6d6b12f5ebda835c2778dd15472ca5c73b634b3004aa08496f45328 diff --git a/dev-python/pycson/pycson-0.8-r3.ebuild b/dev-python/pycson/pycson-0.8-r3.ebuild deleted file mode 100644 index ae8c63f694db..000000000000 --- a/dev-python/pycson/pycson-0.8-r3.ebuild +++ /dev/null @@ -1,20 +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_{8,9,10,11,12} ) -inherit distutils-r1 - -DESCRIPTION="A python parser for the Coffeescript Object Notation (CSON)" -HOMEPAGE="https://github.com/avakar/pycson/" -SRC_URI="https://github.com/avakar/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~ppc ~riscv x86" - -RDEPEND="dev-python/speg[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest diff --git a/dev-python/pygal/Manifest b/dev-python/pygal/Manifest index 66fac461d99f..38d7fb8b066a 100644 --- a/dev-python/pygal/Manifest +++ b/dev-python/pygal/Manifest @@ -1,3 +1 @@ -DIST pygal-3.0.0.gh.tar.gz 3575455 BLAKE2B 9b64cf441aeb25b0a0b9834f07e5892fe163f28a5da796d37083f8f3a10d8737a69bad39e503d722e6a36f2de4367b4fd2bdc3a06c5bc30bce66a370690d9c88 SHA512 71ac9f197d711c8cf5bb47caef128754f81b1cb0ba98c4cc67de78b68fca5d40baae9fbb5c978f6abaed4c73b8edfea2de07de2fda1aa7c15e0d81387518cc49 -DIST pygal-3.0.3.gh.tar.gz 3575707 BLAKE2B 32dfb09f7dc5f97c758ff516a131da7ab82afb58028d710017af01220dbee57579cadc56e4b9ae207d71ad7d71d05dd14bd876c563f61f18263a0c2a839c0183 SHA512 052852552e0f07194acc832a953cc69131f2640216c22d5f7e5860b98ad80f24a5532a58b52903fedfcdb6e48331e4c8c02be54e90468476ca3f720be8845985 DIST pygal-3.0.4.gh.tar.gz 3575681 BLAKE2B 1d7b487d17e754323a54a8840f15f722186d4a782883a65f75886e4cd063e20bf0239ef1f1a3ed619f42a83a3fff21ecf9f3613564b716a2765604d64ca0f98c SHA512 5e7e4e7eb5d4a8ccd08fc90ae68bcb7c24f6c1fa36cbe64130f2eda03ff2d3f1caab853691d0e67a02de6b4f64a530f3c5c6ae69815d248819c44923b634e8dd diff --git a/dev-python/pygal/pygal-3.0.0-r4.ebuild b/dev-python/pygal/pygal-3.0.0-r4.ebuild deleted file mode 100644 index ca8036ff7ae9..000000000000 --- a/dev-python/pygal/pygal-3.0.0-r4.ebuild +++ /dev/null @@ -1,50 +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_{8,9,10,11,12} ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 optfeature - -DESCRIPTION="A python SVG charts generator" -HOMEPAGE=" - https://github.com/Kozea/pygal/ - https://pypi.org/project/pygal/ -" -SRC_URI=" - https://github.com/Kozea/pygal/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" - -BDEPEND=" - test? ( - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/pyquery[${PYTHON_USEDEP}] - media-gfx/cairosvg[${PYTHON_USEDEP}] - ) -" - -# CHANGELOG is a symlink to docs/changelog.rst -DOCS=( docs/changelog.rst README.md ) - -distutils_enable_sphinx docs -distutils_enable_tests pytest - -python_prepare_all() { - # Not actually required unless we want to do setup.py test - # https://github.com/Kozea/pygal/issues/430 - sed -i -e "/setup_requires/d" setup.py || die - distutils-r1_python_prepare_all -} - -pkg_postinst() { - optfeature "improving rendering speed" "dev-python/lxml" - optfeature "png rendering" "dev-python/cairosvg" -} diff --git a/dev-python/pygal/pygal-3.0.3.ebuild b/dev-python/pygal/pygal-3.0.3.ebuild deleted file mode 100644 index 2d5afdff7f49..000000000000 --- a/dev-python/pygal/pygal-3.0.3.ebuild +++ /dev/null @@ -1,51 +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_{8,9,10,11,12} ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 optfeature - -DESCRIPTION="A python SVG charts generator" -HOMEPAGE=" - https://github.com/Kozea/pygal/ - https://pypi.org/project/pygal/ -" -SRC_URI=" - https://github.com/Kozea/pygal/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" - -BDEPEND=" - test? ( - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/pyquery[${PYTHON_USEDEP}] - media-gfx/cairosvg[${PYTHON_USEDEP}] - ) -" - -# CHANGELOG is a symlink to docs/changelog.rst -DOCS=( docs/changelog.rst README.md ) - -distutils_enable_sphinx docs -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # Not actually required unless we want to do setup.py test - # https://github.com/Kozea/pygal/issues/430 - sed -i -e "/setup_requires/d" setup.py || die - distutils-r1_python_prepare_all -} - -pkg_postinst() { - optfeature "improving rendering speed" "dev-python/lxml" - optfeature "png rendering" "dev-python/cairosvg" -} diff --git a/dev-python/pygal/pygal-3.0.4.ebuild b/dev-python/pygal/pygal-3.0.4.ebuild index eeb196ac32c0..a0c6a36b5f80 100644 --- a/dev-python/pygal/pygal-3.0.4.ebuild +++ b/dev-python/pygal/pygal-3.0.4.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="amd64 arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv x86" BDEPEND=" test? ( diff --git a/dev-python/pymongo/Manifest b/dev-python/pymongo/Manifest index 07cd73ac93eb..da6d1c264740 100644 --- a/dev-python/pymongo/Manifest +++ b/dev-python/pymongo/Manifest @@ -1,3 +1,2 @@ -DIST mongo-python-driver-4.5.0.gh.tar.gz 1481970 BLAKE2B fcb019042b6447093e1cfb9d66514954c31a26322060842b3c8e93d865f74db356004c6d7090d1a535d1ce523513cbd9e7935c7ee7655cdd47691d1b7ede97f0 SHA512 eb607f692c28daacef436e7649b3265465f8f785a68b29eda16b5ab5d926d0fa4737bcc6974f54778794dfd7fbcd95c30478867d6479ea45d412f2404cb2aa30 DIST mongo-python-driver-4.6.0.gh.tar.gz 1493605 BLAKE2B 088e5d222d64b00f5849435dadf116e51d00bc89c1f25371972256a342df434f068103affc001635138d7a55f9a5d22152cc3b58ef5317e1e39607390c027eb8 SHA512 348dd08c4a64e1f65fd49961b97b3779aa505421359a1f22a2030c9e87248c50eb10fcf39039b10185808dfe693beee3a3c953d09657b3ccfc22875a377240bd DIST mongo-python-driver-4.6.1.gh.tar.gz 1493790 BLAKE2B dd59001536ed5d84553350fe8c93fa5082acd1af23ca2850cb2ba8d69e1e69e2ad250da9f62b4f86e6e9013434cd1d2ed38e44bda946ff5fe0ab74935668bbf1 SHA512 7a6fe18b409961b796dfd403dc100a898b282e0abfd9995f20541b7c5f0f2dbc047c25b45a2bb9ae229954d1cd804918dc4f7487f87e311863452bab41a19414 diff --git a/dev-python/pymongo/pymongo-4.5.0.ebuild b/dev-python/pymongo/pymongo-4.5.0.ebuild deleted file mode 100644 index 9256f886e86b..000000000000 --- a/dev-python/pymongo/pymongo-4.5.0.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit check-reqs distutils-r1 - -MY_P=mongo-python-driver-${PV} -DESCRIPTION="Python driver for MongoDB" -HOMEPAGE=" - https://github.com/mongodb/mongo-python-driver/ - https://pypi.org/project/pymongo/ -" -SRC_URI=" - https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="doc kerberos +native-extensions +test-full" - -RDEPEND=" - <dev-python/dnspython-3.0.0[${PYTHON_USEDEP}] - kerberos? ( dev-python/kerberos[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - test-full? ( - >=dev-db/mongodb-2.6.0 - ) - ) -" - -distutils_enable_sphinx doc -distutils_enable_tests pytest - -reqcheck() { - if use test && use test-full; then - # During the tests, database size reaches 1.5G. - local CHECKREQS_DISK_BUILD=1536M - - check-reqs_${1} - fi -} - -pkg_pretend() { - reqcheck pkg_pretend -} - -pkg_setup() { - reqcheck pkg_setup -} - -python_compile() { - # causes build errors to be fatal - local -x TOX_ENV_NAME=whatever - local DISTUTILS_ARGS=() - # unconditionally implicitly disabled on pypy3 - if ! use native-extensions; then - DISTUTILS_ARGS+=( --no_ext ) - fi - - distutils-r1_python_compile -} - -python_test() { - rm -rf bson pymongo || die - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_DESELECT=( - # network-sandbox - test/test_client.py::ClientUnitTest::test_connection_timeout_ms_propagates_to_DNS_resolver - test/test_client.py::TestClient::test_service_name_from_kwargs - test/test_client.py::TestClient::test_srv_max_hosts_kwarg - test/test_dns.py::TestCaseInsensitive::test_connect_case_insensitive - test/test_srv_polling.py - test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_custom_srvServiceName - test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_invalid_type_for_srvMaxHosts - test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_negative_integer_for_srvMaxHosts - test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_positive_srvMaxHosts_and_loadBalanced=fa - test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts - test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_loadBalanced=true - test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_replicaSet - - # broken regularly by changes in mypy - test/test_typing.py::TestMypyFails::test_mypy_failures - ) - - if ! use test-full; then - # .invalid is guaranteed to return NXDOMAIN per RFC 6761 - local -x DB_IP=mongodb.invalid - epytest - return - fi - - # Yes, we need TCP/IP for that... - local -x DB_IP=127.0.0.1 - local -x DB_PORT=27000 - - local dbpath=${TMPDIR}/mongo.db - local logpath=${TMPDIR}/mongod.log - - # Now, the hard part: we need to find a free port for mongod. - # We're just trying to run it random port numbers and check the log - # for bind errors. It shall be noted that 'mongod --fork' does not - # return failure when it fails to bind. - - mkdir -p "${dbpath}" || die - while true; do - ebegin "Trying to start mongod on port ${DB_PORT}" - - LC_ALL=C \ - mongod --dbpath "${dbpath}" --nojournal \ - --bind_ip ${DB_IP} --port ${DB_PORT} \ - --unixSocketPrefix "${TMPDIR}" \ - --logpath "${logpath}" --fork \ - && sleep 2 - - # Now we need to check if the server actually started... - if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then - # yay! - eend 0 - break - elif grep -q 'Address already in use' "${logpath}"; then - # ay, someone took our port! - eend 1 - : $(( DB_PORT += 1 )) - continue - else - eend 1 - eerror "Unable to start mongod for tests. See the server log:" - eerror " ${logpath}" - die "Unable to start mongod for tests." - fi - done - - local failed - nonfatal epytest || failed=1 - - mongod --dbpath "${dbpath}" --shutdown || die - - [[ ${failed} ]] && die "Tests fail with ${EPYTHON}" - - rm -rf "${dbpath}" || die -} diff --git a/dev-python/pymongo/pymongo-4.6.0.ebuild b/dev-python/pymongo/pymongo-4.6.0.ebuild index 65ce11d6e133..35d6b5984d2c 100644 --- a/dev-python/pymongo/pymongo-4.6.0.ebuild +++ b/dev-python/pymongo/pymongo-4.6.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="doc kerberos +native-extensions +test-full" RDEPEND=" diff --git a/dev-python/speg/speg-0.3_p20180819-r1.ebuild b/dev-python/speg/speg-0.3_p20180819-r1.ebuild deleted file mode 100644 index d283015d5434..000000000000 --- a/dev-python/speg/speg-0.3_p20180819-r1.ebuild +++ /dev/null @@ -1,25 +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_{8,9,10,11,12} ) -inherit distutils-r1 - -MY_COMMIT="877acddfd5ac5ae8b4a4592d045e74e108477643" - -DESCRIPTION="A PEG-based parser interpreter with memoization" -HOMEPAGE="https://github.com/avakar/speg/" -SRC_URI="https://github.com/avakar/speg/archive/${MY_COMMIT}.tar.gz -> ${P}.gh.tar.gz" -S=${WORKDIR}/${PN}-${MY_COMMIT} - -SLOT="0" -LICENSE="MIT" -KEYWORDS="amd64 ~ppc ~riscv x86" - -distutils_enable_tests pytest - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] -" diff --git a/dev-python/speg/speg-0.3_p20180819-r2.ebuild b/dev-python/speg/speg-0.3_p20180819-r2.ebuild index 2900ba81f144..94de7ba55ddb 100644 --- a/dev-python/speg/speg-0.3_p20180819-r2.ebuild +++ b/dev-python/speg/speg-0.3_p20180819-r2.ebuild @@ -16,7 +16,7 @@ S=${WORKDIR}/${PN}-${MY_COMMIT} SLOT="0" LICENSE="MIT" -KEYWORDS="~amd64 arm64 ~ppc ~riscv x86" +KEYWORDS="amd64 arm64 ~ppc ~riscv x86" distutils_enable_tests pytest diff --git a/dev-python/subunit/Manifest b/dev-python/subunit/Manifest index dde0178181c4..fc68f55c9485 100644 --- a/dev-python/subunit/Manifest +++ b/dev-python/subunit/Manifest @@ -1,2 +1 @@ -DIST subunit-1.4.3.gh.tar.gz 105275 BLAKE2B a203d1fc7851cbfe50c419dd9547353912dac2f49f6182f56f424dd839e635aefa00080d1476e589249286215b53f3393a654a062e4c264ddd8915ee4bc6f929 SHA512 831d435963de9e5e58961b0d97b628ac48855fd956c3618ba53b5e372a967e33a2572755869838f9d5e1ff2b206ffc5b93fecb0738b922d23dfb9c7216efdcf1 DIST subunit-1.4.4.gh.tar.gz 105357 BLAKE2B 5937c62357d9cb70e25242aa7678d89f79fed3d8d28fb5306bc21e28d643665e563078a84a9dd64b9192809e542d69218154227c8e5d281c861085d3175c73c4 SHA512 a666e45951afab70ea85cf9614d5e60c8884c0e2d7987e690bf7acedec5c544c412407b02134a125b4dca8772c0b1ce17fdbd9546d97ef06592119ec49b2a21f diff --git a/dev-python/subunit/subunit-1.4.3.ebuild b/dev-python/subunit/subunit-1.4.3.ebuild deleted file mode 100644 index f3307a92d403..000000000000 --- a/dev-python/subunit/subunit-1.4.3.ebuild +++ /dev/null @@ -1,91 +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_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 multilib-minimal autotools - -DESCRIPTION="A streaming protocol for test results" -HOMEPAGE=" - https://launchpad.net/subunit/ - https://pypi.org/project/python-subunit/ -" -SRC_URI=" - https://github.com/testing-cabal/subunit/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0 BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="static-libs test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] - dev-python/iso8601[${PYTHON_USEDEP}] -" -DEPEND=" - ${RDEPEND} - >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}] - >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] - >=virtual/pkgconfig-0-r1 - test? ( - dev-python/fixtures[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/testscenarios[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/subunit-1.4.0-werror.patch" -) - -src_prepare() { - mv all_tests.py python/ || die - - distutils-r1_src_prepare - eautoreconf - multilib_copy_sources -} - -multilib_src_configure() { - ECONF_SOURCE=${S} \ - econf \ - --enable-shared \ - $(use_enable static-libs static) -} - -multilib_src_compile() { - default - multilib_is_native_abi && distutils-r1_src_compile -} - -python_test() { - cd python || die - "${EPYTHON}" -m testtools.run -v all_tests.test_suite || - die "Testing failed with ${EPYTHON}" -} - -multilib_src_test() { - multilib_is_native_abi && distutils-r1_src_test -} - -multilib_src_install() { - local targets=( - install-include_subunitHEADERS - install-pcdataDATA - install-libLTLIBRARIES - ) - emake DESTDIR="${D}" "${targets[@]}" - - multilib_is_native_abi && distutils-r1_src_install -} - -multilib_src_install_all() { - einstalldocs - find "${D}" -name '*.la' -delete || die -} diff --git a/dev-python/subunit/subunit-1.4.4.ebuild b/dev-python/subunit/subunit-1.4.4.ebuild index 66821595e2b0..f3307a92d403 100644 --- a/dev-python/subunit/subunit-1.4.4.ebuild +++ b/dev-python/subunit/subunit-1.4.4.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0 BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="static-libs test" RESTRICT="!test? ( test )" diff --git a/dev-python/sympy/files/sympy-1.12-c99.patch b/dev-python/sympy/files/sympy-1.12-c99.patch new file mode 100644 index 000000000000..311311cfcea3 --- /dev/null +++ b/dev-python/sympy/files/sympy-1.12-c99.patch @@ -0,0 +1,48 @@ +https://github.com/sympy/sympy/pull/25968 + +From 2251ba15d33656fce53668d789c390923eeae919 Mon Sep 17 00:00:00 2001 +From: Jerry James <loganjerry@gmail.com> +Date: Fri, 8 Dec 2023 15:12:26 -0700 +Subject: [PATCH] Avoid incompatible pointer type error with GCC 14 + +--- a/sympy/utilities/autowrap.py ++++ b/sympy/utilities/autowrap.py +@@ -714,7 +714,11 @@ def binary_function(symfunc, expr, **kwargs): + _ufunc_outcalls = Template("*((double *)out${outnum}) = ${funcname}(${call_args});") + + _ufunc_body = Template("""\ ++#ifdef NPY_1_19_API_VERSION ++static void ${funcname}_ufunc(char **args, const npy_intp *dimensions, const npy_intp* steps, void* data) ++#else + static void ${funcname}_ufunc(char **args, npy_intp *dimensions, npy_intp* steps, void* data) ++#endif + { + npy_intp i; + npy_intp n = dimensions[0]; +--- a/sympy/utilities/tests/test_autowrap.py ++++ b/sympy/utilities/tests/test_autowrap.py +@@ -284,7 +284,11 @@ def test_ufuncify_source(): + {NULL, NULL, 0, NULL} + }; + ++#ifdef NPY_1_19_API_VERSION ++static void test_ufunc(char **args, const npy_intp *dimensions, const npy_intp* steps, void* data) ++#else + static void test_ufunc(char **args, npy_intp *dimensions, npy_intp* steps, void* data) ++#endif + { + npy_intp i; + npy_intp n = dimensions[0]; +@@ -378,7 +382,11 @@ def test_ufuncify_source_multioutput(): + {NULL, NULL, 0, NULL} + }; + ++#ifdef NPY_1_19_API_VERSION ++static void multitest_ufunc(char **args, const npy_intp *dimensions, const npy_intp* steps, void* data) ++#else + static void multitest_ufunc(char **args, npy_intp *dimensions, npy_intp* steps, void* data) ++#endif + { + npy_intp i; + npy_intp n = dimensions[0]; + diff --git a/dev-python/sympy/sympy-1.12-r1.ebuild b/dev-python/sympy/sympy-1.12-r1.ebuild new file mode 100644 index 000000000000..2a2bd266fb55 --- /dev/null +++ b/dev-python/sympy/sympy-1.12-r1.ebuild @@ -0,0 +1,116 @@ +# 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_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Computer Algebra System in pure Python" +HOMEPAGE=" + https://www.sympy.org/ + https://github.com/sympy/sympy/ + https://pypi.org/project/sympy/ +" +SRC_URI=" + https://github.com/sympy/sympy/archive/${P}.tar.gz -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${PN}-${P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet symengine texmacs" + +RDEPEND=" + dev-python/mpmath[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + aesara? ( + $(python_gen_cond_dep ' + dev-python/aesara[${PYTHON_USEDEP}] + ' python3_{10..11}) + ) + imaging? ( dev-python/pillow[${PYTHON_USEDEP}] ) + ipython? ( dev-python/ipython[${PYTHON_USEDEP}] ) + latex? ( + virtual/latex-base + dev-texlive/texlive-fontsextra + png? ( app-text/dvipng ) + pdf? ( app-text/ghostscript-gpl ) + ) + mathml? ( dev-python/lxml[${PYTHON_USEDEP}] ) + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) + pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] ) + symengine? ( dev-python/symengine[${PYTHON_USEDEP}] ) + texmacs? ( app-office/texmacs ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/${P}-py312.patch" + "${FILESDIR}/${PN}-1.12-c99.patch" +) + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # require old version of antlr4 + sympy/parsing/tests/test_autolev.py + sympy/parsing/tests/test_latex.py + # crash due to assertions in sys-devel/llvm[debug] + sympy/parsing/tests/test_c_parser.py + + # TODO: pytest? + sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_check + sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_dsolve_dotprodsimp + + # either very slow or hanging + sympy/solvers/ode/tests/test_systems.py::test_linear_new_order1_type2_de_lorentz_slow_check + sympy/integrals/tests/test_failing_integrals.py::test_issue_15227 + sympy/matrices/tests/test_matrices.py::test_pinv_rank_deficient_when_diagonalization_fails + sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type1 + sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type3 + ) + + case ${EPYTHON} in + pypy3) + if has_version "<dev-python/pypy3_10-exe-7.3.13_p2" || + has_version "<dev-python/pypy3_10-exe-bin-7.3.13_p2" + then + EPYTEST_DESELECT+=( + # https://foss.heptapod.net/pypy/pypy/-/issues/4032 + sympy/tensor/array/tests/test_array_comprehension.py::test_arraycomprehensionmap + ) + fi + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest --veryquickcheck || + die -n "Tests failed with ${EPYTHON}" +} + +python_install_all() { + local DOCS=( AUTHORS README.md ) + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all + + if use texmacs; then + exeinto /usr/libexec/TeXmacs/bin/ + doexe data/TeXmacs/bin/tm_sympy + insinto /usr/share/TeXmacs/plugins/sympy/ + doins -r data/TeXmacs/progs + fi +} diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest index 54918cb3c554..f9f362ec21a6 100644 --- a/dev-python/tifffile/Manifest +++ b/dev-python/tifffile/Manifest @@ -1 +1,2 @@ +DIST tifffile-2023.12.9.gh.tar.gz 343750 BLAKE2B c6f3ae05870bbd3fbf67915b2d88ad6662362c28842412449510df8162dc1eb0fd52adb322c4d163c5c3bbc61c182fde08bc38d7b7a4cf6df5554d8e89e6b6c9 SHA512 de51d75cff08f617d638dbd062940ddcd2b0a0ffb25d4670e8d68bd8bcf19ff299695d7b0c8248d5405bfb0015c539b3dacb5133816eace7d0e93cff4f0d2c00 DIST tifffile-2023.9.26.gh.tar.gz 342486 BLAKE2B 034013769c67b3e90bcfdf8b054419d00d35601603d716fa8cc37974cc37a4eabd773983047ad2cfbebfe4b15d7268defcad8f8d69f780af3a47299a52cbadf1 SHA512 ec59c408731143b60cc7664ab038ae885c21400771b0673828bbd07a46c7faafd503c1cedafbd08aaabfde554d2e42664a6f8f2ae753fc4405a9c98f8c2b8e1b diff --git a/dev-python/tifffile/tifffile-2023.12.9.ebuild b/dev-python/tifffile/tifffile-2023.12.9.ebuild new file mode 100644 index 000000000000..3d9c3a66780f --- /dev/null +++ b/dev-python/tifffile/tifffile-2023.12.9.ebuild @@ -0,0 +1,62 @@ +# 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_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Read and write TIFF files" +HOMEPAGE=" + https://pypi.org/project/tifffile/ + https://github.com/cgohlke/tifffile/ + https://www.cgohlke.com/ +" +SRC_URI=" + https://github.com/cgohlke/tifffile/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/dask[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/test_tifffile.py::test_class_omexml + tests/test_tifffile.py::test_class_omexml_fail + tests/test_tifffile.py::test_class_omexml_modulo + tests/test_tifffile.py::test_class_omexml_attributes + tests/test_tifffile.py::test_class_omexml_multiimage + tests/test_tifffile.py::test_write_ome + tests/test_tifffile.py::test_write_ome_manual + # requires tons of free space + tests/test_tifffile.py::test_write_3gb + tests/test_tifffile.py::test_write_5GB_bigtiff + tests/test_tifffile.py::test_write_5GB_fails + tests/test_tifffile.py::test_write_6gb + tests/test_tifffile.py::test_write_bigtiff + 'tests/test_tifffile.py::test_write_imagej_raw' + # TODO + tests/test_tifffile.py::test_issue_imagej_hyperstack_arg + tests/test_tifffile.py::test_issue_description_overwrite + # missing data again? + tests/test_tifffile.py::test_issue_trucated_tileoffsets +) diff --git a/dev-python/typing-extensions/Manifest b/dev-python/typing-extensions/Manifest index 5039e1b1cbf9..e238952a454e 100644 --- a/dev-python/typing-extensions/Manifest +++ b/dev-python/typing-extensions/Manifest @@ -1 +1,2 @@ DIST typing_extensions-4.8.0.gh.tar.gz 83807 BLAKE2B 4b160b79117dfeb83e911ff8c2b91a97512a70c1c5a2a87d6d2bcab7f5604efdb192c3c4eb5cfd7c102744c786e014dafc6346e5c544ec4f995d5810c83f8e73 SHA512 1e82f49d837c3fbead7d0867db667f97be2836f1f98bcde7315eb8c5455e605659fe7759ccf86fcbb2373789d9dab500a3b2a75bbcaf9216521c6b8c2796090a +DIST typing_extensions-4.9.0.gh.tar.gz 87717 BLAKE2B 3935f581badc9b81e52b722b97176008da7fd765c623639d14373b2995a35c464e17490e0c4a17b231cfeed36753f28f1f1abb5cafe0e704686cb30ed7e1787f SHA512 e7e8d21e549194a8e660b004d8026ff39db047ed330220f8a47b1df6f53ec7a172d4c5ffcf605f332ef150bc7333ad6ae86b08019195d3bd22a44d67f51feb80 diff --git a/dev-python/typing-extensions/typing-extensions-4.9.0.ebuild b/dev-python/typing-extensions/typing-extensions-4.9.0.ebuild new file mode 100644 index 000000000000..53923eeea62b --- /dev/null +++ b/dev-python/typing-extensions/typing-extensions-4.9.0.ebuild @@ -0,0 +1,32 @@ +# 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_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/-/_} +DESCRIPTION="Backported and Experimental Type Hints for Python 3.7+" +HOMEPAGE=" + https://pypi.org/project/typing-extensions/ + https://github.com/python/typing_extensions/ +" +SRC_URI=" + https://github.com/python/typing_extensions/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +distutils_enable_tests unittest + +python_test() { + cd src || die + eunittest +} diff --git a/dev-python/watchfiles/watchfiles-0.20.0.ebuild b/dev-python/watchfiles/watchfiles-0.20.0.ebuild index 602f39f297bc..79665948ea61 100644 --- a/dev-python/watchfiles/watchfiles-0.20.0.ebuild +++ b/dev-python/watchfiles/watchfiles-0.20.0.ebuild @@ -82,7 +82,7 @@ LICENSE+=" || ( Artistic-2 CC0-1.0 ) " SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" =dev-python/anyio-3*[${PYTHON_USEDEP}] diff --git a/dev-python/yarl/yarl-1.9.4.ebuild b/dev-python/yarl/yarl-1.9.4.ebuild index 03a0870bf9a6..288b3412ec3c 100644 --- a/dev-python/yarl/yarl-1.9.4.ebuild +++ b/dev-python/yarl/yarl-1.9.4.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" >=dev-python/multidict-4.0[${PYTHON_USEDEP}] |
