1 | # -*- 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 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup github 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | github.setup reclosedev requests-cache 0.5.2 v |
---|
8 | revision 0 |
---|
9 | name py-requests-cache |
---|
10 | |
---|
11 | categories-append devel |
---|
12 | platforms darwin |
---|
13 | license BSD |
---|
14 | supported_archs noarch |
---|
15 | maintainers nomaintainer |
---|
16 | |
---|
17 | description Transparent persistent cache for py-requests |
---|
18 | long_description ${description} |
---|
19 | |
---|
20 | checksums rmd160 ccd76aca28b1ba826a88beb5fc65f16aec26e583 \ |
---|
21 | sha256 813023269686045f8e01e2289cc1e7e9ae5ab22ddd1e2849a9093ab3ab7270eb \ |
---|
22 | size 31159 |
---|
23 | |
---|
24 | python.versions 27 35 36 37 38 |
---|
25 | |
---|
26 | master_sites https://files.pythonhosted.org/packages/0c/d4/bdc22aad6979ceeea2638297f213108aeb5e25c7b103fa02e4acbe43992e |
---|
27 | |
---|
28 | if {${name} ne ${subport}} { |
---|
29 | depends_build-append \ |
---|
30 | port:py${python.version}-setuptools |
---|
31 | |
---|
32 | depends_lib-append \ |
---|
33 | port:py${python.version}-requests |
---|
34 | |
---|
35 | post-destroot { |
---|
36 | set docdir ${prefix}/share/doc/${subport} |
---|
37 | xinstall -d ${destroot}${docdir} |
---|
38 | xinstall -m 0644 -W ${worksrcpath} README.rst CONTRIBUTORS.rst \ |
---|
39 | LICENSE HISTORY.rst ${destroot}${docdir} |
---|
40 | } |
---|
41 | |
---|
42 | depends_test-append \ |
---|
43 | port:py${python.version}-mock \ |
---|
44 | port:py${python.version}-pytest |
---|
45 | |
---|
46 | test.run yes |
---|
47 | test.cmd py.test-${python.branch} |
---|
48 | test.target |
---|
49 | test.env PYTHONPATH=${worksrcpath}/build/lib |
---|
50 | |
---|
51 | livecheck.type none |
---|
52 | } |
---|