summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-06-16 10:08:52 +0200
committerMichał Górny <mgorny@gentoo.org>2022-06-16 10:08:52 +0200
commit490dbd930327f5cf4506253dd74ba7045c09b0d6 (patch)
tree5e01847f9f31814954ce0e2abf50a30301d87ddb /dev-python/snapshottest
parentdev-python/sarge: Remove old (diff)
downloadgentoo-490dbd930327f5cf4506253dd74ba7045c09b0d6.tar.gz
gentoo-490dbd930327f5cf4506253dd74ba7045c09b0d6.tar.bz2
gentoo-490dbd930327f5cf4506253dd74ba7045c09b0d6.zip
dev-python/snapshottest: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/snapshottest')
-rw-r--r--dev-python/snapshottest/Manifest1
-rw-r--r--dev-python/snapshottest/snapshottest-0.5.1.ebuild45
2 files changed, 0 insertions, 46 deletions
diff --git a/dev-python/snapshottest/Manifest b/dev-python/snapshottest/Manifest
index 394a507020c5..8ca213e9a682 100644
--- a/dev-python/snapshottest/Manifest
+++ b/dev-python/snapshottest/Manifest
@@ -1,2 +1 @@
-DIST snapshottest-0.5.1.tar.gz 19312 BLAKE2B a8acfb09de9e58c7a929f71d10f3cc68d7eec31a9fa1ea0fe74ae8a574ceec315f7eab2f9e7cd326c34d981b5ede4c398b5f1352bd59c23be219eeb9a2c0e861 SHA512 1541c327c4238c816b55cf797f6104ad54ff62a2332517b3bf9a455bbee0abd49f6983a54dc7510d1e1c659d88e5f7d6c6aa396c0ece19e19957ea8cff42c673
DIST snapshottest-0.6.0.gh.tar.gz 19887 BLAKE2B d85b3025731dbe80c04388f8adf755f48f428df5f15496ad7e47d436ccfba0f8955833f576b12a38a3565a56deb49a425b67f9040bce69a7711be05558f0ef4e SHA512 7477668c0a61b4c282deb3eb9105cf06e8f644c931e2860a9a60dc2f8ed6de1eaf1ab100a816de200a39db8b488bda6ad33472265eecca707360dcbc9d8fafee
diff --git a/dev-python/snapshottest/snapshottest-0.5.1.ebuild b/dev-python/snapshottest/snapshottest-0.5.1.ebuild
deleted file mode 100644
index c49cc1e8330a..000000000000
--- a/dev-python/snapshottest/snapshottest-0.5.1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-inherit distutils-r1
-
-# no tests on pypi, no tags on github
-COMMIT_HASH="4ac2b4fb09e9e7728bebb11967c164a914775d1d"
-
-DESCRIPTION="Snapshot Testing utils for Python"
-HOMEPAGE="https://pypi.org/project/snapshottest/
- https://github.com/syrusakbary/snapshottest"
-SRC_URI="
- https://github.com/syrusakbary/${PN}/archive/${COMMIT_HASH}.tar.gz
- -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${COMMIT_HASH}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- dev-python/six[${PYTHON_USEDEP}]
- dev-python/termcolor[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest
-
-PATCHES=(
- "${FILESDIR}/snapshottest-0.5.1-remove-fastdiff.patch"
-)
-
-python_prepare_all() {
- sed -e "s:'pytest-runner'(,|)::" -i setup.py || die
- sed -r -e 's:--cov[[:space:]]*[[:graph:]]+::g' -i setup.cfg || die
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- distutils_install_for_testing
- epytest tests examples/pytest
- "${EPYTHON}" examples/unittest/test_demo.py || die "Tests failed with ${EPYTHON}"
-}