Gentoo Archives: gentoo-commits

From: Virgil Dupras <vdupras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pytextile/
Date: Tue, 16 Oct 2018 00:02:04
Message-Id: 1539648082.53cdd593c90f8bab8c49877b6f687277860c64e1.vdupras@gentoo
1 commit: 53cdd593c90f8bab8c49877b6f687277860c64e1
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 15 23:53:34 2018 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 16 00:01:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53cdd593
7
8 app-text/pytextile: bump to 3.0.3
9
10 Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 app-text/pytextile/Manifest | 1 +
14 app-text/pytextile/pytextile-3.0.3.ebuild | 44 +++++++++++++++++++++++++++++++
15 2 files changed, 45 insertions(+)
16
17 diff --git a/app-text/pytextile/Manifest b/app-text/pytextile/Manifest
18 index 84ad11ce3ff..f70b76be1d6 100644
19 --- a/app-text/pytextile/Manifest
20 +++ b/app-text/pytextile/Manifest
21 @@ -1,2 +1,3 @@
22 DIST pytextile-2.3.3.tar.gz 42277 BLAKE2B a6e6e1d96695f3ada03f5da9bd8bd19b99da345d83c62b1d4f2e765303dfbbbee072da4611f1b29b46d28ed334373c809117940ff0c1238dea3b12fb9076656c SHA512 980c872bfdc056753fa5b344cbc828dbdc9ddfc2656f3cfb5c15b3351cfd9e4016f57af14b60af2f2764e556865301d7923a8f0687c5857fc2201bf10f56ab60
23 +DIST pytextile-3.0.3.tar.gz 48560 BLAKE2B f8d3077e2b8e4de7157dcd9ed17f7889301946c2d3034dbbb0171b4930bd7268c65ce1f950552db2b783aa48acae639d5f4ccfcbca96807562b4a6377c3dd220 SHA512 142fe77c8858b0444428f9ca0f24d1a054a1566f85f00fd5cf860bb705a19666249cd03420d258d5acfc9f45052dd25e52767492a60a10d986d86b711b54612f
24 DIST textile-2.1.8.tar.gz 34002 BLAKE2B 0f4643da3cf47cd9b27e7b3237c6eac8b951caab9f6f36da929e159d582ae9e8ac04b835bd9006d7392ed935a875e169eef276caa52e25d618cdeafa27cef626 SHA512 b1675a131b482f4926efb45312b16c722ff158d9296704918b56316d470056f986ce18d495525a8e9f236bdd62e09ca6a17b443a7db8c8c36e5d05fcffce67da
25
26 diff --git a/app-text/pytextile/pytextile-3.0.3.ebuild b/app-text/pytextile/pytextile-3.0.3.ebuild
27 new file mode 100644
28 index 00000000000..ffe60374163
29 --- /dev/null
30 +++ b/app-text/pytextile/pytextile-3.0.3.ebuild
31 @@ -0,0 +1,44 @@
32 +# Copyright 1999-2018 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} pypy )
37 +
38 +inherit distutils-r1
39 +
40 +MY_PN="python-textile"
41 +MY_P="${MY_PN}-${PV}"
42 +
43 +DESCRIPTION="A Python port of Textile, A humane web text generator"
44 +HOMEPAGE="https://github.com/textile/python-textile"
45 +SRC_URI="https://github.com/textile/python-textile/archive/${PV}.tar.gz -> ${P}.tar.gz"
46 +
47 +LICENSE="BSD"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
50 +IUSE="test"
51 +
52 +RDEPEND="
53 + dev-python/html5lib[${PYTHON_USEDEP}]
54 + dev-python/regex[${PYTHON_USEDEP}]
55 + dev-python/six[${PYTHON_USEDEP}]"
56 +DEPEND="
57 + dev-python/setuptools[${PYTHON_USEDEP}]
58 + test? (
59 + ${RDEPEND}
60 + dev-python/pytest[${PYTHON_USEDEP}]
61 + )"
62 +
63 +S="${WORKDIR}/${MY_P}"
64 +
65 +src_prepare() {
66 + default
67 + # remove useless --cov arg injection
68 + rm pytest.ini || die
69 + # remove useless pytest-runner dep
70 + sed -e "s/pytest-runner//g" -i setup.py || die
71 +}
72 +
73 +python_test() {
74 + pytest || die "Testsuite failed under ${EPYTHON}"
75 +}