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-logging/
Date: Tue, 29 Dec 2015 15:16:31
Message-Id: 1451402167.06337640cc3c5f53ab40f568e29600fdfd7abfd1.idella4@gentoo
1 commit: 06337640cc3c5f53ab40f568e29600fdfd7abfd1
2 Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
3 AuthorDate: Tue Dec 29 14:49:40 2015 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 29 15:16:07 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06337640
7
8 dev-python/jaraco-logging: needed as a new dep to dev-python/irc
9
10 Package-Manager: portage-2.2.26
11
12 dev-python/jaraco-logging/Manifest | 1 +
13 .../jaraco-logging/jaraco-logging-1.3.1.ebuild | 44 ++++++++++++++++++++++
14 dev-python/jaraco-logging/metadata.xml | 14 +++++++
15 3 files changed, 59 insertions(+)
16
17 diff --git a/dev-python/jaraco-logging/Manifest b/dev-python/jaraco-logging/Manifest
18 new file mode 100644
19 index 0000000..8fde3b1
20 --- /dev/null
21 +++ b/dev-python/jaraco-logging/Manifest
22 @@ -0,0 +1 @@
23 +DIST jaraco.logging-1.3.1.tar.gz 4589 SHA256 e80e43a7b0d94bda2faacc1b996d5cc8bc6dcf20205048d18f4889f35e956580 SHA512 aaa2b29551a13358887e0747acb47ca2a6611ce1bfb08259bc70c7908929c4d2c45eefd7738e808b7b2404d723425efd69f9cb9601e0fb0c08f611bcf744ceae WHIRLPOOL 150101a7fa0b50a0130802638bd73124543c1836c27a96deb21be4eb6966028d58e4cabc6513a7149d08273a728ac1e46a27f78b6a139e304b16f14d2227abf3
24
25 diff --git a/dev-python/jaraco-logging/jaraco-logging-1.3.1.ebuild b/dev-python/jaraco-logging/jaraco-logging-1.3.1.ebuild
26 new file mode 100644
27 index 0000000..90846bd
28 --- /dev/null
29 +++ b/dev-python/jaraco-logging/jaraco-logging-1.3.1.ebuild
30 @@ -0,0 +1,44 @@
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="Additional facilities to supplement Python's stdlib logging module"
43 +HOMEPAGE="https://github.com/jaraco/jaraco.logging"
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 +RDEPEND="dev-python/six[${PYTHON_USEDEP}]
52 + dev-python/tempora[${PYTHON_USEDEP}]
53 +"
54 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
55 + >=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}]
56 + test? (
57 + ${RDEPEND}
58 + >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
59 + dev-python/pytest-runner[${PYTHON_USEDEP}]
60 + )
61 +"
62 +
63 +S="${WORKDIR}/${MY_PN}-${PV}"
64 +
65 +python_prepare_all() {
66 + if use test && has_version "${CATEGORY}/${PN}"; then
67 + die "Ensure $PN is not already installed or the test suite will fail"
68 + fi
69 + distutils-r1_python_prepare_all
70 +}
71 +
72 +python_test() {
73 + PYTHONPATH=. py.test || die "tests failed with ${EPYTHON}"
74 +}
75
76 diff --git a/dev-python/jaraco-logging/metadata.xml b/dev-python/jaraco-logging/metadata.xml
77 new file mode 100644
78 index 0000000..3c58c00
79 --- /dev/null
80 +++ b/dev-python/jaraco-logging/metadata.xml
81 @@ -0,0 +1,14 @@
82 +<?xml version="1.0" encoding="UTF-8"?>
83 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
84 +<pkgmetadata>
85 + <herd>proxy-maintainers</herd>
86 + <maintainer>
87 + <email>sautier.louis@×××××.com</email>
88 + <name>Louis Sautier</name>
89 + <description>Proxied maintainer; set to assignee in all bugs</description>
90 + </maintainer>
91 + <upstream>
92 + <remote-id type="pypi">jaraco.logging</remote-id>
93 + <remote-id type="github">jaraco/jaraco.logging</remote-id>
94 + </upstream>
95 +</pkgmetadata>