public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Manuel Rüger" <mrueg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/node-semver/
Date: Wed, 17 May 2017 17:12:49 +0000 (UTC)	[thread overview]
Message-ID: <1495041151.ab37c18d19222a6757139715218c9ee06d828e1d.mrueg@gentoo> (raw)

commit:     ab37c18d19222a6757139715218c9ee06d828e1d
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Wed May 17 17:12:31 2017 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Wed May 17 17:12:31 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab37c18d

dev-python/node-semver: Add python3_6

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-python/node-semver/node-semver-0.1.1.ebuild | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/dev-python/node-semver/node-semver-0.1.1.ebuild b/dev-python/node-semver/node-semver-0.1.1.ebuild
index eb9447fc5e2..6285b77acb5 100644
--- a/dev-python/node-semver/node-semver-0.1.1.ebuild
+++ b/dev-python/node-semver/node-semver-0.1.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
 
 inherit distutils-r1
 
@@ -17,4 +17,16 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
+IUSE="test"
+
+DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+	# https://github.com/podhmo/python-semver/issues/4
+	sed -i -e "/github.com/d" semver/tests/test_negative_range.py || die
+	distutils-r1_python_prepare_all
+}
+
+python_test() {
+	py.test || die
+}


             reply	other threads:[~2017-05-17 17:12 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-17 17:12 Manuel Rüger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-18  6:23 [gentoo-commits] repo/gentoo:master commit in: dev-python/node-semver/ Michał Górny
2023-06-01  4:07 Michał Górny
2023-02-24  6:00 Michał Górny
2022-06-12 18:28 Michał Górny
2022-05-16 13:24 Michał Górny
2022-04-29  6:17 Michał Górny
2022-02-06  7:45 Joonas Niilola
2021-08-08 13:24 Louis Sautier
2020-09-21 15:30 Michał Górny
2020-08-17 10:40 Louis Sautier
2020-03-28  9:20 Michał Górny
2020-03-28  9:20 Michał Górny
2020-02-05 16:53 Michał Górny
2019-10-21 14:08 Joonas Niilola
2019-08-12 11:03 Louis Sautier
2019-08-12 11:03 Louis Sautier
2018-01-05 13:26 Michał Górny
2017-12-18 21:59 Patrice Clement
2016-12-12  2:30 Sebastien Fabbro

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=1495041151.ab37c18d19222a6757139715218c9ee06d828e1d.mrueg@gentoo \
    --to=mrueg@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