commit: 2371e50f7200fa8785144e1965662b3f5a235928 Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Wed Mar 10 11:23:30 2021 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Wed Mar 10 12:34:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2371e50f
dev-python/ruamel-std-pathlib: re-add package Dependency of the dev-python/ruamel-yaml test suite, hence the same maintainers as that package. Keywords as before the removal, will sync them with the revdep later (and with testing). Yes, I know this is not the latest version available from PyPI; see https://sourceforge.net/p/ruamel-std-pathlib/tickets/4/ if you want to know why. Bug: https://bugs.gentoo.org/774366 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> dev-python/ruamel-std-pathlib/Manifest | 1 + dev-python/ruamel-std-pathlib/metadata.xml | 24 +++++++++++++++++ .../ruamel-std-pathlib-0.6.4-r2.ebuild | 31 ++++++++++++++++++++++ 3 files changed, 56 insertions(+) diff --git a/dev-python/ruamel-std-pathlib/Manifest b/dev-python/ruamel-std-pathlib/Manifest new file mode 100644 index 00000000000..1eab82388eb --- /dev/null +++ b/dev-python/ruamel-std-pathlib/Manifest @@ -0,0 +1 @@ +DIST ruamel-std-pathlib-0.6.4.tar.xz 18844 BLAKE2B 714b38dc832839d9e915f74aa45a7b3e277578e89ed23c55599d598bd3a3de3e8231fb2f3890c60e065d84ae146ca5071305ea0bae750b1a42808a58d0ce1d01 SHA512 079e423d1fa70629429b0af8254a5034ca198b4e131205c3fac87cfb320d6821f3290a457db84550a280db1aa46542a8db81555cfaa3c8143a31515704e5f45e diff --git a/dev-python/ruamel-std-pathlib/metadata.xml b/dev-python/ruamel-std-pathlib/metadata.xml new file mode 100644 index 00000000000..cf0d88dba37 --- /dev/null +++ b/dev-python/ruamel-std-pathlib/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Andrey Utkin</name> + </maintainer> + <maintainer type="person"> + <email>[email protected]</email> + <name>Marek Szuba</name> + </maintainer> + <maintainer type="person"> + <email>[email protected]</email> + <name>Zoltan Puskas</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="pypi">ruamel.std.pathlib</remote-id> + <remote-id type="sourceforge">ruamel-std-pathlib</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.4-r2.ebuild b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.4-r2.ebuild new file mode 100644 index 00000000000..328aa240f44 --- /dev/null +++ b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.6.4-r2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{7..9} ) + +inherit distutils-r1 + +MY_PN="${PN//-/.}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Ruamel enhancements to pathlib and pathlib2" +HOMEPAGE="https://pypi.org/project/ruamel.std.pathlib/ https://sourceforge.net/p/ruamel-std-pathlib" +# PyPI tarballs do not include tests +SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz -> ${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND="dev-python/namespace-ruamel[${PYTHON_USEDEP}]" + +S="${WORKDIR}"/${MY_P} + +distutils_enable_tests pytest + +python_install() { + distutils-r1_python_install --single-version-externally-managed + find "${ED}" -name '*.pth' -delete || die +}
