Skip to content

Commit

Permalink
py-wheel: set correct pep517 backend
Browse files Browse the repository at this point in the history
  • Loading branch information
jmroot committed Mar 18, 2023
1 parent 2b36896 commit 9f93c38
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions python/py-wheel/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ platforms {darwin any}
python.versions 27 34 35 36 37 38 39 310 311

if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools

if {${python.version} == 34} {
version 0.33.6
revision 0
Expand All @@ -45,6 +42,10 @@ if {${name} ne ${subport}} {
sha256 e9a504e793efbca1b8e0e9cb979a249cf4a0a7b5b8c9e8b65a5e39d49529c1c4 \
size 66376
}
if {${python.version} <= 36} {
depends_build-append \
port:py${python.version}-setuptools
}

if {${python.version} == 36} {
depends_build-append port:py${python.version}-importlib-resources
Expand All @@ -61,5 +62,8 @@ if {${name} ne ${subport}} {

if {${python.version} >= 36} {
python.pep517 yes
if {${python.version} >= 37} {
python.pep517_backend flit
}
}
}

0 comments on commit 9f93c38

Please sign in to comment.