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-text/Manifest | 2 +- dev-python/jaraco-text/jaraco-text-3.2.0-r1.ebuild | 52 +++++++++++++++++++++ dev-python/jaraco-text/jaraco-text-3.2.0.ebuild | 53 ---------------------- 3 files changed, 53 insertions(+), 54 deletions(-) create mode 100644 dev-python/jaraco-text/jaraco-text-3.2.0-r1.ebuild delete mode 100644 dev-python/jaraco-text/jaraco-text-3.2.0.ebuild (limited to 'dev-python/jaraco-text') diff --git a/dev-python/jaraco-text/Manifest b/dev-python/jaraco-text/Manifest index cbbb27bd20bd..d6b0219aad66 100644 --- a/dev-python/jaraco-text/Manifest +++ b/dev-python/jaraco-text/Manifest @@ -1,3 +1,3 @@ DIST jaraco.text-3.2.0.tar.gz 14279 BLAKE2B aa8c8903bac61db3d1017408e1aa525f66060422c27b754af343a64e586b64c6623b66881bea62b9b2e89821a40c933d54c9a8cddc7bda08ac108ad08a9524dc SHA512 4107ef1078b44714b6ee5fb6ebd2bb7c35415debc6eaedd8bc18a70a2936cc7c7757acd7b3fac9587201ef52a25d9b29e49f2385a0a08afffb1d0c3de6ecc377 -EBUILD jaraco-text-3.2.0.ebuild 1483 BLAKE2B ee1a49037beaa9d71d1a000cbed914ba9974991c61485a82789e83212cbd6d689b17d8fb79b00326fb2f0e91e71579e96dae64286c56d9bea6d122c83fb70f39 SHA512 41a91dac99a61b19c01ac2bb075822099ad87e937c971073655a8561982421e508f057c5201560f02c64dfd0cc897f615deaa4d333fe3762a11666876a13c552 +EBUILD jaraco-text-3.2.0-r1.ebuild 1432 BLAKE2B b7e019195825f6797bd9a1e8b43c7d4ac96ff91287da0f0ddcf2a274a6ec70c6e02c88da9ed91bbec5938bee8b865a86a53b3069570c095de81f4a3454943280 SHA512 e0039d4a9db245807bc2d5b66e490bca2d98fbc7e5013d11e594be9de8c8300891b7f267797c4118a8e208b76156a6007b0260bc6159393c75e933bff57e18d1 MISC metadata.xml 631 BLAKE2B aaa62e5e0d4cc048c1a279b16890d035cd0a60cc41e9b4c99b37876a21286248b5a00d193a2036d0c6d447ff57e635245583f571834daa5a2e994653570122b8 SHA512 84c01b2578aabd0fd5be4347ade555ca4f4ddd96e7009f7dd1b9d021465bc55f66431c72ed05a7e5633a81f3b401f8f77568bacc872198e145b5421aed05491e diff --git a/dev-python/jaraco-text/jaraco-text-3.2.0-r1.ebuild b/dev-python/jaraco-text/jaraco-text-3.2.0-r1.ebuild new file mode 100644 index 000000000000..f3ca6a7ac900 --- /dev/null +++ b/dev-python/jaraco-text/jaraco-text-3.2.0-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} pypy3 ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Text utilities used by other projects by developer jaraco" +HOMEPAGE="https://github.com/jaraco/jaraco.text" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~ia64 ppc ~ppc64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/jaraco-functools[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' python3_6) +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/pytest-2.8[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +distutils_enable_sphinx docs \ + ">=dev-python/jaraco-packaging-3.2" \ + ">=dev-python/rst-linker-1.9" + +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-text/jaraco-text-3.2.0.ebuild b/dev-python/jaraco-text/jaraco-text-3.2.0.ebuild deleted file mode 100644 index 1084d2d49d18..000000000000 --- a/dev-python/jaraco-text/jaraco-text-3.2.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6..9} pypy3 ) - -inherit distutils-r1 - -MY_PN="${PN/-/.}" -DESCRIPTION="Text utilities used by other projects by developer jaraco" -HOMEPAGE="https://github.com/jaraco/jaraco.text" -SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ia64 ppc ~ppc64 x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/jaraco-functools[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - >=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' python3_6) -" -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - >=dev-python/pytest-2.8[${PYTHON_USEDEP}] - ) -" - -S="${WORKDIR}/${MY_PN}-${PV}" - -distutils_enable_sphinx docs \ - ">=dev-python/jaraco-packaging-3.2" \ - ">=dev-python/rst-linker-1.9" - -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