public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/timelib/
Date: Wed, 17 May 2017 20:51:16 +0000 (UTC)	[thread overview]
Message-ID: <1495054270.25999628212bf5d4370403336d7bb48fec14a0ef.mgorny@gentoo> (raw)

commit:     25999628212bf5d4370403336d7bb48fec14a0ef
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 17 19:20:49 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 17 20:51:10 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25999628

dev-python/timelib: Enable tests

 dev-python/timelib/Manifest                |  2 +-
 dev-python/timelib/timelib-0.2.4-r1.ebuild | 19 ++++++++++++-------
 2 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/dev-python/timelib/Manifest b/dev-python/timelib/Manifest
index a0da5d42edd..be077baf33e 100644
--- a/dev-python/timelib/Manifest
+++ b/dev-python/timelib/Manifest
@@ -1 +1 @@
-DIST timelib-0.2.4.zip 281070 SHA256 49142233bdb5971d64a41e05a1f80a408a02be0dc7d9f8c99e7bdd0613ba81cb SHA512 871683756318f8896592e154a6949e6c96f9b9177ecd8694db2a48b16104cf35d11f550355a4723a097e9f17e3b7020d09a23916bd55a3dd463c22bed68991af WHIRLPOOL 941e3bccb1fba22eb54530c111ed0cbad136481e1e4f9c7107ae82625452b3534ad0b218b08eaf542efa159bc5df3afd49346cbc4fa297471998bd4412d3154b
+DIST timelib-0.2.4.tar.gz 295951 SHA256 7e6e5a103ce0447f9f91a56fd5d9cf54a1e5cece722b52e53d1b0bb9413248c2 SHA512 b19ef411f7a6d4f9e43e4de2a4c57f1f430b5c16ec88f7c3f72e8a2f6950a2e94c1ce3792203ba3add07994d1a8eaec4172aa09315b39df4494430e30ebd880b WHIRLPOOL 14ca47e9595117df0a45704daaf4d71721aa4ad9a5b06e006da1e71f37a76b6b04911187729206127608ca3d4ce7d6070735e60ccff4a4ca4549ea41b18f83aa

diff --git a/dev-python/timelib/timelib-0.2.4-r1.ebuild b/dev-python/timelib/timelib-0.2.4-r1.ebuild
index 2b2634b03ff..e5051a96261 100644
--- a/dev-python/timelib/timelib-0.2.4-r1.ebuild
+++ b/dev-python/timelib/timelib-0.2.4-r1.ebuild
@@ -2,19 +2,24 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1
 
 DESCRIPTION="parse english textual date descriptions"
-HOMEPAGE="https://pypi.python.org/pypi/timelib"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
+HOMEPAGE="https://github.com/pediapress/timelib https://pypi.python.org/pypi/timelib"
+# pypi zipball lacks tests; also it's .zip
+SRC_URI="https://github.com/pediapress/timelib/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="PHP-3.01 ZLIB"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE=""
+IUSE="test"
 
-DEPEND="app-arch/unzip
-	dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND=""
+DEPEND="dev-python/cython[${PYTHON_USEDEP}]
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_test() {
+	py.test -v || die "Tests fail with ${EPYTHON}"
+}


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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-17 20:51 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-05-17 20:51 [gentoo-commits] repo/gentoo:master commit in: dev-python/timelib/ Michał Górny
2017-05-17 18:05 Manuel Rüger

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=1495054270.25999628212bf5d4370403336d7bb48fec14a0ef.mgorny@gentoo \
    --to=mgorny@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