1 |
commit: 00a8e2bf8e53d74b6ce20ce1540df6d1bfe883d4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 14 22:30:55 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 14 22:44:41 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00a8e2bf |
7 |
|
8 |
dev-python/pyyaml: Bump to 3.13 |
9 |
|
10 |
dev-python/pyyaml/Manifest | 1 + |
11 |
dev-python/pyyaml/pyyaml-3.13.ebuild | 41 ++++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 42 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/pyyaml/Manifest b/dev-python/pyyaml/Manifest |
15 |
index 8a902317b55..b3a40935b37 100644 |
16 |
--- a/dev-python/pyyaml/Manifest |
17 |
+++ b/dev-python/pyyaml/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
DIST PyYAML-3.12.tar.gz 253011 BLAKE2B 530f2910acb757af9e2a738d93ace45daee3fc5764f19fbc758508e873f05ebfa2486c4f82800540e5e405e7f114f06f963e5011908fd15014ca8b8afb3a76aa SHA512 e16d8b7f4f026b6a95b11fb59c54ec5f114f6f516294eaa95e718abdf5d37c17a9c4b5e0a0a61fca04e801792d9b7fb801087cf849ff22b9581f6af204b1883a |
20 |
+DIST PyYAML-3.13.tar.gz 270607 BLAKE2B f365f63587b911234497426c9796f98b85f5de052abd88ea434137a4eb8a4c1e08f9ee1982a30df1934dadb615145f4af8fcff577d3d4e52058e7a8843aa8604 SHA512 93642286d0317e2fe970632c36d38ce6030f7cabcf971f28e3a1054f07390fcee5baaf7f167e7c9690dbd7b2adc61f5b7d75a218ace0abca34ff8815486cfdd7 |
21 |
|
22 |
diff --git a/dev-python/pyyaml/pyyaml-3.13.ebuild b/dev-python/pyyaml/pyyaml-3.13.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..91ad0a5c141 |
25 |
--- /dev/null |
26 |
+++ b/dev-python/pyyaml/pyyaml-3.13.ebuild |
27 |
@@ -0,0 +1,41 @@ |
28 |
+# Copyright 1999-2018 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=6 |
32 |
+ |
33 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
34 |
+ |
35 |
+inherit distutils-r1 |
36 |
+ |
37 |
+MY_P="PyYAML-${PV}" |
38 |
+ |
39 |
+DESCRIPTION="YAML parser and emitter for Python" |
40 |
+HOMEPAGE="https://pyyaml.org/wiki/PyYAML https://pypi.org/project/PyYAML/" |
41 |
+SRC_URI="https://pyyaml.org/download/${PN}/${MY_P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
46 |
+IUSE="examples libyaml" |
47 |
+ |
48 |
+RDEPEND="libyaml? ( dev-libs/libyaml )" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ libyaml? ( $(python_gen_cond_dep 'dev-python/cython[${PYTHON_USEDEP}]' python2_7 'python3*') )" |
51 |
+ |
52 |
+S="${WORKDIR}/${MY_P}" |
53 |
+ |
54 |
+python_configure_all() { |
55 |
+ mydistutilsargs=( $(use_with libyaml) ) |
56 |
+} |
57 |
+ |
58 |
+python_test() { |
59 |
+ esetup.py test |
60 |
+} |
61 |
+ |
62 |
+python_install_all() { |
63 |
+ distutils-r1_python_install_all |
64 |
+ if use examples; then |
65 |
+ dodoc -r examples |
66 |
+ docompress -x /usr/share/doc/${PF} |
67 |
+ fi |
68 |
+} |