Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/elementpath/
Date: Mon, 03 Feb 2020 14:55:17
Message-Id: 1580741705.425136434670665efaf476966041b53290b2f596.mgorny@gentoo
1 commit: 425136434670665efaf476966041b53290b2f596
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 3 13:32:38 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 3 14:55:05 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42513643
7
8 dev-python/elementpath: Bump to 1.4.1, add pypy3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/elementpath/Manifest | 1 +
13 dev-python/elementpath/elementpath-1.4.1.ebuild | 36 +++++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/dev-python/elementpath/Manifest b/dev-python/elementpath/Manifest
17 index 85cd00a56db..0a17f6f9f43 100644
18 --- a/dev-python/elementpath/Manifest
19 +++ b/dev-python/elementpath/Manifest
20 @@ -1 +1,2 @@
21 DIST elementpath-1.3.1.tar.gz 100631 BLAKE2B fb3238006afb5100ad03314bddb16e77ea2fc7a91acf95e479ad67308456f761c53c64920266aa251a3f1b9bb6c6bebe39faa6413dd840a19ca1e9b3293f5253 SHA512 3beea19fe431514630f3957d2005d5883fb496a7192a47ea593d4b0df7a0050a19756275af7f85c7807c929482ddaacaba76ec0f3a715b6779d4aec125ee5550
22 +DIST elementpath-1.4.1.tar.gz 106008 BLAKE2B 9613949e65d61425d8ca04a2af95e162b603202f521cd96a3e40da4834149890f5767841bc9c7eac45d27902fdd79bac933013aed27767a840f48e889bfe174a SHA512 b83ec52549c6221b4d4d0912100df700f7a36e1eadb5491cc61106fc98ce36370217dae133c6ff0b11d1522b5ad5b9765aa135b0ac7310a9c922148e3d92acfd
23
24 diff --git a/dev-python/elementpath/elementpath-1.4.1.ebuild b/dev-python/elementpath/elementpath-1.4.1.ebuild
25 new file mode 100644
26 index 00000000000..5ab8daaf300
27 --- /dev/null
28 +++ b/dev-python/elementpath/elementpath-1.4.1.ebuild
29 @@ -0,0 +1,36 @@
30 +# Copyright 2019-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="XPath 1.0/2.0 parsers and selectors for ElementTree and lxml"
39 +HOMEPAGE="https://github.com/sissaschool/elementpath
40 + https://pypi.org/project/elementpath/"
41 +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="test"
47 +RESTRICT="!test? ( test )"
48 +
49 +BDEPEND="
50 + dev-python/setuptools[${PYTHON_USEDEP}]
51 + test? (
52 + dev-python/lxml[${PYTHON_USEDEP}]
53 + dev-python/xmlschema[${PYTHON_USEDEP}]
54 + )"
55 +
56 +distutils_enable_tests unittest
57 +
58 +src_prepare() {
59 + distutils-r1_src_prepare
60 +
61 + # this test fails depending on system locale + requires some random
62 + # locales being installed
63 +# sed -e 's:test_compare_strings_function:_&:' \
64 +# -i tests/test_xpath2_parser.py || die
65 +}