public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/asynctest/
@ 2020-11-27 10:26 Alessandro Barbieri
  0 siblings, 0 replies; 2+ messages in thread
From: Alessandro Barbieri @ 2020-11-27 10:26 UTC (permalink / raw
  To: gentoo-commits

commit:     fd2eff2511c7cb3da40e63254074c8cd077bb50b
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed May 20 14:10:28 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Nov 27 00:00:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fd2eff25

dev-python/asynctest: soon to be treecleaned package

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/asynctest/Manifest                |  1 +
 dev-python/asynctest/asynctest-0.13.0.ebuild | 33 ++++++++++++++++++++++++++++
 dev-python/asynctest/metadata.xml            | 22 +++++++++++++++++++
 3 files changed, 56 insertions(+)

diff --git a/dev-python/asynctest/Manifest b/dev-python/asynctest/Manifest
new file mode 100644
index 00000000..e193011f
--- /dev/null
+++ b/dev-python/asynctest/Manifest
@@ -0,0 +1 @@
+DIST asynctest-0.13.0.tar.gz 67664 BLAKE2B 96a50544cd7ad5038abc01b46a7fd9f8bb87eeb7dfe60cb35ef910bd9583488733dfb78ab6f5de215a1c8715e0b36064d1ea75164a8840b207a8618bd806291f SHA512 cfa76a461c81d702f96cc06d6a6786c35373802a4d878927a1f11eaad741aef8e55130e4b07cfc78673210f0ebf45bf808b7c43aebb1b2835f40306b5e44b141

diff --git a/dev-python/asynctest/asynctest-0.13.0.ebuild b/dev-python/asynctest/asynctest-0.13.0.ebuild
new file mode 100644
index 00000000..532fcbd9
--- /dev/null
+++ b/dev-python/asynctest/asynctest-0.13.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{6,7} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Enhance the standard unittest with features for testing asyncio libraries"
+HOMEPAGE="
+	https://github.com/Martiusweb/asynctest
+	https://pypi.org/project/asynctest
+"
+SRC_URI="https://github.com/Martiusweb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+DEPEND=""
+
+distutils_enable_sphinx doc
+
+src_prepare() {
+	sed -i 's|def test_events_watched_outside_test_are_ignored|@unittest.skip("this fail")\n    def test_events_watched_outside_test_are_ignored|' test/test_selector.py
+	default
+}
+
+python_test() {
+	"${EPYTHON}" -m unittest -v test || die "Testing failed"
+}

diff --git a/dev-python/asynctest/metadata.xml b/dev-python/asynctest/metadata.xml
new file mode 100644
index 00000000..ef09f84d
--- /dev/null
+++ b/dev-python/asynctest/metadata.xml
@@ -0,0 +1,22 @@
+<?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">Martiusweb/asynctest</remote-id>
+		<doc>http://asynctest.readthedocs.org/en/latest</doc>
+		<bugs-to>https://github.com/Martiusweb/asynctest/issues</bugs-to>
+		<maintainer>
+			<email>
+				martius@martiusweb.net
+			</email>
+			<name>
+				Martin Richard
+			</name>
+		</maintainer>
+	</upstream>
+	<longdescription lang="en">
+		The package asynctest is built on top of the standard unittest module and cuts down boilerplate code when testing libraries for asyncio.
+	</longdescription>
+</pkgmetadata>
+


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/asynctest/
@ 2021-04-13 13:15 Andrew Ammerlaan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2021-04-13 13:15 UTC (permalink / raw
  To: gentoo-commits

commit:     ce4ffddb46608f0119ec6cab1a6fb415ceab7410
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Apr 13 13:12:37 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Apr 13 13:12:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ce4ffddb

dev-python/asynctest: bump python compat

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/asynctest/asynctest-0.13.0.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-python/asynctest/asynctest-0.13.0.ebuild b/dev-python/asynctest/asynctest-0.13.0.ebuild
index 063172c60..6210e149f 100644
--- a/dev-python/asynctest/asynctest-0.13.0.ebuild
+++ b/dev-python/asynctest/asynctest-0.13.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
 
-PYTHON_COMPAT=( python3_7 pypy3 )
+PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
 
 inherit distutils-r1
 
@@ -17,11 +17,9 @@ SRC_URI="https://github.com/Martiusweb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-DEPEND=""
 
 distutils_enable_sphinx doc
+distutils_enable_tests unittest
 
 src_prepare() {
 	sed -i 's|def test_events_watched_outside_test_are_ignored|@unittest.skip("this fail")\n    def test_events_watched_outside_test_are_ignored|' test/test_selector.py
@@ -29,5 +27,5 @@ src_prepare() {
 }
 
 python_test() {
-	"${EPYTHON}" -m unittest -v test || die "Testing failed"
+	"${EPYTHON}" -m unittest -v test || die "Testing failed with ${EPYTHON}"
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-13 13:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-27 10:26 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/asynctest/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2021-04-13 13:15 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox