From 9e708a530a42e488717962b542d290bbfdccc5a2 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Mon, 14 Jun 2021 13:49:58 +0000 Subject: Adding metadata --- dev-python/bitarray/Manifest | 2 +- dev-python/bitarray/bitarray-2.1.0.ebuild | 19 -------- dev-python/bitarray/bitarray-2.1.2.ebuild | 19 ++++++++ dev-python/dill/Manifest | 1 + dev-python/dill/dill-0.3.4.ebuild | 30 ++++++++++++ dev-python/diskcache/diskcache-5.2.1-r1.ebuild | 42 +++++++++++++++++ dev-python/diskcache/diskcache-5.2.1.ebuild | 4 +- .../dj-database-url/dj-database-url-0.5.0.ebuild | 2 +- dev-python/dj-email-url/dj-email-url-1.0.2.ebuild | 2 +- dev-python/dj-search-url/dj-search-url-0.1.ebuild | 2 +- .../django-cache-url/django-cache-url-3.2.3.ebuild | 2 +- .../django-configurations-2.2.ebuild | 2 +- dev-python/execnet/Manifest | 1 + dev-python/execnet/execnet-1.9.0.ebuild | 46 +++++++++++++++++++ dev-python/fasteners/fasteners-0.16.2.ebuild | 2 +- dev-python/feedparser/Manifest | 1 + dev-python/feedparser/feedparser-6.0.4.ebuild | 38 ++++++++++++++++ dev-python/pyls-spyder/Manifest | 1 - dev-python/pyls-spyder/pyls-spyder-0.3.2-r1.ebuild | 22 --------- dev-python/pyls-spyder/pyls-spyder-0.4.0.ebuild | 2 +- .../pytest-django/pytest-django-4.4.0.ebuild | 2 +- .../python-lsp-black/python-lsp-black-1.0.0.ebuild | 2 +- .../python-lsp-jsonrpc-1.0.0.ebuild | 2 +- .../python-lsp-server-1.0.1.ebuild | 2 +- dev-python/sphinxcontrib-httpdomain/Manifest | 1 - dev-python/sphinxcontrib-httpdomain/metadata.xml | 14 ------ .../sphinxcontrib-httpdomain-1.7.0.ebuild | 34 -------------- dev-python/sphinxcontrib-httpexample/Manifest | 1 - dev-python/sphinxcontrib-httpexample/metadata.xml | 20 -------- .../sphinxcontrib-httpexample-0.10.3.ebuild | 44 ------------------ .../tree-sitter-0.19.0_p20210506-r1.ebuild | 2 +- dev-python/vdirsyncer/Manifest | 1 + dev-python/vdirsyncer/metadata.xml | 4 ++ dev-python/vdirsyncer/vdirsyncer-0.18.0.ebuild | 53 ++++++++++++++++++++++ dev-python/xdg/Manifest | 1 + dev-python/xdg/xdg-5.1.0.ebuild | 23 ++++++++++ 36 files changed, 275 insertions(+), 171 deletions(-) delete mode 100644 dev-python/bitarray/bitarray-2.1.0.ebuild create mode 100644 dev-python/bitarray/bitarray-2.1.2.ebuild create mode 100644 dev-python/dill/dill-0.3.4.ebuild create mode 100644 dev-python/diskcache/diskcache-5.2.1-r1.ebuild create mode 100644 dev-python/execnet/execnet-1.9.0.ebuild create mode 100644 dev-python/feedparser/feedparser-6.0.4.ebuild delete mode 100644 dev-python/pyls-spyder/pyls-spyder-0.3.2-r1.ebuild delete mode 100644 dev-python/sphinxcontrib-httpdomain/Manifest delete mode 100644 dev-python/sphinxcontrib-httpdomain/metadata.xml delete mode 100644 dev-python/sphinxcontrib-httpdomain/sphinxcontrib-httpdomain-1.7.0.ebuild delete mode 100644 dev-python/sphinxcontrib-httpexample/Manifest delete mode 100644 dev-python/sphinxcontrib-httpexample/metadata.xml delete mode 100644 dev-python/sphinxcontrib-httpexample/sphinxcontrib-httpexample-0.10.3.ebuild create mode 100644 dev-python/vdirsyncer/vdirsyncer-0.18.0.ebuild create mode 100644 dev-python/xdg/xdg-5.1.0.ebuild (limited to 'dev-python') diff --git a/dev-python/bitarray/Manifest b/dev-python/bitarray/Manifest index 28015adcad40..0791c7e7a381 100644 --- a/dev-python/bitarray/Manifest +++ b/dev-python/bitarray/Manifest @@ -1,2 +1,2 @@ -DIST bitarray-2.1.0.tar.gz 71169 BLAKE2B 8d82d49ac309605d989d29d492dbb94dd59c633f0987220ed28bbca7d2c3b0c4566ce147d0f65893c5dfaf1c2f702870d95181dfaa969050e13bcd4a9664ef51 SHA512 e91200b8829b63f297a1882fab293ac007991740a739587ba473abce183aa79a85e08db8a0fca5729b6e1d3e130965b2f14dc40acccf12d3231852498e2fb141 DIST bitarray-2.1.1.tar.gz 72522 BLAKE2B 28afebad24c574706f3cc57d1b82890d8e98a2ba745765a1a8d9e60a630a1e1e6e467bdd7b953c4c75b08b302658f7704d83a8e01b351c1e99e66ebd52fbbf83 SHA512 d690e266d1ac9f8fba6f2dd2770b80d1fbb2a53baf2ba759c946a2d371d9804e5bfd6792fc2a64809fc10e78563e106c2d357474fa515423fdcd6964a8191718 +DIST bitarray-2.1.2.tar.gz 72530 BLAKE2B 85b98e3e7b89ded2f6d05aaf08efdc46982b92f67eac6153afe0814537ef84528a5a76e1b0de03d771e8b9ee69ce762fe34d908d14555a5e6c70583350009a9f SHA512 1db9d54a2721741732cf6d455b36d3fdeb550a3a6370e14d794c2d67a1a0d39ca6ddc8db939ec391b33dc86962db51cc4291d8d04db878758fdb411fff377819 diff --git a/dev-python/bitarray/bitarray-2.1.0.ebuild b/dev-python/bitarray/bitarray-2.1.0.ebuild deleted file mode 100644 index 012b3f886892..000000000000 --- a/dev-python/bitarray/bitarray-2.1.0.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2020-2021 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="efficient arrays of booleans -- C extension" -HOMEPAGE="https://github.com/ilanschnell/bitarray https://pypi.org/project/bitarray/" -SRC_URI="mirror://pypi/b/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="PSF-2" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~amd64-fbsd" - -python_test() { - "${PYTHON}" ${PN}/test_${PN}.py || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/bitarray/bitarray-2.1.2.ebuild b/dev-python/bitarray/bitarray-2.1.2.ebuild new file mode 100644 index 000000000000..012b3f886892 --- /dev/null +++ b/dev-python/bitarray/bitarray-2.1.2.ebuild @@ -0,0 +1,19 @@ +# Copyright 2020-2021 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="efficient arrays of booleans -- C extension" +HOMEPAGE="https://github.com/ilanschnell/bitarray https://pypi.org/project/bitarray/" +SRC_URI="mirror://pypi/b/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="PSF-2" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~amd64-fbsd" + +python_test() { + "${PYTHON}" ${PN}/test_${PN}.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/dill/Manifest b/dev-python/dill/Manifest index 3a0452ee3dad..5166b150912b 100644 --- a/dev-python/dill/Manifest +++ b/dev-python/dill/Manifest @@ -1 +1,2 @@ DIST dill-0.3.3.gh.tar.gz 149103 BLAKE2B b08830ad1eb47ceb29c6be6ae88ab38338d9a8a325188bc3890b71c7f393792988da4962819f9b82bf7ad9ebd668c96989ef8c55072a2c82483660c4ec01d072 SHA512 bb514c37902412380d99f38293d5cb9d3d6a6643a34e59e6e889c89d845f9b83e9fa3fa9f0a75218575aa56670f287144f2b00abc8359b5fc6cb450351b43b68 +DIST dill-0.3.4.gh.tar.gz 152875 BLAKE2B 61c638f0459b94f5cc0dabd9d5fd224c3c010ab6ccc9b7e47943922e7e139bd74c7a5173657febb028fc79632792f807586e271316ad87bb505520163f85a300 SHA512 1b1991909a9782382ecdb2ada13249c8b446d3558de69501280c816f7cd6c6728f9d3303c826461245ab9e42c43c02e4605142f25e09244bb7ccc9ca68a4b565 diff --git a/dev-python/dill/dill-0.3.4.ebuild b/dev-python/dill/dill-0.3.4.ebuild new file mode 100644 index 000000000000..b2f38e967602 --- /dev/null +++ b/dev-python/dill/dill-0.3.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Serialize all of python (almost)" +HOMEPAGE="https://pypi.org/project/dill/" +SRC_URI=" + https://github.com/uqfoundation/dill/archive/${P}.tar.gz + -> ${P}.gh.tar.gz" +S=${WORKDIR}/${PN}-${P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux" + +python_test() { + local fail= t + for t in tests/test_*.py; do + ebegin "\t${t}" + "${EPYTHON}" "${t}" + eend || fail=1 + done + + [[ ${fail} ]] && die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/diskcache/diskcache-5.2.1-r1.ebuild b/dev-python/diskcache/diskcache-5.2.1-r1.ebuild new file mode 100644 index 000000000000..9a24b5eda19f --- /dev/null +++ b/dev-python/diskcache/diskcache-5.2.1-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +HOMEPAGE="http://www.grantjenks.com/docs/diskcache/ + https://github.com/grantjenks/python-diskcache/" +DESCRIPTION="Disk and file backed cache" +SRC_URI=" + https://github.com/grantjenks/python-diskcache/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" +S=${WORKDIR}/python-diskcache-${PV} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc64 ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +src_prepare() { + # remove dep on pytest-xdist and pytest-cov + sed -i -e '/-n auto/d' -e '/--cov/d' tox.ini || die + + distutils-r1_src_prepare +} + +python_test() { + local ignore=( + # django tests don't work with django-3.2, and django-3.1 + # doesn't work with py3.10 + tests/test_djangocache.py + tests/test_doctest.py + README.rst + ) + epytest ${ignore[@]/#/--ignore } +} diff --git a/dev-python/diskcache/diskcache-5.2.1.ebuild b/dev-python/diskcache/diskcache-5.2.1.ebuild index 7c808d24016c..dbc317a2e410 100644 --- a/dev-python/diskcache/diskcache-5.2.1.ebuild +++ b/dev-python/diskcache/diskcache-5.2.1.ebuild @@ -18,11 +18,11 @@ S=${WORKDIR}/python-diskcache-${PV} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~mips ~ppc64 x86 ~amd64-linux ~x86-linux" BDEPEND=" test? ( - >=dev-python/django-2.2[${PYTHON_USEDEP}] + ${P}.gh.ta LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" dev-python/python-lsp-server[${PYTHON_USEDEP}] diff --git a/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.0.0.ebuild b/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.0.0.ebuild index 04fd8cd981ff..462738959032 100644 --- a/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.0.0.ebuild +++ b/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.0.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" BDEPEND=" test? ( diff --git a/dev-python/python-lsp-server/python-lsp-server-1.0.1.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.0.1.ebuild index f13ea30ba689..3307769d2050 100644 --- a/dev-python/python-lsp-server/python-lsp-server-1.0.1.ebuild +++ b/dev-python/python-lsp-server/python-lsp-server-1.0.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" BDEPEND=" test? ( diff --git a/dev-python/sphinxcontrib-httpdomain/Manifest b/dev-python/sphinxcontrib-httpdomain/Manifest deleted file mode 100644 index 6679d1262662..000000000000 --- a/dev-python/sphinxcontrib-httpdomain/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST sphinxcontrib-httpdomain-1.7.0.tar.gz 37493 BLAKE2B e34682029ed2f59cb8c70b2a5270a2f89c4cb08179fdf3a53c65f1ad23eebba71bff5385b5d3fd971a6e3341457b253e4187632a8bf856ca208843938bbde056 SHA512 8c6e40dfaa29a552164078fbc96de578b2aac269cb0ce5e228293a85f87c4db4ef8c902868caccaca709df938d4e3917cc77b3da9bd889b9c6f8c6fa242dcc0d diff --git a/dev-python/sphinxcontrib-httpdomain/metadata.xml b/dev-python/sphinxcontrib-httpdomain/metadata.xml deleted file mode 100644 index 1ad0d4fd84be..000000000000 --- a/dev-python/sphinxcontrib-httpdomain/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - python@gentoo.org - Python - - - sphinxcontrib-httpdomain - sphinx-contrib/httpdomain - - gentoo-staging - - \ No newline at end of file diff --git a/dev-python/sphinxcontrib-httpdomain/sphinxcontrib-httpdomain-1.7.0.ebuild b/dev-python/sphinxcontrib-httpdomain/sphinxcontrib-httpdomain-1.7.0.ebuild deleted file mode 100644 index 2b8ea5d30ce7..000000000000 --- a/dev-python/sphinxcontrib-httpdomain/sphinxcontrib-httpdomain-1.7.0.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Extension providing a Sphinx domain for describing RESTful HTTP APIs" -HOMEPAGE="https://github.com/sphinx-contrib/httpdomain - https://sphinxcontrib-httpdomain.readthedocs.io/" -SRC_URI="https://github.com/sphinx-contrib/httpdomain/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN#sphinxcontrib-}-${PV}" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/bottle[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_install_all() { - distutils-r1_python_install_all - find "${ED}" -name '*.pth' -delete || die -} diff --git a/dev-python/sphinxcontrib-httpexample/Manifest b/dev-python/sphinxcontrib-httpexample/Manifest deleted file mode 100644 index fe36e3692959..000000000000 --- a/dev-python/sphinxcontrib-httpexample/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST sphinxcontrib-httpexample-0.10.3.tar.gz 30489 BLAKE2B 1100f28398d0d23559fb7ebea8263be5da6f2db09e9d5f48513d80d2cd580d2ff436df84b532eba8fb0c30eb3787a86f57f75750aeb0857b52af09885ba9a124 SHA512 de776f20e566a5b2ec4fcbad82d2ac39988ccf651a14d38d353dfd9cda7c15289acbb41db56df9189e42c2637bfd70fd4915d19d4ee718ddd4de476ddc34151f diff --git a/dev-python/sphinxcontrib-httpexample/metadata.xml b/dev-python/sphinxcontrib-httpexample/metadata.xml deleted file mode 100644 index 4787358d3595..000000000000 --- a/dev-python/sphinxcontrib-httpexample/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - chutzpah@gentoo.org - Patrick McLean - - - williamh@gentoo.org - William Hubbs - - - vpayno+gentoo@gmail.com - Victor Payno - - - sphinxcontrib-httpexample - - gentoo-staging - \ No newline at end of file diff --git a/dev-python/sphinxcontrib-httpexample/sphinxcontrib-httpexample-0.10.3.ebuild b/dev-python/sphinxcontrib-httpexample/sphinxcontrib-httpexample-0.10.3.ebuild deleted file mode 100644 index 6f59d1fd12ba..000000000000 --- a/dev-python/sphinxcontrib-httpexample/sphinxcontrib-httpexample-0.10.3.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Adds example directive for sphinx-contrib httpdomain" -HOMEPAGE="https://github.com/collective/sphinxcontrib-httpexample" -SRC_URI="https://github.com/collective/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/astunparse[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinxcontrib-httpdomain[${PYTHON_USEDEP}] -" -BDEPEND="${RDEPEND} - test? ( - dev-python/snapshottest[${PYTHON_USEDEP}] - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] - dev-python/sphinx-testing[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - sed -e "s:pytest-runner::" -i setup.cfg || die - distutils-r1_python_prepare_all -} - -python_test() { - distutils_install_for_testing - pytest -vv || die "tests fail with ${EPYTHON}" -} diff --git a/dev-python/tree-sitter/tree-sitter-0.19.0_p20210506-r1.ebuild b/dev-python/tree-sitter/tree-sitter-0.19.0_p20210506-r1.ebuild index 4f79c7b5c0b2..fdfc627f810c 100644 --- a/dev-python/tree-sitter/tree-sitter-0.19.0_p20210506-r1.ebuild +++ b/dev-python/tree-sitter/tree-sitter-0.19.0_p20210506-r1.ebuild @@ -25,7 +25,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" RDEPEND="dev-libs/tree-sitter:=" DEPEND=${RDEPEND} diff --git a/dev-python/vdirsyncer/Manifest b/dev-python/vdirsyncer/Manifest index 438496531cdd..29341dd12fed 100644 --- a/dev-python/vdirsyncer/Manifest +++ b/dev-python/vdirsyncer/Manifest @@ -1 +1,2 @@ DIST vdirsyncer-0.16.8.tar.gz 115819 BLAKE2B e0140718a1b41875421a7094e02cdeb865c500935e0c97bc18a614551586d79682641726df1a96e17a158604ed309f713f4caf4a484025eca5fbc6acbbe18f97 SHA512 12cb50f592085af37bd9c4207c0d31fdd38fc2a44712eb6288b12e7e7ee9af82070d1d405fa9579e935e545e6c92aafb6f8334ebde4976c4eb9412e78e7c5ada +DIST vdirsyncer-0.18.0.tar.gz 115125 BLAKE2B d81bb9b51658d16a3b9ea044846561a1ce2dac3a839d7e0a165f0136069fcd0716525ab2b908be7cafed60846a1aed6fd72aa1d31fc2a38dbe6de8d0e6585226 SHA512 7fb3d0f7d982d8390d278de1a620231e6ead1ec64057c5dbac98dcff491fa3e6b9ed8ba953995458e393aab73b0b9ab8ba14010e06f90a04d8ee2c28c7c7fbfd diff --git a/dev-python/vdirsyncer/metadata.xml b/dev-python/vdirsyncer/metadata.xml index 4e924b313b40..e20cce0ced87 100644 --- a/dev-python/vdirsyncer/metadata.xml +++ b/dev-python/vdirsyncer/metadata.xml @@ -4,6 +4,10 @@ amynka@gentoo.org + + python@gentoo.org + Python + pimutils/vdirsyncer vdirsyncer diff --git a/dev-python/vdirsyncer/vdirsyncer-0.18.0.ebuild b/dev-python/vdirsyncer/vdirsyncer-0.18.0.ebuild new file mode 100644 index 000000000000..7c40cc1045ab --- /dev/null +++ b/dev-python/vdirsyncer/vdirsyncer-0.18.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="Synchronize calendars and contacts" +HOMEPAGE="https://github.com/pimutils/vdirsyncer" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +SLOT="0" + +RDEPEND="dev-python/click[${PYTHON_USEDEP}] + >=dev-python/click-log-0.3.0[${PYTHON_USEDEP}] + =dev-python/click-threading-0.5[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + dev-python/atomicwrites[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/pytest-subtesthack[${PYTHON_USEDEP}] + )" + +DOCS=( AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst config.example ) + +distutils_enable_tests pytest + +python_test() { + # skip tests needing servers running + local -x DAV_SERVER=skip + local -x REMOTESTORAGE_SERVER=skip + # pytest dies hard if the envvars do not have any value... + local -x CI=false + local -x DETERMINISTIC_TESTS=false + + local deselect=( + # test CA is too weak for modern python + tests/system/utils/test_main.py::test_request_ssl + tests/system/utils/test_main.py::test_request_ssl_fingerprints + ) + + epytest ${deselect[@]/#/--deselect } +} diff --git a/dev-python/xdg/Manifest b/dev-python/xdg/Manifest index d3ccc0936647..3ced395c275c 100644 --- a/dev-python/xdg/Manifest +++ b/dev-python/xdg/Manifest @@ -1,2 +1,3 @@ DIST xdg-5.0.1.tar.gz 4120 BLAKE2B f80ca1ec0ac064d64a2603f101301d427e7b64133eede1ff0770db0b7ba4368c8640b2d2eea8f1d28a52874a6b632ce83d969c38a036c970e20c2abba3a1f98c SHA512 c6da757cf0fd11a03d97506f7b898b902f560cb74cd9a90ed55550d89bf60eef5e32abe2aca19816279621e6ad0ad7899c7326b126a777231c67cc6cb30b766f DIST xdg-5.0.2.gh.tar.gz 20457 BLAKE2B 87ad0914bc5165b7ea5918a7e9f88b14b4c3adebcd43552a98f9570c1682febf1b02c0f65ece03a449a489ea9de57932cebf3f5d8e4465e366a89734cdb77b90 SHA512 38c418dda2b7ed3369757e8cd40eaf0667643e1d8b23d609be4a2ecfa53e8e634bef9cba6e61f38e08b56d85297f35e38469b87ddd58b1bf2be202f6ad5f5838 +DIST xdg-5.1.0.gh.tar.gz 20801 BLAKE2B b59edb9bbd32b19a5d875a541a26b27746e964098570f14fc233c9cbcfe76b8fdd8105b925adfeab4dc519787985848f2acf3be3ef88dc5c2a4acfb6d10d7059 SHA512 37c1f45c4900d26df592da0bd02bd10fc4d132e68dfb76d30723f37e1a72d68bf7e8fe6e64ba17d37f008046726f803268dee4b3a74ca05d0b823d0dd969d3c2 diff --git a/dev-python/xdg/xdg-5.1.0.ebuild b/dev-python/xdg/xdg-5.1.0.ebuild new file mode 100644 index 000000000000..97608e9a797d --- /dev/null +++ b/dev-python/xdg/xdg-5.1.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Implementation of the XDG Base Directory Specification in Python" +HOMEPAGE="https://github.com/srstevenson/xdg/ https://pypi.org/project/xdg/" +SRC_URI=" + https://github.com/srstevenson/xdg/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# https://bugs.gentoo.org/773415 +RDEPEND="!dev-python/pyxdg" + +distutils_enable_tests pytest -- cgit v1.3.1