From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-python/jaraco-logging/Manifest | 5 ++ .../jaraco-logging/jaraco-logging-1.5.2.ebuild | 58 ++++++++++++++++++++++ .../jaraco-logging/jaraco-logging-1.5.ebuild | 36 ++++++++++++++ dev-python/jaraco-logging/metadata.xml | 13 +++++ 4 files changed, 112 insertions(+) create mode 100644 dev-python/jaraco-logging/Manifest create mode 100644 dev-python/jaraco-logging/jaraco-logging-1.5.2.ebuild create mode 100644 dev-python/jaraco-logging/jaraco-logging-1.5.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..028fdd829c4d --- /dev/null +++ b/dev-python/jaraco-logging/Manifest @@ -0,0 +1,5 @@ +DIST jaraco.logging-1.5.2.tar.gz 7135 BLAKE2B 5235566df80008270f2f28101ab5df1d7fbc1446f138eb4cb851c9bb464b741c0ebb8528d3502130b5c557f30214ec27ce1ea563e09e78776e22d37811da21b5 SHA512 3299adc9c9ca6113198cddbc34147afe1bf453edee16a2d6bfcce64e63deeaff7f87beb74ff44f092435f3433a921b19167fb45778dce444512807357bce1661 +DIST jaraco.logging-1.5.tar.gz 5707 BLAKE2B 853d2747ab92754de4480871355180a33a7a6cbf69fc3d32ba489ecac27dc55ad92d94bfb84e411ee13400d82d162ea400be1027c3002f317a97e00b849484ec SHA512 18f267bd0c764f38ff5223d4fd6e08d7d9fa568691db285155d7b955c71439474fd84edd61b20d57f6eac77394d4b3ddf9b35d8e6ba08a2db5dd4b2ada6e0d68 +EBUILD jaraco-logging-1.5.2.ebuild 1360 BLAKE2B 849bb90721298a13cd3bdb8b94dcd8222e41f56477966609bb6aad9afb813554f218ace4e4a5b8c18347b33d495096431863f9b3cf40026a4478e7b89851b53b SHA512 3dc8a13e211d33adbc4a043a52e1ad6e54c31ffaca2f15e4440e7a4e43ec7044afd5be3ebecb04d0a8f49f2d46f38a28a0956d6712aafbf1aabdb77cdd42c881 +EBUILD jaraco-logging-1.5.ebuild 858 BLAKE2B b3570b11464d1059a6e6c58ce8a0b73a59bceb2021f6f2e3011899b19ae9beaa4de057e47fb90150d21a0d085d1334863091ca8a8b988d7e619f63e60974d375 SHA512 72c358214ae4e6938551a57b808ca2b9c4f7f5c2cb184a53715882b80b5d6721765ea5ad7d0962076e0aeb66f082f61a26498f882f00de5740f21abc97663464 +MISC metadata.xml 452 BLAKE2B 6beacf543b6c6ba9482609f0374283438dab3bff1ba25c53f1ec6c6441ddd0e185336766eaaae3ef89277874c6f12652a68b79a934919c8fe70f8bee88872b43 SHA512 447053b09d211ddbe1b2e98f7c1379395291f1331c75837ba1dc036a3b5d1e05e1f78717c419c4dfdc7d687001992f4c926cfc61bf267aa925024180646a3296 diff --git a/dev-python/jaraco-logging/jaraco-logging-1.5.2.ebuild b/dev-python/jaraco-logging/jaraco-logging-1.5.2.ebuild new file mode 100644 index 000000000000..0b9ca834e443 --- /dev/null +++ b/dev-python/jaraco-logging/jaraco-logging-1.5.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6}} ) + +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="doc test" + +RDEPEND=" + dev-python/namespace-jaraco[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/tempora[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] + doc? ( + >=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}] + >=dev-python/rst-linker-1.9[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) + test? ( + ${RDEPEND} + >=dev-python/pytest-2.8[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_compile_all() { + if use doc; then + cd docs || die + sphinx-build . _build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + # Override pytest options to skip flake8 + PYTHONPATH=. py.test --override-ini="addopts=--doctest-modules" \ + || die "tests failed with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + find "${ED}" -name '*.pth' -delete || die +} diff --git a/dev-python/jaraco-logging/jaraco-logging-1.5.ebuild b/dev-python/jaraco-logging/jaraco-logging-1.5.ebuild new file mode 100644 index 000000000000..77544c7b4847 --- /dev/null +++ b/dev-python/jaraco-logging/jaraco-logging-1.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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_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..debf779333ec --- /dev/null +++ b/dev-python/jaraco-logging/metadata.xml @@ -0,0 +1,13 @@ + + + + + sbraz@gentoo.org + Louis Sautier + + + jaraco.logging + jaraco/jaraco.logging + https://github.com/jaraco/jaraco.logging/issues + + -- cgit v1.2.3