dev-python/ruamel-yaml: bump to 0.16.10
authorMarek Szuba <marecki@gentoo.org>
Tue, 28 Apr 2020 13:53:28 +0000 (14:53 +0100)
committerMarek Szuba <marecki@gentoo.org>
Tue, 28 Apr 2020 13:57:52 +0000 (14:57 +0100)
Closes: https://bugs.gentoo.org/711070
Signed-off-by: Marek Szuba <marecki@gentoo.org>
dev-python/ruamel-yaml/Manifest
dev-python/ruamel-yaml/metadata.xml
dev-python/ruamel-yaml/ruamel-yaml-0.16.10.ebuild [new file with mode: 0644]

index 2295b07e6f6e1cbb80aee0c2c155a99b6ed41bc3..8cb7ea1ed84db29de85851ff4afb393255e8aa14 100644 (file)
@@ -1,2 +1,3 @@
 DIST ruamel-yaml-0.15.35.tar.gz 344241 BLAKE2B 3e77f5da4e2a7f64099da1d79a108adfb093c5e47baaf11611462637ec6e29091924088e0ce261b21283a0ab07123da45a1ea7b0c522692d1e96cdcc27502541 SHA512 9e335d627db20b85ec0384f16d7ea03c310c01e84517e7b9bced1af9289fe542b87eb31da8ad960b17d26f35f2cc33a87a5a5b976e0e5ca587339b21b4b53fca
 DIST ruamel-yaml-0.15.97.tar.gz 400728 BLAKE2B 04b957ba7739ceebcfc802d86252ace5bba8960cc75ff0bea00ef8ba25e945e80ef878a9699d1a8d1664ed8e39d23eb47542f2bf70e0628b1bd1904d80e8c034 SHA512 2c61609867147c3fd9fde77d03c589848765a068893197ae4aab4417933a7f54b46c4eb81e9359d116fd45a37f5e5e357ab3ea19d0b19455f2ab3c022a40349e
+DIST ruamel.yaml-0.16.10.tar.gz 147033 BLAKE2B 35e5b0a1bd5a42ee539e66309dbca64bccd9570da427631d230c77d9cc09dc28637abb787c441b4fe8f8f17d9b6b313607887ce79eb631ce8b265cc18570e8fd SHA512 f124575a5054f993d5826d03aa7a9500a1084c5201be1517be36e587bfc60ea4d13b29dbdb3e62bfbd309fe9992590fd0a5028a43f0fd26a5a5cbc9f3dcf423b
index d9089d2b5c2f463b89db178a4b5d82be2b334c6b..bdef45cb6083e2776163d1079fba08a225c94bfb 100644 (file)
@@ -14,7 +14,7 @@
                <name>Foster McLane</name>
        </maintainer>
        <upstream>
-               <remote-id type="bitbucket">ruamel/yaml</remote-id>
                <remote-id type="pypi">ruamel.yaml</remote-id>
+               <remote-id type="sourceforge">ruamel-yaml</remote-id>
        </upstream>
 </pkgmetadata>
diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.16.10.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.16.10.ebuild
new file mode 100644 (file)
index 0000000..8f91a41
--- /dev/null
@@ -0,0 +1,29 @@
+# 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="YAML parser/emitter that supports roundtrip comment preservation"
+HOMEPAGE="https://pypi.org/project/ruamel.yaml/ https://sourceforge.net/p/ruamel-yaml"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}]"
+
+S="${WORKDIR}"/${MY_P}
+
+python_install() {
+       distutils-r1_python_install --single-version-externally-managed
+       find "${ED}" -name '*.pth' -delete || die
+}