You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
61 lines
2.2 KiB
Tcl
61 lines
2.2 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-requests-cache
|
|
version 1.2.1
|
|
revision 1
|
|
checksums rmd160 f301018c1e3b03f0717f9328aab59f624576d94d \
|
|
sha256 68abc986fdc5b8d0911318fbb5f7c80eebcd4d01bfacc6685ecf8876052511d1 \
|
|
size 3018209
|
|
|
|
categories-append devel
|
|
license BSD
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
maintainers nomaintainer
|
|
|
|
description Transparent persistent cache for py-requests
|
|
long_description {*}${description}
|
|
|
|
homepage https://requests-cache.readthedocs.io/en/stable/
|
|
distname requests_cache-${version}
|
|
|
|
python.versions 310 311 312 313 314
|
|
python.pep517_backend poetry
|
|
|
|
if {${name} ne ${subport}} {
|
|
patchfiles patch-timemachine_tests.diff
|
|
|
|
depends_lib-append \
|
|
port:py${python.version}-attrs \
|
|
port:py${python.version}-cattrs \
|
|
port:py${python.version}-platformdirs \
|
|
port:py${python.version}-requests \
|
|
port:py${python.version}-url-normalize \
|
|
port:py${python.version}-urllib3
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
|
|
xinstall -d ${destroot}${docdir}
|
|
|
|
xinstall -m 0644 -W ${worksrcpath} README.md CONTRIBUTORS.md \
|
|
LICENSE HISTORY.md ${destroot}${docdir}
|
|
}
|
|
|
|
test.run yes
|
|
test.target tests/unit \
|
|
tests/compat \
|
|
tests/integration/test_filesystem.py::TestFileDict \
|
|
tests/integration/test_memory.py::TestMemoryDict \
|
|
tests/integration/test_sqlite.py::TestSQLiteDict
|
|
depends_test-append \
|
|
port:py${python.version}-responses \
|
|
port:py${python.version}-requests-mock \
|
|
port:py${python.version}-rich \
|
|
port:py${python.version}-time-machine \
|
|
port:py${python.version}-timeout-decorator
|
|
}
|