diff options
| author | 2022-05-26 14:04:46 -0700 | |
|---|---|---|
| committer | 2022-05-26 14:04:46 -0700 | |
| commit | 6deb9f488f576a25dd74c58ad1a75e92f7b0c52f (patch) | |
| tree | 5214a1528b15475037a99d6ea082cb20395bd66e | |
| parent | dev-python/pyclip: Fix docs installation (diff) | |
| download | guru-6deb9f488f576a25dd74c58ad1a75e92f7b0c52f.tar.gz guru-6deb9f488f576a25dd74c58ad1a75e92f7b0c52f.tar.bz2 guru-6deb9f488f576a25dd74c58ad1a75e92f7b0c52f.zip | |
dev-python/pyclip: Disable tests
Running the tests is a bad idea because the clipboard isn't always
available when building.
Signed-off-by: Ryan Fox <flewkey@2a03.party>
Closes: https://bugs.gentoo.org/847169
| -rw-r--r-- | dev-python/pyclip/pyclip-0.5.4.ebuild | 13 | ||||
| -rw-r--r-- | dev-python/pyclip/pyclip-0.6.0.ebuild | 13 | ||||
| -rw-r--r-- | dev-python/pyclip/pyclip-9999.ebuild | 13 |
3 files changed, 6 insertions, 33 deletions
diff --git a/dev-python/pyclip/pyclip-0.5.4.ebuild b/dev-python/pyclip/pyclip-0.5.4.ebuild index f57d3f5c17..9d7f2261e7 100644 --- a/dev-python/pyclip/pyclip-0.5.4.ebuild +++ b/dev-python/pyclip/pyclip-0.5.4.ebuild @@ -20,20 +20,11 @@ DESCRIPTION="Python clipboard module" HOMEPAGE="https://pypi.org/project/pyclip/" LICENSE="Apache-2.0" SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" +RESTRICT="test" DOCS="${S}/docs/README.md" -DEPEND=" - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) -" +DEPEND="" RDEPEND=" x11-misc/xclip " BDEPEND="" - -python_test() { - for unittest in "${S}/tests/"*".py"; do - "${EPYTHON}" "${unittest}" || die "Tests failed" - done -} diff --git a/dev-python/pyclip/pyclip-0.6.0.ebuild b/dev-python/pyclip/pyclip-0.6.0.ebuild index 61efa2b6a0..8eb8b2e965 100644 --- a/dev-python/pyclip/pyclip-0.6.0.ebuild +++ b/dev-python/pyclip/pyclip-0.6.0.ebuild @@ -20,21 +20,12 @@ DESCRIPTION="Python clipboard module" HOMEPAGE="https://pypi.org/project/pyclip/" LICENSE="Apache-2.0" SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" +RESTRICT="test" DOCS="${S}/docs/README.md" -DEPEND=" - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) -" +DEPEND="" RDEPEND=" gui-apps/wl-clipboard x11-misc/xclip " BDEPEND="" - -python_test() { - for unittest in "${S}/tests/"*".py"; do - "${EPYTHON}" "${unittest}" || die "Tests failed" - done -} diff --git a/dev-python/pyclip/pyclip-9999.ebuild b/dev-python/pyclip/pyclip-9999.ebuild index 61efa2b6a0..8eb8b2e965 100644 --- a/dev-python/pyclip/pyclip-9999.ebuild +++ b/dev-python/pyclip/pyclip-9999.ebuild @@ -20,21 +20,12 @@ DESCRIPTION="Python clipboard module" HOMEPAGE="https://pypi.org/project/pyclip/" LICENSE="Apache-2.0" SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" +RESTRICT="test" DOCS="${S}/docs/README.md" -DEPEND=" - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) -" +DEPEND="" RDEPEND=" gui-apps/wl-clipboard x11-misc/xclip " BDEPEND="" - -python_test() { - for unittest in "${S}/tests/"*".py"; do - "${EPYTHON}" "${unittest}" || die "Tests failed" - done -} |
