diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-03-15 22:29:31 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-03-15 23:17:27 +0100 |
commit | bde3c23c1e6c889884bae63864f5a593b4d1676a (patch) | |
tree | ad55e6c67340378fb4d1190021c32bdafd56dafe /dev-python/jmespath | |
parent | dev-python/symengine: Bump to 0.9.2 (diff) | |
download | gentoo-bde3c23c1e6c889884bae63864f5a593b4d1676a.tar.gz gentoo-bde3c23c1e6c889884bae63864f5a593b4d1676a.tar.bz2 gentoo-bde3c23c1e6c889884bae63864f5a593b4d1676a.zip |
dev-python/jmespath: Bump to 1.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/jmespath')
-rw-r--r-- | dev-python/jmespath/Manifest | 1 | ||||
-rw-r--r-- | dev-python/jmespath/jmespath-1.0.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/jmespath/Manifest b/dev-python/jmespath/Manifest index f43fa68bf1c7..ba7af5f71dc6 100644 --- a/dev-python/jmespath/Manifest +++ b/dev-python/jmespath/Manifest @@ -1 +1,2 @@ DIST jmespath.py-0.10.0.gh.tar.gz 81860 BLAKE2B a6181bde0189badcf3ec9a8cf2a913ddea27634b89e181c4b990a0c1eeb3bb777f6f3758ed6ca8acd061b06d853b9857ad33faf037201132bc73572c5d009f4d SHA512 84d787a9547bf0d33dfb4cf42514d6a7a1e69fb8867ccb9d84aa0555ea52b3064a9c6a49b3c51564090bb1d1d2d067fe1887105d744a0f25a991d9e9595c85c5 +DIST jmespath.py-1.0.0.gh.tar.gz 80829 BLAKE2B dcd5e61ef846c5bcd9ac59480f909b05310dbe785c21e97c81981db90d104d17a3319f766b8926e8c8e3ae8b0e2164051d5312c74fa9c16979d802aafd286654 SHA512 d55ea1c4041e1a5043b3e3b7efcd1e561b92a394e3facbe96b069ff6a9a11c20553e62cfbc5fea966670c71376f9f9ccc24d8905f253e0f1d96dd7a588cc3e44 diff --git a/dev-python/jmespath/jmespath-1.0.0.ebuild b/dev-python/jmespath/jmespath-1.0.0.ebuild new file mode 100644 index 000000000000..ca9ec7e6cf47 --- /dev/null +++ b/dev-python/jmespath/jmespath-1.0.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit distutils-r1 + +MY_P=jmespath.py-${PV} +DESCRIPTION="JSON Matching Expressions" +HOMEPAGE=" + https://github.com/jmespath/jmespath.py/ + https://pypi.org/project/jmespath/ +" +SRC_URI=" + https://github.com/jmespath/jmespath.py/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # leftover import + sed -i -e '/nose/d' extra/test_hypothesis.py || die + distutils-r1_src_prepare +} |