* [gentoo-commits] repo/gentoo:master commit in: dev-python/voluptuous/files/, dev-python/voluptuous/
@ 2020-08-21 19:28 David Seifert
0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2020-08-21 19:28 UTC (permalink / raw
To: gentoo-commits
commit: c229a8fd39bd84ee859f425ee6b8bfce865d7e0a
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 21 19:28:16 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Aug 21 19:28:16 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c229a8fd
dev-python/voluptuous: Fix tests
Closes: https://bugs.gentoo.org/738452
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../voluptuous/files/voluptuous-0.11.5-fix-doctest.patch | 11 +++++++++++
dev-python/voluptuous/voluptuous-0.11.5.ebuild | 8 ++++----
2 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/dev-python/voluptuous/files/voluptuous-0.11.5-fix-doctest.patch b/dev-python/voluptuous/files/voluptuous-0.11.5-fix-doctest.patch
new file mode 100644
index 00000000000..bdc8228ff40
--- /dev/null
+++ b/dev-python/voluptuous/files/voluptuous-0.11.5-fix-doctest.patch
@@ -0,0 +1,11 @@
+--- a/voluptuous/util.py
++++ b/voluptuous/util.py
+@@ -87,7 +87,7 @@
+ >>> s = Schema(validators.Any(int, SetTo(42)))
+ >>> s(2)
+ 2
+- >>> s("foo")
++ >>> s(42)
+ 42
+ """
+
diff --git a/dev-python/voluptuous/voluptuous-0.11.5.ebuild b/dev-python/voluptuous/voluptuous-0.11.5.ebuild
index b5a5d32daab..bef18fbef06 100644
--- a/dev-python/voluptuous/voluptuous-0.11.5.ebuild
+++ b/dev-python/voluptuous/voluptuous-0.11.5.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1
@@ -14,7 +15,6 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~mips ~ppc ~ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
-python_test() {
- unset PYTHONPATH
- nosetests -v || die "Tests failed"
-}
+PATCHES=( "${FILESDIR}"/${PN}-0.11.5-fix-doctest.patch )
+
+distutils_enable_tests nose
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/voluptuous/files/, dev-python/voluptuous/
@ 2023-11-29 11:15 Michał Górny
0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2023-11-29 11:15 UTC (permalink / raw
To: gentoo-commits
commit: bf021e76f22a088416dfc57b048367cdcac25bbe
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 29 11:11:59 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov 29 11:11:59 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf021e76
dev-python/voluptuous: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/voluptuous/Manifest | 2 --
.../files/voluptuous-0.11.5-fix-doctest.patch | 11 ---------
dev-python/voluptuous/voluptuous-0.13.1-r1.ebuild | 26 ----------------------
dev-python/voluptuous/voluptuous-0.14.0.ebuild | 25 ---------------------
4 files changed, 64 deletions(-)
diff --git a/dev-python/voluptuous/Manifest b/dev-python/voluptuous/Manifest
index bb883b49c513..0eb9b30e5122 100644
--- a/dev-python/voluptuous/Manifest
+++ b/dev-python/voluptuous/Manifest
@@ -1,3 +1 @@
-DIST voluptuous-0.13.1.gh.tar.gz 42466 BLAKE2B ee66abe131d5ed6f49fb6ecc0227c6108617cadc694132826c88abf33b83538db1c97d38451983d2fb1191d5e7066491194fb01399e920b21a9e75d54df2d3fa SHA512 874960bdd3fce213e46f8017fbc56ede02133de6f8cb439d810db38ca06d9c5fcf5496150ef4c73fd19d9e06489ba08a510fd96aa16b8825564a52fd01cc3f4f
-DIST voluptuous-0.14.0.gh.tar.gz 42928 BLAKE2B 86a445d58e6395d81e522d6f54766a43893256876b2ad675810aea5f03ed6847b09b84b5bcee8d99a661ee139da1067b6d06acb852bbfdfb7662e6e1fc7915b8 SHA512 c5acbcdd05a930438c75081cbe9b4c29fdf82849ad4af02041efd4ab0f9f200fcb1554d6868f548de9f466e825e7daf59d5a0db928a16ff713e1c9004bf833b0
DIST voluptuous-0.14.1.gh.tar.gz 42345 BLAKE2B 86866944bc391cabe7ac6c8cc00cc80d09a9d8890bab7c91f057d297b75554058da646e370cbaa9efe8d6707705c3f144af268d3d5cd6a15ac4568cac8bf146c SHA512 20d8c242b36e71c4eec7d0d7b638596b4f3762c30f8f1e0a4c0b38a4463f0a4c51279168be35a2e11d4e75428487d447e52218cccc78b61e5bab4ae0c5457120
diff --git a/dev-python/voluptuous/files/voluptuous-0.11.5-fix-doctest.patch b/dev-python/voluptuous/files/voluptuous-0.11.5-fix-doctest.patch
deleted file mode 100644
index bdc8228ff40e..000000000000
--- a/dev-python/voluptuous/files/voluptuous-0.11.5-fix-doctest.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/voluptuous/util.py
-+++ b/voluptuous/util.py
-@@ -87,7 +87,7 @@
- >>> s = Schema(validators.Any(int, SetTo(42)))
- >>> s(2)
- 2
-- >>> s("foo")
-+ >>> s(42)
- 42
- """
-
diff --git a/dev-python/voluptuous/voluptuous-0.13.1-r1.ebuild b/dev-python/voluptuous/voluptuous-0.13.1-r1.ebuild
deleted file mode 100644
index afc3dc156cff..000000000000
--- a/dev-python/voluptuous/voluptuous-0.13.1-r1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1
-
-DESCRIPTION="A Python data validation library"
-HOMEPAGE="https://github.com/alecthomas/voluptuous/"
-SRC_URI="
- https://github.com/alecthomas/voluptuous/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.11.5-fix-doctest.patch
-)
-
-distutils_enable_tests pytest
diff --git a/dev-python/voluptuous/voluptuous-0.14.0.ebuild b/dev-python/voluptuous/voluptuous-0.14.0.ebuild
deleted file mode 100644
index 36fe3b84b0f1..000000000000
--- a/dev-python/voluptuous/voluptuous-0.14.0.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1
-
-DESCRIPTION="A Python data validation library"
-HOMEPAGE="
- https://github.com/alecthomas/voluptuous/
- https://pypi.org/project/voluptuous/
-"
-SRC_URI="
- https://github.com/alecthomas/voluptuous/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-
-distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-29 11:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-29 11:15 [gentoo-commits] repo/gentoo:master commit in: dev-python/voluptuous/files/, dev-python/voluptuous/ Michał Górny
-- strict thread matches above, loose matches on Subject: below --
2020-08-21 19:28 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox