diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-11-05 00:56:26 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-11-05 00:56:26 +0000 |
| commit | d61df70579ebb5592535281a56a1ae4d9b4faee8 (patch) | |
| tree | 946b15d385fdbbb1bfbdc7ea1ab341eeedc678d0 /dev-python | |
| parent | 1c0d9b41643fe533de1c74d382afc5e5511da8f2 (diff) | |
| download | baldeagleos-repo-d61df70579ebb5592535281a56a1ae4d9b4faee8.tar.gz baldeagleos-repo-d61df70579ebb5592535281a56a1ae4d9b4faee8.tar.xz baldeagleos-repo-d61df70579ebb5592535281a56a1ae4d9b4faee8.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
80 files changed, 1234 insertions, 345 deletions
diff --git a/dev-python/Faker/Faker-15.2.0.ebuild b/dev-python/Faker/Faker-15.2.0.ebuild new file mode 100644 index 000000000000..0644addeefe7 --- /dev/null +++ b/dev-python/Faker/Faker-15.2.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE=" + https://github.com/joke2k/faker/ + https://pypi.org/project/Faker/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] + !dev-ruby/faker +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/validators[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index df8dd125e82d..b0e939833562 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -1,2 +1,3 @@ DIST Faker-15.1.1.tar.gz 1600615 BLAKE2B 42a9baf41b6c4d301ff5ccfe4dcab354eb4caeb714ad5284ac094b157d855e60cf281062f4538d3ba5fd11521cf3fae73cc85b0d286432736f392b37816466fe SHA512 2af0f6c102f169238f2a08c44211c11318dce51356642453349de7a97b436baa378d8a46500adab82df508a2ba7686d80669902d039f08078741e32fd19f9774 DIST Faker-15.1.3.tar.gz 1595238 BLAKE2B 98ed2da677ae7b48c1def8476cd0c6b282ce3298a7538ffda0a4d67aadef33456317003dba1b18386868a52ca9565639c2bf1ffde469ca59034606cfe78bf008 SHA512 a1f053b14274f5161c8e024879f4a1e344cfc17cb158ff6e284120d40b3f3237d19707a761999035de1fe10a87d29b3aeff1cfd9ec2199ade4fb60bac2a67433 +DIST Faker-15.2.0.tar.gz 1597880 BLAKE2B 12d7831760a0fa0fbd931dd8525d9e9b84e7b45c5e3ad2c2ec818a260b158c388f126b01770c71eaf39effcfd39b2a175f80bd88dbae4531de9c3127abca90cb SHA512 3a172d28a8e17101fd2f7eff8f9e706dfd9ef2f8896d5de80359c3b3cfd172c62d701bb4a712579eaff8ac52450106b0a44c8e5f56350f1a87142587a7cd43f2 diff --git a/dev-python/Pyro5/metadata.xml b/dev-python/Pyro5/metadata.xml index 311e10197831..3335ff021f22 100644 --- a/dev-python/Pyro5/metadata.xml +++ b/dev-python/Pyro5/metadata.xml @@ -2,7 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>ceamac.paragon@gmail.com</email> + <email>ceamac@gentoo.org</email> <description>Primary maintainer</description> </maintainer> diff --git a/dev-python/aesara/Manifest b/dev-python/aesara/Manifest index 589ed58dbaa9..117eec661fb4 100644 --- a/dev-python/aesara/Manifest +++ b/dev-python/aesara/Manifest @@ -1 +1,2 @@ DIST aesara-rel-2.8.7.gh.tar.gz 7944368 BLAKE2B 6772a8f88d9480044f0da275925577f85d86ef77a1f500f079478a5843ddd4afe2344e00664c5be06a8098587754d3fe7aeb71b8fbc4f12160263b5b98a56de4 SHA512 5f0646af9d9525ab81365fb1e8a6e3ff783bf8fe710ea6fafa91101903aef592d3db42cff47b0620132431198c5d7d16cad65d5668dccdd6b42a7ee62aa12ac6 +DIST aesara-rel-2.8.8.gh.tar.gz 4350570 BLAKE2B 27bcebacef4a4b7a9d38371f25ddd41c4183fea1ce1824a36298311e66d86dc11ef2e0af10e7e0b0cbb0f007aeb22d65b2f745d645c4e393deb44634c146a101 SHA512 42e0a2f9372b4a9df5351b1459930758589a30b7c59f46d5d97c567de353499d16c47f55713dd374d5ac258f56b3484c370fd4d1ad1437cb01ca2eff6f056e71 diff --git a/dev-python/aesara/aesara-2.8.8.ebuild b/dev-python/aesara/aesara-2.8.8.ebuild new file mode 100644 index 000000000000..9eefe7482fef --- /dev/null +++ b/dev-python/aesara/aesara-2.8.8.ebuild @@ -0,0 +1,102 @@ +# Copyright 2021-2022 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 multiprocessing optfeature + +MY_P=aesara-rel-${PV} +DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays" +HOMEPAGE=" + https://github.com/aesara-devs/aesara/ + https://pypi.org/project/aesara/ +" +SRC_URI=" + https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/cons[${PYTHON_USEDEP}] + dev-python/etuples[${PYTHON_USEDEP}] + dev-python/logical-unification[${PYTHON_USEDEP}] + dev-python/minikanren[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + >=dev-python/setuptools-48.0.0[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/aesara-2.6.5-compiledir-tid.patch +) + +distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme' +distutils_enable_tests pytest + +src_prepare() { + # do not claim "bin" package (sic!) + rm bin/__init__.py || die + sed -e 's/find:/find_namespace:/' \ + -e '/exclude =/a\ doc*' \ + -i setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # speed tests are unreliable + tests/scan/test_basic.py::test_speed + tests/scan/test_basic.py::test_speed_rnn + tests/scan/test_basic.py::test_speed_batchrnn + tests/link/test_vm.py::test_speed + tests/link/test_vm.py::test_speed_lazy + tests/tensor/test_gc.py::test_merge_opt_runtime + + # rounding problem? + # https://github.com/aesara-devs/aesara/issues/477 + tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good + tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good + + # dunno + tests/tensor/test_elemwise.py::TestDimShuffle::test_memory_leak + + # TODO + tests/link/c/test_op.py::test_ExternalCOp_c_code_cache_version + tests/sparse/sandbox/test_sp.py::TestSP::test_multilayer_conv + tests/sparse/sandbox/test_sp.py::TestSP::test_maxpool + ) + local EPYTEST_IGNORE=( + # we do not package jax or numba + tests/link/jax + tests/link/numba + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x AESARA_FLAGS="cxx=${CXX}" + AESARA_FLAGS+=",config.gcc__cxxflags=\"${CXXFLAGS}\"" + AESARA_FLAGS+=',compiledir_format="compiledir_%(thread_id)s"' + + epytest -p xdist.plugin -n "$(makeopts_jobs)" + # clean up the compiledir, as it can grow pretty large + rm -r "${HOME}"/.aesara || die +} + +pkg_postinst() { + optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk + optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda +} diff --git a/dev-python/aiopg/Manifest b/dev-python/aiopg/Manifest index 1f636750a564..de3f4b5f3603 100644 --- a/dev-python/aiopg/Manifest +++ b/dev-python/aiopg/Manifest @@ -1,2 +1 @@ -DIST aiopg-1.3.2_beta1.tar.gz 202058 BLAKE2B a303ef66ded1a0f77a33d83c0d498e16519521c87e930b3ab9097ac56c8ad6e111e5edc145c869aef2530900f3f2c2400ef785e307c2333053a0dfae1439f2f6 SHA512 855ab21528a8eb572f2b0b7965bcca37cacd42ef79910f4b042c22654c6bb37b2528dd2cddd1fa66dba24cccdc0996ba8281b44bb9d99a1607fc146747ffd642 -DIST aiopg-1.3.3.tar.gz 202064 BLAKE2B bf9998e1209753fd5095eb9e371a2038f3f849f17d0068e2516b1d8663d9c2d9fec700d30ef4f4ea236d9a63fed4f4149cf28af1323acf1c02cedda2dd4b2375 SHA512 807bbbb14df1b44a54fb193f08d91313d10c6927e4140b305ddcc4cc37a53a42b18cd63dee99a1a04d0993c8502085f3aa7626e660b6bc9cd2ef40a7414a3822 +DIST aiopg-1.4.0.gh.tar.gz 202204 BLAKE2B 9f4dda868c919aef05e58608b353d51f0526ef1f847e8da8f4f11e75264a47b9eb4d948a87d591e66baf7052c00706b8f4cb6befd6bf33668987cfbfad451afc SHA512 cbb28b0b15eb89fa3162e59e3e88dac18bddbad3d95458b5c3eb487d15767c26810e941f83c3478cac8a8a085b23723690c8d294bf6aac433a14c3defcef1138 diff --git a/dev-python/aiopg/aiopg-1.3.3.ebuild b/dev-python/aiopg/aiopg-1.3.3.ebuild deleted file mode 100644 index 0fdd6b59c884..000000000000 --- a/dev-python/aiopg/aiopg-1.3.3.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 optfeature - -MY_PV=${PV/_beta/b} -DESCRIPTION="Postgres integration with asyncio" -HOMEPAGE=" - https://aiopg.readthedocs.io - https://github.com/aio-libs/aiopg -" -SRC_URI="https://github.com/aio-libs/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${MY_PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -# tests use docker containers -- that's wild! -RESTRICT="test" - -RDEPEND="dev-python/psycopg[${PYTHON_USEDEP}]" - -DEPEND="test? ( - dev-python/docker-py[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] -)" - -DOCS=( CHANGES.txt README.rst ) - -distutils_enable_tests pytest -distutils_enable_sphinx docs dev-python/sphinxcontrib-asyncio - -python_test() { - epytest --no-pull -} - -pkg_postinst() { - optfeature "sqlalchemy support" dev-python/sqlalchemy -} diff --git a/dev-python/aiopg/aiopg-1.3.2_beta1.ebuild b/dev-python/aiopg/aiopg-1.4.0.ebuild index 0fdd6b59c884..b2f1e03b9a4b 100644 --- a/dev-python/aiopg/aiopg-1.3.2_beta1.ebuild +++ b/dev-python/aiopg/aiopg-1.4.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 optfeature MY_PV=${PV/_beta/b} @@ -13,7 +13,7 @@ HOMEPAGE=" https://aiopg.readthedocs.io https://github.com/aio-libs/aiopg " -SRC_URI="https://github.com/aio-libs/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/aio-libs/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" S="${WORKDIR}/${PN}-${MY_PV}" LICENSE="BSD" @@ -23,7 +23,10 @@ KEYWORDS="~amd64 ~x86" # tests use docker containers -- that's wild! RESTRICT="test" -RDEPEND="dev-python/psycopg[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/async-timeout[${PYTHON_USEDEP}] + dev-python/psycopg:2[${PYTHON_USEDEP}] +" DEPEND="test? ( dev-python/docker-py[${PYTHON_USEDEP}] diff --git a/dev-python/aiosqlite/aiosqlite-0.17.0-r1.ebuild b/dev-python/aiosqlite/aiosqlite-0.17.0-r2.ebuild index dfe4688f2e56..528db0316daa 100644 --- a/dev-python/aiosqlite/aiosqlite-0.17.0-r1.ebuild +++ b/dev-python/aiosqlite/aiosqlite-0.17.0-r2.ebuild @@ -4,6 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_REQ_USE="sqlite" DISTUTILS_USE_PEP517=flit inherit distutils-r1 @@ -25,5 +26,6 @@ BDEPEND="test? ( )" distutils_enable_tests unittest + # AttributeError: 'str' object has no attribute 'supported' #distutils_enable_sphinx docs dev-python/m2r diff --git a/dev-python/aiounittest/Manifest b/dev-python/aiounittest/Manifest index 754319e1a00f..e88607cfad01 100644 --- a/dev-python/aiounittest/Manifest +++ b/dev-python/aiounittest/Manifest @@ -1 +1 @@ -DIST aiounittest-1.4.0.tar.gz 15316 BLAKE2B 7b2eb9a0b92428b71b01c20b4d48f27cc5a2d32d4cdd93e1b22d27f8e7afb6d1d3af9549564358a418baec3db206eca7b1cc23d6b26410683dacebb9b84e0fc8 SHA512 5a8921debbf3be4a36e1ac4af39cdb46f802c06454b3be06c2b143122ba016d6badbb496b18d9379cb9a4b99c9fb7facc59f0676c5a776859c408fd1bdd74e1f +DIST aiounittest-1.4.2.gh.tar.gz 15791 BLAKE2B 7784bbf94de2b8520baef66a0b4929267942d233cc782f35677ea05b02e3d48901ba90cf9630b76bd300708ebbe59dd9d78c299422182c06940749bc2b378b45 SHA512 358b7c412f90eb7afc7ed7058e8e2d4426a6c57379d341d997658859ba6054a9a1337d0b05e63a825e28023f02550bd72d65bdb3feab4503c763c98f8c0d19c6 diff --git a/dev-python/aiounittest/aiounittest-1.4.0.ebuild b/dev-python/aiounittest/aiounittest-1.4.2.ebuild index f82671e13a05..fafaad3ac337 100644 --- a/dev-python/aiounittest/aiounittest-1.4.0.ebuild +++ b/dev-python/aiounittest/aiounittest-1.4.2.ebuild @@ -1,14 +1,15 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 DESCRIPTION="Test python asyncio-based code with ease" HOMEPAGE="https://github.com/kwarunek/aiounittest" -SRC_URI="https://github.com/kwarunek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/kwarunek/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" @@ -16,6 +17,10 @@ KEYWORDS="~amd64 ~arm ~arm64 ~x86" RDEPEND="dev-python/wrapt[${PYTHON_USEDEP}]" -distutils_enable_tests nose -# Reason: TemplateNotFound('g') -#distutils_enable_sphinx docs +distutils_enable_tests unittest + +distutils_enable_sphinx docs + +python_test() { + eunittest tests +} diff --git a/dev-python/asgi-lifespan/Manifest b/dev-python/asgi-lifespan/Manifest new file mode 100644 index 000000000000..16c63d274542 --- /dev/null +++ b/dev-python/asgi-lifespan/Manifest @@ -0,0 +1 @@ +DIST asgi-lifespan-1.0.1.gh.tar.gz 10745 BLAKE2B cebf0d8a152cae10c69764497624e384d878b4f98d8f8ca22648daee0315742503c0fa6c2f452f051d0f0c49b2fafea6b5f96660609b68395a2b441a1cd714ce SHA512 70acad39954749154461a9d6435d5ae78eb9aa22e7717303158780cde90f532f2c33656da7ccefab0edfc2916db92339969228b383c29be9832fe933fe1206b9 diff --git a/dev-python/asgi-lifespan/asgi-lifespan-1.0.1.ebuild b/dev-python/asgi-lifespan/asgi-lifespan-1.0.1.ebuild new file mode 100644 index 000000000000..b110276b452f --- /dev/null +++ b/dev-python/asgi-lifespan/asgi-lifespan-1.0.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022 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="Programmatic startup/shutdown of ASGI apps" +HOMEPAGE=" + https://pypi.org/project/asgi-lifespan/ + https://github.com/florimondmanca/asgi-lifespan +" +SRC_URI="https://github.com/florimondmanca/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/sniffio[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-trio[${PYTHON_USEDEP}] + dev-python/starlette[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + "tests/test_manager.py::test_lifespan_manager[asyncio-None-ValueError-None]" + "tests/test_manager.py::test_lifespan_manager[asyncio-ValueError-None-None]" + "tests/test_manager.py::test_lifespan_manager[asyncio-ValueError-ValueError-None]" + "tests/test_manager.py::test_lifespan_manager[trio-None-ValueError-None]" + "tests/test_manager.py::test_lifespan_manager[trio-ValueError-None-None]" + "tests/test_manager.py::test_lifespan_manager[trio-ValueError-ValueError-None]" +) + +distutils_enable_tests pytest + +python_prepare_all() { + rm setup.cfg || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/asgi-lifespan/metadata.xml b/dev-python/asgi-lifespan/metadata.xml new file mode 100644 index 000000000000..ddb5b0f1787e --- /dev/null +++ b/dev-python/asgi-lifespan/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/aspectlib/Manifest b/dev-python/aspectlib/Manifest index b2f724d61bdd..664b7cc5f184 100644 --- a/dev-python/aspectlib/Manifest +++ b/dev-python/aspectlib/Manifest @@ -1 +1,2 @@ DIST aspectlib-1.5.2.gh.tar.gz 155976 BLAKE2B a5f98c78e098226002a9cfb95cd69d2da057fe5a56cab5ae13c80666e1220c8a0fb9ae1b3f652e85d54ab9829429f9aad37162eac9cc74a4ffaab9ab1f609c1c SHA512 33642f828989d07c6af78bdf9adc9f2abbc419df89b878cfe7bd9c8df226a59401176b56b1f2b3ba48661ea5a145520de0bc7a0980226b742b0a79f31ab7dd7f +DIST aspectlib-2.0.0.gh.tar.gz 149206 BLAKE2B 79a9cdd6090181e28bb9f46b5dc71b5a49c6fe356f0d4687886df2b6d83867a8a8bd51e43506da09b78e3ae637a1f1257888656fd2ecb0f583986424f89d3d14 SHA512 455ae7bb7808158abc79814632cd108397bfffc4d6c5e0f8a041ca03ed0f0fc2022d0929ad3a29e9015d8b3e3b02afa071c9b28fc62845eac4f6ef8c3fa2d9b2 diff --git a/dev-python/aspectlib/aspectlib-2.0.0.ebuild b/dev-python/aspectlib/aspectlib-2.0.0.ebuild new file mode 100644 index 000000000000..27c6d17b3864 --- /dev/null +++ b/dev-python/aspectlib/aspectlib-2.0.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 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 aspect-oriented programming, monkey-patch and decorators library" +HOMEPAGE=" + https://github.com/ionelmc/python-aspectlib + https://pypi.org/project/python-aspectlib/ +" +SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND="dev-python/fields[${PYTHON_USEDEP}]" +BDEPEND="test? ( + dev-python/process-tests[${PYTHON_USEDEP}] + dev-python/tornado[${PYTHON_USEDEP}] +)" + +S="${WORKDIR}/python-${P}" + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + dev-python/sphinx-py3doc-enhanced-theme + +EEPYTEST_DESELECT=( + # fails because error message text is slightly different + tests/test_aspectlib_test.py::test_story_empty_play_proxy_class + tests/test_aspectlib_test.py::test_story_half_play_proxy_class +) diff --git a/dev-python/asyncpg/Manifest b/dev-python/asyncpg/Manifest index 4ccb5036a8e2..af055e2fe2a2 100644 --- a/dev-python/asyncpg/Manifest +++ b/dev-python/asyncpg/Manifest @@ -1,2 +1,2 @@ -DIST asyncpg-0.25.0.tar.gz 804292 BLAKE2B 55e679716fe6dab82be9142f1abaa0e47671341b91f4fd182ad564e41a61dbc91990f767e6b0e7d0d00658d530075493d67f284272239c92d3015016ec0dfb2b SHA512 7afa5ae42c0d5cab93bb1c3266bad11ce2e7c271d7ffd2c5d92e373fd8e06be89e4b18e8fd3ffd7e750e913944630f1ae6c947e20faa63f99ded7d867ad6cd80 DIST asyncpg-0.26.0.tar.gz 809997 BLAKE2B 360dfadcd729ade63c156e3a16def7f652dbc4d0c76189ac88e01fa814f9a3ab4f1bd2852658a93e22a8e275fb1a4e69df2e3c30f457110291f0641ac6d12d8d SHA512 ef92316fd430a1819aa8170abd67ecfc1cf29c42cb6dc06cf5047cdd71d4abf441c8b86bacafaaa8c0c0fd7c66daa275e9ed68b00e5166bb27929f25cab1dcbd +DIST asyncpg-0.27.0.tar.gz 808881 BLAKE2B e4fe88346a3fb4d9b6ce74a4e12db333f1aefd8844d6b08091a1e507a56754bb74dcbdd1b43329f1df24725f03c808a1862c8c4587c9ec95c4800f30ab78458c SHA512 66d4e16cba8ebebfa0403c7d3b1d3ee1b9b8f55a9b70f57e809d28161873d74750152e6ed548b17ceb97ca84f7a669a5fa503c824a861b295db731f86bfb0137 diff --git a/dev-python/asyncpg/asyncpg-0.25.0.ebuild b/dev-python/asyncpg/asyncpg-0.25.0.ebuild deleted file mode 100644 index 156ab78b819c..000000000000 --- a/dev-python/asyncpg/asyncpg-0.25.0.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="A fast PostgreSQL Database Client Library for Python/asyncio." -HOMEPAGE="https://github.com/MagicStack/asyncpg" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -# ModuleNotFoundError: No module named 'asyncpg.protocol.protocol' -# for some reason, still doesn't work if package is already installed -# or with distutils_install_for_testing function -RESTRICT="test" - -BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest -distutils_enable_sphinx docs dev-python/sphinxcontrib-asyncio dev-python/sphinx_rtd_theme diff --git a/dev-python/asyncpg/asyncpg-0.27.0.ebuild b/dev-python/asyncpg/asyncpg-0.27.0.ebuild new file mode 100644 index 000000000000..e5f8d286e80f --- /dev/null +++ b/dev-python/asyncpg/asyncpg-0.27.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) # doesn't build with pypy3 +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="A fast PostgreSQL Database Client Library for Python/asyncio" +HOMEPAGE="https://github.com/MagicStack/asyncpg" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-db/postgresql + dev-python/flake8[${PYTHON_USEDEP}] + dev-python/uvloop[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +distutils_enable_sphinx docs dev-python/sphinxcontrib-asyncio dev-python/sphinx_rtd_theme + +python_test() { + cd "${T}" || die + for opt in "" "1"; do + einfo " testing with USE_UVLOOP='${opt}'" + USE_UVLOOP="${opt}" eunittest "${S}"/tests + done +} diff --git a/dev-python/azure-core/Manifest b/dev-python/azure-core/Manifest new file mode 100644 index 000000000000..5bcbdfcfb417 --- /dev/null +++ b/dev-python/azure-core/Manifest @@ -0,0 +1 @@ +DIST azure-core-1.26.1.zip 366521 BLAKE2B 538aa1699bc708744800f98391d4913f3bed561718f9143394d4f6b7cbe18097054e941882f6237e9c8fef2d218c955f3b0a8c2cb23e51121c05cb5437afd4f9 SHA512 dcddf28bdbac913e66640adb7c511c74e4597756c444d2ef43fb82d5348eae391544715cbe95600d8caec9afcfe8ab5d20b9b33c49b8fd026b8f0f7657cae931 diff --git a/dev-python/azure-core/azure-core-1.26.1.ebuild b/dev-python/azure-core/azure-core-1.26.1.ebuild new file mode 100644 index 000000000000..db09c43f0398 --- /dev/null +++ b/dev-python/azure-core/azure-core-1.26.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 optfeature + +DESCRIPTION="Microsoft Azure Core Library for Python" +HOMEPAGE=" + https://pypi.org/project/azure-core/ + https://github.com/Azure/azure-sdk-for-python +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND="app-arch/unzip" +# TODO: package azure-sdk-tools +#BDEPEND=" +# app-arch/unzip +# test? ( +# dev-python/aiohttp[${PYTHON_USEDEP}] +# dev-python/azure-sdk-tools[${PYTHON_USEDEP}] +# dev-python/flask[${PYTHON_USEDEP}] +# dev-python/msrest[${PYTHON_USEDEP}] +# dev-python/pytest-trio[${PYTHON_USEDEP}] +# dev-python/requests[${PYTHON_USEDEP}] +# ) +#" + +DOCS=( {CHANGELOG,CLIENT_LIBRARY_DEVELOPER,README}.md ) + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "aio support" dev-python/aiohttp +} diff --git a/dev-python/azure-core/metadata.xml b/dev-python/azure-core/metadata.xml new file mode 100644 index 000000000000..ddb5b0f1787e --- /dev/null +++ b/dev-python/azure-core/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/azure-storage-blob/Manifest b/dev-python/azure-storage-blob/Manifest index 662be0b5ed5e..e6e8eef573b1 100644 --- a/dev-python/azure-storage-blob/Manifest +++ b/dev-python/azure-storage-blob/Manifest @@ -1 +1 @@ -DIST azure-storage-blob-12.8.1.zip 629903 BLAKE2B cf8d4fb8a52d370c11517019e3dc00349dc9e96f065665936db7089ff15e5ce969ea430e39cd39fdc5d62ee6570969bdd918fd7ab0cfcefdc860d7c4d9d62765 SHA512 0c760b48021e2607d0e7bb9dec7fef25d238542d0b150a0727bb58d8eab94a5d265c4bcb95d7087a113735a2f62c01f0f98711d4f320799f164ef53536e103e6 +DIST azure-storage-blob-12.14.1.zip 692238 BLAKE2B cb9cc14f96815c4727ea766b39548e942930f60bca9029e23fda3333bd030650b2066ec1df350665b3ca523a7054f1e3f465b68fa064f9e635280838ec85713c SHA512 ea021ac853a397357f1fa83506e2663b694e4d46527d0f0e810e56cdf69dd7f4ee60f133f1ca71e5a5a8dcf90251ccb26c88fe740202557f5a5b84decd9d595b diff --git a/dev-python/azure-storage-blob/azure-storage-blob-12.14.1.ebuild b/dev-python/azure-storage-blob/azure-storage-blob-12.14.1.ebuild new file mode 100644 index 000000000000..76181f62d240 --- /dev/null +++ b/dev-python/azure-storage-blob/azure-storage-blob-12.14.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2021-2022 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="Microsoft Azure Blob Storage Client Library for Python" +HOMEPAGE=" + https://pypi.org/project/azure-storage-blob/ + https://github.com/Azure/azure-sdk-for-python +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="test" + +RDEPEND=" + >=dev-python/azure-core-1.24.2[${PYTHON_USEDEP}] + <dev-python/azure-core-2.0.0[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/msrest[${PYTHON_USEDEP}] +" +BDEPEND="app-arch/unzip" +# TODO: package azure-sdk-tools (https://github.com/Azure/azure-sdk-for-python/tree/main/tools/azure-sdk-tools) +#BDEPEND=" +# app-arch/unzip +# test? ( +# dev-python/aiohttp[${PYTHON_USEDEP}] +# dev-python/azure-sdk-tools[${PYTHON_USEDEP}] +# dev-python/requests[${PYTHON_USEDEP}] +# ) +#" + +DOCS=( {CHANGELOG,README,migration_guide}.md ) + +distutils_enable_tests pytest diff --git a/dev-python/azure-storage-blob/azure-storage-blob-12.8.1.ebuild b/dev-python/azure-storage-blob/azure-storage-blob-12.8.1.ebuild deleted file mode 100644 index 83bcb60aa5f5..000000000000 --- a/dev-python/azure-storage-blob/azure-storage-blob-12.8.1.ebuild +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 - -DESCRIPTION="Microsoft Azure Blob Storage Client Library for Python" -HOMEPAGE="https://pypi.org/project/azure-storage-blob/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -BDEPEND="app-arch/unzip" diff --git a/dev-python/celery/celery-5.3.0_beta1.ebuild b/dev-python/celery/celery-5.3.0_beta1.ebuild index 12978959d429..babf19a2c160 100644 --- a/dev-python/celery/celery-5.3.0_beta1.ebuild +++ b/dev-python/celery/celery-5.3.0_beta1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit bash-completion-r1 distutils-r1 optfeature +inherit bash-completion-r1 check-reqs distutils-r1 optfeature MY_PV="${PV/_beta/b}" DESCRIPTION="Asynchronous task queue/job queue based on distributed message passing" @@ -34,10 +34,21 @@ RDEPEND=" dev-python/pytz[${PYTHON_USEDEP}] dev-python/vine[${PYTHON_USEDEP}] " +# TODO: +# - dev-python/pyArango +# - dev-python/couchbase +# - dev-python/pycouchdb +# Deprecated test deps (don't add): +# - eventlet +# - memcached +# - python-consul +# - pydocumentdb BDEPEND=" test? ( $(python_gen_impl_dep 'ncurses(+)') + dev-python/azure-storage-blob[${PYTHON_USEDEP}] >=dev-python/boto3-1.9.178[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] dev-python/elasticsearch-py[${PYTHON_USEDEP}] >=dev-python/moto-1.3.7[${PYTHON_USEDEP}] dev-python/msgpack[${PYTHON_USEDEP}] @@ -51,6 +62,7 @@ BDEPEND=" dev-python/redis-py[${PYTHON_USEDEP}] dev-python/sphinx-testing[${PYTHON_USEDEP}] dev-python/tblib[${PYTHON_USEDEP}] + sci-astronomy/pyephem[${PYTHON_USEDEP}] ) doc? ( dev-python/docutils[${PYTHON_USEDEP}] @@ -61,6 +73,8 @@ BDEPEND=" ) " +CHECKREQS_MEMORY="2G" + EPYTEST_DESELECT=( t/unit/tasks/test_result.py::test_EagerResult::test_wait_raises t/unit/tasks/test_tasks.py::test_task_retries @@ -75,6 +89,14 @@ distutils_enable_tests pytest distutils_enable_sphinx docs --no-autodoc +pkg_setup() { + use test && check-reqs_pkg_setup +} + +pkg_pretend() { + use test && check-reqs_pkg_pretend +} + python_install_all() { # Main celeryd init.d and conf.d newinitd "${FILESDIR}/celery.initd-r2" celery diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 59a8a48ba599..88180b9738ff 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -4,5 +4,6 @@ DIST llvm-project-15.0.3.src.tar.xz 112069972 BLAKE2B 3d29bab890467ba87fedcc4e76 DIST llvm-project-15.0.3.src.tar.xz.sig 438 BLAKE2B e7e0614e144eb878f694c12e97cf42ff8476e47cb55e8f259eb2ec52e303463ad753771271512e89baf0137c1382b11cfa028c85324174ebcd054a124000f537 SHA512 41229bebdb0c2df9a5e3a4d6f02d39fac7dc91f21895a659523beab4fa3ef99ff06eff5e4386221369b6e2b6f8fe974d67b7d8496d5911ce484d09ae0db8b916 DIST llvm-project-15.0.4.src.tar.xz 110936424 BLAKE2B a02b76ad161e352b4d3d84baffdada9c6a0e704de7a2c4017df4d4d05a9e9d02113791cd7d91c3edfa1f5bcb7ab95e1772d60f7061514928c6828600f41a8322 SHA512 9d5b664dd77c08130601636f9d6c006b257f369470ce823aa56d06698a9f0edfec42f2c90da934b9ad52c4d7960d9a024ea46dc9640275be6d191b1ba9869459 DIST llvm-project-15.0.4.src.tar.xz.sig 566 BLAKE2B f1a7be65fcce932dc125ae2b498f68a14e68dad0d7a1e031343c52c5dafb7b123e346f3efa50a7693584361abf01efe9401b1b5781dee6b92dc1045e538e9b7b SHA512 35899ffbd13fc44cade54246a423450571cb4b62b8d706864daa3eef2377c48e24ef3113218e39e29de995b7f7fa307f9187552766576c9050fd924beb517f6e +DIST llvm-project-1fb186198af5f183dde053c1396f899567755d64.tar.gz 170328817 BLAKE2B c79199044e8d636127d1d163ceea856c1bcb1d59c892e9c72869ab788b4feb23f8c28585ac761764b4e29b883c61e43be9341610a523d8b64471200bb3aecfaa SHA512 8b366dc70506ceb70a5584ad051e100fa1cc620388fc757536ef775d102b4baaac016d4f62dbc8b1d9dd00b587622a25d9da735196d336faf35d611145cf5fdc DIST llvm-project-b34ea582774c057d9bf5591174d683fd3d8aa02b.tar.gz 169735900 BLAKE2B d3a82a07f855b038071fc8eb3f41a88b4c220a577219985ecddeb9a535ea8b159dbad575699997d90a49db74c074b5f4354ad707e91d6934daaa7319e0d8ee9b SHA512 3f5525c7d893bdac701cff4cf82dafc31608920d788d9b7401654f320b2432528cf4ae8ef013182807b3dc0c5b758c71f1efeedb672dd47fdb8aa6f434dfb583 DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f diff --git a/dev-python/clang-python/clang-python-16.0.0_pre20221104.ebuild b/dev-python/clang-python/clang-python-16.0.0_pre20221104.ebuild new file mode 100644 index 000000000000..f0edde68d67f --- /dev/null +++ b/dev-python/clang-python/clang-python-16.0.0_pre20221104.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +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="" +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) + "${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/cymem/Manifest b/dev-python/cymem/Manifest index 33f389847994..9f84911e57a0 100644 --- a/dev-python/cymem/Manifest +++ b/dev-python/cymem/Manifest @@ -1 +1,2 @@ DIST cymem-2.0.6.tar.gz 8241 BLAKE2B 359c1cee8b3d01a2e659898992c22da7f7e3fab0ae5481d328f660c314a0dde85ca868e63e2c1b55b3624e568f369b8e993da04fa30c2ea79d21472cc6c1f7b0 SHA512 058fef116e02a38960017bfb4347f625fd5bda39cc239c8b434c7c928a9303678e1689ae5860181750fa23d8ee7a0bce1836c33420b6b4799d297df85f2b64e7 +DIST cymem-2.0.7.tar.gz 9911 BLAKE2B 3a54b97e283cf1c7935ff71af9144ed02ec37f85394d75bffa22c162b0d7548f1a0d74c8266d5b634a66dabebc90419fe34d2ade388a9379e2660665aeb27122 SHA512 bc5f95eef51044db48a3bfd4c4db1955dee6fb62f7bd16c103c957d77cec9192a8e11411b84a3449629015a080217ee2e52cca69867f70170498333648f18d0c diff --git a/dev-python/cymem/cymem-2.0.7.ebuild b/dev-python/cymem/cymem-2.0.7.ebuild new file mode 100644 index 000000000000..a5f7f23907cf --- /dev/null +++ b/dev-python/cymem/cymem-2.0.7.ebuild @@ -0,0 +1,28 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Manage calls to calloc/free through Cython" +HOMEPAGE=" + https://pypi.org/project/cymem/ + https://github.com/explosion/cymem +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_test() { + cd "${T}" || die + epytest --pyargs ${PN} +} diff --git a/dev-python/desktop-notifier/metadata.xml b/dev-python/desktop-notifier/metadata.xml index 311e10197831..3335ff021f22 100644 --- a/dev-python/desktop-notifier/metadata.xml +++ b/dev-python/desktop-notifier/metadata.xml @@ -2,7 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>ceamac.paragon@gmail.com</email> + <email>ceamac@gentoo.org</email> <description>Primary maintainer</description> </maintainer> diff --git a/dev-python/dropbox-sdk-python/metadata.xml b/dev-python/dropbox-sdk-python/metadata.xml index 311e10197831..3335ff021f22 100644 --- a/dev-python/dropbox-sdk-python/metadata.xml +++ b/dev-python/dropbox-sdk-python/metadata.xml @@ -2,7 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>ceamac.paragon@gmail.com</email> + <email>ceamac@gentoo.org</email> <description>Primary maintainer</description> </maintainer> diff --git a/dev-python/exceptiongroup/Manifest b/dev-python/exceptiongroup/Manifest index b4f69ffa63aa..c3ac5386c6cb 100644 --- a/dev-python/exceptiongroup/Manifest +++ b/dev-python/exceptiongroup/Manifest @@ -1 +1,2 @@ DIST exceptiongroup-1.0.0.gh.tar.gz 19766 BLAKE2B 2c4aa2c7c096b91971872b2236fad211a1bd7cb8ae921f5a0255b5a534eefdb5033bbca4c562ff7045acf30e13371a38d52851749cd5bca4df6adfe359a43012 SHA512 e2e05066c0c7664bb36696737c0c33abd811637c5f0ae7e70a20525283d4db4667fa814b15cb6b21165416ae1a0c47f22250a2ed9be4be99b6237e0c1b45fdd4 +DIST exceptiongroup-1.0.1.gh.tar.gz 20267 BLAKE2B 1438e88a51034acd8b032339097640862da323dc46aaab4f64e53a3e8c3ce8a7bbda16cc72eff9c4f3ac44d8c239b9e51d3561781bbd0ed88fe9e1db78e95c2b SHA512 79a678b6d3d152334ff593d15047e4b4c8714d50bd667ff2c878617512fe78b0c1d9df113db221d9ac7ea1e4522427747d85e26ae2d46b16f15538e1a638cc38 diff --git a/dev-python/exceptiongroup/exceptiongroup-1.0.1.ebuild b/dev-python/exceptiongroup/exceptiongroup-1.0.1.ebuild new file mode 100644 index 000000000000..0c4187f24fff --- /dev/null +++ b/dev-python/exceptiongroup/exceptiongroup-1.0.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit_scm +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/_} +DESCRIPTION="Backport of PEP 654 (exception groups)" +HOMEPAGE=" + https://github.com/agronholm/exceptiongroup/ + https://pypi.org/project/exceptiongroup/ +" +SRC_URI=" + https://github.com/agronholm/exceptiongroup/archive/${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT PSF-2.4" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV/_} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/fastavro/Manifest b/dev-python/fastavro/Manifest index 5edfe9d9f674..b85054b0a368 100644 --- a/dev-python/fastavro/Manifest +++ b/dev-python/fastavro/Manifest @@ -1,2 +1 @@ -DIST fastavro-1.5.1.tar.gz 761574 BLAKE2B fd520edaf533120022cbe6f3cabe5919c952b43bd4d131bb2aacbaded6fbda4d60e8610c12850310c28ac0fc5696301f4ef725c8369057dff9c73b9b35653ada SHA512 6fa2169d4cc26c2176e61da159129e6456296d99bce2d973916d6a0f071feec7b930f985167d7e1e3e0939ec2a5ff387f67e221ff6f52523015af99d4823bf1e -DIST fastavro-1.5.2.tar.gz 761565 BLAKE2B 16e4408fa85ee2703a66cb9e8d125a651d879c69475e3137f95283ed974a3b158f0fc7a67de660db06731d45b7952d04b510a08d472fc5a7d86fe5e57a9d264b SHA512 9885291f9ed15da05ee1fc816a95b6fcb269a6c5814efa9f94188c39e5bb0b31dd5afc1c76ae10268a4e128306d66f60c2087d5c0335c1e918e477fabe7f6cf0 +DIST fastavro-1.7.0.tar.gz 787676 BLAKE2B 8cbf382a2ef727b2daf35c15dd6790f080bc579f0ae85bf35c036c55ff8347b86ab5d1becd5b5951fa30fdd299ea7c2ba677798b50d23743ac20fbf488c36d4a SHA512 132f347c7d257edd76660925a8c6d13b04ff009ba7d5a4719eb59fd5d7f88fd62c3120ba7aeea1da905027f02a0851ffd05a1ef29900ad20dd9ac2b9c1eb38f9 diff --git a/dev-python/fastavro/fastavro-1.5.1.ebuild b/dev-python/fastavro/fastavro-1.5.1.ebuild deleted file mode 100644 index f4551a7a31b5..000000000000 --- a/dev-python/fastavro/fastavro-1.5.1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -# https://github.com/fastavro/fastavro/issues/558 -EPYTEST_DESELECT=( - tests/test_fastavro.py::test_cython_python - tests/test_main_cli.py::test_cli_record_output - tests/test_main_cli.py::test_cli_stream_input - tests/test_main_cli.py::test_cli_arg_metadata - tests/test_main_cli.py::test_cli_arg_schema - tests/test_main_cli.py::test_cli_arg_codecs -) -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Fast Avro for Python" -HOMEPAGE=" - https://github.com/fastavro/fastavro - https://pypi.org/project/fastavro/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="" -DEPEND=" - ${RDEPEND} - dev-python/cython[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/snappy[${PYTHON_USEDEP}] - dev-python/zstandard[${PYTHON_USEDEP}] - dev-python/lz4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/fastavro/fastavro-1.5.2.ebuild b/dev-python/fastavro/fastavro-1.5.2.ebuild deleted file mode 100644 index f4551a7a31b5..000000000000 --- a/dev-python/fastavro/fastavro-1.5.2.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -# https://github.com/fastavro/fastavro/issues/558 -EPYTEST_DESELECT=( - tests/test_fastavro.py::test_cython_python - tests/test_main_cli.py::test_cli_record_output - tests/test_main_cli.py::test_cli_stream_input - tests/test_main_cli.py::test_cli_arg_metadata - tests/test_main_cli.py::test_cli_arg_schema - tests/test_main_cli.py::test_cli_arg_codecs -) -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Fast Avro for Python" -HOMEPAGE=" - https://github.com/fastavro/fastavro - https://pypi.org/project/fastavro/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="" -DEPEND=" - ${RDEPEND} - dev-python/cython[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/snappy[${PYTHON_USEDEP}] - dev-python/zstandard[${PYTHON_USEDEP}] - dev-python/lz4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/fastavro/fastavro-1.7.0.ebuild b/dev-python/fastavro/fastavro-1.7.0.ebuild new file mode 100644 index 000000000000..eac56b59c15f --- /dev/null +++ b/dev-python/fastavro/fastavro-1.7.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 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 optfeature + +DESCRIPTION="Fast read/write of AVRO files" +HOMEPAGE=" + https://github.com/fastavro/fastavro + https://pypi.org/project/fastavro/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +TEST_S="${S}_test" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/lz4[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/python-zstandard[${PYTHON_USEDEP}] + dev-python/snappy[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # TypeError + tests/test_fastavro.py::test_regular_vs_ordered_dict_record_typeerror +) + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme + +src_unpack() { + default + + cp -a "${S}" "${TEST_S}" || die + rm -r "${TEST_S}"/fastavro/* || die + cp {"${S}","${TEST_S}"}/fastavro/__main__.py || die +} + +python_test() { + cd "${TEST_S}" || die + epytest +} + +pkg_postinst() { + optfeature "lz4 support" dev-python/lz4 + optfeature "snappy support" dev-python/snappy + optfeature "zstd support" dev-python/python-zstandard +} diff --git a/dev-python/flake8-polyfill/flake8-polyfill-1.0.2-r1.ebuild b/dev-python/flake8-polyfill/flake8-polyfill-1.0.2-r1.ebuild new file mode 100644 index 000000000000..ad495fbd4243 --- /dev/null +++ b/dev-python/flake8-polyfill/flake8-polyfill-1.0.2-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +inherit distutils-r1 + +DESCRIPTION="Polyfill package for Flake8 plugins" +HOMEPAGE="https://gitlab.com/pycqa/flake8-polyfill" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/flake8[${PYTHON_USEDEP}]" +BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # Get rid of the test that seems to test only the migration from + # pep8 to pycodestyle (bug 598918). + tests/test_stdin.py +) + +src_prepare() { + sed -e 's|\[pytest\]|\[tool:pytest\]|' -i setup.cfg || die + distutils-r1_src_prepare +} diff --git a/dev-python/helpdev/helpdev-0.7.1-r1.ebuild b/dev-python/helpdev/helpdev-0.7.1-r1.ebuild new file mode 100644 index 000000000000..8cae33eb7990 --- /dev/null +++ b/dev-python/helpdev/helpdev-0.7.1-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Helping users and developers to get information about the environment" +HOMEPAGE="https://gitlab.com/dpizetta/helpdev" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/importlib_metadata[${PYTHON_USEDEP}] + ' 3.8 ) + dev-python/psutil[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pip[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme +distutils_enable_tests pytest diff --git a/dev-python/hunter/Manifest b/dev-python/hunter/Manifest index 817554ec7ce1..efb297676672 100644 --- a/dev-python/hunter/Manifest +++ b/dev-python/hunter/Manifest @@ -1 +1,2 @@ DIST hunter-3.4.3.gh.tar.gz 538017 BLAKE2B 92ad2b653d0285059ea2f005c6ba9564f357e1ea438a0fe30087f88efa202aaa504bad65985a88484cf7178c24432ac44705098dabc2667328c71e0ee38f718c SHA512 921bb48ac5d384977908dda060e178e623eb7c1e4298cbf3c0a273cab23695f2a2a60221afb257e54cd144399d2b3b55b80ae9a2c7f71ba452894cc86112d5f7 +DIST hunter-3.5.1.gh.tar.gz 543137 BLAKE2B a06966f78fd442231c08e2aafe57702f7cc16e5db6aa9a1da7288e4a3a05ff9db3dfc49352641610ade31cb967996c3add64f07ddf637f46e5d269e9d0363a9f SHA512 2c302fa8b88c07be5361f11d8c250c5673be9dc691df9e966959eed45eaf0a8499ae8a6381256d83ab7219c818ed981628fb3299ef5d17d7b1d95c43a2fc63a7 diff --git a/dev-python/hunter/hunter-3.5.1.ebuild b/dev-python/hunter/hunter-3.5.1.ebuild new file mode 100644 index 000000000000..925d3655dfee --- /dev/null +++ b/dev-python/hunter/hunter-3.5.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2022 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="Hunter is a flexible code tracing toolkit" +HOMEPAGE=" + https://github.com/ionelmc/python-hunter + https://pypi.org/project/hunter/ +" +SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/python-${P}" +TEST_S="${S}_test" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-3.3.1[${PYTHON_USEDEP}] + test? ( + dev-python/aspectlib[${PYTHON_USEDEP}] + dev-python/ipdb[${PYTHON_USEDEP}] + dev-python/manhole[${PYTHON_USEDEP}] + dev-python/process-tests[${PYTHON_USEDEP}] + dev-python/pytest-benchmark[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + sys-devel/gdb + ) +" + +DOCS=( AUTHORS.rst CHANGELOG.rst README.rst ) + +EPYTEST_DESELECT=( + tests/test_tracer.py::test_source_cython + tests/test_tracer.py::test_fullsource_cython + + # too unstable + tests/test_remote.py +) + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + ">=dev-python/sphinx-py3doc-enhanced-theme-2.3.2" + +src_unpack() { + default + + cp -a "${S}" "${TEST_S}" || die + mv -f "${TEST_S}"/tests/setup.py "${TEST_S}"/setup.py || die +} + +python_test() { + local TEST_ROOT="${BUILD_DIR}"/test + cp -a "${BUILD_DIR}/install" "${TEST_ROOT}" || die + + cd "${TEST_S}" || die + distutils_pep517_install "${TEST_ROOT}" + + local -x PATH="${TEST_ROOT}/usr/bin:${PATH}" + local -x PYTHONPATH="${S}/tests:${PYTHONPATH}" + + cd "${T}" || die + epytest "${S}"/tests +} diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest index 3873cfc5e1f3..c079038e4651 100644 --- a/dev-python/icalendar/Manifest +++ b/dev-python/icalendar/Manifest @@ -1,3 +1,4 @@ DIST icalendar-4.1.0.tar.gz 78706 BLAKE2B a676b938101e901c45cfeceba031c35f26dc361832ca24877acefcbe9158e111d883b757a133d72901579f73b32e34adbcb47db6d8ccbaa49f013106c282401e SHA512 15bdf4fd22394836d120d7d7ee029e218247d731c51bd99d4e6df7dd6046b91ea0874b8a81bd6090d366fff035329eac98cabdf0ba5aead43efc82c1e6566b23 DIST icalendar-5.0.0.tar.gz 97342 BLAKE2B ce0eef07439f150488748b5dbaea45dead18f419304a33ff8a11eb2c00c432ceb3d25cf14b59f13c7aeb18fa3ef137e87306c98bcb5f5d20503c99fe52738151 SHA512 b6608d6aa23e0e3118ea90babe224dfb2fa0a83477b443fdd66d52f82681d5ca7ca86c4b774cf9161e1d1d08f3c1c2cd79f2b347f1bf5e8e54a50e615d8c4880 DIST icalendar-5.0.1.tar.gz 98634 BLAKE2B 5cc2e17e583caa2f35d5b4723da1975d784bfcbd5620108428cc0d671002620bf0e2fbc72c83440866e3ef31c5e3136781d45dee69ea15be00c42abb6b4d5d22 SHA512 55e62419b90e80e6e675a8ca339e03ea927a620f365a8dcfdb679328103665e7ec80fc7736b425efc6273cf806889783fe499dc4593c77b179601afa1d993e02 +DIST icalendar-5.0.2.tar.gz 101104 BLAKE2B 2e442c8282d764d1985031ef47259094028ec4b86abd03fb226b5ff9ccf7db67ba583df042589e4585d5379cc6675fe1d08141a8129979a43485e51841bfd524 SHA512 830ab3ad8ab100743fbd19ed3823cf1e3d13a8d83188214670b75ed06ee624ce4d52495e31b3fb67495363125f33232a1bedae5fdec467e57566f4f67f591b87 diff --git a/dev-python/icalendar/icalendar-5.0.2.ebuild b/dev-python/icalendar/icalendar-5.0.2.ebuild new file mode 100644 index 000000000000..934474e5c02f --- /dev/null +++ b/dev-python/icalendar/icalendar-5.0.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Package used for parsing and generating iCalendar files (RFC 2445)" +HOMEPAGE=" + https://github.com/collective/icalendar/ + https://pypi.org/project/icalendar/ +" +SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/backports-zoneinfo[${PYTHON_USEDEP}] + ' 3.8) +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_prepare_all() { + # reset conf.py to not read version from an installed instance + sed -e "s:pkg_resources.get_distribution('icalendar').version:'${PV}':" \ + -i docs/conf.py || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 59a8a48ba599..88180b9738ff 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -4,5 +4,6 @@ DIST llvm-project-15.0.3.src.tar.xz 112069972 BLAKE2B 3d29bab890467ba87fedcc4e76 DIST llvm-project-15.0.3.src.tar.xz.sig 438 BLAKE2B e7e0614e144eb878f694c12e97cf42ff8476e47cb55e8f259eb2ec52e303463ad753771271512e89baf0137c1382b11cfa028c85324174ebcd054a124000f537 SHA512 41229bebdb0c2df9a5e3a4d6f02d39fac7dc91f21895a659523beab4fa3ef99ff06eff5e4386221369b6e2b6f8fe974d67b7d8496d5911ce484d09ae0db8b916 DIST llvm-project-15.0.4.src.tar.xz 110936424 BLAKE2B a02b76ad161e352b4d3d84baffdada9c6a0e704de7a2c4017df4d4d05a9e9d02113791cd7d91c3edfa1f5bcb7ab95e1772d60f7061514928c6828600f41a8322 SHA512 9d5b664dd77c08130601636f9d6c006b257f369470ce823aa56d06698a9f0edfec42f2c90da934b9ad52c4d7960d9a024ea46dc9640275be6d191b1ba9869459 DIST llvm-project-15.0.4.src.tar.xz.sig 566 BLAKE2B f1a7be65fcce932dc125ae2b498f68a14e68dad0d7a1e031343c52c5dafb7b123e346f3efa50a7693584361abf01efe9401b1b5781dee6b92dc1045e538e9b7b SHA512 35899ffbd13fc44cade54246a423450571cb4b62b8d706864daa3eef2377c48e24ef3113218e39e29de995b7f7fa307f9187552766576c9050fd924beb517f6e +DIST llvm-project-1fb186198af5f183dde053c1396f899567755d64.tar.gz 170328817 BLAKE2B c79199044e8d636127d1d163ceea856c1bcb1d59c892e9c72869ab788b4feb23f8c28585ac761764b4e29b883c61e43be9341610a523d8b64471200bb3aecfaa SHA512 8b366dc70506ceb70a5584ad051e100fa1cc620388fc757536ef775d102b4baaac016d4f62dbc8b1d9dd00b587622a25d9da735196d336faf35d611145cf5fdc DIST llvm-project-b34ea582774c057d9bf5591174d683fd3d8aa02b.tar.gz 169735900 BLAKE2B d3a82a07f855b038071fc8eb3f41a88b4c220a577219985ecddeb9a535ea8b159dbad575699997d90a49db74c074b5f4354ad707e91d6934daaa7319e0d8ee9b SHA512 3f5525c7d893bdac701cff4cf82dafc31608920d788d9b7401654f320b2432528cf4ae8ef013182807b3dc0c5b758c71f1efeedb672dd47fdb8aa6f434dfb583 DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f diff --git a/dev-python/lit/lit-16.0.0_pre20221104.ebuild b/dev-python/lit/lit-16.0.0_pre20221104.ebuild new file mode 100644 index 000000000000..b8f7eadfb336 --- /dev/null +++ b/dev-python/lit/lit-16.0.0_pre20221104.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 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 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="" +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() { + 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/msrest/Manifest b/dev-python/msrest/Manifest new file mode 100644 index 000000000000..93ad05fc36d7 --- /dev/null +++ b/dev-python/msrest/Manifest @@ -0,0 +1 @@ +DIST msrest-0.7.1.zip 175332 BLAKE2B 723202c11cff69dead95303567d4a582d87b85cd38742827ea4a7010b1621930bffdc4f4e6404717e8120bc8ff1a62803d349f1e01344812bde7644a5eec34d9 SHA512 430e982adf89c79356e59182587c62ecb935e983f2e339738b54c48d0cd3cfa66ab48aad52d342b3efe5938d5e02693f24d603a4d637e3e5818bac6d03cc19db diff --git a/dev-python/msrest/metadata.xml b/dev-python/msrest/metadata.xml new file mode 100644 index 000000000000..ddb5b0f1787e --- /dev/null +++ b/dev-python/msrest/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/msrest/msrest-0.7.1.ebuild b/dev-python/msrest/msrest-0.7.1.ebuild new file mode 100644 index 000000000000..1ef25d007f8f --- /dev/null +++ b/dev-python/msrest/msrest-0.7.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_REQ_USE="xml(+)" +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 optfeature + +DESCRIPTION="AutoRest swagger generator Python client runtime" +HOMEPAGE="https://github.com/Azure/msrest-for-python" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/azure-core[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/isodate[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_USEDEP}] +" +BDEPEND=" + app-arch/unzip + test? ( + dev-python/aiodns[${PYTHON_USEDEP}] + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/httpretty[${PYTHON_USEDEP}] + dev-python/oauthlib[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "async support" "dev-python/aiodns dev-python/aiohttp" +} diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 4293c54e9097..737ef33e22b5 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,3 +1,4 @@ DIST Nuitka-1.1.5.tar.gz 3920916 BLAKE2B 7352009df91e39c63073e8230065af990c86d07cf51752ceaf234e4e8b5814d085ee7423440dc5bb8ca63341f7e1eccdbd41631711ebcfac481bcb3645c011f2 SHA512 ef88b98341cb930529d6e31bb487cf3bb8c217dd9b8a8b50c8e5b147f0b4879a17f2d6c7621a056ad3f1ffd15ac88781445bc0dc8dc164a38aea83b43a6bf3c7 DIST Nuitka-1.1.6.tar.gz 3923364 BLAKE2B 680496486121ff17bb8bded93ea3be79c65cc7d1eb8352a29699e3f0c9f6cec75c83f1018b58f837dc181668cb3d5f7574f8c6ded80d9727c396d5caad2896a2 SHA512 8bdf4ed2bf15ff0d5ab88f3df151c219822a718d7c5244075ffef1822467861030875fa508eb861825fab030232f041f0baf7e719eba0f82ae1d9ace224eb749 DIST Nuitka-1.1.7.tar.gz 3929202 BLAKE2B 06576f89b1abb0f062b621c5889cb78f6e0b18c9a8c9ca436ddba33c42d61ca8c1c0bed8f439f3d03e69da24b49c4175c97248ef5563d770a7fb3d4cd7592995 SHA512 6bf3d285e041a5aadd31057b35ecb3b4b9046390a86755b10e97fae7b6aa147c4271c4f1c6cbf98e3d48f37fac98e19c94a053b0d31fa17a4f34d80a1b844c36 +DIST Nuitka-1.1.8.tar.gz 3931273 BLAKE2B 19425e5394f02f4e5dab612e17f80de27569a0d364aaf8597c7bf63f0aa271c3f8cfa987c12b1ae09c5449775b6e4e61aa4d733d0ed81231c4df6ef955dc030e SHA512 f1e594499cd9fcd03873646c41b66a4d89980f408412dcd58db45b3c48238503d03ef25a1b230cfa99960df69f2564b74b02c446e0431dd72634ce277347a551 diff --git a/dev-python/nuitka/nuitka-1.1.8.ebuild b/dev-python/nuitka/nuitka-1.1.8.ebuild new file mode 100644 index 000000000000..d2196214be46 --- /dev/null +++ b/dev-python/nuitka/nuitka-1.1.8.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 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 flag-o-matic optfeature + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://www.nuitka.net/ + https://github.com/Nuitka/Nuitka/ + https://pypi.org/project/Nuitka/ +" +SRC_URI="https://nuitka.net/releases/${P^}.tar.gz" +S=${WORKDIR}/${P^} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-util/scons[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf ) + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + doman doc/nuitka3.1 doc/nuitka3-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" app-admin/chrpath +} diff --git a/dev-python/praw/Manifest b/dev-python/praw/Manifest index 09c772fcfa21..1def1b0ccf25 100644 --- a/dev-python/praw/Manifest +++ b/dev-python/praw/Manifest @@ -1,2 +1 @@ -DIST praw-7.5.0.tar.gz 24818192 BLAKE2B f65c65ce03df146386537c3a0d1ae188f8627b71f51b5497544723495922a4db5c0f16f971e54158e3da8101fe56d6c3f599676002ae4248d6db1b7ba691a2a4 SHA512 df2da306819df8387c9ad018b0ea886390c065e4d0af1b1b22ae2bfed3d4f612ce2ac2a029c7cee92ea90ca30cc13c7a6640373fd621dc70dd2ac175bea1b4ee DIST praw-7.6.0.gh.tar.gz 25122812 BLAKE2B 58010c2d2d223e8f64744453eff1416c5b6edd79cc2e3e6916792c60933b635a3272d7933fa885e6ce64663141eaf5b5e4091f5d7320b52e16c05d97f1747434 SHA512 6702936b193542756e1b035fc7b7e2d9c398d44bb1631046af0a06b93833c26cfdae61d58d160e27e1b56b63777eda709e6e6bee2c6e4c76451837a6eead6ac4 diff --git a/dev-python/praw/praw-7.5.0.ebuild b/dev-python/praw/praw-7.5.0.ebuild deleted file mode 100644 index 6f20856b7922..000000000000 --- a/dev-python/praw/praw-7.5.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 - -DESCRIPTION="Python Reddit API Wrapper" -HOMEPAGE="https://pypi.org/project/praw/ https://github.com/praw-dev/praw" -SRC_URI="https://github.com/praw-dev/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64" - -DOCS=( {AUTHORS,CHANGES,README}.rst SECURITY.md ) - -RDEPEND=" - <dev-python/prawcore-3[${PYTHON_USEDEP}] - dev-python/websocket-client[${PYTHON_USEDEP}] -" -BDEPEND="test? ( - dev-python/betamax[${PYTHON_USEDEP}] - dev-python/betamax-matchers[${PYTHON_USEDEP}] -)" - -distutils_enable_sphinx docs dev-python/sphinx_rtd_theme - -distutils_enable_tests pytest - -python_prepare_all() { - # disable optional dependencies - sed "/update_checker/d" -i setup.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # spams deprecation warnings - epytest -p no:asyncio -} diff --git a/dev-python/praw/praw-7.6.0.ebuild b/dev-python/praw/praw-7.6.0.ebuild index c82548ea7997..e27d9ed57f48 100644 --- a/dev-python/praw/praw-7.6.0.ebuild +++ b/dev-python/praw/praw-7.6.0.ebuild @@ -4,6 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 DESCRIPTION="Python Reddit API Wrapper" @@ -25,6 +26,14 @@ BDEPEND="test? ( dev-python/betamax-matchers[${PYTHON_USEDEP}] )" +# TODO: remove in next release +EPYTEST_DESELECT=( + tests/unit/test_deprecations.py + tests/unit/util/test_deprecate_args.py + tests/unit/models/reddit/test_submission.py::TestSubmission::test_comment_sort_warning + tests/unit/models/reddit/test_submission.py::TestSubmission::test_comment_sort_warning__disabled +) + distutils_enable_sphinx docs dev-python/sphinx_rtd_theme distutils_enable_tests pytest @@ -37,6 +46,9 @@ python_prepare_all() { } python_test() { - # spams deprecation warnings - epytest -p no:asyncio + local epytestargs=( + # spams deprecation warnings + -p no:asyncio + ) + epytest "${epytestargs[@]}" } diff --git a/dev-python/psycopg/psycopg-3.1.3.ebuild b/dev-python/psycopg/psycopg-3.1.3.ebuild index 51949d3195b0..7c01a455c694 100644 --- a/dev-python/psycopg/psycopg-3.1.3.ebuild +++ b/dev-python/psycopg/psycopg-3.1.3.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${P}/psycopg LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" DEPEND=" >=dev-db/postgresql-8.1:* diff --git a/dev-python/pyftpdlib/Manifest b/dev-python/pyftpdlib/Manifest index 06203ee0db01..d67a2f45e6ac 100644 --- a/dev-python/pyftpdlib/Manifest +++ b/dev-python/pyftpdlib/Manifest @@ -1,2 +1 @@ -DIST pyftpdlib-1.5.6.tar.gz 188099 BLAKE2B 508e94da6b27b4b1f15306df2916c176f07ca31944398e9ac580fca8d2cdc72ca0ee8e7db282de6745e2e401b23b1fa8cb8de400dc2ba998b93ac45772c78157 SHA512 a3c3c1cac221a8a3c090ee208c03134bb1b8de58099a23ca6ee422f06fb97a0ed561c96e62c62b21fa112dd0b3458651b9fc0c55d72dc0bed79d0583b319a50d DIST pyftpdlib-1.5.7.tar.gz 196076 BLAKE2B 9400fb9ff5d8c0e904f07dabef72a07528bc43a5332ad26544f0e512c457a919e887e9f9af18b75cb7853f2e0b70993bc5a858438924320e738d4bc9e2e17090 SHA512 66ad5a1ab8fde26233250351f553cdc411303616d717c416cdce059f93c64e6ef64c7707103644583249b6aba22a9841994b38e731edc7997e95e266dbdbdc22 diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild deleted file mode 100644 index 302464b7c320..000000000000 --- a/dev-python/pyftpdlib/pyftpdlib-1.5.6-r1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -PYTHON_REQ_USE="ssl(+)" - -inherit distutils-r1 - -DESCRIPTION="Python FTP server library" -HOMEPAGE="https://github.com/giampaolo/pyftpdlib https://pypi.org/project/pyftpdlib/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris" -IUSE="examples ssl" - -RDEPEND=" - ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs dev-python/sphinx_rtd_theme - -python_test() { - cd "${BUILD_DIR}"/lib || die - - # These tests fail when passing additional options to pytest - # so we need to run them separately and not pass any args to pytest - pytest ${PN}/test/test_misc.py || die "Tests failed with ${EPYTHON}" - # Some of these tests tend to fail - local EPYTEST_DESELECT=( - # Those tests are run separately - pyftpdlib/test/test_misc.py - # https://github.com/giampaolo/pyftpdlib/issues/471 - # https://bugs.gentoo.org/636410 - pyftpdlib/test/test_functional.py::TestCallbacks::test_on_incomplete_file_received - # https://github.com/giampaolo/pyftpdlib/issues/512 - # https://bugs.gentoo.org/701146 - pyftpdlib/test/test_functional_ssl.py::TestFtpStoreDataTLSMixin::test_rest_on_stor - pyftpdlib/test/test_functional_ssl.py::TestFtpStoreDataTLSMixin::test_stor_ascii - # https://github.com/giampaolo/pyftpdlib/issues/513 - # https://bugs.gentoo.org/676232 - pyftpdlib/test/test_servers.py::TestFtpAuthentication::test_anon_auth - # https://github.com/giampaolo/pyftpdlib/issues/513 - # https://bugs.gentoo.org/702578 - pyftpdlib/test/test_servers.py::TestFtpAuthentication::test_auth_failed - # https://github.com/giampaolo/pyftpdlib/issues/543 - # https://bugs.gentoo.org/758686 - pyftpdlib/test/test_functional.py::ThreadedFTPTests::test_idle_timeout - pyftpdlib/test/test_functional.py::ThreadedFTPTests::test_stou_max_tries - # https://github.com/giampaolo/pyftpdlib/issues/550 - # https://bugs.gentoo.org/759040 - pyftpdlib/test/test_functional.py::TestConfigurableOptions::test_masquerade_address - pyftpdlib/test/test_functional.py::TestConfigurableOptions::test_masquerade_address_map - pyftpdlib/test/test_functional_ssl.py::TestConfigurableOptions::test_masquerade_address - pyftpdlib/test/test_functional_ssl.py::TestConfigurableOptions::test_masquerade_address_map - pyftpdlib/test/test_functional_ssl.py::TestConfigurableOptionsTLSMixin::test_masquerade_address - pyftpdlib/test/test_functional_ssl.py::TestConfigurableOptionsTLSMixin::test_masquerade_address_map - ) - # Tests fail with TZ=GMT, see https://bugs.gentoo.org/666623 - local -x TZ=UTC+1 - # Skips some shoddy tests plus increases timeouts - local -x TRAVIS=1 - epytest -} - -python_install_all() { - if use examples; then - docinto examples - dodoc -r demo/. - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.7.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.7.ebuild index a52b302cc4e7..215dc55d6e6e 100644 --- a/dev-python/pyftpdlib/pyftpdlib-1.5.7.ebuild +++ b/dev-python/pyftpdlib/pyftpdlib-1.5.7.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris" IUSE="examples ssl" RDEPEND=" diff --git a/dev-python/pysubs2/Manifest b/dev-python/pysubs2/Manifest index af10d10d0d33..67a8b1167fcf 100644 --- a/dev-python/pysubs2/Manifest +++ b/dev-python/pysubs2/Manifest @@ -1,3 +1,3 @@ DIST pysubs2-1.3.1.tar.gz 847254 BLAKE2B a5e225c6ad3b8e2a26ba5e4caa07fe022af0addb3f86d90f6922e98335146b6605fbefd22a05c27e69d02590e1c53d67e5b91ee641d444d1d09fa93ab1ef4488 SHA512 dc50107932f484ccf15a2e9d88a767aeeb1ef1bc4dba07ac573489e0405d0f7002bced460230a9406e4eb8ef3db89f8e4e622bb7a89b114b9cd6308ae1f3c0e0 -DIST pysubs2-1.4.2.tar.gz 850181 BLAKE2B 3aecd8a908bbde55e8426aec632a069da6f1f148cf853b28010562f239d84b92dd47b11ce96c38d9583703855c6ce2214dbec0607911dc1a48af14c1aa549752 SHA512 57d632fb7e29b1fb23eaf3f28275d3e05c83aa718b66ed2c0e1a0a617f7d7b47be133ed517c4373256bf2dc79003bc1415ccf5947d924523b7fb539aa5917271 DIST pysubs2-1.4.3.tar.gz 850528 BLAKE2B 8d444195d267d21f525e4e0f197cf539b7f90adc87cd19c566439a97cb50aebd30bf9b4aba50367b86326d6ed65e739b9d22a2ba5d3723021c3eb5d9b00da430 SHA512 f80b366c514db7af65d1de180a2ddd69b7f4fdd659c790f4d8f923dff1074b81cf955598fe05c3a69a59d2b1f2621b07ddd65fd6d4ab0b3bc88709cdbf632e19 +DIST pysubs2-1.4.4.tar.gz 850577 BLAKE2B 00fe742dd0545d816e335370c7691a456f148dc33b7c0f772941c69d6aef7c4ff43e734feecaf56bb8d0f199bc57e558a9a6bf5c3aa8223b87c3e51529eff5a1 SHA512 c8ae6742cafa7097a935dee2a5e2d67620e66bba2f0fefa7ee52d03c5ba53f227b6e6d761b0a60598afd16b34f3bbf9da3d0c423a3133983d1f3cb9437dcc094 diff --git a/dev-python/pysubs2/pysubs2-1.4.2.ebuild b/dev-python/pysubs2/pysubs2-1.4.4.ebuild index 78c8d9ffaa83..241b2a09fc76 100644 --- a/dev-python/pysubs2/pysubs2-1.4.2.ebuild +++ b/dev-python/pysubs2/pysubs2-1.4.4.ebuild @@ -4,6 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 diff --git a/dev-python/pytest-benchmark/Manifest b/dev-python/pytest-benchmark/Manifest index f59164a391f2..2c1a043295bb 100644 --- a/dev-python/pytest-benchmark/Manifest +++ b/dev-python/pytest-benchmark/Manifest @@ -1 +1,2 @@ DIST pytest-benchmark-3.4.1.gh.tar.gz 322758 BLAKE2B d29254f412aee0955429e7957fa31e9443b3319bec256b601c456efa7020abbd5b4d9ed43799fda62f53f70f14de3f42a93b29b7366989294f037ec2ee3215fc SHA512 54fb5e3a176578b3c8f339878c7a9d047a0785befcbba42bb68c34b4b636d9b6f6a2097b36c5eefbbcf1a91f943bdae762c7978a0dba1af53514052f513ef4c5 +DIST pytest-benchmark-4.0.0.gh.tar.gz 315989 BLAKE2B 1d0d8692b1c8e4eada2e0e369362d2938c78cfe53c9fc8b6510a7e679fc9efcd8db8ac4add6b67f21f839467557fa109f911374da003c2537f06b08ca013c0a6 SHA512 88636e44c184f5072ad081a89f08e8838a11397e6b88298d7f235b531f894792001b858fc5c810b1399d41ec55de5db9057552fb7544fb405a04c3ba5ffbe329 diff --git a/dev-python/pytest-benchmark/pytest-benchmark-4.0.0.ebuild b/dev-python/pytest-benchmark/pytest-benchmark-4.0.0.ebuild new file mode 100644 index 000000000000..7aee2ac5fdbc --- /dev/null +++ b/dev-python/pytest-benchmark/pytest-benchmark-4.0.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 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="py.test fixture for benchmarking code" +HOMEPAGE=" + https://pypi.python.org/pypi/pytest-benchmark/ + https://github.com/ionelmc/pytest-benchmark +" +SRC_URI="https://github.com/ionelmc/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +DOCS=( {AUTHORS,CHANGELOG,README}.rst ) + +RDEPEND=" + dev-python/py-cpuinfo[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] +" +BDEPEND="test? ( + dev-python/aspectlib[${PYTHON_USEDEP}] + dev-python/elasticsearch-py[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/hunter[${PYTHON_USEDEP}] + dev-python/pygal[${PYTHON_USEDEP}] + dev-python/pygaljs[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-vcs/git + dev-vcs/mercurial +)" # tests include pytest-xdist integration + +EPYTEST_DESELECT=( + tests/test_cli.py::test_help + tests/test_cli.py::test_help_compare +) + +distutils_enable_tests pytest + +distutils_enable_sphinx docs \ + dev-python/sphinx-py3doc-enhanced-theme diff --git a/dev-python/pytest-httpx/Manifest b/dev-python/pytest-httpx/Manifest index 1bd9665e993c..1ee45fc971e3 100644 --- a/dev-python/pytest-httpx/Manifest +++ b/dev-python/pytest-httpx/Manifest @@ -1,2 +1,3 @@ DIST pytest-httpx-0.21.0.gh.tar.gz 23123 BLAKE2B a9a1bc9effc557829071f13cec76aa1d164ae7040b685390c92f33c644c804448eba1ad3e841abdb667a2c0289abd64f5d3633779bd8b0355a1c03d390d94bd5 SHA512 6be6fb39ad1ef233ce9be7cf510422754b6c97a1b565d49224e82cbe4218ee24051b6c5865215ed575f200446dfe8dd1470908467c67077c51a4f5412b113c2a DIST pytest-httpx-0.21.1.gh.tar.gz 23997 BLAKE2B feba932cd8a4e7e36cbf98a5c07f8e3264c9f95568568dd4ec4b882a509a4feafd740d3c25a547b7ea28f7e5450083a5f5f7afde0b19bfe46f7999b01565fbe3 SHA512 22cd471996202c78c3d3b433f8ed525e0282df431f0923cfbce42fd543b56a2af20723062773a1a3e3f406a0ce6aa6eed27faaa76731472a903cdad6fb13f771 +DIST pytest-httpx-0.21.2.gh.tar.gz 24311 BLAKE2B ae1ce7ada3977c3bd68f31b5e20e93ac32f2459359bcff30d1ccf358b07ce269f38acb06b46211ddaed1085a9cf78fcefb921a978a5ca4f6c84fe25b602a3a25 SHA512 d8a9d1381a7c1bb1f907effce48bcd4cad29b2eb135e5d18e7ba3025ba2f18d97c7914f0cfb835416dfa608c59ed51db653b0366d407cfbb82fc520808f3792e diff --git a/dev-python/pytest-httpx/pytest-httpx-0.21.2.ebuild b/dev-python/pytest-httpx/pytest-httpx-0.21.2.ebuild new file mode 100644 index 000000000000..4d4084163aab --- /dev/null +++ b/dev-python/pytest-httpx/pytest-httpx-0.21.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 2022 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_PN="${PN/-/_}" +DESCRIPTION="Send responses to HTTPX using pytest" +HOMEPAGE=" + https://colin-b.github.io/pytest_httpx/ + https://github.com/Colin-b/pytest_httpx/ + https://pypi.org/project/pytest-httpx/ +" +SRC_URI=" + https://github.com/Colin-b/pytest_httpx/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + =dev-python/httpx-0.23*[${PYTHON_USEDEP}] + <dev-python/pytest-8[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/python-dbus-next/metadata.xml b/dev-python/python-dbus-next/metadata.xml index 311e10197831..3335ff021f22 100644 --- a/dev-python/python-dbus-next/metadata.xml +++ b/dev-python/python-dbus-next/metadata.xml @@ -2,7 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>ceamac.paragon@gmail.com</email> + <email>ceamac@gentoo.org</email> <description>Primary maintainer</description> </maintainer> diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest index ecb3f2bac643..a62b2c8454eb 100644 --- a/dev-python/rapidfuzz/Manifest +++ b/dev-python/rapidfuzz/Manifest @@ -1,2 +1,3 @@ DIST rapidfuzz-2.12.0.tar.gz 836008 BLAKE2B 7d8cb6637247711f2f6fed63c9f26e2d3b8871b9a4926b86e37f6d42fed0f5ac2af727a1b350f4b55787b6fd5a393c3b90ee91d122731bb3f64acb4edb5126f0 SHA512 06c5e46332c98ea8feb83a89b879efc12a737f58312a862ab426e899bdfd3661601d4a417f7bc518e1006a2f05fa31ce1003ae9dd67c1e7d58f903e65f9eb6e7 DIST rapidfuzz-2.13.0.tar.gz 841650 BLAKE2B 53cdae975a46d68d6ec128a2633a1dd582643fe2564a6db1783c1b7d0917d1904238b9f67e68da788797f0c323b2c99df4fdf04615d8bd3d503cc3377876f197 SHA512 f700b5b926aa639434bb48df21d6320c9a289f7972a15cccb7020a2459eeea70476ed146866d13dce03b112c1512a8403d2d2ab729b91475d43eb775fab21560 +DIST rapidfuzz-2.13.1.tar.gz 841623 BLAKE2B 0d1aca4cde5face35f31348d054d2d0194b1f5985bb87ec22a3759f0d03ecc91de64e483197ec7e230636f409f7766e4fc5d6896778f00fd22ae9457ee680b1f SHA512 6e19873981a69c5d80c9197739e3c9a4376d50e6fbfc12932327ff6eb9dabb2762926820f1f5dbdcd884fadfc3326d3f32e2d3c991007f60846165175f0e0b98 diff --git a/dev-python/rapidfuzz/rapidfuzz-2.13.1.ebuild b/dev-python/rapidfuzz/rapidfuzz-2.13.1.ebuild new file mode 100644 index 000000000000..8b572ed8a99f --- /dev/null +++ b/dev-python/rapidfuzz/rapidfuzz-2.13.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# custom wrapper over setuptools +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" +HOMEPAGE=" + https://github.com/maxbachmann/RapidFuzz/ + https://pypi.org/project/rapidfuzz/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~riscv" + +# all these are header-only libraries +DEPEND=" + >=dev-cpp/taskflow-3.0.0 + >=dev-cpp/rapidfuzz-cpp-1.10.0 + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/rapidfuzz_capi[${PYTHON_USEDEP}] + dev-python/scikit-build[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # sterilize build flags + sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die + + distutils-r1_src_prepare + + export RAPIDFUZZ_BUILD_EXTENSION=1 +} diff --git a/dev-python/sdnotify/metadata.xml b/dev-python/sdnotify/metadata.xml index 311e10197831..3335ff021f22 100644 --- a/dev-python/sdnotify/metadata.xml +++ b/dev-python/sdnotify/metadata.xml @@ -2,7 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>ceamac.paragon@gmail.com</email> + <email>ceamac@gentoo.org</email> <description>Primary maintainer</description> </maintainer> diff --git a/dev-python/sphinxcontrib-fulltoc/metadata.xml b/dev-python/sphinxcontrib-fulltoc/metadata.xml index 311e10197831..3335ff021f22 100644 --- a/dev-python/sphinxcontrib-fulltoc/metadata.xml +++ b/dev-python/sphinxcontrib-fulltoc/metadata.xml @@ -2,7 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>ceamac.paragon@gmail.com</email> + <email>ceamac@gentoo.org</email> <description>Primary maintainer</description> </maintainer> diff --git a/dev-python/sphinxext-opengraph/Manifest b/dev-python/sphinxext-opengraph/Manifest index ed725a90b4ea..b39c0d639252 100644 --- a/dev-python/sphinxext-opengraph/Manifest +++ b/dev-python/sphinxext-opengraph/Manifest @@ -1 +1,2 @@ DIST sphinxext-opengraph-0.6.3.tar.gz 6890 BLAKE2B 84c0aab5362d6d415856ca9b6496d93a9602683f849c6c6091a4e138568ce3190f3f1df4224ce76f92b5f15838b44189d1e95c8ab519dea0ac594c5de81df8fc SHA512 a52c94198156cac03080559a1f96a8b6573272cd9f1e6342b2aa44b2cd3c1b12f05a785be8bab01bbbf1fe18607cce81ef6fdf6b649cf649d16bd398e8c6fbaa +DIST sphinxext-opengraph-0.7.2.tar.gz 26940 BLAKE2B 42416c96b893965164ddf36764f2c8abb961b1fd2bb466016eeb7ef7e12baf91e22f33d3aeb5fce223b0b3174c7e23149c0228bb25100e97b34df27bafae0349 SHA512 cfec7129a2a4c95d20040aae11fe9f35ebe875bd46d91ade5eab4aaa05c7872e0ebde839e1857be4bc0ea6469d0a4d04e95ab5e82b57bfbffcb67d84f826f46d diff --git a/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.7.2.ebuild b/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.7.2.ebuild new file mode 100644 index 000000000000..266f23e2bb5e --- /dev/null +++ b/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.7.2.ebuild @@ -0,0 +1,21 @@ +# Copyright 2022 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_REQ_USE="ncurses" + +inherit distutils-r1 + +DESCRIPTION="Sphinx Extension to enable OGP support" +HOMEPAGE="https://github.com/wpilibsuite/sphinxext-opengraph" +SRC_URI="https://files.pythonhosted.org/packages/36/1f/17b5ff294f5a7b24ffb06114ce4a833201f288cb1d8d35b5a60f233c1372/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +distutils_enable_sphinx docs +distutils_enable_tests setup.py + diff --git a/dev-python/sse-starlette/Manifest b/dev-python/sse-starlette/Manifest index 5c307c5b6f01..504b1948028b 100644 --- a/dev-python/sse-starlette/Manifest +++ b/dev-python/sse-starlette/Manifest @@ -1,2 +1,2 @@ DIST sse-starlette-0.10.3.tar.gz 513991 BLAKE2B 2d3531e1cb5142e3b6b3c843522b9c2b54a416af18a84c2bbcfdf7761b12405dd8660b53ca807cfdd6c3606d1cded762993922fcc84d15092191e6685dd346d5 SHA512 fe1643ac1624be4ef727108465396dfc5c1e298b8a99918dbad4f1e4f766e35a33f900a63fb31e0c45849a2fdc5e3b3fae9e749413f2431ec554db3db128357a -DIST sse-starlette-0.9.0.tar.gz 511176 BLAKE2B 0ff4cffb60c585af99d70c8fa710b342323b03e1fb9a52af63d5c43b41f49fa2ef71a78355d6677d8e89ab3ecc80ce75cc0a10a4cc48c728b82deec2acab027a SHA512 bca27f1bca8ac864af24dc03f3f49765d8249940583036830ccc805289a7b87f8dcf1c159af308c4e94b85641d8af50c6236be55eaa802bca9d02c7d5cead50d +DIST sse-starlette-1.1.6.tar.gz 513764 BLAKE2B 2852eed53c71a5af8f690aba76ebe1a47228319e14be643e1d88f6a6afdb376a1d4354d28c65090458b7d75f55f0b64ab08e66ee2abcc8740a5250086b17e223 SHA512 047856c672417a44e380d1e31110882f4d536469cfe3bddac185c9996e1ec0e792075bc5ce521640c5fe2a0294c9ca9ee4a423d3edf08d898acfec65495cf280 diff --git a/dev-python/sse-starlette/sse-starlette-0.9.0.ebuild b/dev-python/sse-starlette/sse-starlette-1.1.6.ebuild index 2d0153b6b011..acdb82104201 100644 --- a/dev-python/sse-starlette/sse-starlette-0.9.0.ebuild +++ b/dev-python/sse-starlette/sse-starlette-1.1.6.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 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="Server Sent Events for Starlette" @@ -18,11 +18,17 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -RDEPEND="dev-python/starlette" +RDEPEND=" + dev-python/anyio[${PYTHON_USEDEP}] + dev-python/starlette[${PYTHON_USEDEP}] +" BDEPEND=" test? ( - dev-python/pytest-asyncio - dev-python/requests + dev-python/asgi-lifespan[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] ) " diff --git a/dev-python/stone/metadata.xml b/dev-python/stone/metadata.xml index 311e10197831..3335ff021f22 100644 --- a/dev-python/stone/metadata.xml +++ b/dev-python/stone/metadata.xml @@ -2,7 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>ceamac.paragon@gmail.com</email> + <email>ceamac@gentoo.org</email> <description>Primary maintainer</description> </maintainer> diff --git a/dev-python/survey/metadata.xml b/dev-python/survey/metadata.xml index 311e10197831..3335ff021f22 100644 --- a/dev-python/survey/metadata.xml +++ b/dev-python/survey/metadata.xml @@ -2,7 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>ceamac.paragon@gmail.com</email> + <email>ceamac@gentoo.org</email> <description>Primary maintainer</description> </maintainer> diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest index 0b0e82863b75..ec108d77fe9d 100644 --- a/dev-python/weasyprint/Manifest +++ b/dev-python/weasyprint/Manifest @@ -2,3 +2,4 @@ DIST weasyprint-55.0.tar.gz 410970 BLAKE2B ba77f249c3568031eff9b7110864b69113f71 DIST weasyprint-56.0.tar.gz 419236 BLAKE2B c64d382e4ac169904a51fec17152faacccf4ccdab775a3b34b0db7e0a4306e6cadf6810482cee5535991400455864749cce1fc6ba5e0b469a3eb934d62298028 SHA512 d8efc83f77967a514d26806a9b73ef03e047431c6db9b367cd23a819b4a68714d216081afc74162b60084d0f3755498dc782d0335069bc9e70c42b611b737eec DIST weasyprint-56.1.tar.gz 420035 BLAKE2B ac6ff4fae70406c125f8e5c959acba297fa92644dd6a69a95af0192260c6fc8890b1ae790c25eb16f79a3f527a88e4912787c8d29f4ea213c2fc4ecab589ecf8 SHA512 c64bcef9789cb8c52853cfe02f5249240b67fa8368f3467c0e56cefe8ee9fde3dc9a1a489278e7238ed7fddfebba2f238f37245a3ef4d7482a32cee14dbf66b0 DIST weasyprint-57.0.tar.gz 428504 BLAKE2B f5a1ffd1e5ceed3ec51c5babad38bdcbce34b8183f6226519e82e86b080bae01c106109348233875ec3448b7014765eeb1b07c2eb430c4d49a1e784e60d89262 SHA512 627769b0584804c34aacf52c3006b11d2be50cd79f8f2621ac39a630a9b2dd132dc4e6005c844ced84479f901e24515615755fa1b863825b4bb0edde97b24a7d +DIST weasyprint-57.1.tar.gz 429652 BLAKE2B c94cc05f6c3b831d3214d7476e3fa799ff62d8fb575044a6f11172e650a87b1277e21fef40577bb01a1a778982a98e1a57801de708b3a3a26520b50aae8b43ac SHA512 0a130fba07d1d73eb4e9dcda27ab51ede45c440717f6fedb8d6aac09283244c366d36d85c2dac85995fbaebac21cf880a0cb684baaff3788af3eb6b4931c014b diff --git a/dev-python/weasyprint/weasyprint-57.1.ebuild b/dev-python/weasyprint/weasyprint-57.1.ebuild new file mode 100644 index 000000000000..42c9aa26afd4 --- /dev/null +++ b/dev-python/weasyprint/weasyprint-57.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" +HOMEPAGE=" + https://weasyprint.org/ + https://github.com/Kozea/WeasyPrint/ + https://pypi.org/project/weasyprint/ +" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] + >=dev-python/cssselect2-0.1[${PYTHON_USEDEP}] + >=dev-python/fonttools-4.0.0[${PYTHON_USEDEP}] + >=dev-python/html5lib-1.1[${PYTHON_USEDEP}] + >=dev-python/pillow-4.0.0[jpeg,jpeg2k,${PYTHON_USEDEP}] + >=dev-python/pydyf-0.5.0[${PYTHON_USEDEP}] + >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] + >=dev-python/tinycss2-1.0.0[${PYTHON_USEDEP}] + x11-libs/pango +" + +BDEPEND=" + test? ( + || ( + >=app-text/ghostscript-gpl-9.56.1-r3 + <app-text/ghostscript-gpl-9.56.0 + ) + media-fonts/ahem + media-fonts/dejavu + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/wheel/Manifest b/dev-python/wheel/Manifest index cb2b72dd3708..956efda2c44f 100644 --- a/dev-python/wheel/Manifest +++ b/dev-python/wheel/Manifest @@ -1,2 +1,3 @@ DIST wheel-0.37.1.gh.tar.gz 68751 BLAKE2B 55919649f82668565d3b5907d14d0758984bb7d29d8857807ad034288ed8c9e8660957dc16f418f18408e89a97cf0d3c30df874a17f56deb56918388b18246a7 SHA512 9493db2f29e16d17ca06a4d47854b3df5dfd17f21c77efd42befd54470858256fd59f56aa9585cbf0a09830927b657d546324f793e1b1153665bf0b74d0c0457 DIST wheel-0.38.0.gh.tar.gz 68696 BLAKE2B 38dbc8ba7cf67d202c6c98b277e590b3b31b46b698f59f988af1710e9fa6e5d2125378029475060cf3142cd9666bb318005619d085ea2e8b501bb10cd9694fe3 SHA512 0ffdf531c03d1f0866632002b163fdf8642b613604e74d1cfa5844e8c327946baf303bc0410fc7ec034f8a79cb4ad59536dfdaaa5cc8fa23a3b7d21faf5e6161 +DIST wheel-0.38.1.gh.tar.gz 69293 BLAKE2B 68f65a8a50e18e869106aa535faaebf6445bee8ccf31a78519ed325f1b98cbabc7e4a34028c0211324852163666481bc167eeeaee5f3febefbb008c9286f9d05 SHA512 1818b50a4ee50861aac3c9ac4058c5fee2de4a428ca04e7a9b1ce570dab6f1b64f4528f812aa23e87705ed15e360d0bd5b01523bd4360875c25054b1ccbf9179 diff --git a/dev-python/wheel/wheel-0.38.1.ebuild b/dev-python/wheel/wheel-0.38.1.ebuild new file mode 100644 index 000000000000..ec80c4257a94 --- /dev/null +++ b/dev-python/wheel/wheel-0.38.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A built-package format for Python" +HOMEPAGE=" + https://github.com/pypa/wheel/ + https://pypi.org/project/wheel/ +" +SRC_URI=" + https://github.com/pypa/wheel/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 ~x64-macos ~x64-solaris" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/setuptools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unbundle packaging + rm -r src/wheel/vendored || die + sed -i -e 's:\.vendored\.::' src/wheel/*.py || die + sed -i -e 's:wheel\.vendored\.::' tests/*.py || die + + distutils-r1_src_prepare +} + +src_configure() { + [[ -e pyproject.toml ]] && + die "Upstream added pyproject.toml, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "wheel" + description = "A built-package format for Python" + dynamic = ["version"] + + [project.scripts] + wheel = "wheel.cli:main" + + [project.entry-points."distutils.commands"] + bdist_wheel = "wheel.bdist_wheel:bdist_wheel" + EOF +} diff --git a/dev-python/wrapio/metadata.xml b/dev-python/wrapio/metadata.xml index 311e10197831..3335ff021f22 100644 --- a/dev-python/wrapio/metadata.xml +++ b/dev-python/wrapio/metadata.xml @@ -2,7 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>ceamac.paragon@gmail.com</email> + <email>ceamac@gentoo.org</email> <description>Primary maintainer</description> </maintainer> |
