public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pytextile/
Date: Mon, 18 Jul 2016 08:42:38 +0000 (UTC)	[thread overview]
Message-ID: <1468831338.e61fe26cfca5d82ad3fb852151706b829708a28a.patrick@gentoo> (raw)

commit:     e61fe26cfca5d82ad3fb852151706b829708a28a
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 18 08:42:18 2016 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Mon Jul 18 08:42:18 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e61fe26c

app-text/pytextile: Fix tarball and test deps #589036

Package-Manager: portage-2.3.0

 app-text/pytextile/Manifest                        |  2 +-
 ...tile-2.3.2.ebuild => pytextile-2.3.2-r1.ebuild} | 22 ++++++++++++++++------
 2 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/app-text/pytextile/Manifest b/app-text/pytextile/Manifest
index 13ca1b8..d623c17 100644
--- a/app-text/pytextile/Manifest
+++ b/app-text/pytextile/Manifest
@@ -1,4 +1,4 @@
+DIST pytextile-2.3.2.tar.gz 41941 SHA256 de4530f538adf71aaeb4812b998e2097e32326ebb5a3940a7cac7a7c4036ec9e SHA512 eb84140f6518f8875599fa6f99f2dc8aec46abd88ab757cc3c437c86ffb6411ba6d08ccfbf46ef292abe889dcce80676668cbfa54d2ba33bd3d96ce44c88f0f9 WHIRLPOOL ae0e0a51dfdf7fedcf027730c451b352e3df4093ddf91fc9ec5e2c4d83c4ed3dc4297aab379b77544b5d06ac651f724e34a46d2668fcdf975632583f62836ae0
 DIST textile-2.1.8.tar.gz 34002 SHA256 c443f4bf0a31df9e707e615f869d4f51b08cdb222d17ca3009eda44f7cfd8629 SHA512 b1675a131b482f4926efb45312b16c722ff158d9296704918b56316d470056f986ce18d495525a8e9f236bdd62e09ca6a17b443a7db8c8c36e5d05fcffce67da WHIRLPOOL fedcd9b9277387604e258fca427e3cd587f3b2ba93e65b39474ce57810fa67dae772241c5cf69dc8aaf89416d6191271f1fece4fa2f2e63f19fec6597b956bd5
 DIST textile-2.2.1.tar.gz 32631 SHA256 4899f06c63bfdc32a204d4c1c1e9302ddf17f26c20328419747d109348e23afd SHA512 81d044deaa765693078d949672affa787a4e15882cc2928fd19c3abe69256ffbeec1308b303ee694a80787ad7574b57ab4b256f111d9874e72440809236f6b93 WHIRLPOOL 3fda8226310d998b7d40d9fec6398173c8398c44704dd151400d284ba5a897a56bee6d3f17a21ed8fc01e76cea88f41a8372b90a4ad8a7eb6627de550dd0ef89
 DIST textile-2.2.2.tar.gz 32844 SHA256 dba4f1cb5772b99dbe4d521807a3255ddbbfa971da8b054afa08f0b428bced28 SHA512 19f2ed92199549549b07c2bb3accdf483c409c2dfd17e43ae38ba8babbc2c72d662d78414de0fd1c64b65eae59ce9e591ab9c863d4f806b7c454d8a37567d882 WHIRLPOOL a2cf3f1ef03ccac807582fd9ca44acc7f6bf48d56445a9a73d756400c7b2f7952f3222ce87caa6dfded27c4a4f55feee57f2e3194082b2d44841b4953821ca0f
-DIST textile-2.3.2.tar.gz 24689 SHA256 918e7e7a1d8cdffd826c3028901f19eac8224829d8ced6d082b8a659add47989 SHA512 1e59f56fb0767d570079aad602ed699861ca9bdbdba039fedcb2fdf1e55791dc9ebe5458e0bcb0f65c4f8c0a220af5dd8fc59dce39a6c9661c7474d45ba7bca7 WHIRLPOOL c3105bc804151053742d682af6fe4ba0f07f4b6a5dd2b67022de7327bebaeee41e1e5a6d0af0325d4bb7551048c31ab248c491ac4e15d67713d2aca0fdce0cd5

diff --git a/app-text/pytextile/pytextile-2.3.2.ebuild b/app-text/pytextile/pytextile-2.3.2-r1.ebuild
similarity index 60%
rename from app-text/pytextile/pytextile-2.3.2.ebuild
rename to app-text/pytextile/pytextile-2.3.2-r1.ebuild
index ba03414..37fdc47 100644
--- a/app-text/pytextile/pytextile-2.3.2.ebuild
+++ b/app-text/pytextile/pytextile-2.3.2-r1.ebuild
@@ -7,21 +7,27 @@ PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
 
 inherit distutils-r1
 
-MY_PN="textile"
+MY_PN="python-textile"
 MY_P="${MY_PN}-${PV}"
 
 DESCRIPTION="A Python implementation of Textile, Dean Allen's Human Text Generator for creating (X)HTML"
 HOMEPAGE="https://github.com/textile/python-textile"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+SRC_URI="https://github.com/textile/python-textile/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+	dev-python/pytest-runner[${PYTHON_USEDEP}]
+	test? ( dev-python/pytest[${PYTHON_USEDEP}]
+		dev-python/pytest-cov[${PYTHON_USEDEP}]
+	)
+	"
 RDEPEND="
-	dev-python/regex[${PYTHON_USEDEP}]"
+	dev-python/regex[${PYTHON_USEDEP}]
+	"
 
 S="${WORKDIR}/${MY_P}"
 
@@ -30,3 +36,7 @@ python_prepare_all() {
 	sed -e 's:with-id = 1::' -i setup.cfg || die
 	distutils-r1_python_prepare_all
 }
+
+python_test() {
+	py.test || die "Testsuite failed under ${EPYTHON}"
+}


             reply	other threads:[~2016-07-18  8:42 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-18  8:42 Patrick Lauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-03-11 16:17 [gentoo-commits] repo/gentoo:master commit in: app-text/pytextile/ Michał Górny
2023-03-11 16:00 Sam James
2023-02-27 18:02 Michał Górny
2021-08-02  8:17 Michał Górny
2021-08-02  8:17 Michał Górny
2021-08-02  8:17 Michał Górny
2021-08-02  8:17 Michał Górny
2021-05-31 20:22 Michał Górny
2020-08-31  1:26 Sam James
2020-08-22  5:50 Agostino Sarubbo
2020-08-17  7:01 Agostino Sarubbo
2020-08-15  7:31 Sergei Trofimovich
2020-07-15  8:06 Joonas Niilola
2020-07-15  8:06 Joonas Niilola
2020-03-07 15:03 Michał Górny
2020-03-07 11:03 Agostino Sarubbo
2020-03-07 10:54 Agostino Sarubbo
2020-03-07 10:50 Agostino Sarubbo
2020-03-07  9:44 Agostino Sarubbo
2020-03-07  8:59 Agostino Sarubbo
2020-02-11 11:38 Michał Górny
2018-10-16  0:01 Virgil Dupras
2018-10-16  0:01 Virgil Dupras
2018-06-27 19:29 Pacho Ramos
2017-02-18  9:54 David Seifert
2017-01-21 17:16 Agostino Sarubbo
2016-10-01 20:15 Patrick Lauer
2016-07-17 14:37 Patrick Lauer
2015-10-15  9:01 Justin Lecher

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=1468831338.e61fe26cfca5d82ad3fb852151706b829708a28a.patrick@gentoo \
    --to=patrick@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