Gentoo Archives: gentoo-commits

From: Ian Delaney <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-text/
Date: Wed, 30 Dec 2015 09:53:02
Message-Id: 1451469157.90f45b7c42e4ef8eebb18db5f9094da2c82a79f1.idella4@gentoo
1 commit: 90f45b7c42e4ef8eebb18db5f9094da2c82a79f1
2 Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
3 AuthorDate: Wed Dec 30 08:53:22 2015 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 30 09:52:37 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90f45b7c
7
8 dev-python/jaraco-text: needed as a new dep to dev-python/irc
9
10 Package-Manager: portage-2.2.26
11
12 dev-python/jaraco-text/Manifest | 1 +
13 dev-python/jaraco-text/jaraco-text-1.6.2.ebuild | 47 +++++++++++++++++++++++++
14 dev-python/jaraco-text/metadata.xml | 14 ++++++++
15 3 files changed, 62 insertions(+)
16
17 diff --git a/dev-python/jaraco-text/Manifest b/dev-python/jaraco-text/Manifest
18 new file mode 100644
19 index 0000000..7e4bbfe
20 --- /dev/null
21 +++ b/dev-python/jaraco-text/Manifest
22 @@ -0,0 +1 @@
23 +DIST jaraco.text-1.6.2.tar.gz 5938 SHA256 4781aac8b61170318cd3a3315258059e85f15c99914c0c2b97909c622992ac1d SHA512 ab67e982c35b7640610657b7f1e741d80d01eea43ed258dfade5b4e719304c7774f6d1b41010ab889ddf8c232199f69aa201b796fcfc2e892fc6b977761ccf92 WHIRLPOOL ee899129a9c98341f6ebeb4ec5c200e8139286b13a9c884780b61c66f34c8235d64f72ff9052f3c047d15e63f376ef4d0467cfa9315d6c0ed13d61c5526bd7d4
24
25 diff --git a/dev-python/jaraco-text/jaraco-text-1.6.2.ebuild b/dev-python/jaraco-text/jaraco-text-1.6.2.ebuild
26 new file mode 100644
27 index 0000000..cb12751
28 --- /dev/null
29 +++ b/dev-python/jaraco-text/jaraco-text-1.6.2.ebuild
30 @@ -0,0 +1,47 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
38 +
39 +inherit distutils-r1
40 +
41 +MY_PN="${PN/-/.}"
42 +DESCRIPTION="Text utilities used by other projects by developer jaraco"
43 +HOMEPAGE="https://github.com/jaraco/jaraco.text"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="test"
50 +
51 +PDEPEND="dev-python/jaraco-collections[${PYTHON_USEDEP}]"
52 +RDEPEND="dev-python/jaraco-functools[${PYTHON_USEDEP}]"
53 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
54 + >=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}]
55 + test? (
56 + ${RDEPEND}
57 + >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
58 + dev-python/pytest-runner[${PYTHON_USEDEP}]
59 + )
60 +"
61 +
62 +S="${WORKDIR}/${MY_PN}-${PV}"
63 +
64 +python_prepare_all() {
65 + if use test; then
66 + if has_version "${CATEGORY}/${PN}"; then
67 + die "Ensure $PN is not already installed or the test suite will fail"
68 + elif ! has_version "dev-python/jaraco-collections"; then
69 + die "Ensure dev-python/jaraco-collections is installed or the test suite will fail"
70 + fi
71 + fi
72 + distutils-r1_python_prepare_all
73 +}
74 +
75 +python_test() {
76 + PYTHONPATH=. py.test || die "tests failed with ${EPYTHON}"
77 +}
78
79 diff --git a/dev-python/jaraco-text/metadata.xml b/dev-python/jaraco-text/metadata.xml
80 new file mode 100644
81 index 0000000..088d700
82 --- /dev/null
83 +++ b/dev-python/jaraco-text/metadata.xml
84 @@ -0,0 +1,14 @@
85 +<?xml version="1.0" encoding="UTF-8"?>
86 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
87 +<pkgmetadata>
88 + <herd>proxy-maintainers</herd>
89 + <maintainer>
90 + <email>sautier.louis@×××××.com</email>
91 + <name>Louis Sautier</name>
92 + <description>Proxied maintainer; set to assignee in all bugs</description>
93 + </maintainer>
94 + <upstream>
95 + <remote-id type="pypi">jaraco.text</remote-id>
96 + <remote-id type="github">jaraco/jaraco.text</remote-id>
97 + </upstream>
98 +</pkgmetadata>