diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-02-26 22:34:54 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-02-26 22:34:54 +0000 |
| commit | de14d62e73039dea6058da21ae1d601db2c4886d (patch) | |
| tree | 775c2a24da3425bc5b589407df675fe0377299c4 /dev-python | |
| parent | cd7c4f9316e6461cf9ded6e016665b5d67b1b020 (diff) | |
| download | baldeagleos-repo-de14d62e73039dea6058da21ae1d601db2c4886d.tar.gz baldeagleos-repo-de14d62e73039dea6058da21ae1d601db2c4886d.tar.xz baldeagleos-repo-de14d62e73039dea6058da21ae1d601db2c4886d.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
29 files changed, 420 insertions, 192 deletions
diff --git a/dev-python/aioresponses/aioresponses-0.7.3-r1.ebuild b/dev-python/aioresponses/aioresponses-0.7.3-r1.ebuild new file mode 100644 index 000000000000..b045e4bdf68f --- /dev/null +++ b/dev-python/aioresponses/aioresponses-0.7.3-r1.ebuild @@ -0,0 +1,36 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="Helper to mock/fake web requests in Python's aiohttp package" +HOMEPAGE="https://github.com/pnuckowski/aioresponses" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/aiohttp[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + dev-python/ddt[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # These tests require Internet access + tests/test_aioresponses.py::AIOResponsesTestCase::test_address_as_instance_of_url_combined_with_pass_through + tests/test_aioresponses.py::AIOResponsesTestCase::test_pass_through_with_origin_params +) diff --git a/dev-python/consonance/consonance-0.1.5-r1.ebuild b/dev-python/consonance/consonance-0.1.5-r1.ebuild new file mode 100644 index 000000000000..aecc4366e80d --- /dev/null +++ b/dev-python/consonance/consonance-0.1.5-r1.ebuild @@ -0,0 +1,37 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="WhatsApp's handshake implementation using Noise Protocol" +HOMEPAGE="https://github.com/tgalal/consonance" +SRC_URI="https://github.com/tgalal/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" +# Tests require an active internet connection +RESTRICT="test" +PROPERTIES="test_network" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/dissononce[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] + dev-python/python-axolotl-curve25519[${PYTHON_USEDEP}] + dev-python/transitions[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_install() { + distutils-r1_src_install + + use examples && dodoc examples/*.py +} diff --git a/dev-python/coreapi/coreapi-2.3.3-r2.ebuild b/dev-python/coreapi/coreapi-2.3.3-r2.ebuild new file mode 100644 index 000000000000..cf5ef7ab4c1c --- /dev/null +++ b/dev-python/coreapi/coreapi-2.3.3-r2.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=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +MY_P=python-client-${PV} +DESCRIPTION="Python client library for Core API" +HOMEPAGE="https://github.com/core-api/python-client" +SRC_URI=" + https://github.com/core-api/python-client/archive/${PV}.tar.gz + -> core-api-${MY_P}.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/coreschema[${PYTHON_USEDEP}] + dev-python/itypes[${PYTHON_USEDEP}] + dev-python/uritemplate[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/coreschema/coreschema-0.0.4-r1.ebuild b/dev-python/coreschema/coreschema-0.0.4-r1.ebuild new file mode 100644 index 000000000000..14f01eb484d1 --- /dev/null +++ b/dev-python/coreschema/coreschema-0.0.4-r1.ebuild @@ -0,0 +1,28 @@ +# 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} ) + +inherit distutils-r1 + +MY_P=python-${P} +DESCRIPTION="Core Schema" +HOMEPAGE="https://github.com/core-api/python-coreschema" +SRC_URI=" + https://github.com/core-api/python-coreschema/archive/${PV}.tar.gz + -> ${MY_P}.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/jinja[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/django-appconf/django-appconf-1.0.5-r1.ebuild b/dev-python/django-appconf/django-appconf-1.0.5-r1.ebuild new file mode 100644 index 000000000000..18bbf6f12d96 --- /dev/null +++ b/dev-python/django-appconf/django-appconf-1.0.5-r1.ebuild @@ -0,0 +1,27 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="A helper class for handling configuration defaults of packaged apps gracefully" +HOMEPAGE="https://django-appconf.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] +" + +python_test() { + local -x DJANGO_SETTINGS_MODULE=tests.test_settings + local -x PYTHONPATH="${S}" + django-admin test -v 2 || die +} diff --git a/dev-python/django-cors-headers/Manifest b/dev-python/django-cors-headers/Manifest index 5fed2c5e07e8..081bb5fe6fe3 100644 --- a/dev-python/django-cors-headers/Manifest +++ b/dev-python/django-cors-headers/Manifest @@ -1,2 +1 @@ -DIST django-cors-headers-3.10.0.gh.tar.gz 30786 BLAKE2B cd4de0b851932d023982fe2df8dbb00f56b863d2932a776e224b3f026ae03174561b1ac39ada9f0ef2e2057f8f05e67314e6ca935aa8beca31588472becadaec SHA512 dbb4925a1818e9e3cc18294ee0636ed193a195f4f6cf337ff01ee295ff7943ed376fa53071ea68f87df83d30dd9028ef75b36181bc128635c6040c8a3720676d DIST django-cors-headers-3.10.1.gh.tar.gz 29478 BLAKE2B 935167699b8c63b4741ff095a0dcfb4a0875a424e6f452989b788eb1f97147be4792c8d0304cdf1cfc6f6c339cb27bc7f701c0ae1c379bfe573031c1a2d67c14 SHA512 7c5e94fd59ae4ae542386c9d307ed2628b2e3cb8bd5f48e004b3a84b311acd269a2ba2faf6d034c6cab5f7a0d6e781b4c7ee7c64da8a486a46610af723ee448c diff --git a/dev-python/django-cors-headers/django-cors-headers-3.10.0.ebuild b/dev-python/django-cors-headers/django-cors-headers-3.10.1-r1.ebuild index a65958c638dd..30638dca7db1 100644 --- a/dev-python/django-cors-headers/django-cors-headers-3.10.0.ebuild +++ b/dev-python/django-cors-headers/django-cors-headers-3.10.1-r1.ebuild @@ -1,9 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# 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} ) + inherit distutils-r1 DESCRIPTION="Django App that adds CORS (Cross-Origin Resource Sharing) headers to responses" @@ -16,10 +18,13 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -RDEPEND=">=dev-python/django-2.2[${PYTHON_USEDEP}]" +RDEPEND=" + >=dev-python/django-2.2[${PYTHON_USEDEP}] +" BDEPEND=" test? ( dev-python/pytest-django[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_tests pytest diff --git a/dev-python/django-debug-toolbar/Manifest b/dev-python/django-debug-toolbar/Manifest index 5408efee5237..0d527e0f4aa0 100644 --- a/dev-python/django-debug-toolbar/Manifest +++ b/dev-python/django-debug-toolbar/Manifest @@ -1,3 +1 @@ -DIST django-debug-toolbar-3.2.2.tar.gz 239313 BLAKE2B 0e53709a3857cefc0ff7a7176ca248891122b2d758264c32171198a22b0c105af414eaba0095b1435b4f071120038f4665bd84438d77a8f65156c056d523f60f SHA512 df1956d63e88d3cf9f831609b6191446a162afbf396cb6d20e5a42aab4276ab385943cc305cad58a9f388382b0dffabc8baedf2150182a4302e7da58ab3d6a5c -DIST django-debug-toolbar-3.2.3.tar.gz 255447 BLAKE2B 82265a855588d1a809ace7fe36c93f0b5d779acc66aa922b39c61c5e860b25e983ccf230b166f1654a41ce7e5ca32eb5f9e998c8621b14af0e3cabed2c094a40 SHA512 877df07a757525ea8b36ccb59e20bd7c928425dbb8520b7de065f5a9be29681ee68417ee1f7cdd7dee269556f2fcf3a7e2635005fbe578dd7f1237f0a450ee29 DIST django-debug-toolbar-3.2.4.tar.gz 255283 BLAKE2B 8be7f569c7f1eab06c4a60fca19bce6c348594406cdfe6de7e6be50849272714e9f3b51db4803e7cd58e97fe44a7422b07b05b2208f4447a4d69e0b77c856cb4 SHA512 19d3ba91b8738ade108f7eaded2859ad3e4bcae7cd0115e2cf63698d1fef01773f09a05f6bc0af53f9c3d4a2a288635a5cb2d215a2eb9f8acd6c65175a1ccaef diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-3.2.3.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-3.2.3.ebuild deleted file mode 100644 index f553fc3910dd..000000000000 --- a/dev-python/django-debug-toolbar/django-debug-toolbar-3.2.3.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="A configurable set of panels that display debug information" -HOMEPAGE=" - https://pypi.org/project/django-debug-toolbar/ - https://github.com/jazzband/django-debug-toolbar/" -SRC_URI=" - https://github.com/jazzband/django-debug-toolbar/archive/${PV}.tar.gz - -> ${P}.tar.gz" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/django-1.11[${PYTHON_USEDEP}] - >=dev-python/sqlparse-0.2.0[${PYTHON_USEDEP}] -" -DEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - ${RDEPEND} - ) -" - -distutils_enable_sphinx docs - -python_test() { - emake TEST_ARGS='-v 2 tests' test -} - -python_install_all() { - if use examples; then - docinto examples - dodoc -r example/. - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-3.2.2.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-3.2.4-r1.ebuild index f553fc3910dd..18d18f8ba230 100644 --- a/dev-python/django-debug-toolbar/django-debug-toolbar-3.2.2.ebuild +++ b/dev-python/django-debug-toolbar/django-debug-toolbar-3.2.4-r1.ebuild @@ -1,9 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# 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} ) + inherit distutils-r1 DESCRIPTION="A configurable set of panels that display debug information" diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest index cc553fd76403..e91895f1c7ed 100644 --- a/dev-python/django-otp/Manifest +++ b/dev-python/django-otp/Manifest @@ -1,3 +1 @@ -DIST django-otp-1.1.1.gh.tar.gz 71526 BLAKE2B d68c0fe99c5437d08a8a0a433b4d6f41f0068047e3899efbb24234696c3494a064982aabc02d2788662d516235413bfc804f76cf5ffa1c608d3aa61927e2fad3 SHA512 5946cd64fd0f52dac5ef9fb192f8ecf78e99c96fe7e3223b41c68d96e249f6727149ef58a2dbf48024452e078f5f93c1f9edb9db2a25def5cbb3992c16aac18c -DIST django-otp-1.1.2.gh.tar.gz 72639 BLAKE2B ba30e8d6c9982010dd9a627a810b9bc36474c571cbb6eb756d45b617338f18b7ceb024f88baeb7ceb6dbd76b3f5cf9ed53ebabd9dba435b6ab6cc3bdba092fa4 SHA512 85b34f9a36632ca44e4f7a3f11d1fd795bf65f909c0b6e4735afd56f06d754f7f28b43ccc851cb86c7330919978d3e2cb793111e50030273056da0231ee0e3ca DIST django-otp-1.1.3.gh.tar.gz 72736 BLAKE2B 1dc0570d65f0ac8de417260ce2fb895dbae7f5f2cd106b0dd969bc04df207cd4aa9ccf8be2bfc74475bb3ec6abcd451b7fa1c32fd0f7f0d3b27afca212f3b8ed SHA512 4e8b38c393fe29b2fa91e3f1f70abd2cc671dcf760e2e2bf8f738e04fc43a6e7f54229f298f7f2611988dffc40b4450ed1ab910ce9e9995b205dff1b3c90a977 diff --git a/dev-python/django-otp/django-otp-1.1.1.ebuild b/dev-python/django-otp/django-otp-1.1.1.ebuild deleted file mode 100644 index ef5faf4575ab..000000000000 --- a/dev-python/django-otp/django-otp-1.1.1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Django framework adding two-factor authentication using one-time passwords" -HOMEPAGE="https://github.com/django-otp/django-otp/" -SRC_URI=" - https://github.com/django-otp/django-otp/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/django-2.2[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/qrcode[${PYTHON_USEDEP}] - ${RDEPEND} - )" - -python_test() { - local -x PYTHONPATH=test:${PYTHONPATH} - local -x DJANGO_SETTINGS_MODULE=test_project.settings - django-admin test -v 2 django_otp || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/django-otp/django-otp-1.1.2.ebuild b/dev-python/django-otp/django-otp-1.1.3-r1.ebuild index ef5faf4575ab..e33b71794ad4 100644 --- a/dev-python/django-otp/django-otp-1.1.2.ebuild +++ b/dev-python/django-otp/django-otp-1.1.3-r1.ebuild @@ -1,16 +1,19 @@ -# Copyright 1999-2021 Gentoo Authors +# 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} ) + inherit distutils-r1 DESCRIPTION="Django framework adding two-factor authentication using one-time passwords" HOMEPAGE="https://github.com/django-otp/django-otp/" SRC_URI=" https://github.com/django-otp/django-otp/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz" + -> ${P}.gh.tar.gz +" LICENSE="BSD" SLOT="0" @@ -19,17 +22,20 @@ IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" - >=dev-python/django-2.2[${PYTHON_USEDEP}]" + >=dev-python/django-2.2[${PYTHON_USEDEP}] +" BDEPEND=" test? ( $(python_gen_impl_dep sqlite) dev-python/freezegun[${PYTHON_USEDEP}] dev-python/qrcode[${PYTHON_USEDEP}] ${RDEPEND} - )" + ) +" python_test() { local -x PYTHONPATH=test:${PYTHONPATH} local -x DJANGO_SETTINGS_MODULE=test_project.settings - django-admin test -v 2 django_otp || die "Tests fail with ${EPYTHON}" + "${EPYTHON}" -m django test -v 2 django_otp || + die "Tests fail with ${EPYTHON}" } diff --git a/dev-python/djangorestframework/Manifest b/dev-python/djangorestframework/Manifest index 66fbe9674dbb..69164de0ad15 100644 --- a/dev-python/djangorestframework/Manifest +++ b/dev-python/djangorestframework/Manifest @@ -1,3 +1 @@ -DIST django-rest-framework-3.12.4.gh.tar.gz 8856507 BLAKE2B 48150e8d966ddd169a2b58d90656efa8f9f549c9d2fdee6025254fba2a6221704fe6bcb246567c8acb963f76ea56046935d3190c7c391daf4773b100a641ba02 SHA512 406b5354809b94e371a2c7d4b62ce66c18a1f60bd02574cba603ad4c44faa4297bdbbd6ee50de63fe21d2aae18386e05d46983a506bddd17f06ce610d5b727c9 -DIST django-rest-framework-3.13.0.gh.tar.gz 8880253 BLAKE2B 8acd6bf386ef20302c8fe52b3a5f1926c03701b32b8c409d13771d632a62e0e01bd8c2efde079e923342a08e6a3d21b3ab13a66817567fe2372f7b8e63eee61a SHA512 2368f382e6dd01490366443ad944f4a48ebbc4928ed45ff58c77a63deb251b148b9e4b13d89b0d2e27a8e257239d75f58f91a11604402683c1c36fac8ce27acc DIST django-rest-framework-3.13.1.gh.tar.gz 8868916 BLAKE2B 01a2e1c2459f99b1d3b38b62b305a57f3a3358d34a352ef2bbeb6b130c98f19fbbb83325d1013c28107f267a0a0227215646975de54542ab9ca6dfcf2bd88404 SHA512 a272cccf1f19b2cd09ef456a9588fb17ddc56ac3bd735cf7e130d85bb667ca87361d7de26c95b58a05d8cf693ab19c09d913b457f17ad63053ff9b516c13ec9b diff --git a/dev-python/djangorestframework/djangorestframework-3.12.4.ebuild b/dev-python/djangorestframework/djangorestframework-3.12.4.ebuild deleted file mode 100644 index c5a126766da8..000000000000 --- a/dev-python/djangorestframework/djangorestframework-3.12.4.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -MY_P=django-rest-framework-${PV} -DESCRIPTION="Web APIs with django made easy" -HOMEPAGE="https://www.django-rest-framework.org/" -SRC_URI=" - https://github.com/encode/django-rest-framework/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=">=dev-python/django-1.11[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/coreapi[${PYTHON_USEDEP}] - dev-python/coreschema[${PYTHON_USEDEP}] - dev-python/pytest-django[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_test() { - local deselect=( - # TODO - tests/test_description.py::TestViewNamesAndDescriptions::test_markdown - # django version incompatibility? - tests/test_fields.py::TestNaiveDayLightSavingTimeTimeZoneDateTimeField::test_invalid_inputs - ) - - epytest ${deselect[@]/#/--deselect } -} diff --git a/dev-python/djangorestframework/djangorestframework-3.13.0.ebuild b/dev-python/djangorestframework/djangorestframework-3.13.1-r1.ebuild index dbeedffa19ef..d3fda99a3728 100644 --- a/dev-python/djangorestframework/djangorestframework-3.13.0.ebuild +++ b/dev-python/djangorestframework/djangorestframework-3.13.1-r1.ebuild @@ -1,9 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# 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} ) + inherit distutils-r1 MY_P=django-rest-framework-${PV} @@ -11,7 +13,8 @@ DESCRIPTION="Web APIs with django made easy" HOMEPAGE="https://www.django-rest-framework.org/" SRC_URI=" https://github.com/encode/django-rest-framework/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz" + -> ${MY_P}.gh.tar.gz +" S=${WORKDIR}/${MY_P} LICENSE="BSD" @@ -20,13 +23,19 @@ KEYWORDS="~amd64" RDEPEND=" >=dev-python/django-2.2[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}]" + dev-python/pytz[${PYTHON_USEDEP}] +" BDEPEND=" test? ( dev-python/coreapi[${PYTHON_USEDEP}] dev-python/coreschema[${PYTHON_USEDEP}] dev-python/pytest-django[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_tests pytest + +EPYTEST_DESELECT=( + tests/test_description.py::TestViewNamesAndDescriptions::test_markdown +) diff --git a/dev-python/fastjsonschema/fastjsonschema-2.15.3-r1.ebuild b/dev-python/fastjsonschema/fastjsonschema-2.15.3-r1.ebuild new file mode 100644 index 000000000000..c32c5ca2720a --- /dev/null +++ b/dev-python/fastjsonschema/fastjsonschema-2.15.3-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 2020-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} ) + +inherit distutils-r1 + +MY_P=python-${P} +DESCRIPTION="Fast JSON schema validator for Python" +HOMEPAGE="https://github.com/horejsek/python-fastjsonschema/" +SRC_URI=" + https://github.com/horejsek/python-fastjsonschema/archive/v${PV}.tar.gz + -> ${MY_P}.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + rm -r tests/benchmarks || die +} diff --git a/dev-python/graphviz/graphviz-0.19.1-r1.ebuild b/dev-python/graphviz/graphviz-0.19.1-r1.ebuild new file mode 100644 index 000000000000..2d5e626d1269 --- /dev/null +++ b/dev-python/graphviz/graphviz-0.19.1-r1.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} ) + +inherit distutils-r1 + +DESCRIPTION="Simple Python interface for Graphviz" +HOMEPAGE="https://graphviz.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="MIT" +KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux" +SLOT="0" + +RDEPEND=" + media-gfx/graphviz +" +BDEPEND=" + app-arch/unzip + test? ( + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-1.8[${PYTHON_USEDEP}] + media-gfx/graphviz[gts,pdf] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e 's:--cov --cov-report=term --cov-report=html::' \ + -i setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" run-tests.py -vv -ra -l -Wdefault -p no:xdoctest || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest index 396559eca7f8..43b0cf28a399 100644 --- a/dev-python/iminuit/Manifest +++ b/dev-python/iminuit/Manifest @@ -1,2 +1 @@ -DIST iminuit-2.8.4.tar.gz 391667 BLAKE2B 15d82db308ac361f45399debb342ba350c6ec83e111fca16baed99dc029010284b946292f4236e26ae5cdd60f7a130902bca53669b31e335d706ead77f6603db SHA512 564506921027d6addffb9df6f2ad2aec69981af49e2552f4d093d03fbf79f12a72e6dec58f159810d621a58ddd56dbf1258359d01d56d33a7c30b08eb5b333ed DIST iminuit-2.9.0.tar.gz 408294 BLAKE2B d924d5ca5bef0e5b2dbc1fcfc12daab196c6937feff1badd73f9f8f20601989b21673165e758df7dabe072cb4a14cbda12823cfaf30fa5687de4184238465c50 SHA512 55d1d855b23862a4205b6c12ff53ddc088739945523670f3959edfe859abdbd3600da78cc219af6ed792156e2da7d8ae844e76e49ac759af433af875eab26714 diff --git a/dev-python/iminuit/iminuit-2.8.4.ebuild b/dev-python/iminuit/iminuit-2.9.0-r1.ebuild index b439a42a52b3..aeaeffc6c6f4 100644 --- a/dev-python/iminuit/iminuit-2.8.4.ebuild +++ b/dev-python/iminuit/iminuit-2.9.0-r1.ebuild @@ -1,7 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# 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} ) # forced implicitly @@ -16,17 +18,24 @@ SLOT="0" LICENSE="MIT LGPL-2.1" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] +" BDEPEND=" dev-python/cython[${PYTHON_USEDEP}] test? ( dev-python/ipython[${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() { - virtx epytest -p no:pytest-describe + epytest -p no:pytest-describe || die "Tests failed with ${EPYTHON}" } diff --git a/dev-python/itypes/itypes-1.2.0-r1.ebuild b/dev-python/itypes/itypes-1.2.0-r1.ebuild new file mode 100644 index 000000000000..6176ab55a8bf --- /dev/null +++ b/dev-python/itypes/itypes-1.2.0-r1.ebuild @@ -0,0 +1,26 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="basic immutable container types for python" +HOMEPAGE="https://github.com/PavanTatikonda/itypes/" +SRC_URI=" + https://github.com/PavanTatikonda/itypes/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest + +python_test() { + epytest tests.py +} diff --git a/dev-python/mypy/mypy-0.931.ebuild b/dev-python/mypy/mypy-0.931.ebuild index 595507aeae12..a5651e5f44fb 100644 --- a/dev-python/mypy/mypy-0.931.ebuild +++ b/dev-python/mypy/mypy-0.931.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" # stubgen collides with this package: https://bugs.gentoo.org/585594 RDEPEND=" diff --git a/dev-python/nbsphinx/nbsphinx-0.8.8-r1.ebuild b/dev-python/nbsphinx/nbsphinx-0.8.8-r1.ebuild new file mode 100644 index 000000000000..68a958b32252 --- /dev/null +++ b/dev-python/nbsphinx/nbsphinx-0.8.8-r1.ebuild @@ -0,0 +1,26 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="Jupyter Notebook Tools for Sphinx" +HOMEPAGE="https://github.com/spatialaudio/nbsphinx/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/nbconvert[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.8[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] +" diff --git a/dev-python/oslotest/oslotest-4.5.0-r1.ebuild b/dev-python/oslotest/oslotest-4.5.0-r1.ebuild new file mode 100644 index 000000000000..a5e3ad47e521 --- /dev/null +++ b/dev-python/oslotest/oslotest-4.5.0-r1.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} ) + +inherit distutils-r1 + +DESCRIPTION="Oslo test framework" +HOMEPAGE="https://launchpad.net/oslo" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + >=dev-python/pbr-1.8[${PYTHON_USEDEP}] +" +RDEPEND=" + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest index d249ec7ddca0..f29c3e623b1f 100644 --- a/dev-python/pyzotero/Manifest +++ b/dev-python/pyzotero/Manifest @@ -1,3 +1 @@ -DIST pyzotero-1.4.26.tar.gz 520629 BLAKE2B 7ddcd55a1c21d6dcc4b610a9a29bc86ff002afdf2e2a90513219b9fd13b3d5b504736e122850fc81acf7a4bbca0b8c5da3a92c8eb3a6f07392e3d17a9dc7d73c SHA512 a0b0bf92458746b0dd0c01511efb05dd8fb471434c9e813c9d6dab7741a2eb1a10af2b9c5f68daa4c681353ba8c93cab140ec2da5962d06c76e8a229d4742009 DIST pyzotero-1.5.1.gh.tar.gz 520410 BLAKE2B ac3aeb0f55f4685135bcf35594fc925f471a92ac9dfe866a4cffffc62d06b1447c80fedc566100d5fc9550ebcc54c7bcaa0b3d8494229791a4b51c806b40dc1c SHA512 76a498a6d16cef0024cd0e1a6d5011a4c2639a573746d0acd2d18616e452ad1f0eabbb92ae073e7e36ebc208870dedb2b3a01b0d70442b10ae81148e9b1cfd73 -DIST pyzotero-1.5.gh.tar.gz 520234 BLAKE2B 0bb64710d7cb4701006884417b46d1fe6a76ae8bdcfbd3b30cc413c8cd3ab7ba024318a28cb8c49a1bf280bf3098ece3267a3580a4ecc55af48f47a436476d8b SHA512 9a2080e1e9886c8e4a2410dc7687637d844a2614d40e38403b408bf584f0b1e5d5a4e517bdcba2f4e0602e5a7a3f2a3c9195cfde20242cc9d1da2ca5d3aa8f4c diff --git a/dev-python/pyzotero/pyzotero-1.4.26.ebuild b/dev-python/pyzotero/pyzotero-1.4.26.ebuild deleted file mode 100644 index 969f27a24c8a..000000000000 --- a/dev-python/pyzotero/pyzotero-1.4.26.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="A Python client for the Zotero API" -HOMEPAGE="https://github.com/urschrei/pyzotero" -SRC_URI="https://github.com/urschrei/pyzotero/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - app-text/zotero-bin - dev-python/bibtexparser[${PYTHON_USEDEP}] - dev-python/feedparser[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/httpretty[${PYTHON_USEDEP}] - )" - -distutils_enable_sphinx doc --no-autodoc -distutils_enable_tests pytest - -python_prepare_all() { - # do not install tests - sed -i "s/find_packages(),/find_packages(exclude=('test*',)),/g" setup.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/pyzotero/pyzotero-1.5.ebuild b/dev-python/pyzotero/pyzotero-1.5.1-r1.ebuild index 8a8775e8e4f7..017432782e1c 100644 --- a/dev-python/pyzotero/pyzotero-1.5.ebuild +++ b/dev-python/pyzotero/pyzotero-1.5.1-r1.ebuild @@ -3,7 +3,9 @@ EAPI=8 +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10} ) + inherit distutils-r1 DESCRIPTION="A Python client for the Zotero API" @@ -26,7 +28,8 @@ BDEPEND=" test? ( dev-python/python-dateutil[${PYTHON_USEDEP}] dev-python/httpretty[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_sphinx doc --no-autodoc distutils_enable_tests pytest diff --git a/dev-python/requests-kerberos/requests-kerberos-0.14.0-r1.ebuild b/dev-python/requests-kerberos/requests-kerberos-0.14.0-r1.ebuild new file mode 100644 index 000000000000..7e95342c125c --- /dev/null +++ b/dev-python/requests-kerberos/requests-kerberos-0.14.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +HOMEPAGE="https://github.com/requests/requests-kerberos/" +DESCRIPTION="A Kerberos authentication handler for python-requests" +SRC_URI="https://github.com/requests/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/requests-1.1.0[${PYTHON_USEDEP}] + dev-python/pyspnego[${PYTHON_USEDEP}] + dev-python/gssapi[${PYTHON_USEDEP}] + dev-python/krb5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/sphinx-testing/sphinx-testing-1.0.1-r2.ebuild b/dev-python/sphinx-testing/sphinx-testing-1.0.1-r2.ebuild new file mode 100644 index 000000000000..966e67971718 --- /dev/null +++ b/dev-python/sphinx-testing/sphinx-testing-1.0.1-r2.ebuild @@ -0,0 +1,24 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="Testing utility classes and functions for Sphinx extensions" +HOMEPAGE="https://github.com/sphinx-doc/sphinx-testing" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest |
