diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-12-16 12:46:40 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-12-16 12:46:40 +0000 |
| commit | b64623147d9dd53b97093675f89d415bfb9fcacf (patch) | |
| tree | dc4d007da6663fd7a9e769f6029287610cfed2a7 /dev-python | |
| parent | f01db48fc6c99ddc28ef1362d2a41ba82bdc6abe (diff) | |
| download | baldeagleos-repo-b64623147d9dd53b97093675f89d415bfb9fcacf.tar.gz baldeagleos-repo-b64623147d9dd53b97093675f89d415bfb9fcacf.tar.xz baldeagleos-repo-b64623147d9dd53b97093675f89d415bfb9fcacf.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
41 files changed, 825 insertions, 281 deletions
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index e0995d34cb47..d5733e4aeeb1 100644 --- a/dev-python/alembic/Manifest +++ b/dev-python/alembic/Manifest @@ -1 +1,2 @@ DIST alembic-1.8.1.tar.gz 1255927 BLAKE2B dbf40f9ca12171d99ad46bec6bf1841799226887a55a815db5c7a69cbcb7d861ede774aa35e1018e1a57bec26a8ddf7ee311e0b4396ebddd5477c67a4ad11876 SHA512 51f210447172d08eb94c41a962ddecc593a665790aa6f5badb771dccc882e0d653dcf153ebb04b9824dabcaeb1ac08e3747c2e3c74d8584a24b35662778de8dd +DIST alembic-1.9.0.tar.gz 1278832 BLAKE2B 59131c5a53d051905c13e466c58ad5c1759e0e0f557bcb78bbe80e2ca8f3f7d791a1d8be017cd9227d6baf8b7416d0c6d89ec9e9e56f7440f6d1455577ed8676 SHA512 3c040ee07ce2f40af28a63f129dee886f7d8458b762a28cf2165ac10dd2f2f732b73da2ae2c9687b66e8872b75d85d95933847eb6a1190ad55e550e6bb120a04 diff --git a/dev-python/alembic/alembic-1.9.0.ebuild b/dev-python/alembic/alembic-1.9.0.ebuild new file mode 100644 index 000000000000..4aa4d5a928c9 --- /dev/null +++ b/dev-python/alembic/alembic-1.9.0.ebuild @@ -0,0 +1,39 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Database migrations tool, written by the author of SQLAlchemy" +HOMEPAGE=" + https://github.com/sqlalchemy/alembic/ + https://pypi.org/project/alembic/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="doc" + +RDEPEND=" + >=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] + >=dev-python/python-editor-0.3[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib_metadata[${PYTHON_USEDEP}] + dev-python/importlib_resources[${PYTHON_USEDEP}] + ' pypy3 python3_8) +" + +distutils_enable_tests pytest + +python_install_all() { + use doc && local HTML_DOCS=( docs/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest index 552e26e681d5..97b274a5f387 100644 --- a/dev-python/autopep8/Manifest +++ b/dev-python/autopep8/Manifest @@ -1 +1,2 @@ DIST autopep8-2.0.0.tar.gz 117507 BLAKE2B 8722b19454f47d0b960e3cc0e18ff3d6150ead009630047ecd1ce9001ea6f6d68595f80d7ad1087bddd2993e95d0634d63495b1d43dee095d114535bf632d1bf SHA512 883b79f7011a374a2ef88073a45748268a20449a3bc8da519c036c71700352dd8c4accc60fcb592f1a53ceac06984fcbe6ede8a272bc718c2b79873be5f35dd8 +DIST autopep8-2.0.1.tar.gz 115905 BLAKE2B 9dde8d702a0b21fb1457e08120dca805e2b46e3e5284e5d98932ff93afc4c0ac8dbc60215f35b64d4a308d6748df1411c2979d8fa1f4949b1dbe213bf19de9dc SHA512 cc0e8e5b7228ba9b37adaa3b2689a5e1ad04eb84366c5300d7a220b1593a64e4f1dc332750f8ca53935dec6a3ea1d07cae5615373e44da357a980d9763bbc3f1 diff --git a/dev-python/autopep8/autopep8-2.0.1.ebuild b/dev-python/autopep8/autopep8-2.0.1.ebuild new file mode 100644 index 000000000000..5df52d643735 --- /dev/null +++ b/dev-python/autopep8/autopep8-2.0.1.ebuild @@ -0,0 +1,47 @@ +# 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} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide" +HOMEPAGE=" + https://github.com/hhatto/autopep8/ + https://pypi.org/project/autopep8/ +" +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/hhatto/${PN}.git" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + >=dev-python/pycodestyle-2.10[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{8..10}) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( + # fails due to deprecation warnings + test/test_autopep8.py::CommandLineTests::test_in_place_no_modifications_no_writes + test/test_autopep8.py::CommandLineTests::test_in_place_no_modifications_no_writes_with_empty_file + ) + + epytest +} diff --git a/dev-python/autopep8/autopep8-9999.ebuild b/dev-python/autopep8/autopep8-9999.ebuild index c2dafd25ca30..410f453910b0 100644 --- a/dev-python/autopep8/autopep8-9999.ebuild +++ b/dev-python/autopep8/autopep8-9999.ebuild @@ -26,17 +26,10 @@ LICENSE="MIT" SLOT="0" RDEPEND=" - >=dev-python/pycodestyle-2.9.1[${PYTHON_USEDEP}] - dev-python/tomli[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.10[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{8..10}) " distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # test require in source build - test/test_autopep8.py::SystemTests::test_e101_skip_innocuous -) - -PATCHES=( - "${FILESDIR}"/autopep8-1.6.0-lib2to3-deprecation-pytest.patch -) diff --git a/dev-python/blosc/Manifest b/dev-python/blosc/Manifest index d30dd2914f04..211b034fd612 100644 --- a/dev-python/blosc/Manifest +++ b/dev-python/blosc/Manifest @@ -1,2 +1,3 @@ DIST python-blosc-1.10.6.gh.tar.gz 1570504 BLAKE2B 44f444fa5050a6198e83649973fc82d6804eec50bf79c332ed6a974e417f2a58baf09480a9bb5c5b7abcef2a961cd7bc61f962c12db625b1a7c48799ace0b39a SHA512 e283b132ebb91e7ce362ec65a1d6760e3793046371ea545a9e842372084182bcc194c3a0e1cb20914de58554063995a238ea0a129214731689e8cd5f4203d3ed DIST python-blosc-1.11.0.gh.tar.gz 111589 BLAKE2B 6bc5dda4e40ceb9770dd5b6e6db1fced42e257475b220bcb530c8b291bf132f61013ece5934a7d47778fdac716fcea0e6d57b7543b1cc76ccd95201cad072bdd SHA512 94c6f470b9f6e8d1fec0e44709e84582cd595291dddcd07ea174665a6fc12e029c6f0c781c8e506e95d4f9ee9fc27cbbfb5bc2789f341df3e84f342626dcfdb0 +DIST python-blosc-1.11.1.gh.tar.gz 111262 BLAKE2B cb348253a24258d2649ebc0604acbf936b8ccc2b28c42c69da2fee72ddf87eb17a24657bc5d3c0530193a60f482555ce4cc5d168a18d9c2d79a13410d40670bc SHA512 21f8a697a3a902860a6ed72233984cf00c464ec0ddde9842a0c24b1e8e5ec4dd57b872096445a873d162d7529cba5c3666ba2a3ee3f9b1b18107d9636011281c diff --git a/dev-python/blosc/blosc-1.11.1.ebuild b/dev-python/blosc/blosc-1.11.1.ebuild new file mode 100644 index 000000000000..6cb23d1ec422 --- /dev/null +++ b/dev-python/blosc/blosc-1.11.1.ebuild @@ -0,0 +1,54 @@ +# 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 + +MY_P=python-blosc-${PV} +DESCRIPTION="High performance compressor optimized for binary data" +HOMEPAGE=" + https://www.blosc.org/ + https://github.com/Blosc/python-blosc/ + https://pypi.org/project/blosc/ +" +SRC_URI=" + https://github.com/Blosc/python-blosc/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/c-blosc-1.19.0:= +" +DEPEND=" + ${RDEPEND} +" +# py-cpuinfo dep is irrelevant for us, as it is only used to configure +# bundled c-blosc build +BDEPEND=" + dev-python/scikit-build[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +DOCS=( ANNOUNCE.rst README.rst RELEASE_NOTES.rst ) + +src_configure() { + export USE_SYSTEM_BLOSC=1 + export BLOSC_DIR="${EPREFIX}/usr" +} + +python_test() { + "${EPYTHON}" -m blosc.test -v || die +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index e7cf2dc363e8..704accbc804c 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -10,4 +10,5 @@ DIST boto3-1.26.25.gh.tar.gz 576015 BLAKE2B 55d94441c1fa2668efa31390dbe972b354a4 DIST boto3-1.26.26.gh.tar.gz 576812 BLAKE2B f88759a49f15102e02a73fedd42cf6f8332db83a1a543af180d6b2843d187ecc66449760bdc7e2500e5ff9410ed602688774f512e0a686a8a95190a2dca5b662 SHA512 60c02d960ba781117314595c9d26cd8fd947ee9c178175188140b58fa5ddf9687fc5f7c6f10dd0980f93490571a8de0e54a8dca3a0bf89b1111ccaa80017b2d0 DIST boto3-1.26.27.gh.tar.gz 577292 BLAKE2B 31837d205570d0ee89b13bc68c6270f0e4cf932b51a6ca041c826bd0d9364be4542e6baff55dfb1ff6029fe7441c5e43820ac4946219a61bd4d5745bba3a0d64 SHA512 9ada5b840122e04d1bfa4bea20d223a84ffc6636643a0725b19dadc7136a25482863fb4d798132a1965fc553866898efd272416699d478170fd5f2f534ac1598 DIST boto3-1.26.29.gh.tar.gz 578484 BLAKE2B 5914f5f19072268f6b5f90571f0ec573632f8e0546010a754d3116b18bd0d4236af2aa4f94a15778134d2b90f3fa80feadf8355a3015932b33cfec64a8917471 SHA512 a30e783b627bdbe6b723eb635702f0fbbe38d48eaaba7e93c880dd9f462d6257ed5a7ee524a096c42978d43336bfc6327a999de794c39877214e1d71ce1ab363 +DIST boto3-1.26.31.gh.tar.gz 580080 BLAKE2B 30d44e3df131aef363ccc2afdde43ee4b0d11d232b7af532915f1c66090616a3154f85269481f41e00e0553d87a8ad178ab3b9c8296e58c6b68723674450e6e1 SHA512 021b9a5c2d1f1555a7632e2d688ae7cebc0b51e572ccec35b81c75354f68d7fdd4482fb7de6e617bd13334a15cba2db52a2502f6b421df130645ea7d037f810c DIST boto3-1.26.8.gh.tar.gz 557012 BLAKE2B 211bb7441acc8b1f901ebf5251288dc7c9073fa6e34f5a34426424ef064efb0fb3031deaf48ef336ec43bb015f95f618598da43d12ec83cbf814e1b4097b28a0 SHA512 738190cedfb0b85d3a1e9558b03e7f2fb14e43b152bc9627fd95c8ecc4a0ddc17f4c87ccb6129c1fbf5f47db9eea4dbc5c2cfbb69b903bc6f3ff417ef86b6f6b diff --git a/dev-python/boto3/boto3-1.26.31.ebuild b/dev-python/boto3/boto3-1.26.31.ebuild new file mode 100644 index 000000000000..3d7d652a3b69 --- /dev/null +++ b/dev-python/boto3/boto3-1.26.31.ebuild @@ -0,0 +1,68 @@ +# 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 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 8bbfc595575c..22207d6d4edf 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -10,4 +10,5 @@ DIST botocore-1.29.25.gh.tar.gz 11008437 BLAKE2B 5a569d52065c2f448adb8c765e51e83 DIST botocore-1.29.26.gh.tar.gz 11015382 BLAKE2B b9777a7db931b15bfae0e62a5095b86f8cfbf2f7d37b1111ec46d0add8d46ae5c57d1e74e8c58bd931e0a9b3faf986746d6c48149453f5921d9c084455cb3a3b SHA512 457e858e9648ff78bd1972e0772938dd608511aeeebd1f83e8bfda50bef43374f574d0a0943f6e29d0401be880e2db4e8a47d36a2e95317da58fba4920deae3f DIST botocore-1.29.27.gh.tar.gz 11015321 BLAKE2B 81bd2269ca5dd5feedb7bd8a45a63e755575e9fb70b15d125beb57c1969259b16838e63660ff5a2f5ab24a52c1bdc21bca6a92e79f9023fa1c57f03250c096a5 SHA512 7fd577773f3fabbf38db8e5d353a27a73869d4249a55428a4d4e6056b9c459268887c264b1386f5170abe793709e4d9f2eb0e3e6daefea56f123fccea9d13cbf DIST botocore-1.29.29.gh.tar.gz 11020243 BLAKE2B f576fb0ba73b4a9c8a65eedf387a432b30b18db3f657e25ada7c5f3ad647b00ab1f0a855f19bd3ebd897d8e267a14a6d467c29bacb30809b61e7e92ef464ac1e SHA512 fa6457d811137906b0e46302ccabe9623d60ed5cbb588004bbddd0d28ebdaa3aabad3491641b4b69798ed371ddda3e23ea41b930db4f5856e2fa8242dc170571 +DIST botocore-1.29.31.gh.tar.gz 11047541 BLAKE2B 7ac038bf914307277db982fa854a6a5832144c1f21b1dc375beb93f3a1c0d765f254066b8741bb5bd98748970611e967882306d11d3f8c9c5f65be318a0dc890 SHA512 cfa49bd47f24cc031d98ce1180fc55f991015b08872ee38024cb70069245f7323d4ac1f9189b0b4dd70516d0bcbe7e5895df221b4eefbfbd83e474d7aee1cd89 DIST botocore-1.29.8.gh.tar.gz 10636661 BLAKE2B 3ebd9e5cb6cc1a9d4ddb877e806e0a845e6a19a4604b4489dbdb9a0f35251201de5d7062f3b0193db3e28f5170d8c3315fdc0b2bec7668a61880ff3e9305d3bc SHA512 c4a1a3993576bd0340de4eeb25e10650219e9d74c21f7e51e5298120bc92a8359143c38d5a991b940316fc5eac483e4e838298881a5c068fa91dc3ebf92a7f5a diff --git a/dev-python/botocore/botocore-1.29.31.ebuild b/dev-python/botocore/botocore-1.29.31.ebuild new file mode 100644 index 000000000000..40131f66e350 --- /dev/null +++ b/dev-python/botocore/botocore-1.29.31.ebuild @@ -0,0 +1,74 @@ +# 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 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + # fails on unrelated warnings + tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME + tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME + # TODO + tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index c3b111bb03b3..0ddca0f58da4 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,2 +1,3 @@ DIST cfn-lint-0.71.1.gh.tar.gz 2984397 BLAKE2B faa2164ee0f469f8e9118b82d5c86dee05e5404feb5ae28abd9e4218122677dba09308d5a573c4eaabb8f321932b8de621a39bc20f1c86724dc24fedac7e7a93 SHA512 dee916eaa43eabcc4cf2db7fb08db8875f68292a56aa97d29d0d291da51a828a78b681162b71759ec0dc3d246570dbce8fe33a41ce61c22e6fbf2a4ff15f49ff DIST cfn-lint-0.72.2.gh.tar.gz 3114298 BLAKE2B 5a426a046d1a0ffb773f9b34c544ccf9f55467de156f3bc0c3324c9877a1f101da69130c39a0d0144d57557c75e9bbcecc41bb1823fe41c00f14874c516c0033 SHA512 2248e2854410ba889180dd20df1f8c1ec70150b8433a7b4d564c6d9a9c7ceaedc81bf051eeaf1906878e57dc395c5e4c08623574cb9f4dced9ea0a8fbe73325d +DIST cfn-lint-0.72.4.gh.tar.gz 3199849 BLAKE2B b0c81be6e2f21ffbc7ee4ebbfc4994d1b413516dc3a47d11f554278b33ead1d3c3c055b541e25a7401fa911c16998cf3c3c85863d2e0f295c1d3df86b78f8847 SHA512 994f418519e72e1814f2ee38e3e5a42f7e2dc1556cda5cb5632b0e57daadbad57425e14d1eff67ba39f0ca1dd22df22f43277f1b1b3d6b66679cc3526fbeedd0 diff --git a/dev-python/cfn-lint/cfn-lint-0.72.4.ebuild b/dev-python/cfn-lint/cfn-lint-0.72.4.ebuild new file mode 100644 index 000000000000..a97ac0834660 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-0.72.4.ebuild @@ -0,0 +1,54 @@ +# 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="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" +SRC_URI=" + https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.55.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + dev-python/networkx[${PYTHON_USEDEP}] + >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] + >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_2 + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 +) + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -i setup.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index 67493433650d..6f66cdd9cec8 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -2,3 +2,4 @@ DIST fakeredis-py-1.10.1.gh.tar.gz 91420 BLAKE2B a88711b5d167aafcf6a74dc538b809a DIST fakeredis-py-2.0.0.gh.tar.gz 112218 BLAKE2B 9bbbf76e6fe00a42d25c1688654906a71b93e65a20f3eca2b7d9fd13eedd48251e832e550b37dc82dcf5e65c686c408b291ba60d04c707df7d7d7f396f00190a SHA512 e291782f27cdfa11520eef3b0bbd0d68ec7479a4630ad1e5a38d8d1d28109049fee0288e104e74f72caf9b04db553cc24f22843bd170d8bdb5efc47b8e9f5d6e DIST fakeredis-py-2.1.0.gh.tar.gz 128595 BLAKE2B f0b2e8ed9ec4156702f4e65e683f40cf79e1fde12ac70b16388ba65e9e49c8f4c92ade6f02195cc3755768fb2858d7e4f8970f54fa728c9fb32ac8cc2f68fa4f SHA512 584a2a36185674d0fadedcc6018286c3edc8c36de730ac1cf09abcbe3b0cacf8dd0e4c964a7a0a053509dce0063f48ce13f122d230fbec9965af54c77b277ea5 DIST fakeredis-py-2.2.0.gh.tar.gz 128817 BLAKE2B 8666427966e6a93cd33f521fbc38ecb9bb99e1c1a23506437d48bc6113f272aa89a465dc794b5130ef6dfa584f75f159fce0e3b6a50e5cb89b3bfe43ebcd89cd SHA512 857033a6362a6088cec715571d74a9aa1eb3eb8356ed904b10831540ce5be62d798a211d52fb3d8effab253e50fdb3f2a530d39bd722d8be357426f53fb41fe7 +DIST fakeredis-py-2.3.0.gh.tar.gz 130529 BLAKE2B 71faffa3953e40075cb7cae3b664eb81bd20715c28766678d21449de768c4e621703ceb7053e36f19a0c6561ea9b83097392886e0da306460c9ca75a0a99c3d5 SHA512 b0a07d04cd95abe69c658f67943afa5c07e6fa43a6e467762061e3c112aa9961f550f9fa5dccfe6f0fd5fb941253840c6cd7e76bce5f256bfb1a400e05252651 diff --git a/dev-python/fakeredis/fakeredis-2.3.0.ebuild b/dev-python/fakeredis/fakeredis-2.3.0.ebuild new file mode 100644 index 000000000000..0e7da23b535c --- /dev/null +++ b/dev-python/fakeredis/fakeredis-2.3.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 2020-2022 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 + +MY_P=fakeredis-py-${PV} +DESCRIPTION="Fake implementation of redis API for testing purposes" +HOMEPAGE=" + https://github.com/cunla/fakeredis-py/ + https://pypi.org/project/fakeredis/ +" +SRC_URI=" + https://github.com/cunla/fakeredis-py/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/redis-py-4.2[${PYTHON_USEDEP}] + <dev-python/redis-py-4.5[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin redis + sed -i -e '/redis/s:<[0-9.]*:*:' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # also lupa + test/test_aioredis2.py::test_failed_script_error + # TODO + "test/test_fakeredis.py::test_set_get_nx[StrictRedis]" + "test/test_fakeredis.py::test_lpop_count[StrictRedis]" + "test/test_fakeredis.py::test_rpop_count[StrictRedis]" + "test/test_fakeredis.py::test_zadd_minus_zero[StrictRedis]" + "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis]" + ) + local EPYTEST_IGNORE=( + # these tests fail a lot... + test/test_hypothesis.py + ) + local args=( + # tests requiring lupa (lua support) + -k 'not test_eval and not test_lua and not test_script' + ) + epytest "${args[@]}" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/identify/Manifest b/dev-python/identify/Manifest index 1ec9f34ecaab..b5229d11a8a7 100644 --- a/dev-python/identify/Manifest +++ b/dev-python/identify/Manifest @@ -1,2 +1,3 @@ +DIST identify-2.5.10.gh.tar.gz 101506 BLAKE2B e98d3d3ac1bed827041e9eb527dc45e252c71ad565aea226d335fa6ac5e280c8256a571cab620e579c4beb2d16fd1f6a103b53504116ac89342d1d0f5d80e7b3 SHA512 68ee7de92455565fa545e19ebe7b121ff7ffb2aecad0daf033292b0d97bb6676bde57b3a202ceed288d2358354592252040f2d912cc71f1dcbc37b9ced810190 DIST identify-2.5.8.gh.tar.gz 101476 BLAKE2B 2b59ac3cb416c7e3d6bd4031bfed30594b9be70f94d1e0d8e9f436b76e9241cde32f847c0f6b40607d2cb37ff7d67270a35a4d22be4cd6b216324e4eba30f136 SHA512 b43b8ba50d4d58a6d82c99141c708a45317f64693aea567105ed7f3957446e00102ddd303120a9f1238b04b6e0655e1dd6f807f6d878e972c7967a510f8b24b2 DIST identify-2.5.9.gh.tar.gz 101496 BLAKE2B 045e32b6aa84cedee100332c9b26d1fbbc32f704ef1048ce380fcc40c8a3fcf2e5c96db83058b04d7ead6dea0681ea114e6469d89aa7cd10458ce98cb3f77c58 SHA512 fdecd728bed3828d3a5465943b390ce3aab05255ba06249f462a2367dcd3702ef85fbe57e06562a951e3eeb24f7f417b04d54e30bd711802a8afe37c2e1eb1f0 diff --git a/dev-python/identify/identify-2.5.10.ebuild b/dev-python/identify/identify-2.5.10.ebuild new file mode 100644 index 000000000000..83479ee1e55e --- /dev/null +++ b/dev-python/identify/identify-2.5.10.ebuild @@ -0,0 +1,29 @@ +# 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="File identification library for Python" +HOMEPAGE=" + https://github.com/pre-commit/identify/ + https://pypi.org/project/identify/ +" +SRC_URI=" + https://github.com/pre-commit/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/ukkonen[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest index 1d72bd4791af..4f6cbcbfdb5c 100644 --- a/dev-python/iminuit/Manifest +++ b/dev-python/iminuit/Manifest @@ -1 +1,2 @@ DIST iminuit-2.17.0.tar.gz 431704 BLAKE2B 46bd5f108f42ba426f71cf7670a1936cbf1c24fd070ace653b9daf55c22a4012ac2e052a05a94ffb6873a42adb7a23509b22f25b0db576ca42e27eea51aca67a SHA512 c42c1a1630d6abf3232ec862c2064db74b7395a9f5ffa515157c74fe86dd4026dc985fa377d5355574fe2fe131432efe006a68b9883cb67c4fa31a3929071f0c +DIST iminuit-2.18.0.tar.gz 431770 BLAKE2B 66511da5c0704253bdabd7ea531b4506da4b4f660f4960f3fc88c138c2e67715db0e2cc0e6c6674df22d57dc94bc70b87a1c3b979a0354d2a58bbd500ee3951f SHA512 f9589c18c6c203cbd4d2a0243d9ec0ea30db25c37c4857e97ea8e1e8f7ad4b72e0f20745601ab655bacb56db69445584c7712796623764fbc29106f091231a09 diff --git a/dev-python/iminuit/iminuit-2.18.0.ebuild b/dev-python/iminuit/iminuit-2.18.0.ebuild new file mode 100644 index 000000000000..a261e81c293d --- /dev/null +++ b/dev-python/iminuit/iminuit-2.18.0.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} ) + +# forced implicitly +CMAKE_MAKEFILE_GENERATOR=emake +inherit cmake distutils-r1 virtualx + +DESCRIPTION="Minuit numerical function minimization in Python" +HOMEPAGE="https://github.com/scikit-hep/iminuit/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT LGPL-2.1" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + epytest -p no:pytest-describe || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/mediafile/Manifest b/dev-python/mediafile/Manifest index 72d5941b038f..ffa482b9fec4 100644 --- a/dev-python/mediafile/Manifest +++ b/dev-python/mediafile/Manifest @@ -1 +1,2 @@ DIST mediafile-0.10.1.gh.tar.gz 568722 BLAKE2B 4da5fe76cc6e3e41d8591c962d9cfde1e16a64b57192d795714955aeab4d49d608a977685352de8e55ac83d1dde56435a31c4577a4a4743499393c051c471c7c SHA512 db9d82d23eb3f1a6b2e19f1b635805e84ed54ed06641a0e1ab80d7350415d1297cec64f18c66b38a7552abdaf2c1a8bfc6bb0c8543d9c618368184e6d6bb6405 +DIST mediafile-0.11.0.gh.tar.gz 568718 BLAKE2B 3815af2985312d5464158ae3aaecd23eadf53bec4f6b66247014dd5c3768262d33d0d6b7234d69d6169de77d2f8d9fab2c005c75e2774a53951451b08511971e SHA512 2e4f11995a8d83dcbfe6aa01f5162db0f01851bb93e8ad9ffc50afca703edd6a23c4f5a3b94d2fd6e07285534d081f78ea384d04b3858eefa58216e415a8498b diff --git a/dev-python/mediafile/mediafile-0.11.0.ebuild b/dev-python/mediafile/mediafile-0.11.0.ebuild new file mode 100644 index 000000000000..0ae16591abeb --- /dev/null +++ b/dev-python/mediafile/mediafile-0.11.0.ebuild @@ -0,0 +1,31 @@ +# 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="Read and write audio files' tags in Python" +HOMEPAGE=" + https://github.com/beetbox/mediafile/ + https://pypi.org/project/mediafile/ +" +SRC_URI=" + https://github.com/beetbox/mediafile/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=media-libs/mutagen-1.46.0[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs +distutils_enable_tests unittest diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index b38feb53ac76..e7f1b2b16b27 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,3 +1,2 @@ -DIST Nuitka-1.2.3.tar.gz 3958335 BLAKE2B c2d47e7ff355492fb72f224be92445849c3fce13768ba7957cf4bbbbc9cd4e0ec7c3904e5465ad543e16d1419a01b42cd4399b816e1ff56e2c8ea5c57fddbc04 SHA512 1c842c21764bd0dc9bf68bb26506959b35e54d03c1d6d6b9c179289ec073ed07b75d6709a3c73ac3e14bb988a7b2f5a88f7dfcce55a25eab1c5e4b294b15d4f4 -DIST Nuitka-1.2.4.tar.gz 3958942 BLAKE2B ca3be2453815949b05f8a74dc783c58125ebbda038a86f22d273c6e4ef6c8b3fe3d238b3abedb0062ace59a0f60545312f8ad8af056b13c975106ee0c7563fa7 SHA512 7a160f7b12ba9dd66af2d3c798bafd4b2d4f60068acb18be5dc9246c811df58b6f2e6b1c3610ed045d7a73042728b53b92c36b239cb88931d500c904e7018847 DIST Nuitka-1.2.6.tar.gz 3959091 BLAKE2B b326409f49d722bcac7df3e2c5caae7fb9ccf2b2991d2cf003a4db7bd268af95b7423da3b69b93b45c2aa1e3461faac90872b01f2d2277c5e9f7c71bedb0df56 SHA512 b12f694f8ac26213fd1242c66c2a37be1940bafef8a4949f0e401f056a1f72a010d1df237a828317ed0c88530206c31e617f03e4bccf6c934b967f8ddaef330f +DIST Nuitka-1.2.7.tar.gz 3960368 BLAKE2B 582ad7f7a96577fd87a4f9fe083d90f532f2ddd7824b4105d258551b559d9390fba428b80223c6ca4d00eda451cc21a63449c7370a3e43d4b7f9a28fc6bba4c9 SHA512 37a3c29614102dc80f916ac483a6e87322b7a3b9cf25355bdf2f29d84e33300640607fcb7fdc6a338431bc890b4337512c43368e47a2d69c7254b7b7794bb35b diff --git a/dev-python/nuitka/nuitka-1.2.4.ebuild b/dev-python/nuitka/nuitka-1.2.4.ebuild deleted file mode 100644 index d2196214be46..000000000000 --- a/dev-python/nuitka/nuitka-1.2.4.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# 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/nuitka/nuitka-1.2.3.ebuild b/dev-python/nuitka/nuitka-1.2.7.ebuild index d2196214be46..d2196214be46 100644 --- a/dev-python/nuitka/nuitka-1.2.3.ebuild +++ b/dev-python/nuitka/nuitka-1.2.7.ebuild diff --git a/dev-python/patiencediff/Manifest b/dev-python/patiencediff/Manifest index db7a3f79cb22..58210e9b594d 100644 --- a/dev-python/patiencediff/Manifest +++ b/dev-python/patiencediff/Manifest @@ -1,5 +1,2 @@ -DIST patiencediff-0.2.10.tar.gz 26829 BLAKE2B 3f32bcafef98199a56497a5c9c96fb88ac4f95aef92718273ddc2cc45574577f589ebbf73c4c6b2315c6936596cbc0822f21f647e7f8ead2ae24d20cec75d9ee SHA512 e28e765af5c48ab94e50b015a4a8a20ffccf50d6acc17ca468229a4738f9a20950f00c6a3f06ea27f9e079adacbc43fe90adcf8110a461f9295656b4b6265100 DIST patiencediff-0.2.11.tar.gz 26812 BLAKE2B fb6f74dfe0450556d5fcd73b328e830492ab5524dedeb52b8cb85c0348d22481a78863b6b6a033628f575ba499978afabf6fcfc569c58520fa58680c110ca4de SHA512 4934adf7178221a5eb5fcab756293143970ebb7405ce15f31c19b302f6823c19535153dfbd0768a122dc9395d8146e54d8a1a9837c77be1a92bcfe5d6c1cd855 -DIST patiencediff-0.2.7.tar.gz 26831 BLAKE2B 297af6a465ef3fc060a00df9882f85fbf9f807c6d6e8fbfa1d531ed16a60d86f3081d9c0c9698bf3b6d02ba45fbb1d58fead6430f73c04b4439076d0a05a8864 SHA512 8711d28ddc67cdebab5677c1120b1c7270b7509083b797371abcecd61ba71555a1c79c580a5615fe30e1e3bd088b2f4c28a68aa761a61ce55b93690ceb38d8c3 -DIST patiencediff-0.2.8.tar.gz 28976 BLAKE2B 6e525875b7b1adac76101888c4ddb5022373bd4a9784e17e23acec6c9fe38ddd23f8be7baeac36b8b6cb79f048b97a74851207238c2c5e72fc0b686d86525e19 SHA512 e867bee63af1dc6326b9069ef89e6c3613e379b33cd10948cbc37647f279f7d951951baa23324ddcfaf65869500b8f7a345b10982fa5d2af0a5e6e8006a4f1fd -DIST patiencediff-0.2.9.tar.gz 26869 BLAKE2B dc3afe857f2729fecd332e9c8553c118e32478d7ceaa874017b01a541c2934dab7087ef41935b0d213900cde199999cc2999c7d132a118a4b2bfad6ce684ece7 SHA512 87c495b54b464cabe1bb6366edfec981115cf86d451f272a0c609250d5a6295a67b083e19abd09e42d27e6124eb96c2e5922f68b91990f3ce97eff9b3cf50b27 +DIST patiencediff-0.2.12.tar.gz 26936 BLAKE2B 674d1a0397c7d8d75be647e22ee002593d2b175a4fa607f1343fa0eba3cb0a6810178cea9cf26c41bd2f592913a72f4910ae1d1a9402f3558e93d26c1a139885 SHA512 23ff933623f0445dc3cb91e0825e00c465255edf777c2b9b2f9fec907c1fa74e60790d8f23c9de91d0950a7ef6aacd8756ded3e219d32771fb18e1fcb5c85565 diff --git a/dev-python/patiencediff/patiencediff-0.2.10.ebuild b/dev-python/patiencediff/patiencediff-0.2.12.ebuild index 4b94c075f57f..4b94c075f57f 100644 --- a/dev-python/patiencediff/patiencediff-0.2.10.ebuild +++ b/dev-python/patiencediff/patiencediff-0.2.12.ebuild diff --git a/dev-python/patiencediff/patiencediff-0.2.7.ebuild b/dev-python/patiencediff/patiencediff-0.2.7.ebuild deleted file mode 100644 index 4b94c075f57f..000000000000 --- a/dev-python/patiencediff/patiencediff-0.2.7.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# 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} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python implementation of the patiencediff algorithm" -HOMEPAGE=" - https://github.com/breezy-team/patiencediff/ - https://pypi.org/project/patiencediff/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -distutils_enable_tests unittest - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - eunittest -} diff --git a/dev-python/patiencediff/patiencediff-0.2.8.ebuild b/dev-python/patiencediff/patiencediff-0.2.8.ebuild deleted file mode 100644 index 4b94c075f57f..000000000000 --- a/dev-python/patiencediff/patiencediff-0.2.8.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# 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} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python implementation of the patiencediff algorithm" -HOMEPAGE=" - https://github.com/breezy-team/patiencediff/ - https://pypi.org/project/patiencediff/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -distutils_enable_tests unittest - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - eunittest -} diff --git a/dev-python/patiencediff/patiencediff-0.2.9.ebuild b/dev-python/patiencediff/patiencediff-0.2.9.ebuild deleted file mode 100644 index 4b94c075f57f..000000000000 --- a/dev-python/patiencediff/patiencediff-0.2.9.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# 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} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python implementation of the patiencediff algorithm" -HOMEPAGE=" - https://github.com/breezy-team/patiencediff/ - https://pypi.org/project/patiencediff/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -distutils_enable_tests unittest - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - eunittest -} diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 8088d0032809..4fc882af8686 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -1,5 +1,3 @@ -DIST pikepdf-6.2.1.gh.tar.gz 2905482 BLAKE2B 9a5b2c7a1b23f4156b89b44780e98f2a82582c05221c0ec2ead3490f3a14a6fa34caea000fb34c0df1458d8aac019bbb0bce10bbbf8bba0c159639b3129e597c SHA512 f6888dcd42c18377f69aa71fce92aa752b73f369e2db4afc106b2b345556a3a9efbb007101066d562f44cfed0bb5816ae0a6cd998b1d634555bf27fbe94baddf -DIST pikepdf-6.2.2.gh.tar.gz 2905712 BLAKE2B 161df1ccc98238424d677c46ec0bc226f9bacc150548dc26fdd71e1c08e589c184b17860081dbc001e6a0b4f18079285bd21bb841671448c8db0dfd6afa12371 SHA512 68e02d97d4867de3e014dd059a6808f54a23e693f56d960939cb90eb2e0b2676b9a12ecad4884abe60d2cf1feb14c96250bb08de25ebb68a89c924c7f7623575 -DIST pikepdf-6.2.3.gh.tar.gz 2906051 BLAKE2B cd25802fea6758838854a9730be1ca2c544bea5bd800dfdd453177c180347ba537f89813bbf0c43f9af78f816940ebffe7627f67cc637b2b45c7b7de7c79dd04 SHA512 a96e1f9005f5b32ef5df4619d0753d8027d72146c607c3d11ad07d79fdcd4d84598736e357b60cfbc47a237a8123955b123f7200c1c2d533bcfe47244f73a933 DIST pikepdf-6.2.4.gh.tar.gz 2906023 BLAKE2B 4ca9e6d56260c6e5fcf4e88aae899576d1ae8e1bd0056d423c7db2ba2883582cdddc44d6d81beb77af67a30766b2ae8bd7708345ca46fe16f2a009f9c2d0d36c SHA512 f8316449a9f0ba2b42d0d0fa4e353a131902c074c35dbe26b55946df4ad0c83cdea4b91f7d1dab15287dc08bcce438a5a232950dba3cfee369093706c8cbbc25 DIST pikepdf-6.2.5.gh.tar.gz 2906061 BLAKE2B a74c8e83142d29c204672e24cc9586984ed68d2ccd71d7a900b9bee5e1c4eb30f2242d58e0240a876c85f713dc08096af2c89f0114b872329caa122556cdb876 SHA512 28fcc3caf6aa6c8317c1fe333e9382f753b262deccc7e6adf5983b612ecb06314a3ec3c712c052fff8b186f05329399d74eac8c15565a4f993fea8b927882c0a +DIST pikepdf-6.2.6.gh.tar.gz 2905945 BLAKE2B 3ab7e80ca43c7395994333a47f3ef667b69228cc80c5e03d3264c9dbefaafcd7d367030a90f7836904f141ce497967024264939a50dd59a0ab92e0beca607697 SHA512 a395e6b53792ecbd604424be67ccefd66d4a0a73dc1f22c86ee763e97a2f940d607494d5a0c5172867196932ffa0efac44427dddb277b754fe39e28f41f1fae5 diff --git a/dev-python/pikepdf/pikepdf-6.2.2.ebuild b/dev-python/pikepdf/pikepdf-6.2.2.ebuild deleted file mode 100644 index 9ad9569579e1..000000000000 --- a/dev-python/pikepdf/pikepdf-6.2.2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# 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 - -MY_P=${P/_p/.post} -DESCRIPTION="Python library to work with pdf files based on qpdf" -HOMEPAGE=" - https://github.com/pikepdf/pikepdf/ - https://pypi.org/project/pikepdf/ -" -SRC_URI=" - https://github.com/${PN}/${PN}/archive/v${PV/_p/.post}.tar.gz - -> ${P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" - -DEPEND=" - >=app-text/qpdf-11.1.1:0= -" -RDEPEND=" - ${DEPEND} - dev-python/deprecation[${PYTHON_USEDEP}] - >=dev-python/lxml-4.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pillow-9[${PYTHON_USEDEP}] - >=dev-python/pybind11-2.9.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pybind11-2.9.1[${PYTHON_USEDEP}] - >=dev-python/setuptools_scm-7.0.5[${PYTHON_USEDEP}] - dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) - test? ( - >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] - >=dev-python/hypothesis-5[${PYTHON_USEDEP}] - >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] - >=dev-python/psutil-5[${PYTHON_USEDEP}] - >=dev-python/pytest-6[${PYTHON_USEDEP}] - >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -e '/-n auto/d' -i pyproject.toml || die - distutils-r1_src_prepare -} diff --git a/dev-python/pikepdf/pikepdf-6.2.3.ebuild b/dev-python/pikepdf/pikepdf-6.2.3.ebuild deleted file mode 100644 index 9ad9569579e1..000000000000 --- a/dev-python/pikepdf/pikepdf-6.2.3.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# 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 - -MY_P=${P/_p/.post} -DESCRIPTION="Python library to work with pdf files based on qpdf" -HOMEPAGE=" - https://github.com/pikepdf/pikepdf/ - https://pypi.org/project/pikepdf/ -" -SRC_URI=" - https://github.com/${PN}/${PN}/archive/v${PV/_p/.post}.tar.gz - -> ${P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" - -DEPEND=" - >=app-text/qpdf-11.1.1:0= -" -RDEPEND=" - ${DEPEND} - dev-python/deprecation[${PYTHON_USEDEP}] - >=dev-python/lxml-4.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pillow-9[${PYTHON_USEDEP}] - >=dev-python/pybind11-2.9.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pybind11-2.9.1[${PYTHON_USEDEP}] - >=dev-python/setuptools_scm-7.0.5[${PYTHON_USEDEP}] - dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) - test? ( - >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] - >=dev-python/hypothesis-5[${PYTHON_USEDEP}] - >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] - >=dev-python/psutil-5[${PYTHON_USEDEP}] - >=dev-python/pytest-6[${PYTHON_USEDEP}] - >=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -e '/-n auto/d' -i pyproject.toml || die - distutils-r1_src_prepare -} diff --git a/dev-python/pikepdf/pikepdf-6.2.1.ebuild b/dev-python/pikepdf/pikepdf-6.2.6.ebuild index 32a9788b6053..34df00b40aa3 100644 --- a/dev-python/pikepdf/pikepdf-6.2.1.ebuild +++ b/dev-python/pikepdf/pikepdf-6.2.6.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" DEPEND=" >=app-text/qpdf-11.1.1:0= diff --git a/dev-python/rope/Manifest b/dev-python/rope/Manifest index 1e5b748c9f7f..f85951b6cd7f 100644 --- a/dev-python/rope/Manifest +++ b/dev-python/rope/Manifest @@ -1,2 +1,3 @@ DIST rope-1.4.0.tar.gz 287417 BLAKE2B d161e571649be2df7e6012336e7bded844f98f67764740814bfccebc926ff4c5f734cdf26701c9b7cec35bf3178be1f1ebe0d86f3b60259a161d3e87125fc7d5 SHA512 586f6f22fdf4743f71bf7f7505ec49aaced28aff48b5eae4f731eb690edec1ff8c736e3f9f21d7732bf5ea60ced5253e8f0d224a51a6a9bfdf7dd50ab56733ea DIST rope-1.5.1.tar.gz 288965 BLAKE2B bc912932dec03317a3ea24d2e15f751037d308d58a941305b6155e2f85d2ee81fc82f9d4183a1a416ebda6e791ab8c5408835e7eb36a7fb5a8b71116d5edb24c SHA512 5b7c76f0bfd481978d0e6c23d37f17f9db49fe6affc0f670868deed9a23a95c53f31a578bc7b8cd1c59318b38789a6e264f8fa9d3c7e13e5ce3db80dbadf177f +DIST rope-1.6.0.tar.gz 289325 BLAKE2B fc7fc37a93f6d011f7e5eab5d2a28e3eab1767839cba4bce2b665c7972d6485eb3693e5977abfd36025415bc898fb4985affb7ac757c8457840a5de3946df77d SHA512 f610eb71c20533907aeea86c3ec5101401cf8136aba4221b2d64db3b0db16d4d7d1ec081c6d4929d6534ed51d4c01761af8d2ffddb6b69b4a9cc4921d240d745 diff --git a/dev-python/rope/rope-1.6.0.ebuild b/dev-python/rope/rope-1.6.0.ebuild new file mode 100644 index 000000000000..e7718cf5b757 --- /dev/null +++ b/dev-python/rope/rope-1.6.0.ebuild @@ -0,0 +1,40 @@ +# 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="Python refactoring library" +HOMEPAGE=" + https://pypi.org/project/rope/ + https://github.com/python-rope/rope/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc" + +RDEPEND=" + >=dev-python/pytoolconfig-1.2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # our venv style confuses this comparison + ropetest/contrib/autoimport/utilstest.py::test_get_package_source_typing + ropetest/contrib/autoimport/utilstest.py::test_get_package_tuple_typing + ropetest/contrib/autoimport/utilstest.py::test_get_package_tuple_compiled +) diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index fa61b54431d4..6cfd29bdd562 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -1,2 +1,3 @@ DIST sentry-sdk-1.10.1.gh.tar.gz 292186 BLAKE2B 03181c0118294d4221b176b1e4fd38b4b2147a3a1b6eae709153f92717da77e889d17e715ad1795c8d9bdf24ed2ca5718a88b4f3fa25d240ec8e5804d1041a56 SHA512 135dff6db284439812d74b54f301ba0ce25444f71ad0b7d3ff8869399dba97affa40673fd306960bc6665118e0aabd1a3420976effc9a501d51d9f2174d615f4 DIST sentry-sdk-1.11.1.gh.tar.gz 296633 BLAKE2B 8325b75d58bb4c587c5d27698b775a76aaf840fc69a910567243fcac2d6fbb7fe00fbfe008c70fc5b67d999167cc3474e5a18817832dfe2c768ffc750c7af128 SHA512 9fd3e1aa9a7287ae21d1a7274f12b9d309d95615e5611ee098c8e2d0577f7c3928a6d5c7256b18d4f0de0ac48d44eb9e38f94709e8982a0c09a5b1cfb5dba114 +DIST sentry-sdk-1.12.0.gh.tar.gz 305342 BLAKE2B 1ed91383dfe674f16a28f5d9c98da44c06bddcd3a609ad9e7dedb7b2d1e174e777bac0f14e4b2e7051db5675080e2ba7754df87f8ee76818e7db19945e645f78 SHA512 84f4e95ed6c42fda85cd3c4b22b1f18ffd6018daa21091fbea2b79e3e86b45ce4c79e5770eeb62f093119492d73964528f820fe12ff4e9867f255a7c7b89da92 diff --git a/dev-python/sentry-sdk/sentry-sdk-1.12.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.12.0.ebuild new file mode 100644 index 000000000000..7e7d0664556f --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-1.12.0.ebuild @@ -0,0 +1,100 @@ +# 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="Python client for Sentry" +HOMEPAGE=" + https://sentry.io/ + https://github.com/getsentry/sentry-python/ + https://pypi.org/project/sentry-sdk/ +" +SRC_URI=" + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/sentry-python-${PV}" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/executing[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/flask-login[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # tests require Internet access + tests/integrations/httpx/test_httpx.py + tests/integrations/requests/test_requests.py + tests/integrations/stdlib/test_httplib.py + tests/integrations/flask/test_flask.py + tests/integrations/django/test_basic.py + # wtf is it supposed to do?! + tests/integrations/gcp/test_gcp.py + # broken by rq-1.10.1 (optional dep) + tests/integrations/rq/test_rq.py + # fastapi is not packaged + tests/integrations/asgi/test_fastapi.py + # TODO + tests/integrations/bottle + # TODO: causes breakage in other tests + tests/integrations/starlette + # TODO + tests/integrations/tornado + # requires mockupdb + tests/integrations/pymongo +) + +EPYTEST_DESELECT=( + # hangs + 'tests/test_transport.py::test_transport_works' + # TODO + 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_client.py::test_databag_breadth_stripping + tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/asgi/test_asgi.py::test_websocket + tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style + tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context + # incompatible version? + tests/integrations/falcon/test_falcon.py + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_too_large_event_truncated + # test_circular_references: apparently fragile + 'tests/integrations/threading/test_threading.py::test_circular_references' + # test for new feature, fails with IndexError + tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler + # TODO + tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled + tests/test_profiler.py::test_sample_buffer + tests/test_profiler.py::test_thread_scheduler_takes_first_samples + tests/test_profiler.py::test_thread_scheduler_takes_more_samples + tests/test_profiler.py::test_thread_scheduler_single_background_thread +) diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index b548d32d245d..307600f3920d 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1,4 +1,5 @@ DIST tox-3.27.1.gh.tar.gz 309006 BLAKE2B fa8aaa9cd5b03e54c166bb6b748290420b91498b26d2d124d9f88a64806b9ac0578c1886845b25aa024907f6a782c45609fa6c7657d9e1f538b59c2d9f0f4e14 SHA512 5f568bc6c53f871aae91928681dd6f2419b876a8e6ca925e65abae845b548ee3d00513741882875bbbacb78bf64935228d98213f940d3da8c3f788b73f177b79 +DIST tox-4.0.11.gh.tar.gz 280239 BLAKE2B 094d0749bc2d7942919ce9df2110c373aacd512f4daffb8b74f43a7b815ae3e6b8f9959cef3baa36565365fa8d1f6da2b6f0595999d1075dce98f1c70e8683af SHA512 a35857cb4aee70ac2081185a273415d1db037965906df7844653ca9f1c155fc07244dfb5578a0ac380ef2183ff104603b183b9d1ba06424b686e7e64d33f1263 DIST tox-4.0.5.gh.tar.gz 277741 BLAKE2B 19250ec4365a38a149c59de99ebd3b819cc4aba7721c076cc6700a17eb56b7c4b61d5c3b11046dc6857d082f1c04e98c6a78b8c768551468bca5a6810c4b7749 SHA512 7bc6f5479df577b66a7e43b61520995d1d31d056baf5b6297d9dc6acb19da58ed1f7d0db13930ab114417f0ad752799ac512765af18041ec800022b18676db20 DIST tox-4.0.8.gh.tar.gz 278697 BLAKE2B ef87b02d95447d52135aa745fd224f7ec1f76f5e99e37ee8dc4990a1577a5f4d2103f21d26e4b32946c20ccbc44aa7e3954e167dcf7599f548466574121ff7dd SHA512 bac13d4a74d76405c658a05eb50df258ae8f5ae8b821b36bc41d473562a0930667bf3b4eb96d873e92f89811af2a8dfd19009622efca8836f163aed53476b46a DIST tox-4.0.9.gh.tar.gz 279196 BLAKE2B 4e0c869a4bf28865eae50a6457875bc29012547069cdfe666fc1a8a12007fb5cff1501bf0f4c2791d38680328f2222bbbb37342bbfc6e7fc3ee4587ce6e70035 SHA512 341894cf879d48e4fbdd11271dfdff59ae5b719b02d8be46fa712b68528ad69ffe7df63639537b95e3f6dcf747dbf99b2d8daa18a87513d9c141e28cc59d6363 diff --git a/dev-python/tox/tox-4.0.11.ebuild b/dev-python/tox/tox-4.0.11.ebuild new file mode 100644 index 000000000000..620c2a4536f4 --- /dev/null +++ b/dev-python/tox/tox-4.0.11.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/_} +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE=" + https://tox.readthedocs.io/ + https://github.com/tox-dev/tox/ + https://pypi.org/project/tox/ +" +SRC_URI=" + https://github.com/tox-dev/tox/archive/${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/cachetools-5.2[${PYTHON_USEDEP}] + >=dev-python/chardet-5.1[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] + >=dev-python/filelock-3.8.2[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.6[${PYTHON_USEDEP}] + >=dev-python/pluggy-1[${PYTHON_USEDEP}] + >=dev-python/pyproject-api-1.2.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) + >=dev-python/virtualenv-20.17.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-vcs-0.2.1[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}] + >=dev-python/flaky-3.7[${PYTHON_USEDEP}] + >=dev-python/psutil-5.9.4[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] + >=dev-python/re-assert-1.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/time-machine-2.8.2[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +src_prepare() { + # the minimal bounds in tox are entirely meaningless and new packaging + # breaks setuptools + sed -i -e '/packaging/s:>=22::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + # devpi_process is not packaged, and has lots of dependencies + cat > "${T}"/devpi_process.py <<-EOF || die + def IndexServer(*args, **kwargs): raise NotImplementedError() + EOF + + local -x PYTHONPATH=${T}:${PYTHONPATH} + local EPYTEST_DESELECT=( + # Internet + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + if ! has_version "dev-python/time_machine[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/util/test_spinner.py + ) + fi + + epytest +} diff --git a/dev-python/zope-event/Manifest b/dev-python/zope-event/Manifest index 5e255d71e594..06865a771915 100644 --- a/dev-python/zope-event/Manifest +++ b/dev-python/zope-event/Manifest @@ -1 +1,2 @@ DIST zope.event-4.5.0.tar.gz 18723 BLAKE2B 449ae969709c863681df1a08f016c850242ebe86b9abfa57db62a982c81bba7c496fc19dd2b187284da44d975688b544ee52a5a48a2fb782d4c7210d5773ee2b SHA512 1d82ae316fc75eebc03aadeb78890a19add35490720cd7bd073faeb9dc9ed97511ca4fdafc2228530798384d667c0aa88e3ef47b0be668128556a78bf82c42e5 +DIST zope.event-4.6.tar.gz 17430 BLAKE2B ca0706390a9dc32fa3d855014b94094a1008b1f7d82a325aab6008ca116c5267c8d0def244e25adf4164abcc308367a5916358665bb16fc8a0a24eb40586b30e SHA512 0042ef679ba95f1306d11fa23c0b48c59b018c8630cefb2e245ca77f4979b314d338cf1f6d2b12376d59c0eee172180d217965d54676504530a8af0c6c128547 diff --git a/dev-python/zope-event/zope-event-4.6.ebuild b/dev-python/zope-event/zope-event-4.6.ebuild new file mode 100644 index 000000000000..006c702837ef --- /dev/null +++ b/dev-python/zope-event/zope-event-4.6.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=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} +DESCRIPTION="Event publishing / dispatch, used by Zope Component Architecture" +HOMEPAGE=" + https://pypi.org/project/zope.event/ + https://github.com/zopefoundation/zope.event/ +" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + !dev-python/namespace-zope +" + +distutils_enable_tests unittest + +src_prepare() { + # strip rdep specific to namespaces + sed -i -e "/'setuptools'/d" setup.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + distutils_write_namespace zope + eunittest +} |
