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 python 1.0 |
---|
5 | |
---|
6 | name py-pyproject_hooks |
---|
7 | version 1.0.0 |
---|
8 | |
---|
9 | license MIT |
---|
10 | platforms {darwin any} |
---|
11 | supported_archs noarch |
---|
12 | maintainers {gmail.com:davidgilman1 @dgilman} openmaintainer |
---|
13 | |
---|
14 | checksums rmd160 8b7d5a03fff4a408541ec47641fa1b4d8e67e656 \ |
---|
15 | sha256 f271b298b97f5955d53fb12b72c1fb1948c22c1a6b70b315c54cedaca0264ef5 \ |
---|
16 | size 16901 |
---|
17 | |
---|
18 | homepage https://pyproject-hooks.readthedocs.io/en/latest/ |
---|
19 | description A low-level library for calling build-backends in \ |
---|
20 | pyproject.toml-based projects. |
---|
21 | long_description ${description} It provides the basic functionality to \ |
---|
22 | help write tooling that generates distribution files \ |
---|
23 | from Python projects. |
---|
24 | |
---|
25 | |
---|
26 | python.versions 37 38 39 310 311 |
---|
27 | python.pep517 yes |
---|
28 | python.pep517_backend \ |
---|
29 | flit |
---|
30 | |
---|
31 | if {${name} ne ${subport}} { |
---|
32 | depends_test-append \ |
---|
33 | port:py${python.version}-testpath |
---|
34 | |
---|
35 | python.test_framework \ |
---|
36 | pytest |
---|
37 | test.run yes |
---|
38 | test.target |
---|
39 | test.env FOO=bar PYTHONPATH=${worksrcpath}/src |
---|
40 | } |
---|