Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyyaml/
Date: Sat, 02 Nov 2019 11:46:54
Message-Id: 1572695195.cdbb5b6795858e102bc0b7c03fdf65e4ab57e982.zlogene@gentoo
1 commit: cdbb5b6795858e102bc0b7c03fdf65e4ab57e982
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 2 11:45:45 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 2 11:46:35 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdbb5b67
7
8 Revert "dev-python/pyyaml: remove insecure"
9
10 This reverts commit e4b4576d33480b691957813b6e937672ace88591.
11
12 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
13
14 dev-python/pyyaml/Manifest | 2 ++
15 dev-python/pyyaml/pyyaml-3.12.ebuild | 41 ++++++++++++++++++++++++++++++++++++
16 dev-python/pyyaml/pyyaml-3.13.ebuild | 41 ++++++++++++++++++++++++++++++++++++
17 3 files changed, 84 insertions(+)
18
19 diff --git a/dev-python/pyyaml/Manifest b/dev-python/pyyaml/Manifest
20 index 928e9d8b399..5a317e2d538 100644
21 --- a/dev-python/pyyaml/Manifest
22 +++ b/dev-python/pyyaml/Manifest
23 @@ -1 +1,3 @@
24 +DIST PyYAML-3.12.tar.gz 253011 BLAKE2B 530f2910acb757af9e2a738d93ace45daee3fc5764f19fbc758508e873f05ebfa2486c4f82800540e5e405e7f114f06f963e5011908fd15014ca8b8afb3a76aa SHA512 e16d8b7f4f026b6a95b11fb59c54ec5f114f6f516294eaa95e718abdf5d37c17a9c4b5e0a0a61fca04e801792d9b7fb801087cf849ff22b9581f6af204b1883a
25 +DIST PyYAML-3.13.tar.gz 270607 BLAKE2B f365f63587b911234497426c9796f98b85f5de052abd88ea434137a4eb8a4c1e08f9ee1982a30df1934dadb615145f4af8fcff577d3d4e52058e7a8843aa8604 SHA512 93642286d0317e2fe970632c36d38ce6030f7cabcf971f28e3a1054f07390fcee5baaf7f167e7c9690dbd7b2adc61f5b7d75a218ace0abca34ff8815486cfdd7
26 DIST PyYAML-5.1.tar.gz 274244 BLAKE2B ea8cc4b56b9fc70bc7b01f8c654ceb8b73c82dcc936c939cba3c3654df04fe32fc46c7df322a38869d28ad5a58f6134b35cbe43924df3b4d5f3e54e33700dc73 SHA512 8f27f92bdfa310a99dd6d83947332cc033fa18f0011998bb585ad5c4340a2da20d8c20bfdb53beaae15651198d1240c986818379b0a05b230f74d1f30f53e7fd
27
28 diff --git a/dev-python/pyyaml/pyyaml-3.12.ebuild b/dev-python/pyyaml/pyyaml-3.12.ebuild
29 new file mode 100644
30 index 00000000000..d010dd39cf6
31 --- /dev/null
32 +++ b/dev-python/pyyaml/pyyaml-3.12.ebuild
33 @@ -0,0 +1,41 @@
34 +# Copyright 1999-2019 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
38 +
39 +PYTHON_COMPAT=( python2_7 python3_{5,6} pypy pypy3 )
40 +
41 +inherit distutils-r1
42 +
43 +MY_P="PyYAML-${PV}"
44 +
45 +DESCRIPTION="YAML parser and emitter for Python"
46 +HOMEPAGE="https://pyyaml.org/wiki/PyYAML https://pypi.org/project/PyYAML/"
47 +SRC_URI="https://pyyaml.org/download/${PN}/${MY_P}.tar.gz"
48 +
49 +LICENSE="MIT"
50 +SLOT="0"
51 +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
52 +IUSE="examples libyaml"
53 +
54 +RDEPEND="libyaml? ( dev-libs/libyaml )"
55 +DEPEND="${RDEPEND}
56 + libyaml? ( $(python_gen_cond_dep 'dev-python/cython[${PYTHON_USEDEP}]' python2_7 'python3*') )"
57 +
58 +S="${WORKDIR}/${MY_P}"
59 +
60 +python_configure_all() {
61 + mydistutilsargs=( $(use_with libyaml) )
62 +}
63 +
64 +python_test() {
65 + esetup.py test
66 +}
67 +
68 +python_install_all() {
69 + distutils-r1_python_install_all
70 + if use examples; then
71 + dodoc -r examples
72 + docompress -x /usr/share/doc/${PF}
73 + fi
74 +}
75
76 diff --git a/dev-python/pyyaml/pyyaml-3.13.ebuild b/dev-python/pyyaml/pyyaml-3.13.ebuild
77 new file mode 100644
78 index 00000000000..244c5cb8505
79 --- /dev/null
80 +++ b/dev-python/pyyaml/pyyaml-3.13.ebuild
81 @@ -0,0 +1,41 @@
82 +# Copyright 1999-2019 Gentoo Authors
83 +# Distributed under the terms of the GNU General Public License v2
84 +
85 +EAPI=6
86 +
87 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
88 +
89 +inherit distutils-r1
90 +
91 +MY_P="PyYAML-${PV}"
92 +
93 +DESCRIPTION="YAML parser and emitter for Python"
94 +HOMEPAGE="https://pyyaml.org/wiki/PyYAML https://pypi.org/project/PyYAML/"
95 +SRC_URI="https://pyyaml.org/download/${PN}/${MY_P}.tar.gz"
96 +
97 +LICENSE="MIT"
98 +SLOT="0"
99 +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
100 +IUSE="examples libyaml"
101 +
102 +RDEPEND="libyaml? ( dev-libs/libyaml )"
103 +DEPEND="${RDEPEND}
104 + libyaml? ( $(python_gen_cond_dep 'dev-python/cython[${PYTHON_USEDEP}]' python2_7 'python3*') )"
105 +
106 +S="${WORKDIR}/${MY_P}"
107 +
108 +python_configure_all() {
109 + mydistutilsargs=( $(use_with libyaml) )
110 +}
111 +
112 +python_test() {
113 + esetup.py test
114 +}
115 +
116 +python_install_all() {
117 + distutils-r1_python_install_all
118 + if use examples; then
119 + dodoc -r examples
120 + docompress -x /usr/share/doc/${PF}
121 + fi
122 +}