From a71b7e7c5bd7f88047e02477d7d2bb367b801c94 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Fri, 24 Apr 2020 15:52:37 +0100 Subject: [PATCH] dev-python/ruamel-yaml-clib: new package, sort of This used to be part of dev-python/ruamel-yaml prior to its version 0.16 (which is why why have already got ~arm64 and ~x86 in KEYWORDS), now however it is a (theoretically optional) separate package. Assigning myself as maintainer for the time being, that said I'll be happy to transfer it to Andrey and Foster once they have reported back on the subject of ruamel.yaml version bump. Bug: https://bugs.gentoo.org/711070 Signed-off-by: Marek Szuba --- dev-python/ruamel-yaml-clib/Manifest | 1 + dev-python/ruamel-yaml-clib/metadata.xml | 20 +++++++++++++ .../ruamel-yaml-clib-0.2.0.ebuild | 28 +++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 dev-python/ruamel-yaml-clib/Manifest create mode 100644 dev-python/ruamel-yaml-clib/metadata.xml create mode 100644 dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.0.ebuild diff --git a/dev-python/ruamel-yaml-clib/Manifest b/dev-python/ruamel-yaml-clib/Manifest new file mode 100644 index 000000000000..020eb06c0d55 --- /dev/null +++ b/dev-python/ruamel-yaml-clib/Manifest @@ -0,0 +1 @@ +DIST ruamel.yaml.clib-0.2.0.tar.gz 178084 BLAKE2B a4d23e5c931a0c720edb80818ca11bfcc1638f28ec910878f53720139bd8fbd034de6db73154c0e758ceb6c5233c10a2bf7d779f8e7f4a134c8b07cc33382a1b SHA512 7d716e27963b97a1735ba7ff0e581f7ecdfa62725cc42def59ad0ccdf9e23a9f7dfbc3cac298bb3e29362535036b07ba0f523452d6f73248be53c69796637e34 diff --git a/dev-python/ruamel-yaml-clib/metadata.xml b/dev-python/ruamel-yaml-clib/metadata.xml new file mode 100644 index 000000000000..96c439a20b36 --- /dev/null +++ b/dev-python/ruamel-yaml-clib/metadata.xml @@ -0,0 +1,20 @@ + + + + + marecki@gentoo.org + Marek Szuba + + + This package was split of from ruamel.yaml, so that ruamel.yaml can be + built as a universal wheel. Apart from the C code seldom changing, and + taking a long time to compile for all platforms, this allows + installation of the .so on Linux systems under /usr/lib64/pythonX.Y + (without a .pth file or a ruamel directory) and the Python code for + ruamel.yaml under /usr/lib/pythonX.Y. + + + ruamel.yaml.clib + ruamel-yaml-clib + + diff --git a/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.0.ebuild b/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.0.ebuild new file mode 100644 index 000000000000..ef3e670faf7e --- /dev/null +++ b/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +MY_PN="${PN//-/.}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="C-based reader/scanner and emitter for dev-python/ruamel-yaml" +HOMEPAGE="https://pypi.org/project/ruamel.yaml.clib/ https://sourceforge.net/p/ruamel-yaml-clib" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND="!