Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/marshmallow/
Date: Sat, 24 Aug 2019 03:20:46
Message-Id: 1566614942.f4649bd0474cf26c84cdf48c69d942e0196a08d9.zmedico@gentoo
1 commit: f4649bd0474cf26c84cdf48c69d942e0196a08d9
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 24 02:32:29 2019 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 24 02:49:02 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4649bd0
7
8 dev-python/marshmallow: Bump to version 2.20.2
9
10 Package-Manager: Portage-2.3.72, Repoman-2.3.17
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 dev-python/marshmallow/Manifest | 1 +
14 dev-python/marshmallow/marshmallow-2.20.2.ebuild | 38 ++++++++++++++++++++++++
15 2 files changed, 39 insertions(+)
16
17 diff --git a/dev-python/marshmallow/Manifest b/dev-python/marshmallow/Manifest
18 index 7c1d3abcb16..f89b767260b 100644
19 --- a/dev-python/marshmallow/Manifest
20 +++ b/dev-python/marshmallow/Manifest
21 @@ -1,2 +1,3 @@
22 +DIST marshmallow-2.20.2.tar.gz 152437 BLAKE2B 0d31537051c45bad52d922439d1cb9d69fc4a4bc2767d6a13bfe32a9edc978cadf9b1c508ae51532f5661291f32ed4b7c5e54f5fcd092eb4ebd7d3045521e9b8 SHA512 05511aafa978377152ea8ea1b70dd5558782bf634df5ae52453bfa65c7ec9270a12cd7a32e11872808a3289cfab2ef0380e129e84878511872e7cc95b0792453
23 DIST marshmallow-3.0.0b12.tar.gz 153870 BLAKE2B 4279bb477861cbcef219a7442ffa29cb1f5bb084b08a9812256898771560add3d8e5dbcd2348d8734c1701131e02f33c69ca17f2d1d9010712e11ada96e0374f SHA512 3155503630b2a85eeb4b04769de79346b334975ab3611695806e799a76dfca78cc3c7d490b18158c757dd15d550fa408b651fa4c69b3e5eb147c4cf38613e2ab
24 DIST marshmallow-3.0.0b8.tar.gz 148882 BLAKE2B a83e9cb2ff7d5786e5a0d5c947e578f81d7d2ab008257df195096e06031b100cd6d31bdab3df63b6ab6704268b1915827dd89f7e5fce6a638d136686fc9ebc07 SHA512 34f7a974872d0cdad828e342788269ab19194e17f30716dc8db21bc3b86ab3f1be6bd5e31c7bcbeaad7b8c70acc39eab256eb938060eff42067f5f1b3ba51c1c
25
26 diff --git a/dev-python/marshmallow/marshmallow-2.20.2.ebuild b/dev-python/marshmallow/marshmallow-2.20.2.ebuild
27 new file mode 100644
28 index 00000000000..a9acebf6251
29 --- /dev/null
30 +++ b/dev-python/marshmallow/marshmallow-2.20.2.ebuild
31 @@ -0,0 +1,38 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="A lightweight library for converting complex datatypes to and from native Python datatypes."
41 +HOMEPAGE="https://github.com/marshmallow-code/marshmallow/"
42 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
47 +IUSE="test"
48 +RESTRICT="!test? ( test )"
49 +
50 +RDEPEND="
51 + dev-python/python-dateutil[${PYTHON_USEDEP}]
52 +"
53 +DEPEND="${RDEPEND}
54 + dev-python/setuptools[${PYTHON_USEDEP}]
55 + test? (
56 + dev-python/pytest[${PYTHON_USEDEP}]
57 + dev-python/simplejson[${PYTHON_USEDEP}]
58 + )"
59 +
60 +src_prepare() {
61 + distutils-r1_src_prepare
62 +}
63 +
64 +python_test() {
65 + if [[ ${EPYTHON} == python2.7 ]]; then
66 + rm -rf tests/test_py3 || die
67 + fi
68 + py.test -v || die "tests failed under ${EPYTHON}"
69 +}