Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions srcpkgs/python3-requests-cache/template
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
# Template file for 'python3-requests-cache'
pkgname=python3-requests-cache
version=1.3.2
version=1.3.3
revision=1
build_style=python3-pep517
hostmakedepends="python3-poetry-core hatchling"
# 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=bdc3680931f98a1dea509d339ea6b45cea526945b47b250ce63ffd2744ee0b14
checksum=79b72d5ac5143992d1836ad78f4d8e65666061dd44e220548caab3723089826b

pre_check() {
export USE_PYTEST_HTTPBIN=true
}

post_install() {
vlicense LICENSE
Expand Down