* [gentoo-commits] repo/gentoo:master commit in: dev-python/snapshottest/
@ 2020-10-16 18:22 Michał Górny
0 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2020-10-16 18:22 UTC (permalink / raw
To: gentoo-commits
commit: 0855767c0af2f07608dccf7ba0500b50666b2aca
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Thu Oct 15 06:18:35 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 16 18:21:23 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0855767c
dev-python/snapshottest: correct DISTUTILS_USE_SETUPTOOLS
Closes: https://bugs.gentoo.org/748885
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/snapshottest/snapshottest-0.5.1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-python/snapshottest/snapshottest-0.5.1.ebuild b/dev-python/snapshottest/snapshottest-0.5.1.ebuild
index f460c89932a..fce9e06a65d 100644
--- a/dev-python/snapshottest/snapshottest-0.5.1.ebuild
+++ b/dev-python/snapshottest/snapshottest-0.5.1.ebuild
@@ -3,8 +3,8 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6..8} )
+DISTUTILS_USE_SETUPTOOLS=bdepend
inherit distutils-r1
# no tests on pypi, no tags on github
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/snapshottest/
@ 2021-05-23 13:41 Michał Górny
0 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2021-05-23 13:41 UTC (permalink / raw
To: gentoo-commits
commit: 402c1607ca916a7b7ca5a00ce775f3304d344034
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 23 13:10:36 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 23 13:41:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=402c1607
dev-python/snapshottest: Enable py3.9 & py3.10
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/snapshottest/snapshottest-0.5.1.ebuild | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
diff --git a/dev-python/snapshottest/snapshottest-0.5.1.ebuild b/dev-python/snapshottest/snapshottest-0.5.1.ebuild
index aec16c0b697..c49cc1e8330 100644
--- a/dev-python/snapshottest/snapshottest-0.5.1.ebuild
+++ b/dev-python/snapshottest/snapshottest-0.5.1.ebuild
@@ -1,10 +1,9 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7..8} )
-DISTUTILS_USE_SETUPTOOLS=bdepend
+PYTHON_COMPAT=( python3_{7..10} )
inherit distutils-r1
# no tests on pypi, no tags on github
@@ -13,24 +12,21 @@ 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"
+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"
-IUSE="test"
-RESTRICT="!test? ( test )"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
dev-python/termcolor[${PYTHON_USEDEP}]
"
-BDEPEND="${RDEPEND}
- test? (
- dev-python/pytest[${PYTHON_USEDEP}]
- )
-"
+
+distutils_enable_tests pytest
PATCHES=(
"${FILESDIR}/snapshottest-0.5.1-remove-fastdiff.patch"
@@ -44,6 +40,6 @@ python_prepare_all() {
python_test() {
distutils_install_for_testing
- pytest -vv tests examples/pytest || die "Tests failed with ${EPYTHON}"
+ epytest tests examples/pytest
"${EPYTHON}" examples/unittest/test_demo.py || die "Tests failed with ${EPYTHON}"
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/snapshottest/
@ 2022-06-16 8:09 Michał Górny
0 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2022-06-16 8:09 UTC (permalink / raw
To: gentoo-commits
commit: 490dbd930327f5cf4506253dd74ba7045c09b0d6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 16 08:08:52 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 08:08:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=490dbd93
dev-python/snapshottest: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/snapshottest/Manifest | 1 -
dev-python/snapshottest/snapshottest-0.5.1.ebuild | 45 -----------------------
2 files changed, 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}"
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/snapshottest/
@ 2024-06-30 17:00 Michał Górny
0 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2024-06-30 17:00 UTC (permalink / raw
To: gentoo-commits
commit: 8b290012cc96bdf206df8b7cc8e83571d3944042
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 30 16:41:44 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun 30 17:00:16 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b290012
dev-python/snapshottest: Enable py3.13
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/snapshottest/snapshottest-0.6.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-python/snapshottest/snapshottest-0.6.0.ebuild b/dev-python/snapshottest/snapshottest-0.6.0.ebuild
index d01d038c7f3c..e7efddb861bc 100644
--- a/dev-python/snapshottest/snapshottest-0.6.0.ebuild
+++ b/dev-python/snapshottest/snapshottest-0.6.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2020-2023 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-06-30 17:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-30 17:00 [gentoo-commits] repo/gentoo:master commit in: dev-python/snapshottest/ Michał Górny
-- strict thread matches above, loose matches on Subject: below --
2022-06-16 8:09 Michał Górny
2021-05-23 13:41 Michał Górny
2020-10-16 18:22 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox