diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-01 15:05:02 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-01 15:05:02 +0000 |
commit | e523ebcd50638ebe53f8f425d126bfa7385703b5 (patch) | |
tree | a8202f9224bd577afe09c919786f8836cf4a2a7c /dev-python/elementpath | |
parent | d88834e7a12432c4e2d04ca7e938a66e25811f89 (diff) |
gentoo auto-resync : 01:02:2023 - 15:05:01
Diffstat (limited to 'dev-python/elementpath')
-rw-r--r-- | dev-python/elementpath/Manifest | 2 | ||||
-rw-r--r-- | dev-python/elementpath/elementpath-4.0.0.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/elementpath/Manifest b/dev-python/elementpath/Manifest index 2895323a8852..581b8ac00489 100644 --- a/dev-python/elementpath/Manifest +++ b/dev-python/elementpath/Manifest @@ -1,3 +1,5 @@ DIST elementpath-3.0.2.gh.tar.gz 275843 BLAKE2B b5e51971dbbcf68f6199ecf8d3270d2ed06732e3d1abc07d768127bc8a4cef4096fe3e6fe97606bde6d229753a942abd6c0019708f86e8a9931bc902bc8f48ef SHA512 46392cece136bd6e73285333b14a00ebbebcca70c7df42cd04021225207593ef33337fd468c12f089030f2a8adc1251660ebf762aa17f82b2f26ba902d6e89d2 +DIST elementpath-4.0.0.gh.tar.gz 304721 BLAKE2B a3ad9a3f7746bd8d1df14d6057508b1db48e057ee83ff2d4278b4b1ffd2828ab96572780c4ee37b444eae49747a2008aa5133492dfeec762a134c8e4635e4bf3 SHA512 14f1b9f13212e935fcd7074ab2e0da7e3f43ac676e1c05b931eb1304f5eba951c0b2caa57f5eb04e006fa274a47ec2a0e42518023d4e8111b6795175b6ed8ede EBUILD elementpath-3.0.2.ebuild 879 BLAKE2B 642df8e634f346f871810f7b4e161316961f195892040d6c12df114c137dd6b91e4dbf49628d8e9c1407968a4efa7941efd5e8639a9e7c06d16cb181e55b0b39 SHA512 191dd4b72d17ff012557228cc0e40004a965d3cb6982f1c0bbcf35e6d53cb47dacf65164455e81edd53676bee85a7e44ced03b14cd8e9d993ca048f59c25d674 +EBUILD elementpath-4.0.0.ebuild 887 BLAKE2B 42aeeb36a6d4c62f98ae9cd1d5a8aff442066843e332ff3d3bd2bbfbbb1ede1f29ff568491dc8214e522bb775a1ce7803f482d98a3e5152072652063b3243768 SHA512 4b9f235754bf69ea94f5c214c67b0b9e53537889e049b7ab9281f8167275d39a9c054139e266231f2cbd1ed2b8d7cd71ef1e6552c882910811d9448ba40dd5b4 MISC metadata.xml 380 BLAKE2B 00a18a4c9373b73866c8f5159e6c11327baea8ea6ba8027c2477cefaf6bbd2d2838de3cf78b9bc3e8bdffd0444e6c44b45cf6e6aac0f7ac470c7e092ae4e43f9 SHA512 abdc862e0d684023fcd42843a9c558d71e923a09fb0592e5e3c3e7e949e311c36afc34ee3cea5873c1799b093924fe15c240da4a782fdbca11ace66ea0d2717c diff --git a/dev-python/elementpath/elementpath-4.0.0.ebuild b/dev-python/elementpath/elementpath-4.0.0.ebuild new file mode 100644 index 000000000000..ae27d9afd944 --- /dev/null +++ b/dev-python/elementpath/elementpath-4.0.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2019-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} 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=" + https://github.com/sissaschool/elementpath/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/xmlschema[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # fails for some reason, more fit for upstream testing anyway + rm tests/test_typing.py || die + distutils-r1_src_prepare +} |