Gentoo Archives: gentoo-commits

From: Alex Brandt <alunduil@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/expects/
Date: Sat, 28 May 2016 15:21:10
Message-Id: 1464448640.1bf3a36ee362ebd901a9236a6598107c1fd06b29.alunduil@gentoo
1 commit: 1bf3a36ee362ebd901a9236a6598107c1fd06b29
2 Author: Alex Brandt <alunduil <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 28 15:17:20 2016 +0000
4 Commit: Alex Brandt <alunduil <AT> gentoo <DOT> org>
5 CommitDate: Sat May 28 15:17:20 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf3a36e
7
8 dev-python/expects: add version 0.8.0
9
10 Package-Manager: portage-2.3.0_rc1
11
12 dev-python/expects/Manifest | 1 +
13 dev-python/expects/expects-0.8.0.ebuild | 38 +++++++++++++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/expects/Manifest b/dev-python/expects/Manifest
17 index 3491efb..544f254 100644
18 --- a/dev-python/expects/Manifest
19 +++ b/dev-python/expects/Manifest
20 @@ -1,4 +1,5 @@
21 DIST expects-0.4.2.tar.gz 23813 SHA256 b1e0b27141f784fe81a143153f23d3c8220fe8ec1003eb580b3eeb38eb778007 SHA512 6701a1a3099073c70d8f729b7ca72e4b9b3eb6d6f9e7d6d2d654a3b684c5ab101c343b4c3556f45d763ab1479dbc3eb3db209c4d9f5d2254cc4111e74a4a3c1a WHIRLPOOL 44ef85ca96225c22f91468e8b8b6368a26138f0fb9ee22dc89c282fb91adf4425d177ba62891239515affc639053165c6080f972c9435619c50a47fd81a27894
22 +DIST expects-0.8.0.tar.gz 27801 SHA256 37538d7b0fa9c0d53e37d07b0e8c07d89754d3deec1f0f8ed1be27f4f10363dd SHA512 c2379bb6b3b6181a0365a84b0602f2552de40760b7cbadd775705bacfe113ffbe55bcde818c5766f7079867ae38c8c02e318f3c9ffdccdddb58e6cf0559f1e25 WHIRLPOOL 825cebbfc05a287d213b3f12d4c783c5d7c23d3e93ec53570751d6786a1b891cd94b4c79db0a71bab21d7574652871f6955cf07c35f797497a16f735dd770451
23 DIST expects-0.8.0_rc2.tar.gz 27307 SHA256 c7959a0b0f76a186b1d3687fbdedaf551f8bbbddbd66e5307c3a52c787a779de SHA512 6ae4553838ce4d27993772cec33f1e1a18d539af4a9b0f62f66ef1fb78464a46f5b76a420096d2d36881f4dc581b69e8f6c8783b89d794df753fdffab275cc33 WHIRLPOOL 04a04534571e8a15bcc2e1d7a9fc2b63bb772a8adaaf0b6239d375f1e5f750be7d7fa9fd10f5d84f017c4e3ad6274a7955e5b70928ee6eec7c199181169e5741
24 DIST expects-0.8.0_rc4.tar.gz 27586 SHA256 3a4f4a5ae2ebd15b387eda0a841a3d61c9ac7c4171263a247776a7bd5f3135e1 SHA512 5c9fa6c9b296aba2a3a907e6e7b49bbb371a3deb0e8eca34a9df51f909dbb5e5700ec9c26a78205e6131c8154b75bb2381cab1b7fcb227edbb103b4c3f5784a5 WHIRLPOOL c9d78385c67ec7cb441159fc223ffc6eb3df14ed4330f17e064eb14ce17fb1201952581007a8f8da31dd1e4c8bb18baccb501345b8dca12eb914c198c1184861
25 DIST expects-0.8.0_rc5.tar.gz 27814 SHA256 49c0c6c82286e74dbe5e101a86926e4a1d5e11df582f9b7ab2953fa02d3e8e35 SHA512 f423327fdc16b6c74cd096b2d0b521224386793e43f36f8a75202876be4eae247c6193e272eb51e8d07c6169051ffdf18b8b28b3104e307c4cf27420b2a4f700 WHIRLPOOL f4cc56404e3eaf458dd4f2f0545463f5c8e218399ace65b0ab64982d9d10db4f93f20df1a4275a9271da594cd1dc7be8fabb6602b7c7b364ecbecdbef772fd9a
26
27 diff --git a/dev-python/expects/expects-0.8.0.ebuild b/dev-python/expects/expects-0.8.0.ebuild
28 new file mode 100644
29 index 0000000..cd4705d
30 --- /dev/null
31 +++ b/dev-python/expects/expects-0.8.0.ebuild
32 @@ -0,0 +1,38 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=5
38 +PYTHON_COMPAT=( python2_7 python3_4 )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Expressive and extensible TDD/BDD assertion library for Python"
43 +HOMEPAGE="https://github.com/jaimegildesagredo/expects"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0"
48 +KEYWORDS="~amd64"
49 +IUSE="doc test"
50 +
51 +DEPEND="
52 + dev-python/setuptools[${PYTHON_USEDEP}]
53 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
54 + test? ( dev-python/mamba[${PYTHON_USEDEP}] )
55 +"
56 +RDEPEND=""
57 +
58 +python_compile_all() {
59 + use doc && emake -C docs html
60 +}
61 +
62 +python_test() {
63 + mamba || die "tests failed under ${EPYTHON}"
64 +}
65 +
66 +python_install_all() {
67 + use doc && local HTML_DOCS=( docs/_build/html/. )
68 +
69 + distutils-r1_python_install_all
70 +}