Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyicu/
Date: Mon, 01 Apr 2019 14:51:48
Message-Id: 1554130280.495bf98dba8ac687dd73f39f3e6aa0f1e764850d.marecki@gentoo
1 commit: 495bf98dba8ac687dd73f39f3e6aa0f1e764850d
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 1 14:41:45 2019 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 1 14:51:20 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=495bf98d
7
8 dev-python/pyicu: bump to 2.3
9
10 This is the first version of PyICU to support ICU-64
11
12 Closes: https://bugs.gentoo.org/682064
13 Closes: https://bugs.gentoo.org/682200
14 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
15 Package-Manager: Portage-2.3.62, Repoman-2.3.11
16
17 dev-python/pyicu/Manifest | 1 +
18 dev-python/pyicu/pyicu-2.3.ebuild | 40 +++++++++++++++++++++++++++++++++++++++
19 2 files changed, 41 insertions(+)
20
21 diff --git a/dev-python/pyicu/Manifest b/dev-python/pyicu/Manifest
22 index 5eb6f7c9691..1d214a1098c 100644
23 --- a/dev-python/pyicu/Manifest
24 +++ b/dev-python/pyicu/Manifest
25 @@ -1,2 +1,3 @@
26 DIST PyICU-2.0.2.tar.gz 194525 BLAKE2B 9ef0c5defdebfd65760c6de5782308eac5433fd8474b9802ed1a79db494a259c88f22286b0a98b25bdcec22cbf78a3a7e411d8a9a7a81b07a2112204d6b44141 SHA512 b3715a0f88227a41b56988ee98e795fe398867c2788b2929e0d4f83bfe9519ff01648eb23cfe8d1d9073930a4d7220c0ad5ebcf2652d8fa3ec43e4c4a4bcf091
27 DIST PyICU-2.2.tar.gz 211135 BLAKE2B f56e590ec4aefb61b6d3b37c807a018698ee97a632ccdd08f5f879cdccc576a6da1d31bb0ede54813be640ebdf600fe522a5c35ff417ac8e157c516a1b3bd7cc SHA512 30cce676fa502040e20fd4303baeebf0d83730abfedf79fdf3b69c1a3b52032a3337168b6e8902286dd4b46dda5bf894795995c6f1ef2a237fdabc374bb5ffcf
28 +DIST PyICU-2.3.tar.gz 214710 BLAKE2B ef676cce089962d16a88193e7aa2ffec739086e5bbef201c8779a372a5876bbb1e63e5e92a7c89c879b91f063e90d4fdb16a1967dff5f2ef658cde95f9fdca6c SHA512 2bdbc7fb7c83e58c9d0d53dadf8fef92d8dec02e9eefebc75bac43c19f008ef2a3219d41b62c426c41a055bb4530b2f7ef567162660d6021b8d2bf9e99090f94
29
30 diff --git a/dev-python/pyicu/pyicu-2.3.ebuild b/dev-python/pyicu/pyicu-2.3.ebuild
31 new file mode 100644
32 index 00000000000..20c7f98b97f
33 --- /dev/null
34 +++ b/dev-python/pyicu/pyicu-2.3.ebuild
35 @@ -0,0 +1,40 @@
36 +# Copyright 1999-2019 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=7
40 +
41 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
42 +
43 +inherit distutils-r1 flag-o-matic
44 +
45 +MY_PN="PyICU"
46 +MY_P="${MY_PN}-${PV}"
47 +
48 +DESCRIPTION="Python bindings for dev-libs/icu"
49 +HOMEPAGE="https://github.com/ovalhub/pyicu"
50 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
51 +
52 +LICENSE="MIT"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~x86"
55 +IUSE="test"
56 +
57 +RDEPEND="${PYTHON_DEPS}
58 + dev-libs/icu:="
59 +DEPEND="${RDEPEND}
60 + test? ( dev-python/pytest
61 + dev-python/six )"
62 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
63 +
64 +S="${WORKDIR}/${MY_P}"
65 +
66 +DOCS=(CHANGES CREDITS README.md)
67 +
68 +python_test() {
69 + if [[ ${EPYTHON} == python2* ]]; then
70 + # See Bug #644226
71 + ewarn "Skipping tests for ${EPYTHON} because they are known to fail"
72 + else
73 + esetup.py test
74 + fi
75 +}