Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pretend/
Date: Wed, 21 Feb 2018 19:43:31
Message-Id: 1519242203.4a1a677121a9d9a87738c0e407b29f383e3577ea.mgorny@gentoo
1 commit: 4a1a677121a9d9a87738c0e407b29f383e3577ea
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 21 19:42:14 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 21 19:43:23 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1a6771
7
8 dev-python/pretend: Enable testing
9
10 dev-python/pretend/Manifest | 1 +
11 dev-python/pretend/pretend-1.0.8-r1.ebuild | 24 ++++++++++++++++++++++++
12 2 files changed, 25 insertions(+)
13
14 diff --git a/dev-python/pretend/Manifest b/dev-python/pretend/Manifest
15 index 0968c134b6f..236cfd50919 100644
16 --- a/dev-python/pretend/Manifest
17 +++ b/dev-python/pretend/Manifest
18 @@ -1 +1,2 @@
19 +DIST pretend-1.0.8.gh.tar.gz 5509 BLAKE2B 574c83f05c9b45876891df97a23a25cefb0f27f9ba76aa6d01fe8d2246f7b4457fb99522540d85108056dd83e79ed7179c4661d30fbc786ce2adf0c477a23560 SHA512 f0a3263f55afc43bfd63a6ba0ae876f2607ed9cc26352a3ec69933ebb79418a128c5c29c3e77a924b158da658d8ff2043a7f8e6d4ee3e499df22e4083329cf62
20 DIST pretend-1.0.8.tar.gz 4848 BLAKE2B 396fae55208e39eadceaff92890b48d63b79a24e0d313a3b87d69b8a61655cb8a1a2f8823f06779e0730fb3505cb269ca907dd28a79fdd283ebd6913bd9c0ab3 SHA512 25011216947289d340fb979ebc9e2c7f000571f006cf5ce15f10ff0e013164e4329a3a66933d202acf8ced498929cf9e5a2a3666aafa00f78348400615c5cec8
21
22 diff --git a/dev-python/pretend/pretend-1.0.8-r1.ebuild b/dev-python/pretend/pretend-1.0.8-r1.ebuild
23 new file mode 100644
24 index 00000000000..89d768e64d7
25 --- /dev/null
26 +++ b/dev-python/pretend/pretend-1.0.8-r1.ebuild
27 @@ -0,0 +1,24 @@
28 +# Copyright 1999-2018 Gentoo Foundation
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=6
32 +
33 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
34 +
35 +inherit distutils-r1
36 +
37 +DESCRIPTION="A library for stubbing in Python"
38 +HOMEPAGE="https://github.com/alex/pretend/ https://pypi.python.org/pypi/pretend/"
39 +SRC_URI="https://github.com/alex/pretend/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
40 +
41 +LICENSE="BSD"
42 +SLOT="0"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
44 +IUSE="test"
45 +
46 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
47 +test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
48 +
49 +python_test() {
50 + py.test -v || die
51 +}