From 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 14 Dec 2020 13:26:14 +0000 Subject: gentoo resync : 14.12.2020 --- dev-python/jaraco-logging/Manifest | 2 +- .../jaraco-logging/jaraco-logging-3.0.0-r1.ebuild | 52 ---------------------- .../jaraco-logging/jaraco-logging-3.0.0-r2.ebuild | 51 +++++++++++++++++++++ 3 files changed, 52 insertions(+), 53 deletions(-) delete mode 100644 dev-python/jaraco-logging/jaraco-logging-3.0.0-r1.ebuild create mode 100644 dev-python/jaraco-logging/jaraco-logging-3.0.0-r2.ebuild (limited to 'dev-python/jaraco-logging') diff --git a/dev-python/jaraco-logging/Manifest b/dev-python/jaraco-logging/Manifest index d271ee9fc0f9..533895c59537 100644 --- a/dev-python/jaraco-logging/Manifest +++ b/dev-python/jaraco-logging/Manifest @@ -1,3 +1,3 @@ DIST jaraco.logging-3.0.0.tar.gz 10739 BLAKE2B c5cad0b6d7702a1216869dd0cd388d51a0a8e7bd24000108ef818623b54d23ce1adf0de2e017b869d764342484bf25d676ee18af9647b82964933ebb184cec0e SHA512 bc0edeef6223d0eb78110d51159a70afd16542e830e3cd37dec7628e582bce44218cd7669c03c41125db9824b6fc774f608dd7f6540224659f4dc2f1927d681c -EBUILD jaraco-logging-3.0.0-r1.ebuild 1402 BLAKE2B cc9fa765e0c996bc38ab8fd20be6d69a02669308d56eebe9d045c9e7c115ed21a07f63bba71a0cc058667b11f03a17a27fc384bb7d16465dc4baa34498520b22 SHA512 91b6ec00683cdeee1adeece0d3532af12c3cf3c9c1bd14ecc72b3918910732c5d1ace07c778df84ad1d9c6e56454208ef871e5c74f7cf99dbca3b231d8754dce +EBUILD jaraco-logging-3.0.0-r2.ebuild 1351 BLAKE2B 1165fccb26fcdc96abc740127cda40639a24c127066d380e6e950e889a5a9363cf0cfce4c44d4998b59e6eab945474b69799c49e02c5d09b96424fd48c34147a SHA512 816ae9b0296816741dcd3efb49e5b66d7df4b8309ee89d7921b27f37453f8aec85c60f54e43f6992fdda23abfdf9b34b4f73682a5575f567692aaf8d919a7eb1 MISC metadata.xml 452 BLAKE2B 6beacf543b6c6ba9482609f0374283438dab3bff1ba25c53f1ec6c6441ddd0e185336766eaaae3ef89277874c6f12652a68b79a934919c8fe70f8bee88872b43 SHA512 447053b09d211ddbe1b2e98f7c1379395291f1331c75837ba1dc036a3b5d1e05e1f78717c419c4dfdc7d687001992f4c926cfc61bf267aa925024180646a3296 diff --git a/dev-python/jaraco-logging/jaraco-logging-3.0.0-r1.ebuild b/dev-python/jaraco-logging/jaraco-logging-3.0.0-r1.ebuild deleted file mode 100644 index e90771dce5f8..000000000000 --- a/dev-python/jaraco-logging/jaraco-logging-3.0.0-r1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} ) - -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" -RESTRICT="!test? ( test )" - -# TODO: remove six -# https://github.com/jaraco/jaraco.logging/pull/1 -RDEPEND=" - >=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/tempora[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - >=dev-python/pytest-2.8[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs '>=dev-python/jaraco-packaging-3.2' \ - '>=dev-python/rst-linker-1.9' - -S="${WORKDIR}/${MY_PN}-${PV}" - -python_test() { - # Override pytest options to skip flake8 - PYTHONPATH=. pytest -vv --override-ini="addopts=--doctest-modules" \ - || die "tests failed with ${EPYTHON}" -} - -# https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages#File_collisions_between_pkgutil-style_packages -python_install() { - rm "${BUILD_DIR}"/lib/jaraco/__init__.py || die - # note: eclass may default to --skip-build in the future - distutils-r1_python_install --skip-build -} diff --git a/dev-python/jaraco-logging/jaraco-logging-3.0.0-r2.ebuild b/dev-python/jaraco-logging/jaraco-logging-3.0.0-r2.ebuild new file mode 100644 index 000000000000..2d2fc9b1d226 --- /dev/null +++ b/dev-python/jaraco-logging/jaraco-logging-3.0.0-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} ) + +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" +RESTRICT="!test? ( test )" + +# TODO: remove six +# https://github.com/jaraco/jaraco.logging/pull/1 +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/tempora[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/pytest-2.8[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs '>=dev-python/jaraco-packaging-3.2' \ + '>=dev-python/rst-linker-1.9' + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_test() { + # Override pytest options to skip flake8 + PYTHONPATH=. pytest -vv --override-ini="addopts=--doctest-modules" \ + || die "tests failed with ${EPYTHON}" +} + +# https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages#File_collisions_between_pkgutil-style_packages +python_install() { + rm "${BUILD_DIR}"/lib/jaraco/__init__.py || die + # note: eclass may default to --skip-build in the future + distutils-r1_python_install --skip-build +} -- cgit v1.2.3