From 06337640cc3c5f53ab40f568e29600fdfd7abfd1 Mon Sep 17 00:00:00 2001 From: Louis Sautier Date: Tue, 29 Dec 2015 15:49:40 +0100 Subject: dev-python/jaraco-logging: needed as a new dep to dev-python/irc Package-Manager: portage-2.2.26 --- dev-python/jaraco-logging/Manifest | 1 + .../jaraco-logging/jaraco-logging-1.3.1.ebuild | 44 ++++++++++++++++++++++ dev-python/jaraco-logging/metadata.xml | 14 +++++++ 3 files changed, 59 insertions(+) create mode 100644 dev-python/jaraco-logging/Manifest create mode 100644 dev-python/jaraco-logging/jaraco-logging-1.3.1.ebuild create mode 100644 dev-python/jaraco-logging/metadata.xml (limited to 'dev-python/jaraco-logging') diff --git a/dev-python/jaraco-logging/Manifest b/dev-python/jaraco-logging/Manifest new file mode 100644 index 000000000000..8fde3b136774 --- /dev/null +++ b/dev-python/jaraco-logging/Manifest @@ -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 index 000000000000..90846bd57c1a --- /dev/null +++ b/dev-python/jaraco-logging/jaraco-logging-1.3.1.ebuild @@ -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 index 000000000000..3c58c004f954 --- /dev/null +++ b/dev-python/jaraco-logging/metadata.xml @@ -0,0 +1,14 @@ + + + + proxy-maintainers + + sautier.louis@gmail.com + Louis Sautier + Proxied maintainer; set to assignee in all bugs + + + jaraco.logging + jaraco/jaraco.logging + + -- cgit v1.2.3-65-gdbad