diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-03 00:53:15 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-03 00:53:15 +0000 |
| commit | d859d0b5fb3ec724f5a587ec561990a6cdaa8c8d (patch) | |
| tree | 2dc8213a97b795e1714e36153c309e6f15d4efcb /dev-python | |
| parent | 763220cf008485549c2de209b1288eb0bb99391d (diff) | |
| download | baldeagleos-repo-d859d0b5fb3ec724f5a587ec561990a6cdaa8c8d.tar.gz baldeagleos-repo-d859d0b5fb3ec724f5a587ec561990a6cdaa8c8d.tar.xz baldeagleos-repo-d859d0b5fb3ec724f5a587ec561990a6cdaa8c8d.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
31 files changed, 542 insertions, 22 deletions
diff --git a/dev-python/atomicwrites/Manifest b/dev-python/atomicwrites/Manifest index bfbde24ae0c4..dc01ca370d1d 100644 --- a/dev-python/atomicwrites/Manifest +++ b/dev-python/atomicwrites/Manifest @@ -1 +1,2 @@ DIST atomicwrites-1.4.0.tar.gz 11790 BLAKE2B 98a262f46acdfb94f56175368bebe3dbd5d46c1bd694362f5c9211c7be2016821c9a833f1061f41f77adadb3a26b6c6d3ac1761a13bec1f9ac2c3c0a35a58ad2 SHA512 493fd15174880917650643db1fe85e2703add730189c23fcff11ceb87175f546b9251050ade506d0b48300e0f2a39ee5a4dcd4da8cb3e27680fd05553d6662cb +DIST atomicwrites-1.4.1.tar.gz 14227 BLAKE2B 189702d908fde9f7e3ba38abe94d874a9c27d9f6dcf50c635c31835aee9667679670134c68e48449d041c1e45d7775ddf9d3212f6ed4ac89dd100c3eda14ce4c SHA512 d02f58ba639a3ba677eedd78016d366a6e77c79d31903ad34f0a50202aba9b9616f933e9763c42da197ada124abd3510c54d0b10099159308c186bccc6270f32 diff --git a/dev-python/atomicwrites/atomicwrites-1.4.1.ebuild b/dev-python/atomicwrites/atomicwrites-1.4.1.ebuild new file mode 100644 index 000000000000..bd4d2f83d591 --- /dev/null +++ b/dev-python/atomicwrites/atomicwrites-1.4.1.ebuild @@ -0,0 +1,24 @@ +# 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="Atomic file writes" +HOMEPAGE=" + https://github.com/untitaker/python-atomicwrites/ + https://pypi.org/project/atomicwrites/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme diff --git a/dev-python/autobahn/autobahn-22.12.1.ebuild b/dev-python/autobahn/autobahn-22.12.1.ebuild index 7f5969c5cb5b..53a1eb7ab79e 100644 --- a/dev-python/autobahn/autobahn-22.12.1.ebuild +++ b/dev-python/autobahn/autobahn-22.12.1.ebuild @@ -40,7 +40,7 @@ BDEPEND=" test? ( ${RDEPEND} >=dev-python/wsaccel-0.6.3[${PYTHON_USEDEP}] - >=dev-python/snappy-0.6.0[${PYTHON_USEDEP}] + >=dev-python/python-snappy-0.6.0[${PYTHON_USEDEP}] >=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}] >=dev-python/ujson-4.0.2[${PYTHON_USEDEP}] >=dev-python/cbor2-5.2.0[${PYTHON_USEDEP}] @@ -101,7 +101,8 @@ python_test() { pkg_postinst() { optfeature "C-based WebSocket acceleration" "dev-python/wsaccel" - optfeature "non-standard WebSocket compression support" "dev-python/snappy" + optfeature "non-standard WebSocket compression support" \ + "dev-python/python-snappy" optfeature "accelerated WAMP serialization support" \ "dev-python/msgpack dev-python/ujson dev-python/cbor2 dev-python/flatbuffers dev-python/py-ubjson" optfeature "TLS transport encryption" \ diff --git a/dev-python/autobahn/autobahn-22.7.1.ebuild b/dev-python/autobahn/autobahn-22.7.1.ebuild index 785f4fb2b28e..a053dac93928 100644 --- a/dev-python/autobahn/autobahn-22.7.1.ebuild +++ b/dev-python/autobahn/autobahn-22.7.1.ebuild @@ -39,7 +39,7 @@ RDEPEND=" BDEPEND=" test? ( ${RDEPEND} >=dev-python/wsaccel-0.6.3[${PYTHON_USEDEP}] - >=dev-python/snappy-0.6.0[${PYTHON_USEDEP}] + >=dev-python/python-snappy-0.6.0[${PYTHON_USEDEP}] >=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}] >=dev-python/ujson-4.0.2[${PYTHON_USEDEP}] >=dev-python/cbor2-5.2.0[${PYTHON_USEDEP}] @@ -100,7 +100,8 @@ python_test() { pkg_postinst() { optfeature "C-based WebSocket acceleration" "dev-python/wsaccel" - optfeature "non-standard WebSocket compression support" "dev-python/snappy" + optfeature "non-standard WebSocket compression support" \ + "dev-python/python-snappy" optfeature "accelerated WAMP serialization support" \ "dev-python/msgpack dev-python/ujson dev-python/cbor2 dev-python/flatbuffers dev-python/py-ubjson" optfeature "TLS transport encryption" \ diff --git a/dev-python/autobahn/autobahn-23.1.1.ebuild b/dev-python/autobahn/autobahn-23.1.1.ebuild index 7f5969c5cb5b..53a1eb7ab79e 100644 --- a/dev-python/autobahn/autobahn-23.1.1.ebuild +++ b/dev-python/autobahn/autobahn-23.1.1.ebuild @@ -40,7 +40,7 @@ BDEPEND=" test? ( ${RDEPEND} >=dev-python/wsaccel-0.6.3[${PYTHON_USEDEP}] - >=dev-python/snappy-0.6.0[${PYTHON_USEDEP}] + >=dev-python/python-snappy-0.6.0[${PYTHON_USEDEP}] >=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}] >=dev-python/ujson-4.0.2[${PYTHON_USEDEP}] >=dev-python/cbor2-5.2.0[${PYTHON_USEDEP}] @@ -101,7 +101,8 @@ python_test() { pkg_postinst() { optfeature "C-based WebSocket acceleration" "dev-python/wsaccel" - optfeature "non-standard WebSocket compression support" "dev-python/snappy" + optfeature "non-standard WebSocket compression support" \ + "dev-python/python-snappy" optfeature "accelerated WAMP serialization support" \ "dev-python/msgpack dev-python/ujson dev-python/cbor2 dev-python/flatbuffers dev-python/py-ubjson" optfeature "TLS transport encryption" \ diff --git a/dev-python/bitstring/Manifest b/dev-python/bitstring/Manifest index da64d2dfa855..560aa9aaaec4 100644 --- a/dev-python/bitstring/Manifest +++ b/dev-python/bitstring/Manifest @@ -1 +1,2 @@ DIST bitstring-3.1.9.tar.gz 408443 BLAKE2B 747ce06fc33681cbe63d706c2dace5ebce314aea1ba45f8a5a9d65f849bcf253fa9354e39fd80731af4845993e418f27232ede47c940367b8cb425867ffee8c9 SHA512 6dc9c8d683e4415dfd685153b350bd5462117c49c7d8fcd9b2a066f927d82bb2bfae1cc5df543dd38c5e65b93d453ad13d2937f9523b77b007b1234b24ba7be1 +DIST bitstring-bitstring-4.0.1.gh.tar.gz 413983 BLAKE2B a4b424d2c139b34ce5ea81522486d0e42d82a06cfc64ce664505a2c1f1a626939b57b1755642220e2fb4219ead3a2a368006878ea05bdae59a638948b24e8b8c SHA512 f036a042f83c70b830f987114e7eb54754145296c60cd6486f398247a069c50588f3c86395a849a99e3c9b94364f1fcf4fedf4b59b80f03b6aecb38d992f5490 diff --git a/dev-python/bitstring/bitstring-4.0.1.ebuild b/dev-python/bitstring/bitstring-4.0.1.ebuild new file mode 100644 index 000000000000..fb971db740f5 --- /dev/null +++ b/dev-python/bitstring/bitstring-4.0.1.ebuild @@ -0,0 +1,42 @@ +# 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 + +MY_P=${PN}-${P} +DESCRIPTION="A pure Python module for creation and analysis of binary data" +HOMEPAGE=" + https://github.com/scott-griffiths/bitstring/ + https://pypi.org/project/bitstring/ +" +SRC_URI=" + https://github.com/scott-griffiths/${PN}/archive/${P}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +distutils_enable_tests unittest + +src_prepare() { + [[ ${PV} != 4.0.1 ]] && die "Remove the hack!" + cat >> pyproject.toml <<-EOF + + [build-system] + build-backend = "setuptools.build_meta" + EOF + distutils-r1_src_prepare +} + +src_test() { + cd tests || die + distutils-r1_src_test +} diff --git a/dev-python/cachecontrol/Manifest b/dev-python/cachecontrol/Manifest index 7bb1c215429e..50764c5390a3 100644 --- a/dev-python/cachecontrol/Manifest +++ b/dev-python/cachecontrol/Manifest @@ -1 +1 @@ -DIST cachecontrol-0.12.12.gh.tar.gz 41909 BLAKE2B 1b36424e692beba817b650dfc493b78e99a99c7e1f27a845751d1372a926ce4750096aa3c608ea6c499d2bbb60b5410e18d963aeff1a3228cc835af0bd68c081 SHA512 d7477da4c3b64da2c9bbc1e65ee0a389d4631abd2aa7d7f2bbc66f96888dc036e717f8e4042f2adcd75215bdedce8626f7f4cb67c117d43ca546114f0fabd65c +DIST cachecontrol-0.12.11.gh.tar.gz 41338 BLAKE2B 09ce2336216b69dbe9796d658db9f5b0d378259484cba3a78ecd789843e19683adc2b1b90d579cea8700d07ed55a93ecc3a56e5da2c8ab025e5084d2847d4dbf SHA512 be1c91f58edda36192f1267a8fdfdc50685ff57da5d84f5348b608982327993333f18f5c318a20cf258b16d2bc83272ba58317e8c4c44a84d5d1f93b522dfc8b diff --git a/dev-python/cachecontrol/cachecontrol-0.12.12.ebuild b/dev-python/cachecontrol/cachecontrol-0.12.11.ebuild index e7971f555237..a5fcaa9c2dd6 100644 --- a/dev-python/cachecontrol/cachecontrol-0.12.12.ebuild +++ b/dev-python/cachecontrol/cachecontrol-0.12.11.ebuild @@ -29,14 +29,9 @@ RDEPEND=" BDEPEND=" test? ( dev-python/cherrypy[${PYTHON_USEDEP}] - dev-python/filelock[${PYTHON_USEDEP}] + dev-python/lockfile[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] ) " distutils_enable_tests pytest - -src_prepare() { - sed -e 's/setuptools.find_packages(/&exclude=["tests", "tests.*"]/' -i setup.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/caldav/caldav-1.0.1-r1.ebuild b/dev-python/caldav/caldav-1.0.1-r1.ebuild index a0671314492f..92520ca9f831 100644 --- a/dev-python/caldav/caldav-1.0.1-r1.ebuild +++ b/dev-python/caldav/caldav-1.0.1-r1.ebuild @@ -31,7 +31,7 @@ RDEPEND=" BDEPEND=" test? ( dev-python/icalendar[${PYTHON_USEDEP}] - dev-python/python-recurring-ical-events[${PYTHON_USEDEP}] + dev-python/recurring-ical-events[${PYTHON_USEDEP}] dev-python/tzlocal[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] www-apps/radicale[${PYTHON_USEDEP}] diff --git a/dev-python/debugpy/Manifest b/dev-python/debugpy/Manifest index b0fc004581f0..23c020c4fa83 100644 --- a/dev-python/debugpy/Manifest +++ b/dev-python/debugpy/Manifest @@ -1 +1,2 @@ DIST debugpy-1.6.3.gh.tar.gz 6697583 BLAKE2B 38138be3294615e78995575c8f8ad1f990733be90cfaf76197c714e84f179086501417cc2d64627d3a8ecd0fa451e14e3229bd14d02353bc7512e288e8d4f092 SHA512 c055351351f6705b7bbab93ec07abba09027f1f2a52d90a242f51b4eb6fec19821fbb251b8c8e80587d1333faa4c6d7cab5dead938e9739c5c45013af8ee46a7 +DIST debugpy-1.6.6.gh.tar.gz 6942488 BLAKE2B 18c6eee2322239e5cbbacf9431fa7480abcf14a68f290d2228edc8b2ead042e7b09d19ee5bcc60be32e8a6b0b34b925eaa8246991298744f3ca74d4ed2ea3f3e SHA512 1a209bfd702d5f0649ce50b0910023e295953dd39cefdefb0b5af1d6023e629a727610789cd244e656bdf4276cee957fa463506ddaca603ab3ee85cc250dc212 diff --git a/dev-python/debugpy/debugpy-1.6.6.ebuild b/dev-python/debugpy/debugpy-1.6.6.ebuild new file mode 100644 index 000000000000..9e8bf2094221 --- /dev/null +++ b/dev-python/debugpy/debugpy-1.6.6.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="An implementation of the Debug Adapter Protocol for Python" +HOMEPAGE="https://github.com/microsoft/debugpy/ https://pypi.org/project/debugpy/" +SRC_URI=" + https://github.com/microsoft/${PN}/archive/v${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" + +# This is completely broken +RESTRICT="test" + +RDEPEND="dev-python/pydevd[${PYTHON_USEDEP}]" +BDEPEND="test? ( dev-python/pytest-timeout[${PYTHON_USEDEP}] )" + +PATCHES=( + "${FILESDIR}/${PN}-1.6.6-unbundle-pydevd.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + # Drop unnecessary and unrecognized option + # __main__.py: error: unrecognized arguments: -n8 + # Do not timeout + sed -e '/addopts/d' -e '/timeout/d' -i pytest.ini || die + + # Unbundle dev-python/pydevd + rm -r src/debugpy/_vendored tests/tests/test_vendoring.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/debugpy/files/debugpy-1.6.6-unbundle-pydevd.patch b/dev-python/debugpy/files/debugpy-1.6.6-unbundle-pydevd.patch new file mode 100644 index 000000000000..d285775c9246 --- /dev/null +++ b/dev-python/debugpy/files/debugpy-1.6.6-unbundle-pydevd.patch @@ -0,0 +1,77 @@ +diff --git a/pyproject.toml b/pyproject.toml +index 9a79e55..8725d19 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -8,7 +8,6 @@ exclude = ''' + ( __pycache__ + | ^/.tox + | ^/versioneer.py +-| ^/src/debugpy/_vendored + | ^/src/debugpy/_version.py + ) + ''' +diff --git a/setup.py b/setup.py +index 3abc811..c11924c 100644 +--- a/setup.py ++++ b/setup.py +@@ -18,12 +18,10 @@ del sys.path[0] + + sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "src")) + import debugpy +-import debugpy._vendored + + del sys.path[0] + + +-PYDEVD_ROOT = debugpy._vendored.project_root("pydevd") + DEBUGBY_ROOT = os.path.dirname(os.path.abspath(debugpy.__file__)) + + +@@ -146,8 +144,6 @@ if __name__ == "__main__": + extras["platforms"] = platforms + + cmds = versioneer.get_cmdclass() +- override_build(cmds) +- override_build_py(cmds) + + setuptools.setup( + name="debugpy", +@@ -183,14 +179,9 @@ if __name__ == "__main__": + "debugpy.common", + "debugpy.launcher", + "debugpy.server", +- "debugpy._vendored", + ], + package_data={ + "debugpy": ["ThirdPartyNotices.txt"], +- "debugpy._vendored": [ +- # pydevd extensions must be built before this list can be computed properly, +- # so it is populated in the overridden build_py.finalize_options(). +- ], + }, + ext_modules=ExtModules(), + has_ext_modules=lambda: True, +diff --git a/src/debugpy/server/__init__.py b/src/debugpy/server/__init__.py +index 42d5367..e333dcf 100644 +--- a/src/debugpy/server/__init__.py ++++ b/src/debugpy/server/__init__.py +@@ -1,7 +1,3 @@ + # Copyright (c) Microsoft Corporation. All rights reserved. + # Licensed under the MIT License. See LICENSE in the project root + # for license information. +- +-# "force_pydevd" must be imported first to ensure (via side effects) +-# that the debugpy-vendored copy of pydevd gets used. +-import debugpy._vendored.force_pydevd # noqa +diff --git a/src/debugpy/server/attach_pid_injected.py b/src/debugpy/server/attach_pid_injected.py +index a8df6e1..a29a969 100644 +--- a/src/debugpy/server/attach_pid_injected.py ++++ b/src/debugpy/server/attach_pid_injected.py +@@ -31,7 +31,6 @@ def attach(setup): + pydevd_attach_to_process_path = os.path.join( + _debugpy_dir, + "debugpy", +- "_vendored", + "pydevd", + "pydevd_attach_to_process", + ) diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 88797fd43007..9a1a034b57e2 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -4,3 +4,4 @@ DIST hypothesis-6.64.0.gh.tar.gz 9345246 BLAKE2B 2ee9a14e84bb72a8248c28096a31b48 DIST hypothesis-6.65.0.gh.tar.gz 9347619 BLAKE2B 5e67e4659d883209aefe3a459620a2d9774122cb15137851f291365846b179130a1209b18aabd4cb120dd5f522e2ac1b3928904e9b25b10109ae779926712220 SHA512 93ecf5bd72e6f8ff69acb8056f2bb26011cbc997c58bbf3055f17c4690d6fe21f22d6e2a86bc3e7172063c85278b7abc42904028ac73174d6f2855ff7175449f DIST hypothesis-6.65.1.gh.tar.gz 9347804 BLAKE2B 555b8eb742b35cffbc0985394b7b830fbff0c601c031b270ffb50c8e1e8437b99c4f827b92cfc74f5239aac43b34e70520b3674129c70338ad010b289552b14b SHA512 faa1330477a5932b47af5c0b70742a81455aba85f5ba19e355a1678a23e62612a8972e510f3bd0f133491fdd5c2f293a4ea2f75e181dedaa3304d789e3bc90cc DIST hypothesis-6.65.2.gh.tar.gz 9349189 BLAKE2B 4a36cde376a56c9eee7645c76606777e8c40144f0495a1a6f2d2d840262be26f52e077f932e90790214decfbc3fbb9b3f64add1830e451bb8e56b8c9c5ba5f34 SHA512 0955e95d9d97f44170dfc937c3ea6b43f6c4ac74dbb48e16a4998e735310f72448083382f6628b4bb9620ac0d21d6c749a5464c6a7caee24cdb7af8cd0c01dcb +DIST hypothesis-6.66.0.gh.tar.gz 9349578 BLAKE2B 3dcdd9bcca00849d68a4bf1368784099bf69e25634b7d1dae13b40be2ac67959151c1b9cdf233349197de1a0f100d57baebbeb9a691ce56ec2d81d21c9f48989 SHA512 a73648ba0b4e3a0621e843ad3ea32f3f692374b82881b096c86a9609f4f7d1a277dd5265a4104863c648c6d5ee4dbccdb1d80ffe62bcc303f837cea26f7d40f2 diff --git a/dev-python/hypothesis/hypothesis-6.66.0.ebuild b/dev-python/hypothesis/hypothesis-6.66.0.ebuild new file mode 100644 index 000000000000..c1f03337fcd2 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.66.0.ebuild @@ -0,0 +1,77 @@ +# 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_{9..10} ) +PYTHON_COMPAT=( python3_{7,8,9,10,11} 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-19.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.8 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/mock[${PYTHON_USEDEP}] + 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,pytest_forked,_hypothesis_pytestplugin + + epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)" +} + +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/kafka-python/kafka-python-2.0.2.ebuild b/dev-python/kafka-python/kafka-python-2.0.2.ebuild index 85197bacdae7..c9d96ae58089 100644 --- a/dev-python/kafka-python/kafka-python-2.0.2.ebuild +++ b/dev-python/kafka-python/kafka-python-2.0.2.ebuild @@ -22,7 +22,7 @@ BDEPEND=" dev-python/mock[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] dev-python/python-zstandard[${PYTHON_USEDEP}] - dev-python/snappy[${PYTHON_USEDEP}] + dev-python/python-snappy[${PYTHON_USEDEP}] )" distutils_enable_tests pytest @@ -39,6 +39,6 @@ python_test() { pkg_postinst() { optfeature "LZ4 compression/decompression support" dev-python/lz4 - optfeature "Snappy compression support" dev-python/snappy + optfeature "Snappy compression support" dev-python/python-snappy optfeature "ZSTD compression/decompression support" dev-python/python-zstandard } diff --git a/dev-python/openapi-spec-validator/Manifest b/dev-python/openapi-spec-validator/Manifest index b575645e8589..3ab4c384229a 100644 --- a/dev-python/openapi-spec-validator/Manifest +++ b/dev-python/openapi-spec-validator/Manifest @@ -2,3 +2,4 @@ DIST openapi-spec-validator-0.4.0.gh.tar.gz 46051 BLAKE2B 43a1458ab1801700261f75 DIST openapi-spec-validator-0.5.1.gh.tar.gz 39539 BLAKE2B 66adbed2c85527f89e510d5cbc11ccf05f23546191e2677a1c34f7545d2e975dda37f1c53e988e37cf526663053ac0176567137273e3be9156b24deda89db6c1 SHA512 b70a2f926d889fec9d4fd26c51e1fbbeb5e75f13449d2d0205b1b7edb12ab2ba49e4cac69426f782ca3a4430c79a6de8f66b4aad2fc552bcfcf7005e866522ff DIST openapi-spec-validator-0.5.2.gh.tar.gz 39743 BLAKE2B 92a4c4503add68c2683f4229f7b68b7cf98d38f36f3c03835b03be5e2a1092ebbb46a9f8d09bfb9e3cf7059a2a72ff01b81742986d479c2713dc6ef783718e00 SHA512 68f7d507a239c555575e2edb3bab576fd1fede9bcebde48c57361e3e764c9c19c4dc0d63e650851c2f6e7f2dd7f4efcdcd028842e259aa9e341823cd052a6e20 DIST openapi-spec-validator-0.5.3.gh.tar.gz 57006 BLAKE2B 0b92de74c3615789de5bb78340f75b5833172020aa8da987dd129ad24a339e93851d7830f9eb0be192af5cd35120bd5ec9601140e6edc964d5577950ac968bf5 SHA512 ef197f7bd05bcc7523a5b8992b602d5a7ea8c9cabe2166889d41ad764d2f96d7a90cbc11c247d7c33a33747cb2e6667bcbd279260d1bfc394769ef5fd1c19b25 +DIST openapi-spec-validator-0.5.4.gh.tar.gz 57072 BLAKE2B d314fb62a106204fb706193c60b869a49d4e81a92d40ac73bd2f0b1cd01c7d6188f22e2299301974d1a90ec4d2a8e92f9895ab0643b6768f27230588fcac803d SHA512 234d5f284f71448f47cb82584ba8601c0bae13d85daad3452aae0c33d9e26d1e541bd96a17e9de33dbad1a7ebea0c362eced61497424c502a666075dd02bce33 diff --git a/dev-python/openapi-spec-validator/openapi-spec-validator-0.5.4.ebuild b/dev-python/openapi-spec-validator/openapi-spec-validator-0.5.4.ebuild new file mode 100644 index 000000000000..be69c53a8823 --- /dev/null +++ b/dev-python/openapi-spec-validator/openapi-spec-validator-0.5.4.ebuild @@ -0,0 +1,56 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0 spec validator" +HOMEPAGE=" + https://github.com/p1c2u/openapi-spec-validator/ + https://pypi.org/project/openapi-spec-validator/ +" +SRC_URI=" + https://github.com/p1c2u/openapi-spec-validator/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/jsonschema-4.0.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-spec-0.1.1[${PYTHON_USEDEP}] + >=dev-python/lazy-object-proxy-1.7.1[${PYTHON_USEDEP}] + <dev-python/openapi-schema-validator-0.5[${PYTHON_USEDEP}] + >=dev-python/openapi-schema-validator-0.3.2[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/integration/test_shortcuts.py::TestPetstoreV2Example + tests/integration/test_shortcuts.py::TestApiV2WithExampe + tests/integration/test_shortcuts.py::TestPetstoreV2ExpandedExample + tests/integration/test_shortcuts.py::TestPetstoreExample + tests/integration/test_shortcuts.py::TestRemoteValidatev2SpecUrl + tests/integration/test_shortcuts.py::TestRemoteValidatev30SpecUrl + tests/integration/test_shortcuts.py::TestApiWithExample + tests/integration/test_shortcuts.py::TestPetstoreExpandedExample + tests/integration/test_validate.py::TestPetstoreExample + tests/integration/test_validate.py::TestApiWithExample + tests/integration/test_validate.py::TestPetstoreExpandedExample + tests/integration/validation/test_validators.py +) + +src_prepare() { + sed -i -e '/--cov/d' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/pydevd/Manifest b/dev-python/pydevd/Manifest index 52248ddb3d9c..be5b85af2bcc 100644 --- a/dev-python/pydevd/Manifest +++ b/dev-python/pydevd/Manifest @@ -1 +1,2 @@ DIST pydevd-2.9.3.gh.tar.gz 3979334 BLAKE2B f26af62d12d89317ffc9e670c78bac2c977195897dfb858861f6d12a331714c084d11dc030efe82777d51f9cd429b54d78c7126f366fdda15ebd315121b55dcd SHA512 c8d30658e84a1edd3e4d0cd35563f50231b6a2df247fecab5e90236c4c80da10e7fe5f182b1791f86063d3228d115d32d388087605e58842505ab19aabe75444 +DIST pydevd-2.9.5.gh.tar.gz 3982897 BLAKE2B 06f0712301b419c472bcef2443a2ed277eb477041ff2e40e41b57f61649d84a7559dcae82c30ac572b14e90b98c2b9b9542c7360deded087eec92aeb0372ad67 SHA512 9aa38bc9a238e6f2956883a6318536382726013ea9e4a9d902b36d60df0cf924c279545bcdf92afdb435bfe36598982edd5805725860798fb3970b105254ba1d diff --git a/dev-python/pydevd/pydevd-2.9.5.ebuild b/dev-python/pydevd/pydevd-2.9.5.ebuild new file mode 100644 index 000000000000..6a709f34d050 --- /dev/null +++ b/dev-python/pydevd/pydevd-2.9.5.ebuild @@ -0,0 +1,88 @@ +# 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 toolchain-funcs + +MY_P="pydev_debugger_${PV//./_}" + +DESCRIPTION="PyDev.Debugger (used in PyDev, PyCharm and VSCode Python)" +HOMEPAGE="https://github.com/fabioz/PyDev.Debugger/" +SRC_URI=" + https://github.com/fabioz/PyDev.Debugger/archive/${MY_P}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/PyDev.Debugger-${MY_P}" + +LICENSE="EPL-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# After removing and recompiling the prebuilt lib the tests fail? +# For some reason the test suite is executing a slightly different gdb command +# then before, which is lacking the file name of the lib that was pre built: +# gdb: No symbol table is loaded. Use the "file" command +# This also happens outside of portage so it is not related to any *FLAGS +RESTRICT="test" + +BDEPEND=" + test? ( + dev-python/untangle[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +RDEPEND="sys-devel/gdb" + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + # Drop -O3 and -flto compiler args + sed -i \ + -e 's/extra_link_args = extra_compile_args\[\:\]/pass/g' \ + -e '/extra_compile_args/d' \ + setup.py || die + + # Clean up some prebuilt files + rm -r third_party || die + cd pydevd_attach_to_process || die + + # Remove these Windows files + rm attach_{amd64,x86}.dll || die + rm inject_dll_{amd64,x86}.exe || die + rm run_code_on_dllmain_{amd64,x86}.dll || die + rm -r windows winappdbg || die + + # Remove these MacOS files + rm attach_x86_64.dylib || die + + # Remove these prebuilt linux files + rm attach_linux_{amd64,x86}.so || die + + cd linux_and_mac || die + rm compile_mac.sh || die +} + +src_compile() { + pushd pydevd_attach_to_process/linux_and_mac || die + # recompile removed file (extracted from compile_linux.sh) + $(tc-getBUILD_CXX) ${CXXFLAGS} ${CPPFLAGS} -o "attach_linux_${ARCH}.so" \ + ${LDFLAGS} -nostartfiles attach.cpp -ldl || die + mv "attach_linux_${ARCH}.so" ../ || die + popd || die + + distutils-r1_src_compile +} + +python_install_all() { + distutils-r1_python_install_all + # Remove this duplicate that is installed directly to /usr/ + # These files are also correctly installed to the python site-packages dir + rm -r "${ED}/usr/pydevd_attach_to_process" || die +} diff --git a/dev-python/snappy/Manifest b/dev-python/python-snappy/Manifest index fc4f9904af29..fc4f9904af29 100644 --- a/dev-python/snappy/Manifest +++ b/dev-python/python-snappy/Manifest diff --git a/dev-python/snappy/metadata.xml b/dev-python/python-snappy/metadata.xml index 853174b8f2ab..853174b8f2ab 100644 --- a/dev-python/snappy/metadata.xml +++ b/dev-python/python-snappy/metadata.xml diff --git a/dev-python/snappy/snappy-0.6.1.ebuild b/dev-python/python-snappy/python-snappy-0.6.1.ebuild index 16899734d3ac..19b863a63a48 100644 --- a/dev-python/snappy/snappy-0.6.1.ebuild +++ b/dev-python/python-snappy/python-snappy-0.6.1.ebuild @@ -8,16 +8,12 @@ PYTHON_COMPAT=( python3_{7,8,9,10,11} ) inherit distutils-r1 -MY_PN=python-${PN} -MY_P=${MY_PN}-${PV} - DESCRIPTION="Python library for the snappy compression library from Google" HOMEPAGE=" https://github.com/andrix/python-snappy/ https://pypi.org/project/python-snappy/ " -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" LICENSE="BSD" KEYWORDS="amd64 arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" diff --git a/dev-python/python-recurring-ical-events/Manifest b/dev-python/recurring-ical-events/Manifest index a2c17c918b30..a82ae4fb0199 100644 --- a/dev-python/python-recurring-ical-events/Manifest +++ b/dev-python/recurring-ical-events/Manifest @@ -1 +1,2 @@ DIST python-recurring-ical-events-2.0.0.gh.tar.gz 325608 BLAKE2B 386ab8a54343fb02c15938801c15b31c8c8ba6bd0888a677268625fcba5571724d53c42f9d093ea8590d6e3557c151b73f9fb532a1bea194bc6d7032e04946e9 SHA512 676bc074a4d9ddb2bf0aefe8e118eab6e80479bb0d585b9f4c50f4bd49c7adf03e484b34bdf01596bb012c903a8017644ff74026d333f13f5c7df2c4326ab18c +DIST python-recurring-ical-events-2.0.1.gh.tar.gz 326015 BLAKE2B c85d0626f86b90c5c597d9f437f66d0e6cf5c4afbf8f6c521ccf52562a16953fe13c0804f23386276adc252620fcfb6fda69ccbe90ad8b1a4b105f5d5cd34939 SHA512 f12807767a903a90e2348a416bb78873f40238653cc83d50cf51080cf5f214df8b83dca71095b440e73fac9193c10bcd42ea4129edfe3a42607a85b45dfef03b diff --git a/dev-python/python-recurring-ical-events/metadata.xml b/dev-python/recurring-ical-events/metadata.xml index ea8988e8af6a..ea8988e8af6a 100644 --- a/dev-python/python-recurring-ical-events/metadata.xml +++ b/dev-python/recurring-ical-events/metadata.xml diff --git a/dev-python/python-recurring-ical-events/python-recurring-ical-events-2.0.0.ebuild b/dev-python/recurring-ical-events/recurring-ical-events-2.0.0.ebuild index b3c207620ab2..4a5d850f0c93 100644 --- a/dev-python/python-recurring-ical-events/python-recurring-ical-events-2.0.0.ebuild +++ b/dev-python/recurring-ical-events/recurring-ical-events-2.0.0.ebuild @@ -8,6 +8,7 @@ PYTHON_COMPAT=( python3_{7,8,9,10,11} ) inherit distutils-r1 +MY_P=python-${P} DESCRIPTION="Repeat ICalendar events by RRULE, RDATE and EXDATE" HOMEPAGE=" https://github.com/niccokunzmann/python-recurring-ical-events/ @@ -15,8 +16,9 @@ HOMEPAGE=" " SRC_URI=" https://github.com/niccokunzmann/python-recurring-ical-events/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz + -> ${MY_P}.gh.tar.gz " +S=${WORKDIR}/${MY_P} LICENSE="LGPL-3+" SLOT="0" diff --git a/dev-python/recurring-ical-events/recurring-ical-events-2.0.1.ebuild b/dev-python/recurring-ical-events/recurring-ical-events-2.0.1.ebuild new file mode 100644 index 000000000000..4a5d850f0c93 --- /dev/null +++ b/dev-python/recurring-ical-events/recurring-ical-events-2.0.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 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 + +MY_P=python-${P} +DESCRIPTION="Repeat ICalendar events by RRULE, RDATE and EXDATE" +HOMEPAGE=" + https://github.com/niccokunzmann/python-recurring-ical-events/ + https://pypi.org/project/recurring-ical-events/ +" +SRC_URI=" + https://github.com/niccokunzmann/python-recurring-ical-events/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/icalendar[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + <dev-python/x-wr-timezone-1.0.0[${PYTHON_USEDEP}] + >=dev-python/x-wr-timezone-0.0.5[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + test/test_readme.py +) + +EPYTEST_DESELECT=( + # a test checking if tzdata package is installed that is apparently + # needed for other tests, except it isn't + test/test_zoneinfo_issue_57.py::test_zoneinfo_must_be_installed_if_it_is_possible +) diff --git a/dev-python/sphinx-basic-ng/Manifest b/dev-python/sphinx-basic-ng/Manifest index 507052f15338..634391d85df1 100644 --- a/dev-python/sphinx-basic-ng/Manifest +++ b/dev-python/sphinx-basic-ng/Manifest @@ -1 +1,2 @@ DIST sphinx-basic-ng-0.0.1.a12.gh.tar.gz 23821 BLAKE2B 905186227d725d6f62c0f4c5b4df49ada8817dd44a4000b23b62e60ce5ca3bef4a4046c9543a07a7b0cc0c12dd5278dc783633324fbe113cf453ee540fa97ff7 SHA512 6df9445306b27ae4b29b338773fa4adcee631b4be04fdde674855dfcb683f7cf7ad3c40124c85353608b63523738b6bc83c6c4f4b2b212cafa41d38462ffcac4 +DIST sphinx-basic-ng-1.0.0.beta1.gh.tar.gz 24059 BLAKE2B 319f27b7326acf0ad1457fcb4d9b6257fb420eaf2bf7d4ebd6e9333f992bc5d0a5fdb518f196edc342c023f3a1c9d1258de2bac5f263d35226ac3ed62d747f23 SHA512 177da348fdb2af88bbe3a269f0d468f4d8cd5710a3102ea0fdd943505bc5251a73783a12e5397750fd7bec2df7ecce6601e82a95e777cbd40540a7833982c998 diff --git a/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta1.ebuild b/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta1.ebuild new file mode 100644 index 000000000000..eb2cf3b515ed --- /dev/null +++ b/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta1.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022-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 + +MY_P=${P/_/.} +DESCRIPTION="A modern skeleton for Sphinx themes" +HOMEPAGE=" + https://github.com/pradyunsg/sphinx-basic-ng/ + https://pypi.org/project/sphinx-basic-ng/ +" +SRC_URI=" + https://github.com/pradyunsg/sphinx-basic-ng/archive/${PV/_/.}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/sphinx-4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/myst_parser[${PYTHON_USEDEP}] + ) +" + +python_test() { + local HTML_DOCS=() + build_sphinx tests/barebones + rm -r tests/barebones/_build || die +} diff --git a/dev-python/sphinx-py3doc-enhanced-theme/Manifest b/dev-python/sphinx-py3doc-enhanced-theme/Manifest index 37d258500b19..81fb1a2d9077 100644 --- a/dev-python/sphinx-py3doc-enhanced-theme/Manifest +++ b/dev-python/sphinx-py3doc-enhanced-theme/Manifest @@ -1 +1,2 @@ DIST sphinx-py3doc-enhanced-theme-2.3.2.tar.gz 41894 BLAKE2B 9a38169b7e2c3331267f5c0a102d01cb0185689334adc98abe91626b27217add0abacde3422fe528588322ccc96f6976b80ce0e510cecfa80837d9b595cb2457 SHA512 efeeaf1bbb7f5557f5e1500dd0a49aa001b714f329f594e95676d8833eede7eb5e0fa978257caeab9630360b05f48132ffb00137262c7a5b663cae6a009ed42d +DIST sphinx-py3doc-enhanced-theme-2.4.0.tar.gz 42093 BLAKE2B 020deec0d589d8052f2cce6faaeb8764b596a042584a0988dbcd73f0dc11c647db35b1b91fac63413ad211025fb98bbcc76a5bb2caa1cece56b907e021a0c20d SHA512 3ba362bf9179bdd69cd50fe7759cecd1ce89c7c5e7cd5f50d6f92af9835369436fc34b5dcc39295197828481041d30cf59dea3a929d232abd6b62e9e066b60f2 diff --git a/dev-python/sphinx-py3doc-enhanced-theme/sphinx-py3doc-enhanced-theme-2.4.0.ebuild b/dev-python/sphinx-py3doc-enhanced-theme/sphinx-py3doc-enhanced-theme-2.4.0.ebuild new file mode 100644 index 000000000000..75f7c113a54d --- /dev/null +++ b/dev-python/sphinx-py3doc-enhanced-theme/sphinx-py3doc-enhanced-theme-2.4.0.ebuild @@ -0,0 +1,20 @@ +# 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="Enhanced Sphinx theme (based on Python 3 docs)" +HOMEPAGE=" + https://github.com/ionelmc/sphinx-py3doc-enhanced-theme/ + https://pypi.org/project/sphinx_py3doc_enhanced_theme/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
