Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-gflags/
Date: Thu, 29 Mar 2018 03:29:08
Message-Id: 1522292480.e63c06317d1275632dd197c6ba02ee3f9d58908c.vapier@gentoo
1 commit: e63c06317d1275632dd197c6ba02ee3f9d58908c
2 Author: Mike Frysinger <vapier <AT> chromium <DOT> org>
3 AuthorDate: Thu Mar 29 03:01:20 2018 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 29 03:01:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e63c0631
7
8 dev-python/python-gflags: version bump to 3.1.2
9
10 dev-python/python-gflags/Manifest | 1 +
11 .../python-gflags/python-gflags-3.1.2.ebuild | 34 ++++++++++++++++++++++
12 2 files changed, 35 insertions(+)
13
14 diff --git a/dev-python/python-gflags/Manifest b/dev-python/python-gflags/Manifest
15 index b385f4609ca..14b179d6f92 100644
16 --- a/dev-python/python-gflags/Manifest
17 +++ b/dev-python/python-gflags/Manifest
18 @@ -1 +1,2 @@
19 DIST python-gflags-3.1.1.tar.gz 52633 BLAKE2B 78966a7ffd924dcb16b4c6459d10cb06b9494150887433fec1e32e1b454f151386d4024f3ba1d307f756781128224c8106539480d9291dcc2ed82e85c8eef36f SHA512 28009cdc09b94b416af5237d3897d6ab516cc3b6a3eed18a31adb8c199f31a8c7d07b1d69794cb37de84b50eefbde1de57f9f0afaeac0a4747b352f4024ef12c
20 +DIST python-gflags-3.1.2.tar.gz 52093 BLAKE2B 4275b43ecf2c58f76fee0b1ff4645eb3176a9ae3b68fdd4a059c2f6f659ca1d9b6e4fad152a2fa48f1eb22c467dbc006835c241c21f89c0ca92367e484f34c6f SHA512 7a3c08b6b212cdb9cb7feaa48e3875d1204a4b3a57182508a078331565f70509d00c315400fa0316dbf61ed4d6a6a04ca8c1a2303567d37650d8dfbb329e2f6c
21
22 diff --git a/dev-python/python-gflags/python-gflags-3.1.2.ebuild b/dev-python/python-gflags/python-gflags-3.1.2.ebuild
23 new file mode 100644
24 index 00000000000..fbe985dcaf5
25 --- /dev/null
26 +++ b/dev-python/python-gflags/python-gflags-3.1.2.ebuild
27 @@ -0,0 +1,34 @@
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=( python{2_7,3_6} pypy )
34 +
35 +inherit distutils-r1
36 +
37 +DESCRIPTION="Google's Python argument parsing library"
38 +HOMEPAGE="https://github.com/google/python-gflags"
39 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
40 +
41 +LICENSE="BSD"
42 +SLOT="0"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
44 +
45 +RDEPEND="
46 + dev-python/six[${PYTHON_USEDEP}]"
47 +
48 +DEPEND="
49 + ${RDEPEND}
50 + dev-python/setuptools[${PYTHON_USEDEP}]"
51 +
52 +PATCHES=(
53 + "${FILESDIR}"/${PN}-3.1.1-script-install.patch
54 +)
55 +
56 +python_test() {
57 + # note: each test needs to be run separately, otherwise they fail
58 + "${PYTHON}" -m gflags._helpers_test -v || die
59 + "${PYTHON}" -m gflags.flags_formatting_test -v || die
60 + "${PYTHON}" -m gflags.flags_unicode_literals_test -v || die
61 +}