public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/typing/
Date: Sat, 21 Jan 2017 01:36:24 +0000 (UTC)	[thread overview]
Message-ID: <1484962491.b65d70485ffbbdc71adc83b3ed91aa00cc309bfe.soap@gentoo> (raw)

commit:     b65d70485ffbbdc71adc83b3ed91aa00cc309bfe
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 21 01:12:37 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jan 21 01:34:51 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b65d7048

dev-python/typing: Add pypy and pypy3 to PYTHON_COMPAT

* Also fix test suite to actually run when
  FEATURES=test is set

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/typing/typing-3.5.2.2.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/dev-python/typing/typing-3.5.2.2.ebuild b/dev-python/typing/typing-3.5.2.2.ebuild
index 60885d1..1b87ead 100644
--- a/dev-python/typing/typing-3.5.2.2.ebuild
+++ b/dev-python/typing/typing-3.5.2.2.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy{,3} )
 
 inherit distutils-r1
 
@@ -21,5 +21,12 @@ DEPEND=""
 RDEPEND=""
 
 python_test() {
-	"${EPYTHON}" -m unittest discover || die "tests failed under ${EPYTHON}"
+	cd "${BUILD_DIR}" || die
+	if [[ ${EPYTHON} == python2* || ${EPYTHON} == pypy ]]; then
+		cp "${S}"/python2/test_typing.py . || die
+	else
+		cp "${S}"/src/test_typing.py . || die
+	fi
+
+	"${EPYTHON}" test_typing.py || die "tests failed under ${EPYTHON}"
 }


             reply	other threads:[~2017-01-21  1:36 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-21  1:36 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-08-22  7:13 [gentoo-commits] repo/gentoo:master commit in: dev-python/typing/ Michał Górny
2020-08-19 10:41 Sam James
2020-07-14 12:01 Michał Górny
2020-07-11  9:27 Michał Górny
2020-03-29 10:13 Michał Górny
2020-03-29 10:13 Michał Górny
2020-03-29 10:13 Michał Górny
2020-03-25 15:27 Agostino Sarubbo
2020-03-25 14:52 Agostino Sarubbo
2020-03-25 13:27 Agostino Sarubbo
2020-03-25 13:12 Agostino Sarubbo
2020-03-25 12:36 Agostino Sarubbo
2020-03-25 12:23 Agostino Sarubbo
2019-11-21 13:03 Michał Górny
2019-06-25 12:09 Michael Haubenwallner
2019-03-20 10:31 Fabian Groffen
2018-07-12 13:28 Michał Górny
2018-06-28 14:47 Mikle Kolyada
2018-03-19  5:45 Tim Harder
2018-03-19  5:45 Tim Harder
2018-03-10 14:56 Pacho Ramos
2018-03-10 14:56 Pacho Ramos
2018-02-21 20:18 Michał Górny
2017-12-16 21:49 Mike Gilbert
2017-12-10  0:32 Sergei Trofimovich
2017-12-10  0:32 Sergei Trofimovich
2017-12-10  0:32 Sergei Trofimovich
2017-11-10  3:50 Matt Turner
2017-10-04  8:57 Michał Górny
2017-09-24 11:11 Michael Palimaka
2017-09-20  5:09 Tim Harder
2017-09-12  9:13 Fabian Groffen
2017-09-10 19:13 Sergei Trofimovich
2017-08-13 13:03 Sergei Trofimovich
2017-07-29 20:38 Matt Thode
2017-07-29 20:38 Matt Thode
2017-07-18  8:25 Sergei Trofimovich
2017-07-15 16:22 Tobias Klausmann
2017-07-15  9:40 Alexis Ballier
2017-07-01 10:14 Sergei Trofimovich
2017-05-16 20:06 Manuel Rüger
2017-03-29  3:17 Jeroen Roovers
2017-02-27 20:11 Markus Meier
2017-02-22 21:34 Markus Meier
2017-02-19  8:29 Markus Meier
2017-01-23  4:46 Lars Wendler
2017-01-23  4:46 Lars Wendler
2017-01-16 17:23 David Seifert
2017-01-15 20:11 Jeroen Roovers
2017-01-15 20:07 Jeroen Roovers
2016-11-24 17:44 Tobias Klausmann
2016-11-04  8:40 Lars Wendler
2016-04-10 22:48 Alex Brandt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1484962491.b65d70485ffbbdc71adc83b3ed91aa00cc309bfe.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox