summaryrefslogtreecommitdiff
path: root/dev-python/nose2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-12-14 13:26:14 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-12-14 13:26:14 +0000
commit6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch)
tree25413d1cb3a0cbfe36029db32398c0f333609215 /dev-python/nose2
parent9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff)
gentoo resync : 14.12.2020
Diffstat (limited to 'dev-python/nose2')
-rw-r--r--dev-python/nose2/Manifest4
-rw-r--r--dev-python/nose2/metadata.xml3
-rw-r--r--dev-python/nose2/nose2-0.9.2.ebuild41
3 files changed, 46 insertions, 2 deletions
diff --git a/dev-python/nose2/Manifest b/dev-python/nose2/Manifest
index 185d483aac7f..7e7e35bf507d 100644
--- a/dev-python/nose2/Manifest
+++ b/dev-python/nose2/Manifest
@@ -1,3 +1,5 @@
DIST nose2-0.9.1.tar.gz 152411 BLAKE2B 39f2d992e5cab4b9e5cd4401ea9285884eeeac7d2e126b5aad5582186efa0f325139480a446950019e91a376b5992fea106064e5170c9ea7961f128b895a335c SHA512 48cfe3956a3cb696e344ea03e5e0ac8d52831b8272b7cad2bdee34681d1e4e7968fe9da9b71cc9db40b6edf289509c2af766e73611f3a6f23ebd5062f4d52c9e
+DIST nose2-0.9.2.tar.gz 153381 BLAKE2B 9339a31b664561bd86817a969a64a3d80dacdda3ed25bc0a0b6531812e56c7e2bfaadcad3712d8af1a7ce585e27ff6de54428667e44e7c6b0003db5d52703971 SHA512 9af69f0cc9db2e8ef37d2c4ea4fd2d661a38df73fc984d261a1c7c39fba07e44afdf494f0939362b84a03e80c3d93ee75c9352ef333616bf8ce6e6f019b811fe
EBUILD nose2-0.9.1-r1.ebuild 869 BLAKE2B 5f63c8827e7e60adff75f12143284fe71f8a7377f5be24fcb6726630396f2a234a4fe848aa8d79edce794c03448600efd950cba54e982991de350f487b87fb54 SHA512 8fc0a02c36123e9b0df6d88334148fb5d22a866d69967ea11b7d8c037481c03df89bd00a70f6c052784dc4e82233d9c5500c24ad2b321f1e90aa6566fca1d7ff
-MISC metadata.xml 245 BLAKE2B 3add0b4d7a53d7fe522e4b78a567cf1a8b1fe89d9abfd8fd5ccbc70104ccf52b15c4081cea951454752df03f43de328c975f280a42f8b248e83fc37a89716fdb SHA512 1ecded9f7a627a77dd609108d3bb95d70fea72e3fcc70436a6f0e54abe609bf9553644a8aaf2333e1aa0b14095768dc8f5d35b510173ccb194f4f8ac4243e33e
+EBUILD nose2-0.9.2.ebuild 878 BLAKE2B 6af2612a615c9b7af5faeee33a50e81097b8cf0fbdcec9263ea61dfee490d9528bbf19b51d0fc4ecebe1371e2f3e0ebbcad3658e77818a66b9a6f50a34503776 SHA512 2588f1f8b63358ced8367ceb4baaa62c9c9080e8cb9a4332914d49487c4d0cd1b8f351c1388a1f6ab4808d5c7b85006fc8311a811801a9d6dd8a4013273b4dd2
+MISC metadata.xml 288 BLAKE2B c446ac45d7ff957c9c8a73ecb4702edf87d6e6a112e602f743064887c10bcebf9a2240a4705a5a6bfd8bdd4b72b264afacd64bef6f9095d5ed274374a8eea5ef SHA512 d0cff4f56e4c84629eb665cc88209951f65cdbb327727a906254f4d8c997c24e8e71d3a6e27cb556554440a3302acf75e04e26ec4923ae09c7414b7fd806ce7b
diff --git a/dev-python/nose2/metadata.xml b/dev-python/nose2/metadata.xml
index 684f51f49353..507e890c359f 100644
--- a/dev-python/nose2/metadata.xml
+++ b/dev-python/nose2/metadata.xml
@@ -1,8 +1,9 @@
-<?xml version='1.0' encoding='UTF-8'?>
+<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!--maintainer-needed-->
<upstream>
<remote-id type="github">nose-devs/nose2</remote-id>
+ <remote-id type="pypi">nose2</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-python/nose2/nose2-0.9.2.ebuild b/dev-python/nose2/nose2-0.9.2.ebuild
new file mode 100644
index 000000000000..87db50c78a37
--- /dev/null
+++ b/dev-python/nose2/nose2-0.9.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+inherit distutils-r1
+
+DESCRIPTION="Next generation unittest with plugins"
+HOMEPAGE="https://github.com/nose-devs/nose2"
+SRC_URI="https://github.com/nose-devs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+# Failures need investigating
+RESTRICT="test"
+
+BDEPEND="
+ doc? ( >=dev-python/sphinx-1.0.5 )
+"
+DEPEND="
+ >=dev-python/coverage-4.4.1[${PYTHON_USEDEP}]
+ >=dev-python/six-1.1[${PYTHON_USEDEP}]
+"
+RDEPEND="${DEPEND}"
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_test() {
+ "${PYTHON}" -m nose2.__main__ || die "tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html/. )
+
+ distutils-r1_python_install_all
+}