From 4829ba4c1a3905acbf5cf3a2bfb5c34fbbd85901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 17 May 2017 13:18:56 +0200 Subject: dev-python/scripttest: Use GitHub tarball to run tests --- dev-python/scripttest/Manifest | 2 +- dev-python/scripttest/scripttest-1.3.0.ebuild | 25 +++++++++++++++++++++++ dev-python/scripttest/scripttest-1.3.ebuild | 29 --------------------------- 3 files changed, 26 insertions(+), 30 deletions(-) create mode 100644 dev-python/scripttest/scripttest-1.3.0.ebuild delete mode 100644 dev-python/scripttest/scripttest-1.3.ebuild (limited to 'dev-python/scripttest') diff --git a/dev-python/scripttest/Manifest b/dev-python/scripttest/Manifest index 4e8874810af3..db1f163bed2d 100644 --- a/dev-python/scripttest/Manifest +++ b/dev-python/scripttest/Manifest @@ -1,2 +1,2 @@ DIST ScriptTest-1.2.tar.gz 7208 SHA256 158c34cfa736288c33177588572c2bb3372b836eb4c90b05222911b4ff976942 SHA512 0dc09e6af5554f38aca6ee45b9afad2fa4c1c53a4d3c43edff95bbd6ea8d57e94bf6b7bdcfd26afff6bf2b10690795bd2816013801911f726c67e8171546cad2 WHIRLPOOL 2d23a9fec63c34bd6cf4a06fa01167a9fc05017950fa05bf39a14b5f44393ca38b11d4c7b6c8285ba49cd1a535520ebd83901fadc41497ce7513899356d935d3 -DIST scripttest-1.3.tar.gz 7546 SHA256 951cfc25219b0cd003493a565f2e621fd791beaae9f9a3bdd7024d8626419c38 SHA512 a54aab83e102a8aa9fdbbcbaff5e8b758886c2db2d1eefee9448895b5ebd8d10115a86d810a39acc82917c17664d9225403cb8fdb2a7631ab1b601a791897a0e WHIRLPOOL d48c2d05920450a022de68af69c1120a8b2f843d7430a6be6a3a6d2ea6f99850d28576ba82b13167595f09fab5d803ba765e406182a83283eb0bd1c00ee0b701 +DIST scripttest-1.3.0.tar.gz 14885 SHA256 33c2c5315538598652cecc28984557d55dbe75ff814e50e4307dc8fbfac51cd5 SHA512 038bfb1726bff85b6e3675be51db829d3519b47665266f6ae1d3c5c6f4f06e7b16742262ca1ba240544e9bd39ae96c1be0bd5e8583736f72bb04241a1bb8acf6 WHIRLPOOL a415368739016a2bff8a40ecfee5bf009811a60a463d06c25b25e4c4d408de58ad3e4051b7dcddeb0f9246946d2b1b5420ddb57edcdbb25eeb0bcc6e77b2dd77 diff --git a/dev-python/scripttest/scripttest-1.3.0.ebuild b/dev-python/scripttest/scripttest-1.3.0.ebuild new file mode 100644 index 000000000000..0a1a9817255a --- /dev/null +++ b/dev-python/scripttest/scripttest-1.3.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_4 ) + +inherit distutils-r1 + +DESCRIPTION="A very small text templating language" +HOMEPAGE="http://pythonpaste.org/scripttest/ https://pypi.python.org/pypi/ScriptTest" +# pypi tarball lacks tests +SRC_URI="https://github.com/pypa/scripttest/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" +RDEPEND="" + +python_test() { + esetup.py test +} diff --git a/dev-python/scripttest/scripttest-1.3.ebuild b/dev-python/scripttest/scripttest-1.3.ebuild deleted file mode 100644 index 8fcbbc58c23b..000000000000 --- a/dev-python/scripttest/scripttest-1.3.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 python3_4 ) - -inherit distutils-r1 - -MY_PN="${PN}" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="A very small text templating language" -HOMEPAGE="http://pythonpaste.org/scripttest/ https://pypi.python.org/pypi/ScriptTest" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" -RDEPEND="" - -S="${WORKDIR}/${MY_P}" - -python_test() { - esetup.py test -} -- cgit v1.2.3