1 |
commit: 456b284e1468775a3c9bddeb0bcc098156896e5d |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 2 02:58:41 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 2 02:59:04 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=456b284e |
7 |
|
8 |
dev-python/ddt: Version bump to 1.1.1, enable tests |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-python/ddt/Manifest | 1 + |
13 |
dev-python/ddt/ddt-1.1.1.ebuild | 28 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 29 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/ddt/Manifest b/dev-python/ddt/Manifest |
17 |
index 8720a6b08b1..b7aba89fcc8 100644 |
18 |
--- a/dev-python/ddt/Manifest |
19 |
+++ b/dev-python/ddt/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ddt-1.1.0.tar.gz 6155 SHA256 1ab0d77e5ecfae9a2b4244dd8079d8e248a69eae0260238516c260ac5e2bd007 SHA512 86e8ffa8fa3a4d2c550898bd64201c3ea26de7692063e3076f5339d5731b9fdeb2d0aea772ff0702c2c359a291836e6486d97e8faa8874e1ebdb7ac9ac3b0385 WHIRLPOOL 7fd9b02ecee7976e39e5112898316fd1f9c1fb768da60397734070b622a0aac4aa1d348352d16ba96ddacb74bf4b9266933784890f253c398ae3495fd934dccb |
22 |
+DIST ddt-1.1.1.tar.gz 10021 SHA256 d6dc0fc0ec23c369090456ceaaf8baa43df8171a6906c44e52909edce78c00b0 SHA512 3839ac0448292bde07d676456640cd9466353e8c4481e60cb51e33704c21f92fdf840901430aa7f5276ccf579a7cd70b277fa2ceae03bce183e2422d514897a9 WHIRLPOOL 0c10f49c7238edaf115d481e66ba716fed54aac4aa23bdfbe56da8354d8136a236154d4795c723f13aa46fd57654b7423632338d4d810d9bbe33101a3809df0e |
23 |
|
24 |
diff --git a/dev-python/ddt/ddt-1.1.1.ebuild b/dev-python/ddt/ddt-1.1.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..7e5f62ce3f4 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/ddt/ddt-1.1.1.ebuild |
29 |
@@ -0,0 +1,28 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="A library to multiply test cases" |
40 |
+HOMEPAGE="https://pypi.python.org/pypi/ddt https://github.com/txels/ddt" |
41 |
+SRC_URI="mirror://pypi/d/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
46 |
+IUSE="test" |
47 |
+ |
48 |
+RDEPEND="" |
49 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
50 |
+ test? ( |
51 |
+ dev-python/nose[${PYTHON_USEDEP}] |
52 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
53 |
+ )" |
54 |
+ |
55 |
+python_test() { |
56 |
+ nosetests --with-cov --cover-package=ddt -v || die |
57 |
+} |