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: Thu, 28 Apr 2022 18:58:07
Message-Id: 1651171916.75116429352d84634a828a2a27329ff2ba5c25f1.mgorny@gentoo
1 commit: 75116429352d84634a828a2a27329ff2ba5c25f1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 28 18:51:56 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 28 18:51:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75116429
7
8 dev-python/elementpath: Bump to 2.5.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/elementpath/Manifest | 1 +
13 dev-python/elementpath/elementpath-2.5.1.ebuild | 38 +++++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/elementpath/Manifest b/dev-python/elementpath/Manifest
17 index e99735f26d80..9a4ae5989e2b 100644
18 --- a/dev-python/elementpath/Manifest
19 +++ b/dev-python/elementpath/Manifest
20 @@ -1 +1,2 @@
21 DIST elementpath-2.5.0.gh.tar.gz 263680 BLAKE2B 50ecea0766ddad4239b9283b223e945ae12fabf51bc246bb672517d04912b07cc2d46c1f04ff74f7f6da44d7dc422cde0c38a1f25a1f61068390dbfcc5ad58c4 SHA512 bbc6ce6a6a3eb3312d53be6040b8f4676f460e76de9b476410a3170734410b7a3d61c53081633d39089def05c74446d26abe093f02b9686a595cdb6e10440047
22 +DIST elementpath-2.5.1.gh.tar.gz 263727 BLAKE2B adfc3727c8afe691ba09e143249779ca3f0cee2fd743963b013d790215b30650eecbe2c924a026c07f9018a23710a0ade6e83567103d8eeffd85a71d398b7c77 SHA512 35c272a9f3dc2ddb1ab6b1aaa67588c1e3fcc5765a2edfd4dae47346b7b45f209b38a501a24f0c37b5ca0d933928c13b8608f33a2aadc57e1e4eeb928a491ab8
23
24 diff --git a/dev-python/elementpath/elementpath-2.5.1.ebuild b/dev-python/elementpath/elementpath-2.5.1.ebuild
25 new file mode 100644
26 index 000000000000..d2b8df609526
27 --- /dev/null
28 +++ b/dev-python/elementpath/elementpath-2.5.1.ebuild
29 @@ -0,0 +1,38 @@
30 +# Copyright 2019-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="XPath 1.0/2.0 parsers and selectors for ElementTree and lxml"
41 +HOMEPAGE="
42 + https://github.com/sissaschool/elementpath/
43 + https://pypi.org/project/elementpath/
44 +"
45 +SRC_URI="
46 + https://github.com/sissaschool/elementpath/archive/v${PV}.tar.gz
47 + -> ${P}.gh.tar.gz
48 +"
49 +
50 +LICENSE="MIT"
51 +SLOT="0"
52 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
53 +
54 +BDEPEND="
55 + test? (
56 + dev-python/lxml[${PYTHON_USEDEP}]
57 + dev-python/xmlschema[${PYTHON_USEDEP}]
58 + )
59 +"
60 +
61 +distutils_enable_tests unittest
62 +
63 +src_prepare() {
64 + # fails for some reason, more fit for upstream testing anyway
65 + rm tests/test_typing.py || die
66 + distutils-r1_src_prepare
67 +}