From ec1c225e35a1d628dd5ada55d7faf6b9d6f17741 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 20 Nov 2021 13:45:30 +0000 Subject: Adding metadata --- dev-python/aiohttp/aiohttp-3.8.1.ebuild | 2 +- dev-python/bottleneck/bottleneck-1.3.2-r1.ebuild | 2 +- dev-python/cython/cython-0.29.24-r1.ebuild | 2 +- dev-python/debugpy/debugpy-1.5.1.ebuild | 2 +- dev-python/flask/flask-2.0.2.ebuild | 2 +- dev-python/identify/identify-2.4.0.ebuild | 2 +- dev-python/imageio/Manifest | 1 + dev-python/imageio/imageio-2.11.1.ebuild | 46 ++++++++ dev-python/ipykernel/Manifest | 1 - dev-python/ipykernel/ipykernel-5.5.4-r2.ebuild | 56 --------- dev-python/ipykernel/ipykernel-6.2.0-r1.ebuild | 2 +- dev-python/ipyparallel/ipyparallel-7.1.0.ebuild | 2 +- .../jupyter_client/jupyter_client-7.0.6.ebuild | 2 +- dev-python/matplotlib/matplotlib-3.5.0.ebuild | 2 +- dev-python/numpy/numpy-1.21.2-r1.ebuild | 2 +- dev-python/pandas/pandas-1.3.4.ebuild | 2 +- dev-python/patsy/patsy-0.5.2.ebuild | 2 +- dev-python/pydevd/pydevd-2.7.0.ebuild | 2 +- ...tables-3.6.1-big-endian-tests-skip-subset.patch | 36 ++++++ dev-python/pytables/pytables-3.6.1-r1.ebuild | 88 -------------- dev-python/pytables/pytables-3.6.1-r2.ebuild | 89 +++++++++++++++ .../pytest-regressions-2.2.0.ebuild | 2 +- .../pytest-tornado/pytest-tornado-0.8.1.ebuild | 2 +- .../pyudev/files/pyudev-0.22-fix-hypothesis.patch | 98 ++++++++++++++++ .../files/pyudev-0.22-remove-flaky-tests.patch | 126 +++++++++++++++++++++ dev-python/pyudev/pyudev-0.22.0-r1.ebuild | 51 +++++++++ .../setuptools_scm_git_archive-1.1-r4.ebuild | 2 +- dev-python/sphinx-tabs/sphinx-tabs-3.1.0.ebuild | 2 +- dev-python/ukkonen/ukkonen-1.0.0.ebuild | 2 +- dev-python/untangle/untangle-1.1.1.ebuild | 2 +- dev-python/xarray/xarray-0.20.1.ebuild | 2 +- 31 files changed, 468 insertions(+), 166 deletions(-) create mode 100644 dev-python/imageio/imageio-2.11.1.ebuild delete mode 100644 dev-python/ipykernel/ipykernel-5.5.4-r2.ebuild create mode 100644 dev-python/pytables/files/pytables-3.6.1-big-endian-tests-skip-subset.patch delete mode 100644 dev-python/pytables/pytables-3.6.1-r1.ebuild create mode 100644 dev-python/pytables/pytables-3.6.1-r2.ebuild create mode 100644 dev-python/pyudev/files/pyudev-0.22-fix-hypothesis.patch create mode 100644 dev-python/pyudev/files/pyudev-0.22-remove-flaky-tests.patch create mode 100644 dev-python/pyudev/pyudev-0.22.0-r1.ebuild (limited to 'dev-python') diff --git a/dev-python/aiohttp/aiohttp-3.8.1.ebuild b/dev-python/aiohttp/aiohttp-3.8.1.ebuild index 002926c23647..15930ab1196e 100644 --- a/dev-python/aiohttp/aiohttp-3.8.1.ebuild +++ b/dev-python/aiohttp/aiohttp-3.8.1.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" RDEPEND=" app-arch/brotli[python,${PYTHON_USEDEP}] diff --git a/dev-python/bottleneck/bottleneck-1.3.2-r1.ebuild b/dev-python/bottleneck/bottleneck-1.3.2-r1.ebuild index 1c7ee284ddd1..98f009dd8ad5 100644 --- a/dev-python/bottleneck/bottleneck-1.3.2-r1.ebuild +++ b/dev-python/bottleneck/bottleneck-1.3.2-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/kwgoodman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" RDEPEND=">=dev-python/numpy-1.9.1[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" diff --git a/dev-python/cython/cython-0.29.24-r1.ebuild b/dev-python/cython/cython-0.29.24-r1.ebuild index b5ccb8c89890..9d9391dcba04 100644 --- a/dev-python/cython/cython-0.29.24-r1.ebuild +++ b/dev-python/cython/cython-0.29.24-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/cython/cython/archive/${PV}.tar.gz -> ${P}.gh.tar.gz LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" IUSE="emacs test" RESTRICT="!test? ( test )" diff --git a/dev-python/debugpy/debugpy-1.5.1.ebuild b/dev-python/debugpy/debugpy-1.5.1.ebuild index 382b32d74c90..3e462e525f5b 100644 --- a/dev-python/debugpy/debugpy-1.5.1.ebuild +++ b/dev-python/debugpy/debugpy-1.5.1.ebuild @@ -15,7 +15,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 ppc ppc64 ~riscv ~s390 sparc x86" # There is not enough time in the universe for this test suite RESTRICT="test" diff --git a/dev-python/flask/flask-2.0.2.ebuild b/dev-python/flask/flask-2.0.2.ebuild index 59a232cf877f..576fb179fa47 100644 --- a/dev-python/flask/flask-2.0.2.ebuild +++ b/dev-python/flask/flask-2.0.2.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then inherit git-r3 else SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" - KEYWORDS="~amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~s390 ~x86" + KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~x86" S="${WORKDIR}/${MY_P}" fi diff --git a/dev-python/identify/identify-2.4.0.ebuild b/dev-python/identify/identify-2.4.0.ebuild index 968c0d9d3217..41622b55ca7c 100644 --- a/dev-python/identify/identify-2.4.0.ebuild +++ b/dev-python/identify/identify-2.4.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/pre-commit/${PN}/archive/refs/tags/v${PV}.tar.gz -> LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~riscv" +KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv" RDEPEND=" dev-python/ukkonen[${PYTHON_USEDEP}]" diff --git a/dev-python/imageio/Manifest b/dev-python/imageio/Manifest index b4377f0e146c..97f9c55c1381 100644 --- a/dev-python/imageio/Manifest +++ b/dev-python/imageio/Manifest @@ -1,3 +1,4 @@ DIST imageio-2.10.4.gh.tar.gz 335495 BLAKE2B 66f8662953d7023557d4fc98b9cf2cfa00346a14286b72dd1b3abf618ee6da36da341c4a57116197e0f138424ef01050cc9176c6afcf277796aa61199e5a1530 SHA512 562bb0d7c8e627e491910f997947a4ffe967ed6dcf3d281b07145f9c8148ca0f2d9775bc89c9024ebc9bfa54f03a60aadc30a84827c050f18dbb23286ac18b96 DIST imageio-2.10.5.gh.tar.gz 335546 BLAKE2B 1bfd418bb59f217c2108be9aedf35d1b6326d29d476ac6648041b38efa44a2220212f170cae90005e027006adfe55178dee699a1e4b37b7e948863c61432afe8 SHA512 2a058e8ce7e2ad650bea05573d249c1c06326dd1ed0f47517c3a0095a2e03fa2b90ffa5f8aae535e937b8b9fd8153ccb13267773183e45639205faddab08348a DIST imageio-2.11.0.gh.tar.gz 339057 BLAKE2B 6dd5661866135b472a062b57b424e8ff044510488b1ccd291552f979263f2f03d3feb00ad9ab035249a2966711e804a95ff7e8f174a1f0773445782365744b6c SHA512 b42f05eabcbee4fb4bb66793cca04137b4db2695269c204b2fec43527ab6a1d9e29c688061ee53c28454b64e09343d69cc931867c5aca01d47145bd734348629 +DIST imageio-2.11.1.gh.tar.gz 339241 BLAKE2B b197c946fe34e504979c9fe7e69179211bf72d986105175419c304b95628c02d3dae2e5e7b13902493cb6a7538bc3e5976590e25a35165c857623b62635b79b3 SHA512 cf33d0c96a08f29ed761e811922a31a97c36aef48022708132d5282bf5c87bb3ef67a80a98e01f57489fd4a261955e4ca231c67dfc69f5865c47a5b1f317d137 diff --git a/dev-python/imageio/imageio-2.11.1.ebuild b/dev-python/imageio/imageio-2.11.1.ebuild new file mode 100644 index 000000000000..b7c5f792ae7a --- /dev/null +++ b/dev-python/imageio/imageio-2.11.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Python library for reading and writing image data" +HOMEPAGE="https://imageio.github.io/" +SRC_URI=" + https://github.com/imageio/imageio/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + media-libs/freeimage +" +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Fails because of system installed freeimage + tests/test_core.py::test_findlib2 +) + +EPYTEST_IGNORE=( + # Needs unpackaged imageio_ffmpeg + tests/test_ffmpeg.py + tests/test_ffmpeg_info.py + # Needs tifffile + tests/test_tifffile.py +) diff --git a/dev-python/ipykernel/Manifest b/dev-python/ipykernel/Manifest index 011090f7db72..c60f8823d973 100644 --- a/dev-python/ipykernel/Manifest +++ b/dev-python/ipykernel/Manifest @@ -1,4 +1,3 @@ -DIST ipykernel-5.5.4.tar.gz 112728 BLAKE2B 489e12d0cbde2f80f2c921f026c7b84554b1fef481164e07f89b063127b01d106fc6b19f830ac321d79285fb9df065352dbc0c2a997b3629a64e766d2e50f347 SHA512 96728321fe71d528435415eda917c623269af734598a78168144d983aa64db4f9ced981fa67c83263da1ed878831669d821b84a769a08a271adafacfcbb75bf9 DIST ipykernel-6.2.0.tar.gz 110042 BLAKE2B e1e9f140d434142339c36cdf72c9c4224143aeac8ee5938488fefaf0c15b33ddb6a4e4f49e4096431c89ba6bdcf6321f73e61927186d42518cd73e6016a017ed SHA512 7f3203b072cf7a4ca71e56df0c5621f6ac44440ace2ba855b7354971d04e872621650a0351f9d1ace50ea63459290835306e71fb91d414355810fa79968ddf56 DIST ipykernel-6.4.2.tar.gz 121253 BLAKE2B 26f8f94df823dd7a4ac41cac574e70ae98eed64f88bbcd8ce600ce6dfe1c43c224d65b5d0f9586ad05829692142e37fbb685a5d577047791831f6138b8309556 SHA512 56f0a15a1f06628e8f74749e4bad4a65dcc78ba7ff45e4fa5802d232e427e4ec152a6b6697302488d2e05d6b0cfa0cbc106ea2a593ab43de9d9defa9c169d5a6 DIST ipykernel-6.5.0.tar.gz 122962 BLAKE2B fa36ea41d7f2dc8d0d75144f421ea2a72dd50dcda6c6a91f625f18c35ed2ebb950aadfb1715dd57a1fda77bfb49e360bca87f0bd8b9ee8380399d41691db2b9a SHA512 440407818ed6f388f10a727a9be1a2588bf8c9699d66e1b954a1f64575c08b5bddb3978dd13f5ab26220a210ce7177e2be0374d48d3968df681d2d5311ce42d1 diff --git a/dev-python/ipykernel/ipykernel-5.5.4-r2.ebuild b/dev-python/ipykernel/ipykernel-5.5.4-r2.ebuild deleted file mode 100644 index 47a3bc4f5ddb..000000000000 --- a/dev-python/ipykernel/ipykernel-5.5.4-r2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -PYTHON_REQ_USE="threads(+)" -inherit distutils-r1 - -DESCRIPTION="IPython Kernel for Jupyter" -HOMEPAGE="https://github.com/ipython/ipykernel" -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" -IUSE="test" - -RDEPEND=" - dev-python/ipython_genutils[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] - +Date: Sat, 3 Aug 2019 16:22:13 +0000 +Subject: Skip index backcompat tests on bingendian + +Forwarded: not-needed +--- a/tables/tests/test_index_backcompat.py ++++ b/tables/tests/test_index_backcompat.py +@@ -6,8 +6,10 @@ from tables.tests.common import verbose + from tables.tests.common import unittest, test_filename + from tables.tests.common import PyTablesTestCase as TestCase + ++import sys + + # Check indexes from PyTables version 2.0 ++@unittest.skipIf(sys.byteorder != 'little', 'broken on big-endian') + class IndexesTestCase(common.TestFileMixin, TestCase): + + def setUp(self): +@@ -145,11 +147,13 @@ class IndexesTestCase(common.TestFileMixin, TestCase): + + + # Check indexes from PyTables version 2.0 ++@unittest.skipIf(sys.byteorder != 'little', 'broken on big-endian') + class Indexes2_0TestCase(IndexesTestCase): + h5fname = test_filename("indexes_2_0.h5") + + + # Check indexes from PyTables version 2.1 ++@unittest.skipIf(sys.byteorder != 'little', 'broken on big-endian') + class Indexes2_1TestCase(IndexesTestCase): + h5fname = test_filename("indexes_2_1.h5") + diff --git a/dev-python/pytables/pytables-3.6.1-r1.ebuild b/dev-python/pytables/pytables-3.6.1-r1.ebuild deleted file mode 100644 index 46bbe4800b47..000000000000 --- a/dev-python/pytables/pytables-3.6.1-r1.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# 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="threads(+)" - -MY_PN=tables -MY_P=${MY_PN}-${PV} - -inherit distutils-r1 flag-o-matic - -DESCRIPTION="Hierarchical datasets for Python" -HOMEPAGE="https://www.pytables.org/" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -# See https://github.com/PyTables/PyTables/issues/912 for hdf5 upper bound -DEPEND=" - app-arch/bzip2:0= - app-arch/lz4:0= - >=app-arch/zstd-1.0.0:= - >=dev-libs/c-blosc-1.11.1:0= - dev-libs/lzo:2= - >=dev-python/numpy-1.8.1[${PYTHON_USEDEP}] - +Date: Wed May 2 15:50:45 2018 -0400 + + Get rid of all test_match_attribute_* methods + + These tests are rendered flaky by the volatility of attribute values. + + Signed-off-by: mulhern + +diff --git a/tests/test_enumerate.py b/tests/test_enumerate.py +index f054799..c9c6a67 100644 +--- a/tests/test_enumerate.py ++++ b/tests/test_enumerate.py +@@ -200,77 +200,6 @@ def test_match_property_bool(self, context, pair): + for device in devices + ) + +- @failed_health_check_wrapper +- @given(_CONTEXT_STRATEGY, _ATTRIBUTE_STRATEGY) +- @settings(max_examples=50) +- def test_match_attribute_nomatch_unfulfillable(self, context, pair): +- """ +- Match and no match for a key/value gives empty set. +- """ +- key, value = pair +- devices = context.list_devices() +- devices.match_attribute(key, value) +- devices.match_attribute(key, value, nomatch=True) +- assert not list(devices) +- +- @failed_health_check_wrapper +- @given(_CONTEXT_STRATEGY, _ATTRIBUTE_STRATEGY) +- @settings(max_examples=50) +- def test_match_attribute_nomatch_complete(self, context, pair): +- """ +- Test that w/ respect to the universe of devices returned by +- list_devices() a match and its inverse are complements of each other. +- """ +- key, value = pair +- m_devices = frozenset(context.list_devices().match_attribute( +- key, value)) +- nm_devices = frozenset(context.list_devices().match_attribute( +- key, value, nomatch=True)) +- _test_intersection_and_union(context, m_devices, nm_devices) +- +- @failed_health_check_wrapper +- @given(_CONTEXT_STRATEGY, _ATTRIBUTE_STRATEGY) +- @settings(max_examples=50) +- def test_match_attribute_string(self, context, pair): +- """ +- Test that matching attribute as string works. +- """ +- key, value = pair +- devices = context.list_devices().match_attribute(key, value) +- assert all(device.attributes.get(key) == value for device in devices) +- +- @failed_health_check_wrapper +- @given(_CONTEXT_STRATEGY, +- _ATTRIBUTE_STRATEGY.filter(lambda x: _is_int(x[1]))) +- @settings(max_examples=50) +- def test_match_attribute_int(self, context, pair): +- """ +- Test matching integer attribute. +- """ +- key, value = pair +- int_value = int(value) +- devices = context.list_devices().match_attribute(key, int_value) +- for device in devices: +- attributes = device.attributes +- assert attributes.get(key) == value +- assert device.attributes.asint(key) == int_value +- +- @failed_health_check_wrapper +- @given(_CONTEXT_STRATEGY, +- _ATTRIBUTE_STRATEGY.filter(lambda x: _is_bool(x[1]))) +- @settings(max_examples=50) +- def test_match_attribute_bool(self, context, pair): +- """ +- Test matching boolean attribute. +- """ +- key, value = pair +- bool_value = True if int(value) == 1 else False +- devices = context.list_devices().match_attribute(key, bool_value) +- for device in devices: +- attributes = device.attributes +- assert attributes.get(key) == value +- assert attributes.asbool(key) == bool_value +- + @_UDEV_TEST(154, "test_match_tag") + @failed_health_check_wrapper + @given(_CONTEXT_STRATEGY, _TAG_STRATEGY) +@@ -335,33 +264,6 @@ def test_combined_property_matches(self, context, ppairs): + ) + ) + +- @given(_CONTEXT_STRATEGY, +- strategies.lists( +- elements=_ATTRIBUTE_STRATEGY, +- min_size=2, +- max_size=3, +- unique_by=lambda p: p[0])) +- @settings(max_examples=20) +- def test_combined_attribute_matches(self, context, apairs): +- """ +- Test for conjunction of attributes. +- +- If matching multiple attributes, then the result is the intersection of +- the matching sets, i.e., the resulting filter is a conjunction. +- """ +- enumeration = context.list_devices() +- +- for key, value in apairs: +- enumeration.match_attribute(key, value) +- +- _test_direct_and_complement( +- context, +- frozenset(enumeration), +- lambda d: all( +- d.attributes.get(key) == value for key, value in apairs +- ) +- ) +- + @given(_CONTEXT_STRATEGY, + strategies.lists( + elements=_MATCH_PROPERTY_STRATEGY, diff --git a/dev-python/pyudev/pyudev-0.22.0-r1.ebuild b/dev-python/pyudev/pyudev-0.22.0-r1.ebuild new file mode 100644 index 000000000000..01d11c296513 --- /dev/null +++ b/dev-python/pyudev/pyudev-0.22.0-r1.ebuild @@ -0,0 +1,51 @@ +# 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="Python binding to libudev" +HOMEPAGE="https://pyudev.readthedocs.io/en/latest/ https://github.com/pyudev/pyudev" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="qt5" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + virtual/udev + qt5? ( dev-python/PyQt5[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + )" + +DOCS=( CHANGES.rst README.rst ) + +PATCHES=( + "${FILESDIR}/pyudev-0.22-fix-hypothesis.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + if use test; then + ewarn "If your PORTAGE_TMPDIR is longer in length then '/var/tmp/'," + ewarn "change it to /var/tmp to ensure tests will pass." + fi + + # tests are known to pass then fail on alternate runs + # tests: fix run_path + sed -i -e "s|== \('/run/udev'\)|in (\1,'/dev/.udev')|g" \ + tests/test_core.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r4.ebuild b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r4.ebuild index 56f17eaf0278..ffc645d74ed0 100644 --- a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r4.ebuild +++ b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1-r4.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/Changaco/setuptools_scm_git_archive/archive/${PV}.ta LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="" RDEPEND=" diff --git a/dev-python/sphinx-tabs/sphinx-tabs-3.1.0.ebuild b/dev-python/sphinx-tabs/sphinx-tabs-3.1.0.ebuild index 85f0fb8f3c12..9ed673357a77 100644 --- a/dev-python/sphinx-tabs/sphinx-tabs-3.1.0.ebuild +++ b/dev-python/sphinx-tabs/sphinx-tabs-3.1.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/executablebooks/sphinx-tabs/archive/v${PV}.tar.gz -> LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm arm64 ~ia64 ~m68k ppc ppc64 ~riscv ~s390 ~x86" +KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 ~x86" RDEPEND=" dev-python/docutils[${PYTHON_USEDEP}] diff --git a/dev-python/ukkonen/ukkonen-1.0.0.ebuild b/dev-python/ukkonen/ukkonen-1.0.0.ebuild index 82a8955e5865..c27e35ba5ebf 100644 --- a/dev-python/ukkonen/ukkonen-1.0.0.ebuild +++ b/dev-python/ukkonen/ukkonen-1.0.0.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~riscv" +KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/untangle/untangle-1.1.1.ebuild b/dev-python/untangle/untangle-1.1.1.ebuild index 3da9d6900f23..af8686d365df 100644 --- a/dev-python/untangle/untangle-1.1.1.ebuild +++ b/dev-python/untangle/untangle-1.1.1.ebuild @@ -13,4 +13,4 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${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 ppc ppc64 ~riscv ~s390 sparc x86" diff --git a/dev-python/xarray/xarray-0.20.1.ebuild b/dev-python/xarray/xarray-0.20.1.ebuild index 7b8c717a0d9c..aa062d76330e 100644 --- a/dev-python/xarray/xarray-0.20.1.ebuild +++ b/dev-python/xarray/xarray-0.20.1.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/numpy-1.18[${PYTHON_USEDEP}] -- cgit v1.3