1 |
commit: a71b7e7c5bd7f88047e02477d7d2bb367b801c94 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 24 14:52:37 2020 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 24 14:53:39 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a71b7e7c |
7 |
|
8 |
dev-python/ruamel-yaml-clib: new package, sort of |
9 |
|
10 |
This used to be part of dev-python/ruamel-yaml prior to its version |
11 |
0.16 (which is why why have already got ~arm64 and ~x86 in KEYWORDS), |
12 |
now however it is a (theoretically optional) separate package. |
13 |
|
14 |
Assigning myself as maintainer for the time being, that said I'll be |
15 |
happy to transfer it to Andrey and Foster once they have reported back |
16 |
on the subject of ruamel.yaml version bump. |
17 |
|
18 |
Bug: https://bugs.gentoo.org/711070 |
19 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
20 |
|
21 |
dev-python/ruamel-yaml-clib/Manifest | 1 + |
22 |
dev-python/ruamel-yaml-clib/metadata.xml | 20 ++++++++++++++++ |
23 |
.../ruamel-yaml-clib/ruamel-yaml-clib-0.2.0.ebuild | 28 ++++++++++++++++++++++ |
24 |
3 files changed, 49 insertions(+) |
25 |
|
26 |
diff --git a/dev-python/ruamel-yaml-clib/Manifest b/dev-python/ruamel-yaml-clib/Manifest |
27 |
new file mode 100644 |
28 |
index 00000000000..020eb06c0d5 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/ruamel-yaml-clib/Manifest |
31 |
@@ -0,0 +1 @@ |
32 |
+DIST ruamel.yaml.clib-0.2.0.tar.gz 178084 BLAKE2B a4d23e5c931a0c720edb80818ca11bfcc1638f28ec910878f53720139bd8fbd034de6db73154c0e758ceb6c5233c10a2bf7d779f8e7f4a134c8b07cc33382a1b SHA512 7d716e27963b97a1735ba7ff0e581f7ecdfa62725cc42def59ad0ccdf9e23a9f7dfbc3cac298bb3e29362535036b07ba0f523452d6f73248be53c69796637e34 |
33 |
|
34 |
diff --git a/dev-python/ruamel-yaml-clib/metadata.xml b/dev-python/ruamel-yaml-clib/metadata.xml |
35 |
new file mode 100644 |
36 |
index 00000000000..96c439a20b3 |
37 |
--- /dev/null |
38 |
+++ b/dev-python/ruamel-yaml-clib/metadata.xml |
39 |
@@ -0,0 +1,20 @@ |
40 |
+<?xml version="1.0" encoding="UTF-8"?> |
41 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
42 |
+<pkgmetadata> |
43 |
+ <maintainer type="person"> |
44 |
+ <email>marecki@g.o</email> |
45 |
+ <name>Marek Szuba</name> |
46 |
+ </maintainer> |
47 |
+ <longdescription> |
48 |
+ This package was split of from ruamel.yaml, so that ruamel.yaml can be |
49 |
+ built as a universal wheel. Apart from the C code seldom changing, and |
50 |
+ taking a long time to compile for all platforms, this allows |
51 |
+ installation of the .so on Linux systems under /usr/lib64/pythonX.Y |
52 |
+ (without a .pth file or a ruamel directory) and the Python code for |
53 |
+ ruamel.yaml under /usr/lib/pythonX.Y. |
54 |
+ </longdescription> |
55 |
+ <upstream> |
56 |
+ <remote-id type="pypi">ruamel.yaml.clib</remote-id> |
57 |
+ <remote-id type="sourceforge">ruamel-yaml-clib</remote-id> |
58 |
+ </upstream> |
59 |
+</pkgmetadata> |
60 |
|
61 |
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 |
62 |
new file mode 100644 |
63 |
index 00000000000..ef3e670faf7 |
64 |
--- /dev/null |
65 |
+++ b/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.0.ebuild |
66 |
@@ -0,0 +1,28 @@ |
67 |
+# Copyright 1999-2020 Gentoo Authors |
68 |
+# Distributed under the terms of the GNU General Public License v2 |
69 |
+ |
70 |
+EAPI=7 |
71 |
+ |
72 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
73 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
74 |
+ |
75 |
+inherit distutils-r1 |
76 |
+ |
77 |
+MY_PN="${PN//-/.}" |
78 |
+MY_P="${MY_PN}-${PV}" |
79 |
+ |
80 |
+DESCRIPTION="C-based reader/scanner and emitter for dev-python/ruamel-yaml" |
81 |
+HOMEPAGE="https://pypi.org/project/ruamel.yaml.clib/ https://sourceforge.net/p/ruamel-yaml-clib" |
82 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
83 |
+ |
84 |
+LICENSE="MIT" |
85 |
+SLOT="0" |
86 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
87 |
+ |
88 |
+RDEPEND="!<dev-python/ruamel-yaml-0.16.0" |
89 |
+ |
90 |
+S="${WORKDIR}"/${MY_P} |
91 |
+ |
92 |
+python_install() { |
93 |
+ distutils-r1_python_install --single-version-externally-managed |
94 |
+} |