dev-python/jaraco-logging: needed as a new dep to dev-python/irc
authorLouis Sautier <sautier.louis@gmail.com>
Tue, 29 Dec 2015 14:49:40 +0000 (15:49 +0100)
committerIan Delaney <idella4@gentoo.org>
Tue, 29 Dec 2015 15:16:07 +0000 (23:16 +0800)
Package-Manager: portage-2.2.26

dev-python/jaraco-logging/Manifest [new file with mode: 0644]
dev-python/jaraco-logging/jaraco-logging-1.3.1.ebuild [new file with mode: 0644]
dev-python/jaraco-logging/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/jaraco-logging/Manifest b/dev-python/jaraco-logging/Manifest
new file mode 100644 (file)
index 0000000..8fde3b1
--- /dev/null
@@ -0,0 +1 @@
+DIST jaraco.logging-1.3.1.tar.gz 4589 SHA256 e80e43a7b0d94bda2faacc1b996d5cc8bc6dcf20205048d18f4889f35e956580 SHA512 aaa2b29551a13358887e0747acb47ca2a6611ce1bfb08259bc70c7908929c4d2c45eefd7738e808b7b2404d723425efd69f9cb9601e0fb0c08f611bcf744ceae WHIRLPOOL 150101a7fa0b50a0130802638bd73124543c1836c27a96deb21be4eb6966028d58e4cabc6513a7149d08273a728ac1e46a27f78b6a139e304b16f14d2227abf3
diff --git a/dev-python/jaraco-logging/jaraco-logging-1.3.1.ebuild b/dev-python/jaraco-logging/jaraco-logging-1.3.1.ebuild
new file mode 100644 (file)
index 0000000..90846bd
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+MY_PN="${PN/-/.}"
+DESCRIPTION="Additional facilities to supplement Python's stdlib logging module"
+HOMEPAGE="https://github.com/jaraco/jaraco.logging"
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]
+       dev-python/tempora[${PYTHON_USEDEP}]
+"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+       >=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}]
+       test? (
+               ${RDEPEND}
+               >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
+               dev-python/pytest-runner[${PYTHON_USEDEP}]
+       )
+"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+python_prepare_all() {
+       if use test && has_version "${CATEGORY}/${PN}"; then
+               die "Ensure $PN is not already installed or the test suite will fail"
+       fi
+       distutils-r1_python_prepare_all
+}
+
+python_test() {
+       PYTHONPATH=. py.test || die "tests failed with ${EPYTHON}"
+}
diff --git a/dev-python/jaraco-logging/metadata.xml b/dev-python/jaraco-logging/metadata.xml
new file mode 100644 (file)
index 0000000..3c58c00
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>proxy-maintainers</herd>
+       <maintainer>
+               <email>sautier.louis@gmail.com</email>
+               <name>Louis Sautier</name>
+               <description>Proxied maintainer; set to assignee in all bugs</description>
+       </maintainer>
+       <upstream>
+               <remote-id type="pypi">jaraco.logging</remote-id>
+               <remote-id type="github">jaraco/jaraco.logging</remote-id>
+       </upstream>
+</pkgmetadata>