28 lines
877 B
Bash
28 lines
877 B
Bash
# Template file for 'python3-referencing'
|
|
pkgname=python3-referencing
|
|
version=0.33.0
|
|
revision=1
|
|
build_style=python3-pep517
|
|
hostmakedepends="hatchling hatch-vcs"
|
|
depends="python3-rpds-py"
|
|
checkdepends="$depends python3-pytest-subtests"
|
|
short_desc="Cross-specification JSON Referencing"
|
|
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
|
license="MIT"
|
|
homepage="https://github.com/python-jsonschema/referencing"
|
|
changelog="https://raw.githubusercontent.com/python-jsonschema/referencing/main/docs/changes.rst"
|
|
distfiles="${PYPI_SITE}/r/referencing/referencing-${version}.tar.gz"
|
|
checksum=c775fedf74bc0f9189c2a3be1c12fd03e8c23f4d371dce795df44e06c5b412f7
|
|
|
|
if [ "$XBPS_CHECK_PKGS" = full ]; then
|
|
# cyclic dependency
|
|
checkdepends+=" python3-jsonschema"
|
|
else
|
|
# needs python3-jsonschema
|
|
make_check_args+=" --ignore=suite/test_sanity.py"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|