diff options
| author | Michał Górny <mgorny@gentoo.org> | 2020-03-15 05:15:41 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2020-03-15 18:01:01 +0100 |
| commit | 139a1430d44064e6de7d1ba47aa45410ea5dfe1c (patch) | |
| tree | 3b64f9b8b8c08106275ba9b127937848977a0d2f /dev-python/elementpath/elementpath-1.4.2.ebuild | |
| parent | 6e58cbc8ecd89a182d9018e2d5915ea9765388d6 (diff) | |
| download | gentoo-139a1430d44064e6de7d1ba47aa45410ea5dfe1c.tar.gz gentoo-139a1430d44064e6de7d1ba47aa45410ea5dfe1c.tar.bz2 gentoo-139a1430d44064e6de7d1ba47aa45410ea5dfe1c.zip | |
dev-python/elementpath: Bump to 1.4.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/elementpath/elementpath-1.4.2.ebuild')
| -rw-r--r-- | dev-python/elementpath/elementpath-1.4.2.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/elementpath/elementpath-1.4.2.ebuild b/dev-python/elementpath/elementpath-1.4.2.ebuild new file mode 100644 index 000000000000..06a26acaff0d --- /dev/null +++ b/dev-python/elementpath/elementpath-1.4.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="XPath 1.0/2.0 parsers and selectors for ElementTree and lxml" +HOMEPAGE="https://github.com/sissaschool/elementpath + https://pypi.org/project/elementpath/" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/xmlschema[${PYTHON_USEDEP}] + )" + +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + # this test fails depending on system locale + requires some random + # locales being installed +# sed -e 's:test_compare_strings_function:_&:' \ +# -i tests/test_xpath2_parser.py || die +} |
