summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-07-18 10:42:18 +0200
committerPatrick Lauer <patrick@gentoo.org>2016-07-18 10:42:18 +0200
commite61fe26cfca5d82ad3fb852151706b829708a28a (patch)
treefd94e41b6a1f9a074300ce38813da6886355c377 /app-text
parentapp-arch/lziprecover: Removed old. (diff)
downloadgentoo-e61fe26cfca5d82ad3fb852151706b829708a28a.tar.gz
gentoo-e61fe26cfca5d82ad3fb852151706b829708a28a.tar.bz2
gentoo-e61fe26cfca5d82ad3fb852151706b829708a28a.zip
app-text/pytextile: Fix tarball and test deps #589036
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-text')
-rw-r--r--app-text/pytextile/Manifest2
-rw-r--r--app-text/pytextile/pytextile-2.3.2-r1.ebuild (renamed from app-text/pytextile/pytextile-2.3.2.ebuild)22
2 files changed, 17 insertions, 7 deletions
diff --git a/app-text/pytextile/Manifest b/app-text/pytextile/Manifest
index 13ca1b8d465c..d623c177f2c5 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
index ba03414ccdc4..37fdc471fba7 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}"
+}