33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'python3-requests-cache'
|
|
pkgname=python3-requests-cache
|
|
version=1.3.3
|
|
revision=1
|
|
build_style=python3-pep517
|
|
# skip integration tests requiring external database services running
|
|
make_check_args="
|
|
--ignore=tests/integration/test_redis.py
|
|
--ignore=tests/integration/test_mongodb.py
|
|
--ignore=tests/integration/test_dynamodb.py
|
|
"
|
|
hostmakedepends="hatchling"
|
|
depends="python3-requests python3-urllib3 python3-attrs python3-cattrs
|
|
python3-platformdirs python3-url-normalize"
|
|
checkdepends="$depends python3-pytest python3-requests-mock python3-rich
|
|
python3-typing_extensions python3-responses python3-time-machine
|
|
python3-pytest-httpbin"
|
|
short_desc="Persistent cache for python requests"
|
|
maintainer="Mateusz Sylwestrzak <slymattz@gmail.com>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/requests-cache/requests-cache"
|
|
changelog="https://raw.githubusercontent.com/requests-cache/requests-cache/main/HISTORY.md"
|
|
distfiles="${PYPI_SITE}/r/requests-cache/requests_cache-${version}.tar.gz"
|
|
checksum=79b72d5ac5143992d1836ad78f4d8e65666061dd44e220548caab3723089826b
|
|
|
|
pre_check() {
|
|
export USE_PYTEST_HTTPBIN=true
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|