summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2023-01-27 12:01:29 +0100
committerJakov Smolić <jsmolic@gentoo.org>2023-01-27 12:07:26 +0100
commitc73bbec3e331686a6a9a3fcacbe52b7bc105ebf5 (patch)
tree363e98e1acb07a5ba4d87d344e3b42974db6db04 /dev-python/pytest-toolbox
parentapp-portage/gander: treeclean (diff)
downloadgentoo-c73bbec3e331686a6a9a3fcacbe52b7bc105ebf5.tar.gz
gentoo-c73bbec3e331686a6a9a3fcacbe52b7bc105ebf5.tar.bz2
gentoo-c73bbec3e331686a6a9a3fcacbe52b7bc105ebf5.zip
dev-python/pytest-toolbox: treeclean
Closes: https://bugs.gentoo.org/888219 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-python/pytest-toolbox')
-rw-r--r--dev-python/pytest-toolbox/Manifest1
-rw-r--r--dev-python/pytest-toolbox/metadata.xml13
-rw-r--r--dev-python/pytest-toolbox/pytest-toolbox-0.4-r1.ebuild49
3 files changed, 0 insertions, 63 deletions
diff --git a/dev-python/pytest-toolbox/Manifest b/dev-python/pytest-toolbox/Manifest
deleted file mode 100644
index d3d4b309cf77..000000000000
--- a/dev-python/pytest-toolbox/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pytest-toolbox-0.4.gh.tar.gz 8594 BLAKE2B fb1f19513e9e4b191c3eb995cc5e9445bc9f19affef87350d925c5465210c4de945b91120f86664c1dcf02a638595a7725cf88e3244e377ae77558c70d65643a SHA512 ed27700ff77cd607be808142cc310cd2b7461e55b3f8352d304ef8ca6c5e6c060c67a63238a1025407868ab8e229c4a16eaaa56aa75000159762001accb67752
diff --git a/dev-python/pytest-toolbox/metadata.xml b/dev-python/pytest-toolbox/metadata.xml
deleted file mode 100644
index 3143de31e5e4..000000000000
--- a/dev-python/pytest-toolbox/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>arthurzam@gentoo.org</email>
- <name>Arthur Zamarin</name>
- </maintainer>
- <stabilize-allarches/>
- <upstream>
- <remote-id type="pypi">pytest-toolbox</remote-id>
- <remote-id type="github">samuelcolvin/pytest-toolbox</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/pytest-toolbox/pytest-toolbox-0.4-r1.ebuild b/dev-python/pytest-toolbox/pytest-toolbox-0.4-r1.ebuild
deleted file mode 100644
index 6ddd8aa376a2..000000000000
--- a/dev-python/pytest-toolbox/pytest-toolbox-0.4-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2021-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{9..11} )
-
-inherit distutils-r1
-
-DESCRIPTION="Numerous useful plugins for pytest"
-HOMEPAGE="
- https://github.com/samuelcolvin/pytest-toolbox/
- https://pypi.org/project/pytest-toolbox/
-"
-SRC_URI="
- https://github.com/samuelcolvin/pytest-toolbox/archive/v${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-
-BDEPEND="
- test? (
- $(python_gen_cond_dep '
- dev-python/pydantic[${PYTHON_USEDEP}]
- ' pypy3 python3_{8..11} # TODO: python3_11
- )
- )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- sed -e '/addopts/d' -i setup.cfg || die
- distutils-r1_src_prepare
-}
-
-python_test() {
- local EPYTEST_DESELECT=()
- if ! has_version "dev-python/pydantic[${PYTHON_USEDEP}]"; then
- EPYTEST_DESELECT+=(
- tests/test_comparison.py::test_close_to_now_{false,true}
- )
- fi
- epytest
-}