1 |
commit: f7e7342f84fbaca8640ca8941e6d07202955848f |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 30 01:34:50 2016 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 30 01:35:06 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7e7342f |
7 |
|
8 |
dev-python/pyyaml: version bump to 3.12 |
9 |
|
10 |
dev-python/pyyaml/Manifest | 1 + |
11 |
dev-python/pyyaml/pyyaml-3.12.ebuild | 42 ++++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 43 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/pyyaml/Manifest b/dev-python/pyyaml/Manifest |
15 |
index 9d54791..07652ec 100644 |
16 |
--- a/dev-python/pyyaml/Manifest |
17 |
+++ b/dev-python/pyyaml/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
DIST PyYAML-3.11.tar.gz 248685 SHA256 c36c938a872e5ff494938b33b14aaa156cb439ec67548fcab3535bb78b0846e8 SHA512 76de005f59e1842108399af53178cfac2c08ee5cc996cc38ab6ec8b046c6b894422c461a1f1ed1df91abf96f154d41170227912cae7336cff88adfd3c0e8d783 WHIRLPOOL 9b457a026a57d4b90e52629dafbd48a33ff3bf3a71c531857d33acfb7e7033b963c566d82d4fabaa0ae17f534b9d5a697a2407bdb24ab3ca9fd375b49e7932c2 |
20 |
+DIST PyYAML-3.12.tar.gz 253011 SHA256 592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab SHA512 e16d8b7f4f026b6a95b11fb59c54ec5f114f6f516294eaa95e718abdf5d37c17a9c4b5e0a0a61fca04e801792d9b7fb801087cf849ff22b9581f6af204b1883a WHIRLPOOL ccea5e8931b8c57958f0cca0c58dfe71c42e878b233ba4d9a08aa361b874c06967998bb460772e311b42ecf4cb012a35c3aa9dbff620c6f413bbad8e3fffbaaf |
21 |
|
22 |
diff --git a/dev-python/pyyaml/pyyaml-3.12.ebuild b/dev-python/pyyaml/pyyaml-3.12.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000..b6965b8 |
25 |
--- /dev/null |
26 |
+++ b/dev-python/pyyaml/pyyaml-3.12.ebuild |
27 |
@@ -0,0 +1,42 @@ |
28 |
+# Copyright 1999-2016 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+# $Id$ |
31 |
+ |
32 |
+EAPI=6 |
33 |
+ |
34 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) |
35 |
+ |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+MY_P="PyYAML-${PV}" |
39 |
+ |
40 |
+DESCRIPTION="YAML parser and emitter for Python" |
41 |
+HOMEPAGE="http://pyyaml.org/wiki/PyYAML https://pypi.python.org/pypi/PyYAML" |
42 |
+SRC_URI="http://pyyaml.org/download/${PN}/${MY_P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" |
47 |
+IUSE="examples libyaml" |
48 |
+ |
49 |
+RDEPEND="libyaml? ( dev-libs/libyaml )" |
50 |
+DEPEND="${RDEPEND} |
51 |
+ libyaml? ( $(python_gen_cond_dep 'dev-python/cython[${PYTHON_USEDEP}]' python2_7 'python3*') )" |
52 |
+ |
53 |
+S="${WORKDIR}/${MY_P}" |
54 |
+ |
55 |
+python_configure_all() { |
56 |
+ mydistutilsargs=( $(use_with libyaml) ) |
57 |
+} |
58 |
+ |
59 |
+python_test() { |
60 |
+ esetup.py test |
61 |
+} |
62 |
+ |
63 |
+python_install_all() { |
64 |
+ distutils-r1_python_install_all |
65 |
+ if use examples; then |
66 |
+ dodoc -r examples |
67 |
+ docompress -x /usr/share/doc/${PF} |
68 |
+ fi |
69 |
+} |