diff options
Diffstat (limited to 'dev-python')
37 files changed, 653 insertions, 80 deletions
diff --git a/dev-python/ConfigArgParse/ConfigArgParse-1.5.5.ebuild b/dev-python/ConfigArgParse/ConfigArgParse-1.5.5.ebuild new file mode 100644 index 000000000000..07a112ff24b4 --- /dev/null +++ b/dev-python/ConfigArgParse/ConfigArgParse-1.5.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Drop-in replacement for argparse supporting config files and env variables" +HOMEPAGE=" + https://github.com/bw2/ConfigArgParse/ + https://pypi.org/project/ConfigArgParse/" +SRC_URI=" + https://github.com/bw2/ConfigArgParse/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_test() { + local -x COLUMNS=80 + distutils-r1_src_test +} diff --git a/dev-python/ConfigArgParse/Manifest b/dev-python/ConfigArgParse/Manifest index 6e371ece30a4..aad81b8fb6d1 100644 --- a/dev-python/ConfigArgParse/Manifest +++ b/dev-python/ConfigArgParse/Manifest @@ -1 +1,2 @@ DIST ConfigArgParse-1.5.3.gh.tar.gz 32732 BLAKE2B a9dec6b3ebbb7aed000651adf76ac76994b56d00236789a75f7da6ccc76e6b87e0dd292c260a768c0d402811b69e55d417b25032363429535cef4e09e0be5d00 SHA512 bdc0340bd92cfd5319743a4860af80fc2352f38b156031856c2b39b8c8ad59461281009030c4451dd464334a829b8143c765979cfc9b8ccbe9fbdcb0e08ac7b4 +DIST ConfigArgParse-1.5.5.gh.tar.gz 37249 BLAKE2B 22eb4e0903e6eaada50782fe68ed8f19ef20685d3d1ea7fcb103cebd75f7cc16db53b89696e35f7ac902061b9a71646c04da79347b66c2557924b70dd38eef66 SHA512 fc9229d12fcc8da3b001d75d10829e1eef4ec0624b89ad319e840bea9a795d3d575a3760538f13a30bd1e778a27a7620486d7cb199fff9df5535017a7fef4a4c diff --git a/dev-python/Faker/Faker-18.11.2.ebuild b/dev-python/Faker/Faker-18.11.2.ebuild new file mode 100644 index 000000000000..9fd3af59256e --- /dev/null +++ b/dev-python/Faker/Faker-18.11.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE=" + https://github.com/joke2k/faker/ + https://pypi.org/project/Faker/ +" + +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 69162b36e461..78dee19c02a4 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -1,3 +1,4 @@ DIST Faker-18.10.1.tar.gz 1670142 BLAKE2B e1ecd65e0f4a26239d04761048faeeb40987cfe73ea3cfbc1344c5fb342a658efc994b4c5e53b171d68e8ac5c0550973913e2a83c728e24bd64e954509791ea9 SHA512 bfde74d2bbbc1b6055d094b0fc881bec7f050d2a980638a5ea577a345863737dd66b794204530d0db6daaf06e453e1d95ad07d479af62147176d535688b584b9 DIST Faker-18.11.1.tar.gz 1670237 BLAKE2B 6c8572f4883d71a8f94535605ea53aba3fe2e0d9f8281cb207248a5a6d119055e49ce95b50d175e508d65b8186fe89ba0fbc21b0f9db19c4cc67c02defebbfdf SHA512 e8cc65d1a1efc70e76a3a1286950553bc8a998cdeaa06e45da58609f8418e34cc34c0d759f0488b84fbb94deaa4e1ba24e547ae5f9126c95a401f137fa660786 +DIST Faker-18.11.2.tar.gz 1670644 BLAKE2B 0496e9d2169932fd158b8eb62693d1c7f833c00c93fa75b35d747bec1a9e81247977b307faef6cb2526c0042716b080b160fc93cf8d9543a1e2bb3a477f815e6 SHA512 9b54485836d8e4cf66c0ebc9807770f77867a9ab634bc5a465811fe0c2d79c0ec1ab5360bb5f69e9f603026094b4c969a4ad1b98c0c6b21e7fb740d5a17af5b8 DIST Faker-18.9.0.tar.gz 1667357 BLAKE2B e1086168201969a1a0410d7bb6e97bdf31d0f470d6e39f011b8d62733818a4d5108a1ea058d19f41922efafc0a056bffe14f76ff1a77c9599097a3d172d0accb SHA512 9ad60cc30121405fdac38ef479ca1f8bf9114a599575caeded5be4fb8fed80a3268ad02705217ab0ce006e017d2aae7be3c1b50cacddc49bc16cdeb9bc9347c9 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index c6287cc0303c..9028be4f57e3 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -11,3 +11,4 @@ DIST boto3-1.26.158.gh.tar.gz 667274 BLAKE2B e507fc9d404fabeb179524408c883ae5311 DIST boto3-1.26.159.gh.tar.gz 667712 BLAKE2B 6604ba81b3c52dba19d31a92b8e800958abbc5927f6513eff688c7dacb7db9f16927402336113a33a4a8d6da9440b1f91323b18957be77137eff351aae3ef550 SHA512 a5ba427bb5b5cd3e60b668cd4f9923ddf4f5e3341aa219a599c1b15b27bc22d6c6e3a07b38e75ad302cd15ecb3e2bfd42570e7bd4007929345b9f61eb3a853fe DIST boto3-1.26.160.gh.tar.gz 667890 BLAKE2B 2d081604ea94a6fece2c6839c0be339fa2ff3f8c4eba5b882eb45597646ef8efc0294abb58f9233e3fe1ec445131a91701ddf8771220275c13c34af9813cd8e6 SHA512 2a427e63fc61581a873a75ea2b0fe4329cc55ea61e7c99049d8d24c3cb676490a66efa9d6236b90ba6d7c41208a90a60b04dac53ff8243952d64134abff4ba82 DIST boto3-1.26.161.gh.tar.gz 668281 BLAKE2B 3c0500449c202c385e1f4aa3c29b41e166756ebad344257beed5dbfd9c3ca6bee19b8d6c9338f4bd34242613968a4bf074158d267c74b62d3d8d5f47b8aef188 SHA512 91c8f43b47b5b2a67e58a14924dd436e2f07b6a14d2a3b9698d7e63d140db98a96af9856a3b11b95e87ea232f5b250378f303acc7d756daac9eab3ad17180c12 +DIST boto3-1.26.162.gh.tar.gz 669402 BLAKE2B 33b945dade4486c0f7069c2209d0877fd3e6886d963139aed7716321d26ed92573486465580161799be92ac427da0dbb8fbfdb604db841af505e7dffbbef1c6f SHA512 e0ad04b82a79ec028157f88e1a3c95a7156ecef8b5b869624637896ffc62aa93608d17436e931a8b240fb2f47574ae8de04e34eeb6270f821c95dfa0f62d8f1a diff --git a/dev-python/boto3/boto3-1.26.162.ebuild b/dev-python/boto3/boto3-1.26.162.ebuild new file mode 100644 index 000000000000..03c610b184f7 --- /dev/null +++ b/dev-python/boto3/boto3-1.26.162.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 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_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 43ab21d83f39..adb3f47809a5 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -11,3 +11,4 @@ DIST botocore-1.29.158.gh.tar.gz 11687611 BLAKE2B dde78cc51bde5e7f49054d5954ddaf DIST botocore-1.29.159.gh.tar.gz 11694696 BLAKE2B 8643d3beb049b8ab153fda947801b862926f4160586d29831c0a1d6fef7e3caed2c2ff83bdffe1d61f49f81a11aa9dcc57b3c2d2419e21ccc543cc40a3532308 SHA512 782d051749f5a998cf93878e53b3f12e4fde36712708adff58f1e720e83f79f4330410725e0a8b097f5ca425cc093dfea8e746afedeceb582a3e82c7fd169477 DIST botocore-1.29.160.gh.tar.gz 11695537 BLAKE2B e60b8ec0ea50fa13e61acd8f5cbc4f908c0d95916733e6ebdf11c2387e1a13efee611070fb72e37ca3e3058888d3acd6debdd67bfc973528c7674c760a3bd865 SHA512 42c6d02df87b12143248ecd314d5b9ebcf47900da975addc8343187c7bd35ec3c41118ba8c9482d9e152e5352a95111ccd93f425e215fdeeeee4ee991803bfa1 DIST botocore-1.29.161.gh.tar.gz 11703652 BLAKE2B 5afe53ae3e765d5cb01a858a6ad96ab2f493c669e9d4aa0ce105e288d72760ca1bb82265e51c844a1f4875fc4efa3b7f1e662ed28b057d24afb5a94da0d99e33 SHA512 54ca99ae85354d1a582547e525ddc4d4828ddeac0ff91e29e5e73f91e113b6e3621aec9c71b7e86f7316a4d3d6424bdc0149a9649d85e7351274194d2dc65ac3 +DIST botocore-1.29.162.gh.tar.gz 11720182 BLAKE2B 38ab0a8e5c466417427d559a5646d8e2025c43f4554ca8380bd0a1d47faadddb6bc8feed297b02e3cc05f9cf9c079628b0c0a8dce4b8908dd28923de2f4e7273 SHA512 29a2882fedc63f5b59906e9648d3811c441e3901c546a8cf5a0c2079f44a82b3c1aeeaea2efbafb833748c046e749a6d1b127c2fe74d4748289228304782ef2c diff --git a/dev-python/botocore/botocore-1.29.162.ebuild b/dev-python/botocore/botocore-1.29.162.ebuild new file mode 100644 index 000000000000..509d06dedf97 --- /dev/null +++ b/dev-python/botocore/botocore-1.29.162.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +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_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 + # urllib3-2 compatibility, mock relies on implementation details + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_no_response_from_server + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_returned + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_sends_307 + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_sends_connection_header + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_handles_expect_100_with_different_reason_phrase + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_state_reset_on_connection_close + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/configshell-fb/Manifest b/dev-python/configshell-fb/Manifest index b98ff2978cfb..a5f17e800f19 100644 --- a/dev-python/configshell-fb/Manifest +++ b/dev-python/configshell-fb/Manifest @@ -1,3 +1,4 @@ DIST configshell-fb-1.1.29-replace-getargspec-1.patch 1398 BLAKE2B 650efe1dad551ad040001cb2f576311806d329bd430874e1dac38a5cb94c4801140f32b628e0089809214466613e8f207ba3aff1a87dd8ca29c05593b551e5d7 SHA512 59c320939d4590dc2933de7d0ad613efd7236868fd898ce1edadbc55d1ecd8667e28a5c03caa80ea12420db3dd0e4de8c36ef5528352920d98acfd881648154a DIST configshell-fb-1.1.29-replace-getargspec-2.patch 2981 BLAKE2B 88400de96d329c0efd2a9e9cb41f1c53e62c28507439c405874726fccc6093d5fe37e52b6e4b811bf0ccc7616c9a26b83b17e39a257aeab3c4114e1486a32575 SHA512 621b125cde9fcc68f46a3a32fd78190a46f900ec808233a60c4beb22c6109165f0743a341991e6c556dc5a76b7c6a42b703f2a6be91915110f196845a3fa111c DIST configshell-fb-1.1.29.gh.tar.gz 33192 BLAKE2B 6c9c2146a597572675611afe259122b0ec9614295c4b9b4056d7a16f35004700b1e6fc29e1bf868d9ba6291b781ca35eab77e8adf23c6d23e09de2fb94626f26 SHA512 1b5f573506317119d2420e415abbb856692caa65a7f407f741300eec302d1b442e29d2691f6a192b202b2a5731a7a179d1b03f6cd27780876194d97e4df5f7d0 +DIST configshell-fb-1.1.30.gh.tar.gz 33179 BLAKE2B 8664ec42727fb9bd41600c2844b9b59423c21040e6efc201f40b54abf6d788fa5237d38e2795d0d19706303d99e7ea859b399fd5f122cb04effc643a33b264ac SHA512 b3189130ac047fe28ea987391591b7886f7234864d455a8423d1d65b02a514511e2a32dce1429a6b71cedbc0b7cb6e6e10f29d240b746d222c285f0baa6b46b0 diff --git a/dev-python/configshell-fb/configshell-fb-1.1.30.ebuild b/dev-python/configshell-fb/configshell-fb-1.1.30.ebuild new file mode 100644 index 000000000000..a93ddd6b0a62 --- /dev/null +++ b/dev-python/configshell-fb/configshell-fb-1.1.30.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="A Python library for building configuration shells" +HOMEPAGE=" + https://github.com/open-iscsi/configshell-fb/ + https://pypi.org/project/configshell-fb/ +" +SRC_URI=" + https://github.com/open-iscsi/configshell-fb/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/pyparsing[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/urwid[${PYTHON_USEDEP}] +" + +python_test() { + "${EPYTHON}" examples/myshell || die "Test failed with ${EPYTHON}" +} diff --git a/dev-python/cython/cython-0.29.35.ebuild b/dev-python/cython/cython-0.29.35.ebuild index ef44fec5dfea..75391216c236 100644 --- a/dev-python/cython/cython-0.29.35.ebuild +++ b/dev-python/cython/cython-0.29.35.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="emacs test" RESTRICT="!test? ( test )" diff --git a/dev-python/django-tables2/Manifest b/dev-python/django-tables2/Manifest index 372b24983200..2deb03483bdb 100644 --- a/dev-python/django-tables2/Manifest +++ b/dev-python/django-tables2/Manifest @@ -1 +1,2 @@ DIST django-tables2-2.5.3.gh.tar.gz 431016 BLAKE2B 5564cd1ea19ffd7de83f949103bb5a56f987efd1e8a0cb356a0455c2244118b60c7ef78eb8fc7e57e023007046c51b4717470ee3542e1ed8a84b65e481455e75 SHA512 61b79e9fd8c2ea69afe88d7f2dd7f7015e53a6b68800c769106214bbc5818bc4f5b30eebe2d190cd6cc3a36686978befcc9b88fb4a0a7930f5bb37c608345e30 +DIST django-tables2-2.6.0.gh.tar.gz 431368 BLAKE2B 56896a416599e6f4293202ca945bf808c99ce08c4b5f53848919c3a32590e18d867e694fe7c989fdb855a5cdaf94350199c65735078c0d312d1f4f0a556ed9ae SHA512 29cabb777ed102dfde4d24836c5952bf892c7c8e3c5e5f608e00fd1aa4eecc33c6a2b1be1fd07617b354d7de34215d501592c53033d6f48c29e89ab68fdcb22d diff --git a/dev-python/django-tables2/django-tables2-2.6.0.ebuild b/dev-python/django-tables2/django-tables2-2.6.0.ebuild new file mode 100644 index 000000000000..5564e75ca694 --- /dev/null +++ b/dev-python/django-tables2/django-tables2-2.6.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Table/data-grid framework for Django" +HOMEPAGE=" + https://pypi.org/project/django-tables2/ + https://github.com/jieter/django-tables2/ +" +SRC_URI=" + https://github.com/jieter/django-tables2/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +SLOT="0" +LICENSE="BSD-2" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-3.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/django-filter[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/psycopg:2[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + # these tests require tablib + rm tests/test_export.py tests/test_templatetags.py || die + # these tests require fudge + rm tests/test_config.py || die + + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" manage.py test -v 2 tests || die +} diff --git a/dev-python/fitsio/Manifest b/dev-python/fitsio/Manifest index 3223a1a87139..692de7d1edad 100644 --- a/dev-python/fitsio/Manifest +++ b/dev-python/fitsio/Manifest @@ -1,2 +1,3 @@ +DIST fitsio-1.1.10.gh.tar.gz 5052842 BLAKE2B 1d0fb90fa23b3adf1ab172c89f9475b59d1bc909b225129c923bd27391af2844d4b56134568ed07124b9152000fb1325a2225997048d18aa596246d609888b28 SHA512 d0e28f1892640404a2514832e1d68ac202de4c3d3a840c783e6eb3de381f2180136eaec856bd7ab1b236b67c273417a137121137f6d1e66ee6bb2becdc522fa6 DIST fitsio-1.1.8.gh.tar.gz 5052021 BLAKE2B fd54450ccce61a502b803e85df92821a0f64c91e6c8a535b09da6d6e68df1a0299ffc57e87b514d46f635d83dbabc15dc67a99d84fc93ca11ba052fab9472210 SHA512 8ff7c675d39c74ae821dde29ebbfaa5686a4c8e4454bf6ec4b7edce2f6a2e026aa3fac584af1647e7913748202c8c8e3d58deba9bf07253e3fe4606fd2b52c93 DIST fitsio-1.1.9.gh.tar.gz 5052730 BLAKE2B 4169eed73e825f37bc5f5e6a2b27942b08f14d0e38c8037aa094031cd1b85e60ba3be8499c7d1225e78c093581aafe681177e4acb7da553bda2b0992ea38d6f2 SHA512 9840e9e48a11d454bd02cf19167ba977fa624842172ac538c7d9c5a446fbe0ef6fa7ee146f3878232e5b35570b2eec731e597503346adcfab38a1d0bada2b463 diff --git a/dev-python/fitsio/fitsio-1.1.10.ebuild b/dev-python/fitsio/fitsio-1.1.10.ebuild new file mode 100644 index 000000000000..f8d94ae8458e --- /dev/null +++ b/dev-python/fitsio/fitsio-1.1.10.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Python library to read from and write to FITS files" +HOMEPAGE=" + https://github.com/esheldon/fitsio/ + https://pypi.org/project/fitsio/ +" +SRC_URI=" + https://github.com/esheldon/fitsio/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + >=dev-python/numpy-1.11[${PYTHON_USEDEP}] + sci-libs/cfitsio:0= +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests pytest + +src_configure() { + cat >> setup.cfg <<-EOF || die + [build_ext] + use_system_fitsio = True + EOF +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest +} diff --git a/dev-python/humanize/Manifest b/dev-python/humanize/Manifest index cfc432ba645d..ed8188ba0c45 100644 --- a/dev-python/humanize/Manifest +++ b/dev-python/humanize/Manifest @@ -1 +1,2 @@ DIST humanize-4.6.0.tar.gz 69815 BLAKE2B e32195b87080598ee0d024526c2631e9498c0019e344a2b3babbfea657a4d36611cb53e74e33634f26fa184fa1526ee700253b4f6a48b241a231b794669f31f0 SHA512 3c003d645d33b4d31ffa5a63b8754b939579a6ed396cd285789f9bd17e750147c425d41adb424af45d69844c6e2b9be8fed04f388f017f25c6eda1f31c053b3e +DIST humanize-4.7.0.tar.gz 72028 BLAKE2B 86926d24ca20168cd1f5dc37aad38a53be59ab786bd02c25ba54930854b4459949bfa988f3135c97f15cc51b2b9fcdcb32f85a668ddbb4af2b571d974523cc12 SHA512 2454c4b7dec6868a1626af560e4f87d7bfb8eac6a919c7d7c03254723ec58494f104f7fa365c64cb4cecf50cd6d498b4201f9fda6ac1f6d2980e9e54eebde738 diff --git a/dev-python/humanize/humanize-4.7.0.ebuild b/dev-python/humanize/humanize-4.7.0.ebuild new file mode 100644 index 000000000000..71962e3603c6 --- /dev/null +++ b/dev-python/humanize/humanize-4.7.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Common humanization utilities" +HOMEPAGE=" + https://github.com/python-humanize/humanize/ + https://pypi.org/project/humanize/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 440a65ff5474..1701a8351067 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -3,3 +3,4 @@ DIST hypothesis-6.79.0.gh.tar.gz 9377619 BLAKE2B 8e0650967f8552b3968f8627ef61119 DIST hypothesis-6.79.1.gh.tar.gz 9377826 BLAKE2B 13bf9383df81bf8aa504e4f1314958c98612bd507a935c749411008a25c9c1502cb157f4e80ae43b707486cfa5c4706c13118ea4c62d2cf8d7c40a8a811aba98 SHA512 aa52b85162ddb1fd1da8d01de4e47a5426831791c402fe589090474070608b98e40e8fcda197c18d7b8b4d13004afd0b04fb6f65f965e1af05b41005d3b38618 DIST hypothesis-6.79.2.gh.tar.gz 9377998 BLAKE2B 7b9aa513fa6bf535094ebf9b6aad51df0f9d3a3c0da9e1402a86c8f41b840efe76b97a8204ba746e933128b1586d4622ab784ea3f040b599a7b61c6d563e9f09 SHA512 af8573f99d128300d358362c7f1f7ad801d27a29c89be554bbaa5325ff406d7237b98090ce7ec79fb72b04819f22ce0a3bc27c28028615ac9de8fc4a58d24d27 DIST hypothesis-6.79.3.gh.tar.gz 9378262 BLAKE2B b5feccaa2a3e5af6e0cd688f5b9c78662af9dd044e188f295c922ae6aa7a0bd9e36a461d630c4217f376982e6f47e919b0cb75b8f6bc78056fa8b146b0fc88cb SHA512 6f6b18f6313fcf0d2151ec76d7f97793e181403e8d30c51dd251439f3bc0e204a3b74134017f7e88934eb779a8756f6c541a5ac52041222f1f350f0a7172563e +DIST hypothesis-6.80.0.gh.tar.gz 9376080 BLAKE2B 49aa0e60d520aaf5c76767dfade32d5ebc40c6bc7d6a20937c1134fb0b3904a62778f83e01074060dc1614045d2c4ea559a27fb5ef1634b8adf90a38c359daa7 SHA512 30e0698422d4f1b4c3c592ad86555a7347975ff2ed4d9c50a6672610981dadb2c3c1eae7f42e08075e529b095b13703129c90f22be3f8f40b39482fa8c80118b diff --git a/dev-python/hypothesis/hypothesis-6.80.0.ebuild b/dev-python/hypothesis/hypothesis-6.80.0.ebuild new file mode 100644 index 000000000000..c91fe0d7fdd3 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.80.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= -n "$(makeopts_jobs)" \ + tests/cover tests/pytest tests/quality +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index e9da2ac43cac..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..ddb5b0f1787e 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/multipledispatch/Manifest b/dev-python/multipledispatch/Manifest index 05b253a5602a..7db279bcd944 100644 --- a/dev-python/multipledispatch/Manifest +++ b/dev-python/multipledispatch/Manifest @@ -1 +1,2 @@ DIST multipledispatch-0.6.0.gh.tar.gz 23692 BLAKE2B 4f73f05382c4aefbe3706839a18ba68d8ca0ed025744fe67d2069a770c517821d726913e5757dfe0ebe4628738b4b3dc83c76049f2beb4411b3679f574cc5f8d SHA512 34cefbceef1c756d06f0fbcf34709b70750928e21b1d5f02eef61eec3d5b8ce29475bfe4c53943f3fa9264b4de1f2524d813c6723927e576cd83771b6a4fcaf8 +DIST multipledispatch-1.0.0.gh.tar.gz 24244 BLAKE2B e10b19fcfd781aeb613bb4858243a888642bd588e9b167cf35902a4d1ba8e3461ce51edd6e3eb1bae092462774933c93638e03dd1632234e8370c5d9677425e9 SHA512 67237fa7736adc41ea3a27c5916ba5ed958619a1420390c0bab52c313b4423d4facb76fe8286bf2e831b366e6bf6d989716155901fc2acefe96c65ac5add45f3 diff --git a/dev-python/multipledispatch/multipledispatch-1.0.0.ebuild b/dev-python/multipledispatch/multipledispatch-1.0.0.ebuild new file mode 100644 index 000000000000..eb525fbf0f65 --- /dev/null +++ b/dev-python/multipledispatch/multipledispatch-1.0.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Multiple dispatch" +HOMEPAGE=" + https://pypi.org/project/multipledispatch/ + https://github.com/mrocklin/multipledispatch/ +" +SRC_URI=" + https://github.com/mrocklin/multipledispatch/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + multipledispatch/tests/test_core.py::test_multipledispatch + multipledispatch/tests/test_benchmark.py +) diff --git a/dev-python/portend/Manifest b/dev-python/portend/Manifest index c553c8574848..0cbe8a6406cb 100644 --- a/dev-python/portend/Manifest +++ b/dev-python/portend/Manifest @@ -1 +1,2 @@ DIST portend-3.1.0.tar.gz 9448 BLAKE2B d9391577ecc6f878ebbceb07266f06902352076fb61164b5e905a3ed0a557ce5dafcd8e3c77a099aab97fa576aee5be024d98f457e3b333aa80dbd534167218b SHA512 017dff68ea85f48d19398f71fbd8189329ca9c27c05d8599dd5e53632eb5ddc6dea322e94c924a0653f25f042a3c8ee1cda5f8450b02f3406a72036d54cd1aaf +DIST portend-3.2.0.tar.gz 10514 BLAKE2B f60a800d37e61400e173507146f33ed6977cb0020773f5d2b6fba0a155bfd7e101e00bf057604ec0f25f5cd6f1bb57e3bfe2fc2bbe75b00f55c234f597a1f3f6 SHA512 56790cdb6d1619e8873acc2498f9bee758a64ad8f8e47f31e48ae1ac7b6f038fc81af5d52cbc4bc4797dd6dc25d453d391d73d454c98559b1d6a8e9061837d7f diff --git a/dev-python/portend/portend-3.2.0.ebuild b/dev-python/portend/portend-3.2.0.ebuild new file mode 100644 index 000000000000..650da23ccd19 --- /dev/null +++ b/dev-python/portend/portend-3.2.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="TCP port monitoring utilities" +HOMEPAGE=" + https://github.com/jaraco/portend/ + https://pypi.org/project/portend/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/tempora-1.8[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 13e2e4835273..7f3cf4a96278 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,3 +1,5 @@ DIST pypdf-3.10.0.gh.tar.gz 7558639 BLAKE2B 4c3bc668ae750e1ff78837459704fa24fbc8cdd90bb43c28e60140b3f3d2282d609460ec184d439d3121b284307236b8768ebc121679ed19e43efe43c5da5533 SHA512 e34072c21aa2caca7a3c99c754175fa3ccd42f69dbaaa92c52fbf1e1fb5e70245d3571305987d79f897769726c075d98313e07e9acf7817763a2522b16ddc424 DIST pypdf-3.11.0.gh.tar.gz 7560736 BLAKE2B 171c242e819cb417004aaba6341a38e8b89eec1346d6bdf899320da220f6368e38fee268ae2a90e308fd142c33411acf89a82bf00aa1220c9c697c052255e7a1 SHA512 f2f8d6e1035a8b2d14d6750c64e46e14b119324e08a3f808e5cacb7144c5c3ce3db65248010d13d520bc57915ea0f5f9a4b78db72ae430b46f614b2c0d5f7359 +DIST pypdf-3.11.1.gh.tar.gz 7560136 BLAKE2B fa6b415b2b98a5e4a8d67bfdf38a81922ddf724fdbb17581c035294565e7c953e9e9ad190dcdc4172ba78b6e8e7c7a4df008e6ca30f88337aad5ee04523e2b81 SHA512 061265b4263396c3a204a8741cd8200408ca0c00520b022d54acb10a2902ed61a54a7990d47c91a9b292653ef98005c00084f0d61f7e79b5e8f617896dbaa7bb +DIST pypdf-sample-files-2cf1e75af7bcb9c097deae6fb112c715d4721744.gh.tar.gz 10226061 BLAKE2B a9b32d6cd3d22bbc0aee54ca3e914c4d2eb2a9a44a1a508e54e0a8fbcb5fad9ab05e72cf66553a1b5595131104ff22dea115d2804d2970200c4cf5f808532174 SHA512 f064f0468b07bf705a1d0f3a0fc6fe535c234a39408dca268f223e7c3548e66f599a4e67156e7848b70e9a3bd1bc2756395dd93b0c828ee08fe2bb8833f2b196 DIST pypdf-sample-files-69b31cff6b183a42f9081709ef9bee4047976f56.gh.tar.gz 9044391 BLAKE2B 9a9bcfbacabf3c80073a440f54736728cba4ea92d1a817ce98bcaf9375340d95e453f45207f53ac878ef5c13bc4ca7d0d4488b79f205f396e960ed042680ca01 SHA512 32b4572d60a0aadba02485f11c84712c1f5f0a75f7acd6fb27f1df00cb2a8ae338a1001e6519f66c248efbd129aba1a2ad568e930ce90bd542c8dc58f383386a diff --git a/dev-python/pypdf/pypdf-3.11.1.ebuild b/dev-python/pypdf/pypdf-3.11.1.ebuild new file mode 100644 index 000000000000..38b9ca2e8094 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.11.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=2cf1e75af7bcb9c097deae6fb112c715d4721744 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/pillow[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/pytest-env/Manifest b/dev-python/pytest-env/Manifest index 44208bd460a6..d5e2a4ff9aa6 100644 --- a/dev-python/pytest-env/Manifest +++ b/dev-python/pytest-env/Manifest @@ -1 +1,2 @@ DIST pytest_env-0.8.1.tar.gz 6926 BLAKE2B 1d993947c5d67a57832e170e2cc2cbe56f5f1eef37d96790ec3965e5d7b9489771d1890ef7c6f4ae504e1d6d22845cf9b1b3fccf3caeacb3e6ff33d5f86b9279 SHA512 0c99db9c5467f5fe6f8655e540fff4b91884cef3553daf455298d2dc7bb51439418f3149b941d37a777199f28d82eccb2073fdd5e09bfb97cdf24d3ddb1d21bc +DIST pytest_env-0.8.2.tar.gz 7419 BLAKE2B c07140de76392bcf316935efaa52aea344c7167a95fe497c3702dd2aabc3150641f0903f2de6ee1794453dc2e5b1630d746b2fcb3dbcea8edb9ba066cde0a0b4 SHA512 6fbbb6b1db21ebeb47c472e10adb9bacedcdbbabceeaf93b01146ec7e175005aeef46616a4343bf02b23561c0ff5815506fe356f337371dfc057ee29521f68af diff --git a/dev-python/pytest-env/pytest-env-0.8.2.ebuild b/dev-python/pytest-env/pytest-env-0.8.2.ebuild new file mode 100644 index 000000000000..3413880334a1 --- /dev/null +++ b/dev-python/pytest-env/pytest-env-0.8.2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +inherit distutils-r1 pypi + +DESCRIPTION="py.test plugin that allows you to add environment variables" +HOMEPAGE="https://github.com/pytest-dev/pytest-env" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86" + +RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" +BDEPEND=">=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}] + test? ( >=dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest diff --git a/dev-python/python-rtmidi/Manifest b/dev-python/python-rtmidi/Manifest index 091c77559be5..56940aca4fc3 100644 --- a/dev-python/python-rtmidi/Manifest +++ b/dev-python/python-rtmidi/Manifest @@ -1,2 +1,2 @@ DIST python-rtmidi-1.4.9.tar.gz 251238 BLAKE2B dda4052e893839f88a6756306f8ff4e89ee66ad9716d374efbb7b92a8e9074e98c8d5df0cc82aa3c6e0c77a78fe9b997079623a5147c03eeea9128dfb7605215 SHA512 91c5a0f807549fbe9d87df6e40b8c3db0f9be753616ba51804900195d02120cd972e39c69dd99e60e4ea1b1d9831d0b956b64ce71b2fe03422efc57bccf5cb70 -DIST python-rtmidi-1.5.2.tar.gz 332527 BLAKE2B 8779ea9952c4aeb5673ab26b04899ecb6582d29b9da081f726ce3f41ed0b96cc25239cebb69ebb847efc700332c3d47bf00f1eec6a0d092e0244e1cabe84f0b9 SHA512 025b356a2e0aefab53cf84e8d3cb6396058175e01cf2176336121babb4548b767b29bcd2e678fc2389c30df81586ee9395f51ab8acbde82f7f7f589935d65f4c +DIST python_rtmidi-1.5.4.tar.gz 327631 BLAKE2B c4bdbca7e011922eddb7995818cf471d0a3a5243c407b6ca82afad666af367beba4eec0a594ee26a2aca513b85f7964b81f9bd9d5ca095a03219382797402525 SHA512 2468ea12fcf6b741eefab7673a7d5d39322fccc853bd6e69ba77e90d6ee3e2681966d9886774386ddb395ee045fd266501c090707894bae5e47cf142c46fd0a4 diff --git a/dev-python/python-rtmidi/files/python-rtmidi-1.5.1-meson_pure.patch b/dev-python/python-rtmidi/files/python-rtmidi-1.5.1-meson_pure.patch deleted file mode 100644 index fba3f395812c..000000000000 --- a/dev-python/python-rtmidi/files/python-rtmidi-1.5.1-meson_pure.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/meson.build -+++ b/meson.build -@@ -6,7 +6,7 @@ - default_options: [ - 'warning_level=2' - ], -- meson_version: '>=0.63.0' -+ meson_version: '>=0.64.0' - ) - - cpp = meson.get_compiler('cpp') -@@ -69,7 +69,7 @@ - endif # Platform detection - - pymod = import('python') --python = pymod.find_installation(get_option('python'), required: true) -+python = pymod.find_installation(get_option('python'), required: true, pure: false) - - # Generate _rtmidi extension source - subdir('src') ---- a/rtmidi/meson.build -+++ b/rtmidi/meson.build -@@ -78,6 +78,5 @@ - python.install_sources( - python_sources, - version_py, -- pure: true, - subdir: 'rtmidi', - ) diff --git a/dev-python/python-rtmidi/files/python-rtmidi-1.5.2-build_backend.patch b/dev-python/python-rtmidi/files/python-rtmidi-1.5.2-build_backend.patch deleted file mode 100644 index 511e86f836df..000000000000 --- a/dev-python/python-rtmidi/files/python-rtmidi-1.5.2-build_backend.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,14 +1,14 @@ - [build-system] --# https://thiblahute.gitlab.io/mesonpep517/ --build-backend = "mesonpep517.buildapi" -+build-backend = "mesonpy" - requires = [ - "cython", - "wheel", -- "mesonpep517 @ git+https://gitlab.com/SpotlightKid/mesonpep517.git@rtmidi", -+ "meson-python", - "ninja" - ] - - [project] -+name = "python-rtmidi" - description = "A Python binding for the RtMidi C++ library implemented using Cython." - authors = [ - { name="Christopher Arndt", email="info@chrisarndt.de" }, -@@ -41,11 +41,12 @@ - "music", - "rtmidi", - ] --meson-python-option-name = "python" --meson-options = [ -+ -+[tool.meson-python.args] -+setup = [ - "-Dwheel=true", - "-Dverbose=false", -- "--buildtype=plain" -+ "-Dbuildtype=plain" - ] - - [project.license] diff --git a/dev-python/python-rtmidi/python-rtmidi-1.5.2.ebuild b/dev-python/python-rtmidi/python-rtmidi-1.5.4.ebuild index cf7945a5c48e..2a4293dc1baa 100644 --- a/dev-python/python-rtmidi/python-rtmidi-1.5.2.ebuild +++ b/dev-python/python-rtmidi/python-rtmidi-1.5.4.ebuild @@ -9,7 +9,6 @@ DOCS_DEPEND="dev-python/myst-parser" DOCS_DIR="docs" DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=meson-python -PYPI_NO_NORMALIZE=1 inherit distutils-r1 docs pypi @@ -36,9 +35,7 @@ BDEPEND="<dev-python/cython-2.99[${PYTHON_USEDEP}] virtual/pkgconfig" PATCHES=( - "${FILESDIR}"/${PN}-1.5.1-meson_pure.patch "${FILESDIR}"/${PN}-1.5.1-unbundle_rtmidi.patch - "${FILESDIR}"/${PN}-1.5.2-build_backend.patch ) distutils_enable_tests unittest diff --git a/dev-python/pyzmq/pyzmq-25.1.0.ebuild b/dev-python/pyzmq/pyzmq-25.1.0.ebuild index 2bcdf3da8d4c..e168d5f677dc 100644 --- a/dev-python/pyzmq/pyzmq-25.1.0.ebuild +++ b/dev-python/pyzmq/pyzmq-25.1.0.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="drafts" # There are additional test failures if zeromq has the draft api enabled, but pyzmq has it disabled. diff --git a/dev-python/tempora/Manifest b/dev-python/tempora/Manifest index 5578c138987c..f745377b5110 100644 --- a/dev-python/tempora/Manifest +++ b/dev-python/tempora/Manifest @@ -1,2 +1,3 @@ DIST tempora-5.2.2.tar.gz 20957 BLAKE2B f8463e544534c0d90bc90da7ed2a829a7afeba54b9c8f21cb831680caba493075b58544560a940d2449e4c9e4803be62413ea1029ee0ce80772ab212ff84a13e SHA512 2031f9ddca66fb0aa93aa1e1162450a3a14e17c41acd19fc657f3c0cd0c058487c9b1377c9f319b15c7f3c39393d184eabfa62038d0493fc3808b6557dfee2cb DIST tempora-5.3.0.tar.gz 20735 BLAKE2B 8e93ec6d680bf08877cce21403c8a2bd597980a8df9685c18f03c298fb986c3a6bafd1e8d2a1ab1bcd1b8a928b9259db87aafd6dd9e4eb652be71ab7540251f5 SHA512 0bc82318e275792e0ad7d56ac46b78fd6e75b8fc3b6a57b7138ed7800a2f9f8ef7e64c855bc54ac48e190bfd05e9ea3397b45544e4dcfb2e2905946d76bb2622 +DIST tempora-5.5.0.tar.gz 20877 BLAKE2B 9978fbf5bea1ec9d948ba7440dcbe61e591f32cd6a9db7072beda0d2cec9fdcf1c8793117afdc445d8389446856b11c45b1b93cb27220454180a765008d2b1f5 SHA512 7cf1d7f826e71e03bb733f082f0ac1e8746f1db64776c436fe683369c70164902140df9547757d8ed489366a5f7b336415aec076ea3c4b0b7b633ed09527f01b diff --git a/dev-python/tempora/metadata.xml b/dev-python/tempora/metadata.xml index 6cd14b74b47f..21312813e2da 100644 --- a/dev-python/tempora/metadata.xml +++ b/dev-python/tempora/metadata.xml @@ -10,7 +10,6 @@ <name>Python</name> </maintainer> <upstream> - <changelog>https://github.com/jaraco/tempora/blob/master/CHANGES.rst</changelog> <bugs-to>https://github.com/jaraco/tempora/issues</bugs-to> </upstream> <origin>gentoo-staging</origin> diff --git a/dev-python/tempora/tempora-5.5.0.ebuild b/dev-python/tempora/tempora-5.5.0.ebuild new file mode 100644 index 000000000000..224ec6eb2d3a --- /dev/null +++ b/dev-python/tempora/tempora-5.5.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Objects and routines pertaining to date and time" +HOMEPAGE=" + https://github.com/jaraco/tempora/ + https://pypi.org/project/tempora/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pytest-freezegun[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest |
