diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-07-07 05:08:07 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-07-07 05:15:13 +0200 |
commit | ed9ccaaa720ce9f01b506100fd36cf863f21f8a6 (patch) | |
tree | e404a5ce8dbb7e47bf606edf51a1b725e5883653 /dev-python/referencing | |
parent | dev-python/jsonschema: Bump to 4.18.0 (diff) | |
download | gentoo-ed9ccaaa720ce9f01b506100fd36cf863f21f8a6.tar.gz gentoo-ed9ccaaa720ce9f01b506100fd36cf863f21f8a6.tar.bz2 gentoo-ed9ccaaa720ce9f01b506100fd36cf863f21f8a6.zip |
dev-python/referencing: Bump to 0.29.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/referencing')
-rw-r--r-- | dev-python/referencing/Manifest | 1 | ||||
-rw-r--r-- | dev-python/referencing/referencing-0.29.1.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/referencing/Manifest b/dev-python/referencing/Manifest index 092da275291f..a5240cea2ec9 100644 --- a/dev-python/referencing/Manifest +++ b/dev-python/referencing/Manifest @@ -1,2 +1,3 @@ DIST referencing-0.29.0.tar.gz 34963 BLAKE2B 88fa71124eeb8dd83b62e4f42299acaa55af33265dd474594efb7f71d522b276e8ed0a12dfa5822c9cc1c42acc0fd21d74400ef866c127bbdab85f9d03bfee96 SHA512 69b20b89e65fa58524aeb1bd38305edefcf61d65f785a090b21bcbd48524be45ae39dd7e3d70f403948b27fdb7e43660b7bd2a438ad26f397f5ca2021dd087e2 +DIST referencing-0.29.1.tar.gz 35024 BLAKE2B 459e0ae857e8fd47075c264abff09fb7eec329dfa9a374e88123f5b6317ccc829c671be9ca2d6e687ae6ec39e3f632b01d982cf62be8c552a62a9a7cf92fd56a SHA512 a5991eea73bd0d3bccfdda60f6b56bb9856abd60d3f70d7952da38693c086b1ba7ff72b67bbec641ac1b88e2512d648243796587f1cc69c00a33ff73a84994f4 DIST referencing-suite-f6fa54deec2ba3ae7326e6c292b2d7c4c20e9eb4.gh.tar.gz 18311 BLAKE2B 69f6a3059842f6ff3438760240126a2033d5287ba6daaff5f9d72e7eee8eb8ac3c72fb0be92c5daf33bf06a54621332c7042e6c8cf11ddbd328e347c9315e224 SHA512 9a7a9c9f8f75391a1589751a83ba5c8153ac41de20ecb2f02fc230ec94b313619bdcf58c5aab580f7825555df68a6d5626b77a92b958b77ebf1fdc16a0b87dd0 diff --git a/dev-python/referencing/referencing-0.29.1.ebuild b/dev-python/referencing/referencing-0.29.1.ebuild new file mode 100644 index 000000000000..94196ba1c444 --- /dev/null +++ b/dev-python/referencing/referencing-0.29.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +SUITE_COMMIT=f6fa54deec2ba3ae7326e6c292b2d7c4c20e9eb4 +SUITE_P=referencing-suite-${SUITE_COMMIT} + +DESCRIPTION="Cross-specification JSON referencing (JSON Schema, OpenAPI...)" +HOMEPAGE=" + https://github.com/python-jsonschema/referencing/ + https://pypi.org/project/referencing/ +" +SRC_URI+=" + test? ( + https://github.com/python-jsonschema/referencing-suite/archive/${SUITE_COMMIT}.tar.gz + -> ${SUITE_P}.gh.tar.gz + ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/rpds-py-0.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-subtests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x REFERENCING_SUITE=${WORKDIR}/${SUITE_P} + epytest +} |