Gentoo Archives: gentoo-commits

From: Ian Delaney <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pretty-yaml/
Date: Thu, 05 May 2016 08:39:08
Message-Id: 1462437532.35851247185804a0bbcb0f1b3024e5dbcdc170af.idella4@gentoo
1 commit: 35851247185804a0bbcb0f1b3024e5dbcdc170af
2 Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
3 AuthorDate: Wed May 4 09:26:41 2016 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Thu May 5 08:38:52 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35851247
7
8 dev-python/pretty-yaml: bump to 15.8.2, EAPI=6
9
10 fix DEPEND
11
12 Gentoo-Bug: 580490
13
14 Package-Manager: portage-2.2.28
15 Closes: https://github.com/gentoo/gentoo/pull/1400
16
17 Signed-off-by: Ian Delaney <idella4 <AT> gentoo.org>
18
19 dev-python/pretty-yaml/Manifest | 1 +
20 dev-python/pretty-yaml/metadata.xml | 1 +
21 dev-python/pretty-yaml/pretty-yaml-15.8.2.ebuild | 33 ++++++++++++++++++++++++
22 3 files changed, 35 insertions(+)
23
24 diff --git a/dev-python/pretty-yaml/Manifest b/dev-python/pretty-yaml/Manifest
25 index e566af2..c8d2a7a 100644
26 --- a/dev-python/pretty-yaml/Manifest
27 +++ b/dev-python/pretty-yaml/Manifest
28 @@ -1,3 +1,4 @@
29 DIST pyaml-14.05.7.tar.gz 7401 SHA256 8c1edf635edc0658d9f6cd222f175e35aecaaef1cad432b188206b71a9cdbd30 SHA512 4a977de705a85341ff817b51e29facea6029c0082cdc0d9b212748d6992a1be3c461d59a5a41f131a14c0cfc0b6db3aad9091e0ff86c05da70974fd3651eaea9 WHIRLPOOL ed5fe07b7dd686a8d460841bfcbbb326d833124f0078a7aa70a80ddd3c85fcc245d9808a2aa19676636fea3d299be986fefead3022d96f846e6a9571ae67024f
30 DIST pyaml-15.5.7.tar.gz 14374 SHA256 85c44970d9bca68742faef77cb10a16d4a81be81281541c8d39c10f504042bc6 SHA512 c92250bba3bfded1a4d047940098b532989f9fe020d1e7ccdd45779260e1114c8720d9ef4d98de0abfa699807d9377e29e9ad9c979dd086456eade0fecf6f0ae WHIRLPOOL e7cb76e586f32eebb8cb56af949925030dabc81e5f2f7b1a575980b49ab020968c393739deb6b69afb98f2c4b3ef21601a43166b7ce092c1e88aa3e2e95758cf
31 DIST pyaml-15.6.3.tar.gz 14459 SHA256 2df761472d0974205b779dab469903cc9ddf257dcd126acc4a97b9d4c970e662 SHA512 9d0789342f59adfc415bef54cdc52b75cbcf1fa71940e1b9534ea0c141c5737449104e45fb0feea968e58d0886a74d9a5bbec0ba05b7d72cf5d93d3a674b5868 WHIRLPOOL 7c2e06dedf40c7c13474824090bf1f5a0453d2d955d446053479be93388c55b30480dc41eaec32a31a2303ae1971de5902922776a48c6d54cdb107a2356a1786
32 +DIST pyaml-15.8.2.tar.gz 16544 SHA256 9c54fb5f17b58572c4cef50affea60bb73f445ab153580dac07a12383712b5b8 SHA512 74f1fdacdd601f0b6f710457627e4dcbc42e7301fe5faa061d3e8d593842d6e5dd85041625aba576bba9cda2a713ee07ca3067221a720cbddc6dcd417fccee64 WHIRLPOOL 8f443fe904e1da77a78a3a2b8591cd5526b4bd7a07e736d959ad842aede43d31c96391389f666796ec4497b03cd79e72582b5f4b4bc6385c5627ab65ba8df09f
33
34 diff --git a/dev-python/pretty-yaml/metadata.xml b/dev-python/pretty-yaml/metadata.xml
35 index 35d9cc6..c3f0370 100644
36 --- a/dev-python/pretty-yaml/metadata.xml
37 +++ b/dev-python/pretty-yaml/metadata.xml
38 @@ -8,5 +8,6 @@
39 <upstream>
40 <remote-id type="pypi">pyaml</remote-id>
41 <remote-id type="github">mk-fg/pretty-yaml</remote-id>
42 + <bugs-to>https://github.com/mk-fg/pretty-yaml/issues</bugs-to>
43 </upstream>
44 </pkgmetadata>
45
46 diff --git a/dev-python/pretty-yaml/pretty-yaml-15.8.2.ebuild b/dev-python/pretty-yaml/pretty-yaml-15.8.2.ebuild
47 new file mode 100644
48 index 0000000..3bcab79
49 --- /dev/null
50 +++ b/dev-python/pretty-yaml/pretty-yaml-15.8.2.ebuild
51 @@ -0,0 +1,33 @@
52 +# Copyright 1999-2016 Gentoo Foundation
53 +# Distributed under the terms of the GNU General Public License v2
54 +# $Id$
55 +
56 +EAPI=6
57 +
58 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
59 +
60 +inherit distutils-r1
61 +
62 +MY_PN="${PN//retty-}"
63 +DESCRIPTION="PyYAML-based module to produce pretty and readable YAML-serialized data"
64 +HOMEPAGE="https://github.com/mk-fg/pretty-yaml"
65 +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
66 +
67 +LICENSE="WTFPL-2"
68 +SLOT="0"
69 +KEYWORDS="~amd64 ~arm ~x86"
70 +IUSE="test"
71 +
72 +RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
73 +DEPEND="
74 + dev-python/setuptools[${PYTHON_USEDEP}]
75 + test? (
76 + ${RDEPEND}
77 + dev-python/unidecode[${PYTHON_USEDEP}]
78 + )"
79 +
80 +S="${WORKDIR}/${MY_PN}-${PV}"
81 +
82 +python_test() {
83 + "${PYTHON}" pyaml/tests/dump.py || die "tests failed under ${EPYTHON}"
84 +}