Skip to content

Commit

Permalink
py-parsing: pin py36 and py37 to 3.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
markmentovai committed Oct 22, 2024
1 parent 7c2ed86 commit 53cc4de
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions python/py-parsing/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,17 @@ if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
} else {
if {${python.version} <= 38} {
version 3.1.4
checksums rmd160 b9c5d15d75f99c63de72dd620b5e4921a88a8aeb \
sha256 f86ec8d1a83f11977c9a6ea7598e8c27fc5cddfa5b07ea2241edbbde1d7bc032 \
size 900231
}

python.pep517 yes
python.pep517_backend flit
}

if {${python.version} == 36} {
# break circular dependency with py36-build
python.add_dependencies no
Expand All @@ -51,11 +59,6 @@ if {${name} ne ${subport}} {
build.env-append PYTHONPATH=${prefix}/share/py36-bootstrap-modules
build.args --skip-dependency-check
destroot.env-append PYTHONPATH=${prefix}/share/py36-bootstrap-modules
} elseif {${python.version} == 38} {
version 3.1.4
checksums rmd160 b9c5d15d75f99c63de72dd620b5e4921a88a8aeb \
sha256 f86ec8d1a83f11977c9a6ea7598e8c27fc5cddfa5b07ea2241edbbde1d7bc032 \
size 900231
}

test.run yes
Expand Down

0 comments on commit 53cc4de

Please sign in to comment.