public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Louis Sautier" <sbraz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/node-semver/
Date: Mon, 12 Aug 2019 11:03:24 +0000 (UTC)	[thread overview]
Message-ID: <1565607417.802c9a05f99c475a79c2a538d9388c5c0495aa70.sbraz@gentoo> (raw)

commit:     802c9a05f99c475a79c2a538d9388c5c0495aa70
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 12 10:56:57 2019 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Mon Aug 12 10:56:57 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=802c9a05

dev-python/node-semver: bump to 0.6.1, support Py3.7, fix tests

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>

 dev-python/node-semver/Manifest                 |  1 +
 dev-python/node-semver/node-semver-0.6.1.ebuild | 37 +++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/node-semver/Manifest b/dev-python/node-semver/Manifest
index 98bbc500a8f..9051017fbad 100644
--- a/dev-python/node-semver/Manifest
+++ b/dev-python/node-semver/Manifest
@@ -1 +1,2 @@
 DIST node-semver-0.2.0.tar.gz 10236 BLAKE2B f4f48761a0086b8a2e79307427b4dc93954362452f653042582024cee593b4b7fefb1a14d3d4ea6832255209b054c9bdb05b02cb101af1e359a1266c472c5149 SHA512 7c636d94a262723c5e50123433c9c7af38424c46711c1b8e001931b242fc9703a084a0426b75e6884104a4adc6104a298355bf3c1604b9cae0ddab7d5f11b430
+DIST node-semver-0.6.1.tar.gz 17952 BLAKE2B f7d48f7d0373acdad56ef6745f09653163f3bcfbed26820ff77205d7bb479b0c9debfd79f719d3eb973d3cec06b0bac3773f06351712c274f90a2dcf5c658694 SHA512 d1f406d6e82f02c3e0eb0f4e1506279b00e7f31875f45bfbd7f87e6777b46676003bb7b39241bdeae616c6506dd85c60e61217460c55dd5079ea87cd818cd6bc

diff --git a/dev-python/node-semver/node-semver-0.6.1.ebuild b/dev-python/node-semver/node-semver-0.6.1.ebuild
new file mode 100644
index 00000000000..38da8d9ff05
--- /dev/null
+++ b/dev-python/node-semver/node-semver-0.6.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python version of node-semver, the semantic versioner for npm"
+HOMEPAGE="
+	https://pypi.org/project/node-semver/
+	https://github.com/podhmo/python-semver
+	https://github.com/npm/node-semver
+"
+# Tests are currently missing from PyPI tarballs
+# https://github.com/podhmo/python-semver/pull/31
+SRC_URI="https://github.com/podhmo/python-semver/archive/${PV}.tar.gz -> ${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="test"
+
+BDEPEND="
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
+
+S="${WORKDIR}/python-semver-${PV}"
+
+python_test() {
+	# Ignore 2 tests that fail with Python 2
+	# https://github.com/podhmo/python-semver/issues/30
+	pytest -vv --ignore semver/tests/test_passing_bytes.py \
+		|| die "tests failed with ${EPYTHON}"
+}


             reply	other threads:[~2019-08-12 11:03 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-12 11:03 Louis Sautier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-27 21:01 [gentoo-commits] repo/gentoo:master commit in: dev-python/node-semver/ Michał Górny
2024-05-18  6:23 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
2018-01-05 13:26 Michał Górny
2017-12-18 21:59 Patrice Clement
2017-05-17 17:12 Manuel Rüger
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=1565607417.802c9a05f99c475a79c2a538d9388c5c0495aa70.sbraz@gentoo \
    --to=sbraz@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