diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-12 00:39:16 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-12 00:39:16 +0000 |
| commit | c76caeeeebc79be65a78483791fc8e219aa4043d (patch) | |
| tree | fc3f510ea8577e2685e49d2efa645fc11775ec23 /dev-python | |
| parent | 250cc4cd7c73640ff6fd8cbe13c6a5c895a8b0ee (diff) | |
| download | baldeagleos-repo-c76caeeeebc79be65a78483791fc8e219aa4043d.tar.gz baldeagleos-repo-c76caeeeebc79be65a78483791fc8e219aa4043d.tar.xz baldeagleos-repo-c76caeeeebc79be65a78483791fc8e219aa4043d.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
101 files changed, 1127 insertions, 262 deletions
diff --git a/dev-python/ansible-compat/ansible-compat-2.0.3.ebuild b/dev-python/ansible-compat/ansible-compat-2.0.3.ebuild index 909d6e1cc910..16d9c42aa27a 100644 --- a/dev-python/ansible-compat/ansible-compat-2.0.3.ebuild +++ b/dev-python/ansible-compat/ansible-compat-2.0.3.ebuild @@ -55,3 +55,7 @@ distutils_enable_sphinx docs \ dev-python/sphinx_ansible_theme distutils_enable_tests pytest + +python_test() { + epytest -p pytest_markdown.plugin +} diff --git a/dev-python/anyio/anyio-3.5.0-r1.ebuild b/dev-python/anyio/anyio-3.5.0-r1.ebuild index 4580ae57ffac..c3115b981166 100644 --- a/dev-python/anyio/anyio-3.5.0-r1.ebuild +++ b/dev-python/anyio/anyio-3.5.0-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/idna-2.8[${PYTHON_USEDEP}] diff --git a/dev-python/arrow/arrow-1.2.2.ebuild b/dev-python/arrow/arrow-1.2.2.ebuild index 375b2ddb52e5..80678836f3d9 100644 --- a/dev-python/arrow/arrow-1.2.2.ebuild +++ b/dev-python/arrow/arrow-1.2.2.ebuild @@ -5,10 +5,14 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + inherit distutils-r1 DESCRIPTION="Better dates and times for Python" -HOMEPAGE="https://github.com/arrow-py/arrow/" +HOMEPAGE=" + https://github.com/arrow-py/arrow/ + https://pypi.org/project/arrow/ +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" @@ -16,14 +20,16 @@ SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" - >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}]" + >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] +" BDEPEND=" test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] dev-python/simplejson[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_tests pytest diff --git a/dev-python/asgiref/asgiref-3.5.1.ebuild b/dev-python/asgiref/asgiref-3.5.1.ebuild index 158e2568d184..c3c670c3a2ef 100644 --- a/dev-python/asgiref/asgiref-3.5.1.ebuild +++ b/dev-python/asgiref/asgiref-3.5.1.ebuild @@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" BDEPEND=" test? ( diff --git a/dev-python/async_generator/async_generator-1.10-r1.ebuild b/dev-python/async_generator/async_generator-1.10-r1.ebuild index a5aa8a02dd11..2b73facd4507 100644 --- a/dev-python/async_generator/async_generator-1.10-r1.ebuild +++ b/dev-python/async_generator/async_generator-1.10-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="|| ( MIT Apache-2.0 )" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" DOCS=( README.rst ) diff --git a/dev-python/beautifulsoup4/beautifulsoup4-4.11.1.ebuild b/dev-python/beautifulsoup4/beautifulsoup4-4.11.1.ebuild index 8023f329be93..be32bb464cea 100644 --- a/dev-python/beautifulsoup4/beautifulsoup4-4.11.1.ebuild +++ b/dev-python/beautifulsoup4/beautifulsoup4-4.11.1.ebuild @@ -21,6 +21,17 @@ RDEPEND=" dev-python/html5lib[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] " +# bs4 prefers cchardet > chardet > charset-normalizer +# however, charset-normalizer causes test failures, so force the other two +# dev-python/chardet[${PYTHON_USEDEP}] +BDEPEND=" + test? ( + || ( + dev-python/cchardet[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + ) + ) +" distutils_enable_tests pytest distutils_enable_sphinx doc/source diff --git a/dev-python/bitarray/Manifest b/dev-python/bitarray/Manifest index c2687c560220..18e8ddfbac58 100644 --- a/dev-python/bitarray/Manifest +++ b/dev-python/bitarray/Manifest @@ -1,2 +1,2 @@ -DIST bitarray-2.4.1.tar.gz 95300 BLAKE2B feee2339f66d0941719fca7bb9a43d3234d1043f894bb52346f89318e586397078d84afd386b027338b5186d609f0197d656288ac9f7f4bbd631e41056d7f24b SHA512 ba623e783bae879833ac7759599c085e86c2acb3c81780ce0df95e2b23764e494a33f1e27e52db8b634b6b04d02ebee693ce0186e7a2bb9bd73906856c19bade DIST bitarray-2.5.0.tar.gz 102225 BLAKE2B 7718579d20c4b0bbcdc6e10608564246c752966af15a580dd33a08808f0135b5d4d2c256ca56c84f73e3e011f26da3ccbd7a7e46ef2463d351f31a7881247f3d SHA512 1b70f41d2cb576be840114edfdd2b7d638051a8267170a55013aa3d997e216eb8889c474ba5bdf018b9fbeda7b6a0e55f2de5f51a573ce40798eff42536e2540 +DIST bitarray-2.5.1.tar.gz 102533 BLAKE2B 655bf2f01d99a60efb84115190397f24b8a9a907f68270a7b310b2f20685616c69c41995a4090c8f4643b844da71045f3bee4e0d48aab6230b4aff04f045a3a6 SHA512 76efa732bb33d34b5b990958ac03d0038e29677808e64c0c6585661ff1d7f6a9511c9337a7aa3adb119ac68dcc676df49b7765a7e38cdab90d8e68af3b83380d diff --git a/dev-python/bitarray/bitarray-2.4.1.ebuild b/dev-python/bitarray/bitarray-2.5.1.ebuild index 823c4c9429cd..823c4c9429cd 100644 --- a/dev-python/bitarray/bitarray-2.4.1.ebuild +++ b/dev-python/bitarray/bitarray-2.5.1.ebuild diff --git a/dev-python/black/black-22.3.0.ebuild b/dev-python/black/black-22.3.0.ebuild index ef7f9ad2e5c3..365eff41694a 100644 --- a/dev-python/black/black-22.3.0.ebuild +++ b/dev-python/black/black-22.3.0.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" >=dev-python/click-8.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/blinker/blinker-1.4-r2.ebuild b/dev-python/blinker/blinker-1.4-r2.ebuild index c16988460033..818f2b41bb05 100644 --- a/dev-python/blinker/blinker-1.4-r2.ebuild +++ b/dev-python/blinker/blinker-1.4-r2.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="doc" distutils_enable_tests nose diff --git a/dev-python/brotlicffi/brotlicffi-1.0.9.2-r1.ebuild b/dev-python/brotlicffi/brotlicffi-1.0.9.2-r1.ebuild index b98b16b70692..48811c995c86 100644 --- a/dev-python/brotlicffi/brotlicffi-1.0.9.2-r1.ebuild +++ b/dev-python/brotlicffi/brotlicffi-1.0.9.2-r1.ebuild @@ -28,7 +28,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND=" app-arch/brotli:= @@ -59,7 +59,3 @@ src_unpack() { src_configure() { export USE_SHARED_BROTLI=1 } - -python_test() { - epytest test -} diff --git a/dev-python/chardet/chardet-4.0.0-r1.ebuild b/dev-python/chardet/chardet-4.0.0-r1.ebuild new file mode 100644 index 000000000000..ecbff74465dd --- /dev/null +++ b/dev-python/chardet/chardet-4.0.0-r1.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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Universal encoding detector" +HOMEPAGE=" + https://github.com/chardet/chardet/ + https://pypi.org/project/chardet/ +" +SRC_URI=" + https://github.com/chardet/chardet/archive/${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/click/click-8.1.3.ebuild b/dev-python/click/click-8.1.3.ebuild index 3ba21ecffbb3..b0122c4728d1 100644 --- a/dev-python/click/click-8.1.3.ebuild +++ b/dev-python/click/click-8.1.3.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" IUSE="examples" distutils_enable_sphinx docs \ diff --git a/dev-python/colorama/colorama-0.4.4-r1.ebuild b/dev-python/colorama/colorama-0.4.4-r1.ebuild new file mode 100644 index 000000000000..8d70deaca515 --- /dev/null +++ b/dev-python/colorama/colorama-0.4.4-r1.ebuild @@ -0,0 +1,48 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="ANSI escape character sequences for colored terminal text & cursor positioning" +HOMEPAGE=" + https://pypi.org/project/colorama/ + https://github.com/tartley/colorama/ +" +# https://github.com/tartley/colorama/pull/183 +SRC_URI="https://github.com/tartley/${PN}/archive/${PV}.tar.gz -> ${P}.github.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="examples test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + docinto examples + dodoc -r demos/. + docompress -x /usr/share/doc/${PF}/examples + fi +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # Some tests require stdout to be a TTY + # https://github.com/tartley/colorama/issues/169 + script -eqc "${EPYTHON} -m pytest -vv -s" /dev/null \ + || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/commonmark/commonmark-0.9.1-r1.ebuild b/dev-python/commonmark/commonmark-0.9.1-r1.ebuild new file mode 100644 index 000000000000..bf1b26c6ecba --- /dev/null +++ b/dev-python/commonmark/commonmark-0.9.1-r1.ebuild @@ -0,0 +1,45 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python parser for the CommonMark Markdown spec" +HOMEPAGE=" + https://pypi.org/project/commonmark/ + https://github.com/readthedocs/commonmark.py/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + >=dev-python/hypothesis-3.7.1[${PYTHON_USEDEP}] + ) +" + +python_test() { + local -x PYTHONIOENCODING='utf8' + "${EPYTHON}" commonmark/tests/run_spec_tests.py || die +} + +src_prepare() { + default + # Fix file collision with app-text/cmark, see bug #627034 + sed -i -e "s:'cmark\( = commonmark.cmark\:main'\):'cmark.py\1:" \ + setup.py || die +} + +pkg_postinst() { + ewarn "/usr/bin/cmark has been renamed to /usr/bin/cmark.py due file" + ewarn "collision with app-text/cmark (see bug #627034)" +} diff --git a/dev-python/commonmark/commonmark-0.9.1.ebuild b/dev-python/commonmark/commonmark-0.9.1.ebuild index 6c0e4c9e1cb4..406eecd45e22 100644 --- a/dev-python/commonmark/commonmark-0.9.1.ebuild +++ b/dev-python/commonmark/commonmark-0.9.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/dictdiffer/dictdiffer-0.9.0.ebuild b/dev-python/dictdiffer/dictdiffer-0.9.0.ebuild index 9f6383ac862f..3a2ec14da1a4 100644 --- a/dev-python/dictdiffer/dictdiffer-0.9.0.ebuild +++ b/dev-python/dictdiffer/dictdiffer-0.9.0.ebuild @@ -14,7 +14,7 @@ HOMEPAGE=" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" SLOT="0" BDEPEND=" diff --git a/dev-python/distlib/distlib-0.3.4-r2.ebuild b/dev-python/distlib/distlib-0.3.4-r2.ebuild new file mode 100644 index 000000000000..2f6df4bed940 --- /dev/null +++ b/dev-python/distlib/distlib-0.3.4-r2.ebuild @@ -0,0 +1,65 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="Low-level components of distutils2/packaging" +HOMEPAGE=" + https://pypi.org/project/distlib/ + https://bitbucket.org/pypa/distlib/ +" +# pypi has zip only :-( +SRC_URI=" + https://bitbucket.org/pypa/distlib/get/${PV}.tar.bz2 -> ${P}.tar.bz2 +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +# pypiserver is called as external executable +# openpyxl installs invalid metadata that breaks distlib +BDEPEND=" + test? ( + dev-python/pypiserver + !!<dev-python/openpyxl-3.0.3[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + # make sure they're not used + rm tests/pypi-server-standalone.py || die + + # use system pypiserver instead of broken bundled one + eapply "${FILESDIR}"/distlib-0.3.2-system-pypiserver.py || die + + # doesn't work with our patched pip + sed -i -e '/PIP_AVAIL/s:True:False:' tests/test_wheel.py || die + + # broken with pypy3 + sed -i -e 's:test_custom_shebang:_&:' tests/test_scripts.py || die + # broken with py3.11, doesn't look important + sed -i -e 's:test_sequencer_basic:_&:' tests/test_util.py || die + + distutils-r1_src_prepare +} + +python_test() { + local -x SKIP_ONLINE=1 + local -x PYTHONHASHSEED=0 + + # disable system-site-packages -- distlib has no deps, and is very + # fragile to packages actually installed on the system + sed -i -e '/system-site-packages/s:true:false:' \ + "${BUILD_DIR}/install${EPREFIX}/usr/bin/pyvenv.cfg" || die + + "${EPYTHON}" tests/test_all.py -v -x || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/dnspython/dnspython-2.2.1.ebuild b/dev-python/dnspython/dnspython-2.2.1.ebuild index 5c94abbdd5df..4d639f9fc051 100644 --- a/dev-python/dnspython/dnspython-2.2.1.ebuild +++ b/dev-python/dnspython/dnspython-2.2.1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/rthalley/dnspython/archive/v${PV}.tar.gz -> ${P}.tar LICENSE="ISC" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" IUSE="examples" RDEPEND=" diff --git a/dev-python/editables/editables-0.3.ebuild b/dev-python/editables/editables-0.3.ebuild index 4d6cbc42189d..2fee41eb04af 100644 --- a/dev-python/editables/editables-0.3.ebuild +++ b/dev-python/editables/editables-0.3.ebuild @@ -20,6 +20,6 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" distutils_enable_tests pytest diff --git a/dev-python/flask/flask-2.1.2.ebuild b/dev-python/flask/flask-2.1.2.ebuild index a249e403100c..36f79db66907 100644 --- a/dev-python/flask/flask-2.1.2.ebuild +++ b/dev-python/flask/flask-2.1.2.ebuild @@ -21,7 +21,7 @@ if [[ ${PV} == *9999* ]]; then inherit git-r3 else SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" S="${WORKDIR}/${MY_P}" fi diff --git a/dev-python/freezegun/freezegun-1.2.1.ebuild b/dev-python/freezegun/freezegun-1.2.1.ebuild index b5d2808461e4..a6a13be48093 100644 --- a/dev-python/freezegun/freezegun-1.2.1.ebuild +++ b/dev-python/freezegun/freezegun-1.2.1.ebuild @@ -22,7 +22,6 @@ RDEPEND=" BDEPEND=" test? ( $(python_gen_impl_dep sqlite) - dev-python/nose[${PYTHON_USEDEP}] ) " diff --git a/dev-python/fuzzywuzzy/fuzzywuzzy-0.18.0.ebuild b/dev-python/fuzzywuzzy/fuzzywuzzy-0.18.0.ebuild index a40944fa5fd0..b46c2b8c1162 100644 --- a/dev-python/fuzzywuzzy/fuzzywuzzy-0.18.0.ebuild +++ b/dev-python/fuzzywuzzy/fuzzywuzzy-0.18.0.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="Fuzzy string matching in python" HOMEPAGE="https://github.com/seatgeek/fuzzywuzzy" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" LICENSE="GPL-2" SLOT="0" diff --git a/dev-python/greenlet/greenlet-1.1.2-r1.ebuild b/dev-python/greenlet/greenlet-1.1.2-r1.ebuild new file mode 100644 index 000000000000..698f9f37f098 --- /dev/null +++ b/dev-python/greenlet/greenlet-1.1.2-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 +# Note: greenlet is built-in in pypy +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Lightweight in-process concurrent programming" +HOMEPAGE=" + https://greenlet.readthedocs.io/en/latest/ + https://github.com/python-greenlet/greenlet/ + https://pypi.org/project/greenlet/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa -ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +distutils_enable_sphinx docs +distutils_enable_tests unittest + +python_test() { + eunittest greenlet.tests +} diff --git a/dev-python/h11/h11-0.13.0-r1.ebuild b/dev-python/h11/h11-0.13.0-r1.ebuild index 9159c8772981..8f732eaa1ae8 100644 --- a/dev-python/h11/h11-0.13.0-r1.ebuild +++ b/dev-python/h11/h11-0.13.0-r1.ebuild @@ -14,6 +14,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" distutils_enable_tests pytest diff --git a/dev-python/hatch-vcs/hatch-vcs-0.2.0.ebuild b/dev-python/hatch-vcs/hatch-vcs-0.2.0.ebuild index e359eda05c6d..d4d2eb823f0a 100644 --- a/dev-python/hatch-vcs/hatch-vcs-0.2.0.ebuild +++ b/dev-python/hatch-vcs/hatch-vcs-0.2.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~loong ~m68k ~riscv" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/setuptools_scm-6.4.0[${PYTHON_USEDEP}] diff --git a/dev-python/hatchling/hatchling-0.24.0.ebuild b/dev-python/hatchling/hatchling-0.24.0.ebuild index 22cc12577e6f..5a0986acfd11 100644 --- a/dev-python/hatchling/hatchling-0.24.0.ebuild +++ b/dev-python/hatchling/hatchling-0.24.0.ebuild @@ -13,17 +13,17 @@ MY_P=hatch-${TAG} DESCRIPTION="Modern, extensible Python build backend" HOMEPAGE=" https://pypi.org/project/hatchling/ - https://github.com/ofek/hatch/ + https://github.com/pypa/hatch/ " SRC_URI=" - https://github.com/ofek/hatch/archive/${TAG}.tar.gz + https://github.com/pypa/hatch/archive/${TAG}.tar.gz -> ${MY_P}.tar.gz " S=${WORKDIR}/${MY_P}/backend LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/editables-0.2[${PYTHON_USEDEP}] @@ -35,25 +35,27 @@ RDEPEND=" BDEPEND=" ${RDEPEND} test? ( - dev-python/atomicwrites[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/platformdirs[${PYTHON_USEDEP}] - dev-python/rich[${PYTHON_USEDEP}] - dev-python/tomli-w[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/atomicwrites[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ' pypy3 python3_{8..10} # TODO: 3.11 when deps are ported + ) ) " distutils_enable_tests pytest -python_compile() { - # TODO: remove this when gpep517 is the norm - local -x PYTHONPATH=src - distutils-r1_python_compile -} - python_test() { + if ! has "${EPYTHON}" pypy3 python3.{8..10}; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + local -x EPYTEST_DESELECT=( # these run pip to install stuff tests/backend/dep/test_core.py::test_dependency_found diff --git a/dev-python/html5lib/html5lib-1.1-r1.ebuild b/dev-python/html5lib/html5lib-1.1-r1.ebuild new file mode 100644 index 000000000000..7e11168e192b --- /dev/null +++ b/dev-python/html5lib/html5lib-1.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 + +DESCRIPTION="HTML parser based on the HTML5 specification" +HOMEPAGE=" + https://github.com/html5lib/html5lib-python/ + https://html5lib.readthedocs.io/ + https://pypi.org/project/html5lib/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +PATCHES=( + "${FILESDIR}"/${P}-pytest6.patch +) + +RDEPEND=" + >=dev-python/six-1.9[${PYTHON_USEDEP}] + dev-python/webencodings[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-expect[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/httpcore/httpcore-0.14.7-r1.ebuild b/dev-python/httpcore/httpcore-0.14.7-r1.ebuild index d45d26ede7de..470d0fd62c81 100644 --- a/dev-python/httpcore/httpcore-0.14.7-r1.ebuild +++ b/dev-python/httpcore/httpcore-0.14.7-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" =dev-python/anyio-3*[${PYTHON_USEDEP}] diff --git a/dev-python/httpx/httpx-0.22.0-r2.ebuild b/dev-python/httpx/httpx-0.22.0-r2.ebuild index bfa3ddccac3d..e80b6c6686a9 100644 --- a/dev-python/httpx/httpx-0.22.0-r2.ebuild +++ b/dev-python/httpx/httpx-0.22.0-r2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="cli" RDEPEND=" diff --git a/dev-python/hypothesis/hypothesis-6.46.2.ebuild b/dev-python/hypothesis/hypothesis-6.46.2.ebuild index 790178ad93ef..638116e02c47 100644 --- a/dev-python/hypothesis/hypothesis-6.46.2.ebuild +++ b/dev-python/hypothesis/hypothesis-6.46.2.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" IUSE="cli" RDEPEND=" diff --git a/dev-python/ini2toml/ini2toml-0.10.ebuild b/dev-python/ini2toml/ini2toml-0.10.ebuild index e636e78c959f..5e27f43e01d8 100644 --- a/dev-python/ini2toml/ini2toml-0.10.ebuild +++ b/dev-python/ini2toml/ini2toml-0.10.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/packaging-20.7[${PYTHON_USEDEP}] diff --git a/dev-python/iocapture/iocapture-0.1.2-r3.ebuild b/dev-python/iocapture/iocapture-0.1.2-r3.ebuild new file mode 100644 index 000000000000..8a1180a5dc8c --- /dev/null +++ b/dev-python/iocapture/iocapture-0.1.2-r3.ebuild @@ -0,0 +1,23 @@ +# 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} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Capture stdout, stderr easily" +HOMEPAGE="https://pypi.org/project/iocapture/" +SRC_URI="https://github.com/oinume/iocapture/archive/${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +LICENSE="MIT" + +BDEPEND=" + test? ( + dev-python/six[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/iocapture/metadata.xml b/dev-python/iocapture/metadata.xml index 853174b8f2ab..ea8988e8af6a 100644 --- a/dev-python/iocapture/metadata.xml +++ b/dev-python/iocapture/metadata.xml @@ -7,4 +7,5 @@ </maintainer> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/isoduration/isoduration-20.11.0-r1.ebuild b/dev-python/isoduration/isoduration-20.11.0-r1.ebuild new file mode 100644 index 000000000000..41d2049d3187 --- /dev/null +++ b/dev-python/isoduration/isoduration-20.11.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Operations with ISO 8601 durations" +HOMEPAGE=" + https://pypi.org/project/isoduration/ + https://github.com/bolsote/isoduration/ +" +SRC_URI=" + https://github.com/bolsote/isoduration/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/arrow-0.15.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/isodate[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + tests/test_benchmark.py +) diff --git a/dev-python/jsonschema/jsonschema-4.5.1.ebuild b/dev-python/jsonschema/jsonschema-4.5.1.ebuild index d4bdf59d058a..0bae6266f5d2 100644 --- a/dev-python/jsonschema/jsonschema-4.5.1.ebuild +++ b/dev-python/jsonschema/jsonschema-4.5.1.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" dev-python/attrs[${PYTHON_USEDEP}] diff --git a/dev-python/markupsafe/markupsafe-2.1.1.ebuild b/dev-python/markupsafe/markupsafe-2.1.1.ebuild index 31dd1df5f533..e785510b8e1f 100644 --- a/dev-python/markupsafe/markupsafe-2.1.1.ebuild +++ b/dev-python/markupsafe/markupsafe-2.1.1.ebuild @@ -12,7 +12,11 @@ MY_PN="MarkupSafe" MY_P="${MY_PN}-${PV}" DESCRIPTION="Implements a XML/HTML/XHTML Markup safe string for Python" -HOMEPAGE="https://pypi.org/project/MarkupSafe/" +HOMEPAGE=" + https://palletsprojects.com/p/markupsafe/ + https://github.com/pallets/markupsafe/ + https://pypi.org/project/MarkupSafe/ +" SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" S=${WORKDIR}/${MY_P} diff --git a/dev-python/nptyping/nptyping-2.0.1.ebuild b/dev-python/nptyping/nptyping-2.0.1.ebuild index 332aee91e13e..2cdc8545d4e0 100644 --- a/dev-python/nptyping/nptyping-2.0.1.ebuild +++ b/dev-python/nptyping/nptyping-2.0.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" dev-python/numpy[${PYTHON_USEDEP}] diff --git a/dev-python/outcome/outcome-1.1.0-r1.ebuild b/dev-python/outcome/outcome-1.1.0-r1.ebuild index 80acdf2fe273..b341888f7ba4 100644 --- a/dev-python/outcome/outcome-1.1.0-r1.ebuild +++ b/dev-python/outcome/outcome-1.1.0-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" dev-python/attrs[${PYTHON_USEDEP}] diff --git a/dev-python/pathspec/pathspec-0.9.0-r1.ebuild b/dev-python/pathspec/pathspec-0.9.0-r1.ebuild new file mode 100644 index 000000000000..3ac00704d7fe --- /dev/null +++ b/dev-python/pathspec/pathspec-0.9.0-r1.ebuild @@ -0,0 +1,22 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Utility library for gitignore style pattern matching of file paths" +HOMEPAGE=" + https://github.com/cpburnz/python-path-specification/ + https://pypi.org/project/pathspec/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +distutils_enable_tests unittest diff --git a/dev-python/platformdirs/platformdirs-2.5.2.ebuild b/dev-python/platformdirs/platformdirs-2.5.2.ebuild index 7bfa72b9c45d..bc60bec1511c 100644 --- a/dev-python/platformdirs/platformdirs-2.5.2.ebuild +++ b/dev-python/platformdirs/platformdirs-2.5.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~loong ~m68k ~riscv" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" BDEPEND=" dev-python/hatch-vcs[${PYTHON_USEDEP}] diff --git a/dev-python/psutil/Manifest b/dev-python/psutil/Manifest index a8eb6c71de71..558b4186bfca 100644 --- a/dev-python/psutil/Manifest +++ b/dev-python/psutil/Manifest @@ -1,2 +1 @@ -DIST psutil-5.7.3.tar.gz 465556 BLAKE2B 6a9f31fcba571f381c1f4c904a9ff65659d13ed64e91df478aa7df4dabb87a35c4fbd9c0491a3d10b9eaf0fdcc8f2407fcf7144e729043eda605dfe6e6f93844 SHA512 8fcff56dd4e4c1b877c09023721e6f562424f7f84ae5304d518976a1e7f21dd026772f1abfc063bdd0857a375bc869f42febde090dc0b65918d1ebf44e3ad71d DIST psutil-5.9.0.tar.gz 478322 BLAKE2B 763c8ae14ae546bed64a360047d2ce38783e9e7e939160f751c4ccc94b8e023aaa4cdca426f584e05dae8b1326333660e216d7cb3edd820e24a931dddfa5160f SHA512 b521cfce51e90fdf87ba19bf8069877e3210aede92c17460ea0b00324a36e133168e4bff550462d07ab6d93c597c6560d68954340031ff43168d54a8e5d4c4e7 diff --git a/dev-python/psutil/files/psutil-5.7.2-tests.patch b/dev-python/psutil/files/psutil-5.7.2-tests.patch deleted file mode 100644 index 3faaedad6661..000000000000 --- a/dev-python/psutil/files/psutil-5.7.2-tests.patch +++ /dev/null @@ -1,112 +0,0 @@ -From e910d08976e00bc12b5a516daa9e6a6d42d48354 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Wed, 19 Feb 2020 07:27:32 +0100 -Subject: [PATCH] Skip broken tests on Gentoo - ---- - psutil/tests/test_linux.py | 8 ++++++++ - psutil/tests/test_posix.py | 1 + - psutil/tests/test_process.py | 2 ++ - psutil/tests/test_system.py | 1 + - 4 files changed, 12 insertions(+) - -diff --git a/psutil/tests/test_linux.py b/psutil/tests/test_linux.py -index e51f8bd5..48527ccb 100755 ---- a/psutil/tests/test_linux.py -+++ b/psutil/tests/test_linux.py -@@ -17,5 +17,6 @@ import re - import shutil - import socket - import struct -+import sys - import textwrap - import time -@@ -381,6 +382,8 @@ class TestSystemVirtualMemory(unittest.TestCase): - ret = psutil.virtual_memory() - assert m.called - self.assertEqual(ret.available, 2057400 * 1024 + 4818144 * 1024) -+ if sys.version_info < (3,): -+ return - w = ws[0] - self.assertIn( - "inactive memory stats couldn't be determined", str(w.message)) -@@ -411,6 +414,8 @@ class TestSystemVirtualMemory(unittest.TestCase): - ret = psutil.virtual_memory() - self.assertEqual( - ret.available, 2057400 * 1024 + 4818144 * 1024) -+ if sys.version_info < (3,): -+ return - w = ws[0] - self.assertIn( - "inactive memory stats couldn't be determined", -@@ -882,6 +887,7 @@ class TestLoadAvg(unittest.TestCase): - @unittest.skipIf(not LINUX, "LINUX only") - class TestSystemNetIfAddrs(unittest.TestCase): - -+ @unittest.skip("broken on Gentoo") - def test_ips(self): - for name, addrs in psutil.net_if_addrs().items(): - for addr in addrs: -@@ -1364,7 +1370,8 @@ class TestMisc(unittest.TestCase): - psutil.PROCFS_PATH = "/proc" - os.rmdir(tdir) - - @retry_on_failure() -+ @unittest.skip("broken on Gentoo") - def test_issue_687(self): - # In case of thread ID: - # - pid_exists() is supposed to return False -@@ -2073,6 +2080,7 @@ class TestProcessAgainstStatus(unittest.TestCase): - value = self.read_status_file("nonvoluntary_ctxt_switches:") - self.assertEqual(self.proc.num_ctx_switches().involuntary, value) - -+ @unittest.skip("broken on Gentoo") - def test_cpu_affinity(self): - value = self.read_status_file("Cpus_allowed_list:") - if '-' in str(value): -diff --git a/psutil/tests/test_posix.py b/psutil/tests/test_posix.py -index a96b310f..70199203 100755 ---- a/psutil/tests/test_posix.py -+++ b/psutil/tests/test_posix.py -@@ -364,6 +364,7 @@ class TestSystemAPIs(unittest.TestCase): - "couldn't find %s nic in 'ifconfig -a' output\n%s" % ( - nic, output)) - -+ @unittest.skip("broken on Gentoo") - @unittest.skipIf(CI_TESTING and not psutil.users(), "unreliable on CI") - @retry_on_failure() - def test_users(self): -diff --git a/psutil/tests/test_process.py b/psutil/tests/test_process.py -index 987bdf38..cb04f3ef 100755 ---- a/psutil/tests/test_process.py -+++ b/psutil/tests/test_process.py -@@ -350,6 +350,7 @@ class TestProcess(unittest.TestCase): - self.assertGreaterEqual(io2[i], 0) - self.assertGreaterEqual(io2[i], 0) - -+ @unittest.skip("fails if builder is ioniced already") - @unittest.skipIf(not HAS_IONICE, "not supported") - @unittest.skipIf(not LINUX, "linux only") - def test_ionice_linux(self): -@@ -1495,6 +1496,7 @@ class TestProcess(unittest.TestCase): - d2 = clean_dict(os.environ.copy()) - self.assertEqual(d1, d2) - -+ @unittest.skip("broken by sandbox") - @unittest.skipIf(not HAS_ENVIRON, "not supported") - @unittest.skipIf(not POSIX, "POSIX only") - def test_weird_environ(self): -diff --git a/psutil/tests/test_system.py b/psutil/tests/test_system.py -index 3834209f..b07b5883 100755 ---- a/psutil/tests/test_system.py -+++ b/psutil/tests/test_system.py -@@ -215,6 +215,7 @@ class TestMiscAPIs(unittest.TestCase): - self.assertGreater(bt, 0) - self.assertLess(bt, time.time()) - -+ @unittest.skip("broken on Gentoo") - @unittest.skipIf(CI_TESTING and not psutil.users(), "unreliable on CI") - def test_users(self): - users = psutil.users() --- -2.25.1 diff --git a/dev-python/psutil/psutil-5.7.3.ebuild b/dev-python/psutil/psutil-5.7.3.ebuild deleted file mode 100644 index 76185bd65f2a..000000000000 --- a/dev-python/psutil/psutil-5.7.3.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Retrieve information on running processes and system utilization" -HOMEPAGE="https://github.com/giampaolo/psutil https://pypi.org/project/psutil/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}/psutil-5.7.2-tests.patch" -) - -python_test() { - if [[ ${EPYTHON} == pypy* ]]; then - ewarn "Not running tests on ${EPYTHON} since they are broken" - return 0 - fi - - # since we are running in an environment a bit similar to CI, - # let's skip the tests that are disable for CI - TRAVIS=1 APPVEYOR=1 "${EPYTHON}" psutil/tests/runner.py || - die "tests failed with ${EPYTHON}" -} - -python_compile() { - # force -j1 to avoid .o linking race conditions - local MAKEOPTS=-j1 - distutils-r1_python_compile -} diff --git a/dev-python/psutil/psutil-5.9.0.ebuild b/dev-python/psutil/psutil-5.9.0.ebuild index 267dff72dcf6..6d9d86d46881 100644 --- a/dev-python/psutil/psutil-5.9.0.ebuild +++ b/dev-python/psutil/psutil-5.9.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/pyasn1-modules/pyasn1-modules-0.2.8-r2.ebuild b/dev-python/pyasn1-modules/pyasn1-modules-0.2.8-r2.ebuild new file mode 100644 index 000000000000..5c65afd2b4bb --- /dev/null +++ b/dev-python/pyasn1-modules/pyasn1-modules-0.2.8-r2.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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="pyasn1 modules" +HOMEPAGE=" + https://pypi.org/project/pyasn1-modules/ + https://github.com/etingof/pyasn1-modules/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +RDEPEND=" + >=dev-python/pyasn1-0.4.6[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_install_all() { + distutils-r1_python_install_all + insinto /usr/share/${P} + doins -r tools +} diff --git a/dev-python/pyasn1/pyasn1-0.4.8-r2.ebuild b/dev-python/pyasn1/pyasn1-0.4.8-r2.ebuild new file mode 100644 index 000000000000..100f2bad0ae3 --- /dev/null +++ b/dev-python/pyasn1/pyasn1-0.4.8-r2.ebuild @@ -0,0 +1,23 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="ASN.1 library for Python" +HOMEPAGE=" + https://pypi.org/project/pyasn1/ + https://github.com/etingof/pyasn1/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos" + +distutils_enable_tests unittest +distutils_enable_sphinx "docs/source" diff --git a/dev-python/pydantic/pydantic-1.9.0-r3.ebuild b/dev-python/pydantic/pydantic-1.9.0-r4.ebuild index f174ab6a3d9b..94cc19e29618 100644 --- a/dev-python/pydantic/pydantic-1.9.0-r3.ebuild +++ b/dev-python/pydantic/pydantic-1.9.0-r4.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" dev-python/typing-extensions[${PYTHON_USEDEP}] @@ -25,7 +25,7 @@ BDEPEND=" dev-python/hypothesis[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] dev-python/python-dotenv[${PYTHON_USEDEP}] - <dev-python/python-email-validator-1.2[${PYTHON_USEDEP}] + >=dev-python/python-email-validator-1.2.1[${PYTHON_USEDEP}] ) " diff --git a/dev-python/pygments/pygments-2.12.0-r1.ebuild b/dev-python/pygments/pygments-2.12.0-r1.ebuild new file mode 100644 index 000000000000..224a0e11327c --- /dev/null +++ b/dev-python/pygments/pygments-2.12.0-r1.ebuild @@ -0,0 +1,45 @@ +# 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} pypy3 ) + +inherit distutils-r1 bash-completion-r1 + +MY_P=${P^} +DESCRIPTION="Pygments is a syntax highlighting package written in Python" +HOMEPAGE=" + https://pygments.org/ + https://github.com/pygments/pygments/ + https://pypi.org/project/Pygments/ +" +SRC_URI="mirror://pypi/${MY_P:0:1}/${PN^}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/wcag-contrast-ratio[${PYTHON_USEDEP}] + virtual/ttf-fonts + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-2.11.2-fix-docs-relative.patch" +) + +distutils_enable_sphinx doc \ + dev-python/wcag-contrast-ratio +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + newbashcomp external/pygments.bashcomp pygmentize +} diff --git a/dev-python/pyrsistent/pyrsistent-0.18.1-r1.ebuild b/dev-python/pyrsistent/pyrsistent-0.18.1-r1.ebuild new file mode 100644 index 000000000000..353aa86068a5 --- /dev/null +++ b/dev-python/pyrsistent/pyrsistent-0.18.1-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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Persistent/Functional/Immutable data structures" +HOMEPAGE=" + https://github.com/tobgu/pyrsistent/ + https://pypi.org/project/pyrsistent/ +" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.18.3.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.18.3.ebuild index bfa95df4e63b..7a5633ae7ef1 100644 --- a/dev-python/pytest-asyncio/pytest-asyncio-0.18.3.ebuild +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.18.3.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" >=dev-python/pytest-5.4.0[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-check/pytest-check-1.0.5.ebuild b/dev-python/pytest-check/pytest-check-1.0.5.ebuild index 7e4602c6367a..8d64d0b0eb18 100644 --- a/dev-python/pytest-check/pytest-check-1.0.5.ebuild +++ b/dev-python/pytest-check/pytest-check-1.0.5.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/pytest-6[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-expect/pytest-expect-1.1.0-r2.ebuild b/dev-python/pytest-expect/pytest-expect-1.1.0-r2.ebuild new file mode 100644 index 000000000000..4efa30e0a3ba --- /dev/null +++ b/dev-python/pytest-expect/pytest-expect-1.1.0-r2.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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="pytest plugin that stores test expectations by saving the set of failing tests" +HOMEPAGE=" + https://github.com/gsnedders/pytest-expect/ + https://pypi.org/project/pytest-expect/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +# no tests +RESTRICT="test" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/u-msgpack-python[${PYTHON_USEDEP}] +" diff --git a/dev-python/pytest-httpbin/pytest-httpbin-1.0.2.ebuild b/dev-python/pytest-httpbin/pytest-httpbin-1.0.2.ebuild index 073308cd1b42..27ac176e2689 100644 --- a/dev-python/pytest-httpbin/pytest-httpbin-1.0.2.ebuild +++ b/dev-python/pytest-httpbin/pytest-httpbin-1.0.2.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/kevin1024/pytest-httpbin/archive/v${PV}.tar.gz -> ${ LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" RDEPEND=" dev-python/httpbin[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-ordering/pytest-ordering-0.6.ebuild b/dev-python/pytest-ordering/pytest-ordering-0.6.ebuild index 8d216b5bbc16..15ef512bd1de 100644 --- a/dev-python/pytest-ordering/pytest-ordering-0.6.ebuild +++ b/dev-python/pytest-ordering/pytest-ordering-0.6.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/ftobia/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" diff --git a/dev-python/pytest-toolbox/pytest-toolbox-0.4-r1.ebuild b/dev-python/pytest-toolbox/pytest-toolbox-0.4-r1.ebuild index bfdb452443b0..0b404b7e4918 100644 --- a/dev-python/pytest-toolbox/pytest-toolbox-0.4-r1.ebuild +++ b/dev-python/pytest-toolbox/pytest-toolbox-0.4-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" BDEPEND=" test? ( diff --git a/dev-python/pytest-trio/pytest-trio-0.7.0-r1.ebuild b/dev-python/pytest-trio/pytest-trio-0.7.0-r1.ebuild index e38c75d85198..d5fce9774cf5 100644 --- a/dev-python/pytest-trio/pytest-trio-0.7.0-r1.ebuild +++ b/dev-python/pytest-trio/pytest-trio-0.7.0-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="|| ( MIT Apache-2.0 )" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/async_generator-1.9[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-xprocess/pytest-xprocess-0.18.1-r1.ebuild b/dev-python/pytest-xprocess/pytest-xprocess-0.18.1-r1.ebuild new file mode 100644 index 000000000000..2b1cad8edf6a --- /dev/null +++ b/dev-python/pytest-xprocess/pytest-xprocess-0.18.1-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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Manage external processes across test runs" +HOMEPAGE=" + https://pypi.org/project/pytest-xprocess/ + https://github.com/pytest-dev/pytest-xprocess/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/python-dateutil/python-dateutil-2.8.2-r1.ebuild b/dev-python/python-dateutil/python-dateutil-2.8.2-r1.ebuild new file mode 100644 index 000000000000..a2a533c2dd21 --- /dev/null +++ b/dev-python/python-dateutil/python-dateutil-2.8.2-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Extensions to the standard Python datetime module" +HOMEPAGE=" + https://dateutil.readthedocs.io/ + https://pypi.org/project/python-dateutil/ + https://github.com/dateutil/dateutil/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +RDEPEND=" + >=dev-python/six-1.5[${PYTHON_USEDEP}] + sys-libs/timezone-data +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/python-dateutil-2.8.2-system-tzdata.patch" + "${FILESDIR}/python-dateutil-2.8.1-no-pytest-cov.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + # don't install zoneinfo tarball + sed -i '/package_data=/d' setup.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/python-dotenv/python-dotenv-0.20.0.ebuild b/dev-python/python-dotenv/python-dotenv-0.20.0.ebuild index 4e0489c03409..58092b21b320 100644 --- a/dev-python/python-dotenv/python-dotenv-0.20.0.ebuild +++ b/dev-python/python-dotenv/python-dotenv-0.20.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" DEPEND=" test? ( diff --git a/dev-python/python-email-validator/python-email-validator-1.1.3.ebuild b/dev-python/python-email-validator/python-email-validator-1.1.3.ebuild index d31ab9a3be0d..200e16827523 100644 --- a/dev-python/python-email-validator/python-email-validator-1.1.3.ebuild +++ b/dev-python/python-email-validator/python-email-validator-1.1.3.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://github.com/JoshData/python-email-validator" SRC_URI="https://github.com/JoshData/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="CC0-1.0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" SLOT="0" RDEPEND=" diff --git a/dev-python/python-levenshtein/python-levenshtein-0.12.2.ebuild b/dev-python/python-levenshtein/python-levenshtein-0.12.2.ebuild index 9a2baca483b0..4ddc4b111093 100644 --- a/dev-python/python-levenshtein/python-levenshtein-0.12.2.ebuild +++ b/dev-python/python-levenshtein/python-levenshtein-0.12.2.ebuild @@ -18,4 +18,4 @@ S="${WORKDIR}/${MY_P}" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" diff --git a/dev-python/python-poppler-qt5/Manifest b/dev-python/python-poppler-qt5/Manifest index 1139449118c1..ac4ae3ac9c84 100644 --- a/dev-python/python-poppler-qt5/Manifest +++ b/dev-python/python-poppler-qt5/Manifest @@ -1 +1,2 @@ DIST python-poppler-qt5-0.75.0.tar.gz 23281 BLAKE2B 06b2b0899d2a3cfc84e623b98cc3379aa45ac9ca9267f25168cce04f2ed761fd897043376fda3386b2daff2b46850b24782cafd6aabb13a8e7d6f3920b55a02c SHA512 2f03036a2eaeb8e28875f19a813ff85a91c1e9a94301bdb736ecc50e7ececb4de2622728e6fecbf64e114435529f82b6afd23d772e2d3910ae03d5d2b5da3205 +DIST python-poppler-qt5-21.3.0.tar.gz 25641 BLAKE2B 5937f1ddc1493bb1ef1d98b91dd8ccec4bd8c835956d84c8d7ce7a1cedcbe16854861e1f13825812e0f74c335020f0d74aad2d2bbc7a5780c6eb3ac77437f13b SHA512 cc942a860c2c999ff04fb0468b1556b0e23e7aa19a0185a39c5e903e717dca64bcbd51b8fe34b6885bd789cbf5cc1080c2ca1dcee30b3e69fa1721618e8db278 diff --git a/dev-python/python-poppler-qt5/python-poppler-qt5-21.3.0.ebuild b/dev-python/python-poppler-qt5/python-poppler-qt5-21.3.0.ebuild new file mode 100644 index 000000000000..4a3c06884db6 --- /dev/null +++ b/dev-python/python-poppler-qt5/python-poppler-qt5-21.3.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=sip +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 multiprocessing qmake-utils + +DESCRIPTION="Python binding for libpoppler-qt5" +HOMEPAGE="https://github.com/frescobaldi/python-poppler-qt5" +SRC_URI="https://github.com/frescobaldi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + app-text/poppler[qt5] + dev-python/PyQt5[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +src_configure() { + DISTUTILS_ARGS=( + --jobs="$(makeopts_jobs)" + --qmake="$(qt5_get_bindir)"/qmake + --qmake-setting="$(qt5_get_qmake_args)" + --verbose + ) +} diff --git a/dev-python/rfc3339-validator/rfc3339-validator-0.1.4-r1.ebuild b/dev-python/rfc3339-validator/rfc3339-validator-0.1.4-r1.ebuild new file mode 100644 index 000000000000..9071c67078bf --- /dev/null +++ b/dev-python/rfc3339-validator/rfc3339-validator-0.1.4-r1.ebuild @@ -0,0 +1,35 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A pure python RFC3339 validator" +HOMEPAGE=" + https://github.com/naimetti/rfc3339-validator/ + https://pypi.org/project/rfc3339-validator/ +" +SRC_URI=" + https://github.com/naimetti/rfc3339-validator/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/strict-rfc3339[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild b/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild index 62b06095c4eb..af97d4e79b8f 100644 --- a/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild +++ b/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild @@ -5,15 +5,17 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + inherit distutils-r1 -# 0.1.1 isn't tagged on GitHub -COMMIT_HASH="ee3dcca0df300e0584e129a4ab81828be002684b" MY_PN="${PN//-/_}" MY_P="${MY_PN}-${PV}" DESCRIPTION="Pure python RFC3986 validator" -HOMEPAGE="https://pypi.org/project/rfc3986-validator/ https://github.com/naimetti/rfc3986-validator" +HOMEPAGE=" + https://pypi.org/project/rfc3986-validator/ + https://github.com/naimetti/rfc3986-validator +" SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" S=${WORKDIR}/${MY_P} @@ -21,8 +23,14 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -RDEPEND="dev-python/rfc3987[${PYTHON_USEDEP}]" -BDEPEND="test? ( dev-python/hypothesis[${PYTHON_USEDEP}] )" +RDEPEND=" + dev-python/rfc3987[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" distutils_enable_tests pytest diff --git a/dev-python/rfc3987/rfc3987-1.3.8-r2.ebuild b/dev-python/rfc3987/rfc3987-1.3.8-r2.ebuild index 5d8da0f05d49..213451986e53 100644 --- a/dev-python/rfc3987/rfc3987-1.3.8-r2.ebuild +++ b/dev-python/rfc3987/rfc3987-1.3.8-r2.ebuild @@ -5,19 +5,27 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + inherit distutils-r1 DESCRIPTION="Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)" -HOMEPAGE="https://github.com/dgerber/rfc3987 https://pypi.org/project/rfc3987/" +HOMEPAGE=" + https://github.com/dgerber/rfc3987/ + https://pypi.org/project/rfc3987/ +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -RDEPEND="dev-python/regex[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" +RDEPEND=" + dev-python/regex[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} +" python_test() { - ${EPYTHON} -m doctest -v "${S}/${PN}.py" || die + "${EPYTHON}" -m doctest -v "${S}/${PN}.py" || die } diff --git a/dev-python/rich/rich-12.4.1.ebuild b/dev-python/rich/rich-12.4.1.ebuild index 5d8cae8a571c..201fd9cf922a 100644 --- a/dev-python/rich/rich-12.4.1.ebuild +++ b/dev-python/rich/rich-12.4.1.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" dev-python/colorama[${PYTHON_USEDEP}] diff --git a/dev-python/scipy/scipy-1.8.0.ebuild b/dev-python/scipy/scipy-1.8.0.ebuild index ce958da88bee..6f1505fbdc14 100644 --- a/dev-python/scipy/scipy-1.8.0.ebuild +++ b/dev-python/scipy/scipy-1.8.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD LGPL-2" SLOT="0" -KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 -hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="doc +pythran sparse" DEPEND=" diff --git a/dev-python/scripttest/scripttest-1.3.0-r2.ebuild b/dev-python/scripttest/scripttest-1.3.0-r2.ebuild new file mode 100644 index 000000000000..4aa8cdc2b88f --- /dev/null +++ b/dev-python/scripttest/scripttest-1.3.0-r2.ebuild @@ -0,0 +1,25 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A very small text templating language" +HOMEPAGE=" + https://pypi.org/project/scripttest/ + https://github.com/pypa/scripttest/ +" +SRC_URI=" + https://github.com/pypa/scripttest/archive/${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +distutils_enable_tests pytest diff --git a/dev-python/sentry-sdk/sentry-sdk-1.5.12.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.5.12.ebuild index 823ffe25bab8..0775406f3956 100644 --- a/dev-python/sentry-sdk/sentry-sdk-1.5.12.ebuild +++ b/dev-python/sentry-sdk/sentry-sdk-1.5.12.ebuild @@ -85,7 +85,3 @@ EPYTEST_DESELECT=( # TODO tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates ) - -python_test() { - epytest tests -} diff --git a/dev-python/sh/sh-1.14.2.ebuild b/dev-python/sh/sh-1.14.2.ebuild index 03f8454391ec..9b309cce4a85 100644 --- a/dev-python/sh/sh-1.14.2.ebuild +++ b/dev-python/sh/sh-1.14.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" PATCHES=( "${FILESDIR}/sh-1.12.14-skip-unreliable-test.patch" diff --git a/dev-python/sip/files/sip-6.5.0-pep517-args.patch b/dev-python/sip/files/sip-6.5.0-pep517-args.patch new file mode 100644 index 000000000000..c4d39dcf6156 --- /dev/null +++ b/dev-python/sip/files/sip-6.5.0-pep517-args.patch @@ -0,0 +1,190 @@ +Backport from https://www.riverbankcomputing.com/hg/sip/ + +changeset: 2771:8543f04b374f +branch: 6.6-maint +tag: tip +user: Phil Thompson <phil@riverbankcomputing.com> +date: Tue May 10 13:58:28 2022 +0100 +summary: Fixed the PEP571 backend to handle multiple instances of the same config + +changeset: 2769:c02af095a016 +branch: 6.6-maint +user: Phil Thompson <phil@riverbankcomputing.com> +date: Sat May 07 15:18:14 2022 +0100 +summary: Fix an API backward incompatibility. + +changeset: 2768:98dbce3e62f1 +branch: 6.6-maint +user: Phil Thompson <phil@riverbankcomputing.com> +date: Sat May 07 15:03:49 2022 +0100 +summary: Any config settings passed by a PEP 571 frontend are now used. + +diff -r 8583e2bb1b32 sipbuild/abstract_project.py +--- a/sipbuild/abstract_project.py Thu Nov 25 18:15:32 2021 +0000 ++++ b/sipbuild/abstract_project.py Tue May 10 16:15:30 2022 +0200 +@@ -1,4 +1,4 @@ +-# Copyright (c) 2020, Riverbank Computing Limited ++# Copyright (c) 2022, Riverbank Computing Limited + # All rights reserved. + # + # This copy of SIP is licensed for use under the terms of the SIP License +@@ -34,7 +34,7 @@ + """ This specifies the API of a project. """ + + @classmethod +- def bootstrap(cls, tool, tool_description=''): ++ def bootstrap(cls, tool, tool_description='', arguments=None): + """ Return an AbstractProject instance fully configured for a + particular command line tool. + """ +@@ -79,6 +79,10 @@ + "The project factory did not return an AbstractProject " + "object") + ++ # We set this as an attribute rather than change the API of the ctor or ++ # setup(). ++ project.arguments = arguments ++ + # Complete the configuration of the project. + project.setup(pyproject, tool, tool_description) + +diff -r 8583e2bb1b32 sipbuild/api.py +--- a/sipbuild/api.py Thu Nov 25 18:15:32 2021 +0000 ++++ b/sipbuild/api.py Tue May 10 16:15:30 2022 +0200 +@@ -1,4 +1,4 @@ +-# Copyright (c) 2019, Riverbank Computing Limited ++# Copyright (c) 2022, Riverbank Computing Limited + # All rights reserved. + # + # This copy of SIP is licensed for use under the terms of the SIP License +@@ -28,10 +28,8 @@ + def build_sdist(sdist_directory, config_settings=None): + """ The PEP 517 hook for building an sdist from pyproject.toml. """ + +- # Note that we ignore config_settings until we have a frontend that we can +- # fully test with. (pip seems lacking at the moment.) +- +- project = AbstractProject.bootstrap('pep517') ++ project = AbstractProject.bootstrap('sdist', ++ arguments=_convert_config_settings(config_settings)) + + # pip executes this in a separate process and doesn't handle exceptions + # very well. However it does capture stdout and (eventually) show it to +@@ -45,10 +43,8 @@ + def build_wheel(wheel_directory, config_settings=None, metadata_directory=None): + """ The PEP 517 hook for building a wheel from pyproject.toml. """ + +- # Note that we ignore config_settings until we have a frontend that we can +- # fully test with. (pip seems lacking at the moment.) +- +- project = AbstractProject.bootstrap('pep517') ++ project = AbstractProject.bootstrap('wheel', ++ arguments=_convert_config_settings(config_settings)) + + # pip executes this in a separate process and doesn't handle exceptions + # very well. However it does capture stdout and (eventually) show it to +@@ -57,3 +53,26 @@ + return project.build_wheel(wheel_directory) + except Exception as e: + handle_exception(e) ++ ++ ++def _convert_config_settings(config_settings): ++ """ Return any configuration settings from the frontend to a pseudo-command ++ line. ++ """ ++ ++ if config_settings is None: ++ config_settings = {} ++ ++ args = [] ++ ++ for name, value in config_settings.items(): ++ if value: ++ if not isinstance(value, list): ++ value = [value] ++ ++ for m_value in value: ++ args.append(name + '=' + m_value) ++ else: ++ args.append(name) ++ ++ return args +diff -r 8583e2bb1b32 sipbuild/configurable.py +--- a/sipbuild/configurable.py Thu Nov 25 18:15:32 2021 +0000 ++++ b/sipbuild/configurable.py Tue May 10 16:15:30 2022 +0200 +@@ -1,4 +1,4 @@ +-# Copyright (c) 2021, Riverbank Computing Limited ++# Copyright (c) 2022, Riverbank Computing Limited + # All rights reserved. + # + # This copy of SIP is licensed for use under the terms of the SIP License +@@ -244,7 +244,7 @@ + """ + + # The tools that will build a set of bindings. +- BUILD_TOOLS = ('build', 'install', 'pep517', 'wheel') ++ BUILD_TOOLS = ('build', 'install', 'wheel') + + # All the valid tools. + _ALL_TOOLS = BUILD_TOOLS + ('sdist', ) +diff -r 8583e2bb1b32 sipbuild/project.py +--- a/sipbuild/project.py Thu Nov 25 18:15:32 2021 +0000 ++++ b/sipbuild/project.py Tue May 10 16:15:30 2022 +0200 +@@ -155,6 +155,7 @@ + + # The current directory should contain the .toml file. + self.root_dir = os.getcwd() ++ self.arguments = None + self.bindings = collections.OrderedDict() + self.bindings_factories = [] + self.builder = None +@@ -204,11 +205,6 @@ + def apply_user_defaults(self, tool): + """ Set default values for user options that haven't been set yet. """ + +- # If we are the backend to a 3rd-party frontend (most probably pip) +- # then let it handle the verbosity of messages. +- if self.verbose is None and tool == '': +- self.verbose = True +- + # This is only used when creating sdist and wheel files. + if self.name is None: + self.name = self.metadata['name'] +@@ -569,14 +565,9 @@ + # Set the initial configuration from the pyproject.toml file. + self._set_initial_configuration(pyproject, tool) + +- # Add any tool-specific command line options for (so far unspecified) ++ # Add any tool-specific command line arguments for (so far unspecified) + # parts of the configuration. +- if tool != 'pep517': +- self._configure_from_command_line(tool, tool_description) +- else: +- # Until pip improves it's error reporting we give the user all the +- # help we can. +- self.verbose = True ++ self._configure_from_arguments(tool, tool_description) + + # Now that any help has been given we can report a problematic + # pyproject.toml file. +@@ -712,8 +703,8 @@ + for bindings in self.bindings.values(): + bindings.verify_configuration(tool) + +- def _configure_from_command_line(self, tool, tool_description): +- """ Update the configuration from the user supplied command line. """ ++ def _configure_from_arguments(self, tool, tool_description): ++ """ Update the configuration from any user supplied arguments. """ + + from argparse import SUPPRESS + from .argument_parser import ArgumentParser +@@ -739,7 +730,7 @@ + bindings.add_command_line_options(parser, tool, all_options) + + # Parse the arguments and update the corresponding configurables. +- args = parser.parse_args() ++ args = parser.parse_args(self.arguments) + + for option, configurables in all_options.items(): + for configurable in configurables: diff --git a/dev-python/sip/sip-6.5.0-r1.ebuild b/dev-python/sip/sip-6.5.0-r1.ebuild new file mode 100644 index 000000000000..927f94cefce2 --- /dev/null +++ b/dev-python/sip/sip-6.5.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 + +DESCRIPTION="Python bindings generator for C/C++ libraries" +HOMEPAGE="https://www.riverbankcomputing.com/software/sip/ https://pypi.org/project/sip/" + +MY_P=${PN}-${PV/_pre/.dev} +if [[ ${PV} == *_pre* ]]; then + SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" +fi +S=${WORKDIR}/${MY_P} + +LICENSE="|| ( GPL-2 GPL-3 SIP )" +SLOT="5" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + !<dev-python/sip-4.19.25-r1[${PYTHON_USEDEP}] + !=dev-python/sip-5.5.0-r0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx doc --no-autodoc + +PATCHES=( + "${FILESDIR}"/${P}-pep517-args.patch +) diff --git a/dev-python/sniffio/sniffio-1.2.0.ebuild b/dev-python/sniffio/sniffio-1.2.0.ebuild index fc022ab57fbd..431f3679388f 100644 --- a/dev-python/sniffio/sniffio-1.2.0.ebuild +++ b/dev-python/sniffio/sniffio-1.2.0.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" distutils_enable_tests pytest diff --git a/dev-python/socksio/socksio-1.0.0.ebuild b/dev-python/socksio/socksio-1.0.0.ebuild index c1cb6c61c614..a109f4b85bb0 100644 --- a/dev-python/socksio/socksio-1.0.0.ebuild +++ b/dev-python/socksio/socksio-1.0.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" distutils_enable_tests pytest diff --git a/dev-python/sortedcontainers/sortedcontainers-2.4.0-r1.ebuild b/dev-python/sortedcontainers/sortedcontainers-2.4.0-r1.ebuild index aed19d74acb1..be1744312611 100644 --- a/dev-python/sortedcontainers/sortedcontainers-2.4.0-r1.ebuild +++ b/dev-python/sortedcontainers/sortedcontainers-2.4.0-r1.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" distutils_enable_tests pytest diff --git a/dev-python/soupsieve/soupsieve-2.3.1.ebuild b/dev-python/soupsieve/soupsieve-2.3.1.ebuild index afda8ecd99da..a7c8d8b1ba09 100644 --- a/dev-python/soupsieve/soupsieve-2.3.1.ebuild +++ b/dev-python/soupsieve/soupsieve-2.3.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/soupsieve/soupsieve-2.3.2.ebuild b/dev-python/soupsieve/soupsieve-2.3.2.ebuild index 85ec5ee7cb9e..51b79fe840c1 100644 --- a/dev-python/soupsieve/soupsieve-2.3.2.ebuild +++ b/dev-python/soupsieve/soupsieve-2.3.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" BDEPEND=" test? ( diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.18.1.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.18.1.ebuild index d2a70f0c3ca4..0fbdda0cfbd0 100644 --- a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.18.1.ebuild +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-1.18.1.ebuild @@ -19,7 +19,7 @@ SRC_URI=" " LICENSE="MIT" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" SLOT="0" RDEPEND=">=dev-python/sphinx-4.5[${PYTHON_USEDEP}]" diff --git a/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.17-r1.ebuild b/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.17-r1.ebuild index bcbe0c4d2414..5b093bf4c1e7 100644 --- a/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.17-r1.ebuild +++ b/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.17-r1.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/sphinx[${PYTHON_USEDEP}] diff --git a/dev-python/sphobjinv/sphobjinv-2.2.2.ebuild b/dev-python/sphobjinv/sphobjinv-2.2.2.ebuild index 6e58f1aa9747..10bcbb94d1c0 100644 --- a/dev-python/sphobjinv/sphobjinv-2.2.2.ebuild +++ b/dev-python/sphobjinv/sphobjinv-2.2.2.ebuild @@ -18,7 +18,7 @@ SRC_URI=" " LICENSE="MIT" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" SLOT="0" RDEPEND=" diff --git a/dev-python/stdio-mgr/stdio-mgr-1.0.1.ebuild b/dev-python/stdio-mgr/stdio-mgr-1.0.1.ebuild index 87009eb46ff1..d1719c7c2adf 100644 --- a/dev-python/stdio-mgr/stdio-mgr-1.0.1.ebuild +++ b/dev-python/stdio-mgr/stdio-mgr-1.0.1.ebuild @@ -15,7 +15,7 @@ HOMEPAGE=" SRC_URI="https://github.com/bskinn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" SLOT="0" RDEPEND=">=dev-python/attrs-17.1[${PYTHON_USEDEP}]" diff --git a/dev-python/strict-rfc3339/strict-rfc3339-0.7-r2.ebuild b/dev-python/strict-rfc3339/strict-rfc3339-0.7-r2.ebuild index 4b77a81a0298..8b5edd7f9edc 100644 --- a/dev-python/strict-rfc3339/strict-rfc3339-0.7-r2.ebuild +++ b/dev-python/strict-rfc3339/strict-rfc3339-0.7-r2.ebuild @@ -10,8 +10,14 @@ inherit distutils-r1 MY_P="${PN}-version-${PV}" DESCRIPTION="Strict, simple, lightweight RFC3339 functions" -HOMEPAGE="https://pypi.org/project/strict-rfc3339/ https://github.com/danielrichman/strict-rfc3339" -SRC_URI="https://github.com/danielrichman/${PN}/archive/version-${PV}.tar.gz -> ${MY_P}.tar.gz" +HOMEPAGE=" + https://pypi.org/project/strict-rfc3339/ + https://github.com/danielrichman/strict-rfc3339 +" +SRC_URI=" + https://github.com/danielrichman/${PN}/archive/version-${PV}.tar.gz + -> ${MY_P}.tar.gz +" S="${WORKDIR}/${MY_P}" LICENSE="GPL-3+" diff --git a/dev-python/timeout-decorator/timeout-decorator-0.5.0.ebuild b/dev-python/timeout-decorator/timeout-decorator-0.5.0.ebuild index 3c0c1775a022..671b0c77436b 100644 --- a/dev-python/timeout-decorator/timeout-decorator-0.5.0.ebuild +++ b/dev-python/timeout-decorator/timeout-decorator-0.5.0.ebuild @@ -20,6 +20,6 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" distutils_enable_tests pytest diff --git a/dev-python/trio/trio-0.20.0.ebuild b/dev-python/trio/trio-0.20.0.ebuild index 010e4131368c..7ceba8b21ddf 100644 --- a/dev-python/trio/trio-0.20.0.ebuild +++ b/dev-python/trio/trio-0.20.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/async_generator-1.9[${PYTHON_USEDEP}] diff --git a/dev-python/twisted/twisted-22.1.0-r1.ebuild b/dev-python/twisted/twisted-22.1.0-r1.ebuild index 3f5309cc748c..2d41d7260181 100644 --- a/dev-python/twisted/twisted-22.1.0-r1.ebuild +++ b/dev-python/twisted/twisted-22.1.0-r1.ebuild @@ -18,7 +18,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc ~x86" IUSE="conch crypt http2 serial test" RESTRICT="!test? ( test )" diff --git a/dev-python/twisted/twisted-22.4.0.ebuild b/dev-python/twisted/twisted-22.4.0.ebuild index 69d4e839ca9b..ec13541f8ff0 100644 --- a/dev-python/twisted/twisted-22.4.0.ebuild +++ b/dev-python/twisted/twisted-22.4.0.ebuild @@ -19,7 +19,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~ppc ppc64 ~riscv ~s390 sparc x86" IUSE="conch crypt http2 serial test" RESTRICT="!test? ( test )" diff --git a/dev-python/typeguard/typeguard-2.13.3.ebuild b/dev-python/typeguard/typeguard-2.13.3.ebuild index c08b182ab6c9..dcdf4cbcafdb 100644 --- a/dev-python/typeguard/typeguard-2.13.3.ebuild +++ b/dev-python/typeguard/typeguard-2.13.3.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" dev-python/setuptools_scm[${PYTHON_USEDEP}] diff --git a/dev-python/u-msgpack-python/u-msgpack-python-2.7.1-r1.ebuild b/dev-python/u-msgpack-python/u-msgpack-python-2.7.1-r1.ebuild new file mode 100644 index 000000000000..73c67202a152 --- /dev/null +++ b/dev-python/u-msgpack-python/u-msgpack-python-2.7.1-r1.ebuild @@ -0,0 +1,22 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A portable, lightweight MessagePack serializer and deserializer" +HOMEPAGE=" + https://github.com/vsergeev/u-msgpack-python/ + https://pypi.org/project/u-msgpack-python/ +" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_tests pytest diff --git a/dev-python/uri_template/uri_template-1.2.0.ebuild b/dev-python/uri_template/uri_template-1.2.0.ebuild index af0b280f520a..d916bd1e2df6 100644 --- a/dev-python/uri_template/uri_template-1.2.0.ebuild +++ b/dev-python/uri_template/uri_template-1.2.0.ebuild @@ -10,13 +10,18 @@ inherit distutils-r1 MY_P="${PN}-v${PV}" DESCRIPTION="URI Template expansion in strict adherence to RFC 6570" -HOMEPAGE="https://gitlab.linss.com/open-source/uri_template/" -SRC_URI="https://gitlab.linss.com/open-source/${PN}/-/archive/v${PV}/${MY_P}.tar.gz" +HOMEPAGE=" + https://gitlab.linss.com/open-source/uri_template/ + https://pypi.org/project/uri-template/ +" +SRC_URI=" + https://gitlab.linss.com/open-source/${PN}/-/archive/v${PV}/${MY_P}.tar.gz +" S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" python_test() { "${EPYTHON}" "test.py" || die "Tests fail with ${EPYTHON}." diff --git a/dev-python/uvicorn/uvicorn-0.17.6.ebuild b/dev-python/uvicorn/uvicorn-0.17.6.ebuild index d6514b8ec4e9..5f169426b169 100644 --- a/dev-python/uvicorn/uvicorn-0.17.6.ebuild +++ b/dev-python/uvicorn/uvicorn-0.17.6.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}] diff --git a/dev-python/virtualenv/virtualenv-20.14.1.ebuild b/dev-python/virtualenv/virtualenv-20.14.1-r1.ebuild index 5433b33b195c..28e34315db38 100644 --- a/dev-python/virtualenv/virtualenv-20.14.1.ebuild +++ b/dev-python/virtualenv/virtualenv-20.14.1-r1.ebuild @@ -21,7 +21,6 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv SLOT="0" RDEPEND=" - >=dev-python/backports-entry_points_selectable-1.0.4[${PYTHON_USEDEP}] >=dev-python/distlib-0.3.1[${PYTHON_USEDEP}] >=dev-python/filelock-3[${PYTHON_USEDEP}] >=dev-python/platformdirs-2[${PYTHON_USEDEP}] diff --git a/dev-python/watchgod/watchgod-0.8.2.ebuild b/dev-python/watchgod/watchgod-0.8.2.ebuild index 2f23b3cc7609..7aea72f793b2 100644 --- a/dev-python/watchgod/watchgod-0.8.2.ebuild +++ b/dev-python/watchgod/watchgod-0.8.2.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" =dev-python/anyio-3*[${PYTHON_USEDEP}] diff --git a/dev-python/webcolors/webcolors-1.11.1-r1.ebuild b/dev-python/webcolors/webcolors-1.11.1-r1.ebuild new file mode 100644 index 000000000000..9a35ed3c71ee --- /dev/null +++ b/dev-python/webcolors/webcolors-1.11.1-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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Color names and value formats defined by the HTML and CSS specifications" +HOMEPAGE=" + https://github.com/ubernostrum/webcolors/ + https://pypi.org/project/webcolors/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest diff --git a/dev-python/webencodings/metadata.xml b/dev-python/webencodings/metadata.xml index f0e03656a1e7..6744e8b64b4c 100644 --- a/dev-python/webencodings/metadata.xml +++ b/dev-python/webencodings/metadata.xml @@ -6,10 +6,6 @@ <name>Python</name> </maintainer> <upstream> - <maintainer status="unknown"> - <email>simon.sapin@exyr.org</email> - <name>Simon Sapin</name> - </maintainer> <doc>https://pythonhosted.org/webencodings/</doc> </upstream> <origin>gentoo-staging</origin> diff --git a/dev-python/webencodings/webencodings-0.5.1-r2.ebuild b/dev-python/webencodings/webencodings-0.5.1-r2.ebuild new file mode 100644 index 000000000000..876be72e1ea7 --- /dev/null +++ b/dev-python/webencodings/webencodings-0.5.1-r2.ebuild @@ -0,0 +1,30 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Character encoding aliases for legacy web content" +HOMEPAGE=" + https://github.com/gsnedders/python-webencodings/ + https://pypi.org/project/webencodings/ +" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +distutils_enable_tests pytest + +python_prepare_all() { + cat >> setup.cfg <<- EOF || die + [tool:pytest] + python_files=test*.py + EOF + distutils-r1_python_prepare_all +} diff --git a/dev-python/websockets/websockets-10.3.ebuild b/dev-python/websockets/websockets-10.3.ebuild index fda99855c871..e751d3ee4bf7 100644 --- a/dev-python/websockets/websockets-10.3.ebuild +++ b/dev-python/websockets/websockets-10.3.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" distutils_enable_tests pytest diff --git a/dev-python/werkzeug/werkzeug-2.1.2.ebuild b/dev-python/werkzeug/werkzeug-2.1.2.ebuild index 5aa5a4a9983b..8d4ff2bf5bc4 100644 --- a/dev-python/werkzeug/werkzeug-2.1.2.ebuild +++ b/dev-python/werkzeug/werkzeug-2.1.2.ebuild @@ -32,12 +32,15 @@ BDEPEND=" dev-python/pytest-xprocess[${PYTHON_USEDEP}] dev-python/watchdog[${PYTHON_USEDEP}] !alpha? ( !hppa? ( !ia64? ( - dev-python/cryptography[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/cryptography[${PYTHON_USEDEP}] + ' python3_{8..10} pypy3 # TODO: add py3.11 when ported + ) ) ) ) !hppa? ( !ia64? ( !loong? ( $(python_gen_cond_dep ' dev-python/greenlet[${PYTHON_USEDEP}] - ' 'python*') + ' python3_{8..10}) ) ) ) ) " diff --git a/dev-python/wsproto/wsproto-1.1.0.ebuild b/dev-python/wsproto/wsproto-1.1.0.ebuild index d2c80e0b6539..9c457997b5b7 100644 --- a/dev-python/wsproto/wsproto-1.1.0.ebuild +++ b/dev-python/wsproto/wsproto-1.1.0.ebuild @@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/h11-0.9[${PYTHON_USEDEP}] diff --git a/dev-python/xmlschema/xmlschema-1.10.0.ebuild b/dev-python/xmlschema/xmlschema-1.10.0.ebuild index 36290efcd1be..5c0f50090a3f 100644 --- a/dev-python/xmlschema/xmlschema-1.10.0.ebuild +++ b/dev-python/xmlschema/xmlschema-1.10.0.ebuild @@ -9,7 +9,10 @@ PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) inherit distutils-r1 DESCRIPTION="An XML Schema validator and decoder" -HOMEPAGE="https://github.com/sissaschool/xmlschema https://pypi.org/project/xmlschema/" +HOMEPAGE=" + https://github.com/sissaschool/xmlschema/ + https://pypi.org/project/xmlschema/ +" SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" LICENSE="MIT" @@ -19,13 +22,15 @@ IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" - >=dev-python/elementpath-2.5.0[${PYTHON_USEDEP}]" + >=dev-python/elementpath-2.5.0[${PYTHON_USEDEP}] +" BDEPEND=" test? ( ${RDEPEND} dev-python/jinja[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] - )" + ) +" python_test() { "${EPYTHON}" tests/test_all.py -v || |
