You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
py-asn1-modules: drop py39 subport
This commit is contained in:
@@ -26,33 +26,31 @@ checksums rmd160 ceb5fcbd9d591f3c4481f4c812912f70b477ec3b \
|
||||
sha256 677091de870a80aae844b1ca6134f54652fa2c8c5a52aa396440ac3106e941e6 \
|
||||
size 307892
|
||||
|
||||
python.versions 27 39 310 311 312 313 314
|
||||
python.versions 27 310 311 312 313 314
|
||||
|
||||
if {${name} ne ${subport}} {
|
||||
depends_build-append \
|
||||
port:py${python.version}-setuptools
|
||||
|
||||
depends_lib-append \
|
||||
port:py${python.version}-asn1
|
||||
|
||||
if {${python.version} < 38} {
|
||||
if {${python.version} == 27} {
|
||||
version 0.3.0
|
||||
revision 0
|
||||
checksums rmd160 33092910bbb0a86b264e0501c00530c6882e72ca \
|
||||
sha256 5bd01446b736eb9d31512a30d46c1ac3395d676c6f3cafa4c03eb54b9925631c \
|
||||
size 307901
|
||||
# This is needed here for the correct tarball to be fetched:
|
||||
distname pyasn1_modules-${version}
|
||||
|
||||
depends_build-append \
|
||||
port:py${python.version}-setuptools
|
||||
} else {
|
||||
test.run yes
|
||||
python.test_framework unittest
|
||||
}
|
||||
|
||||
distname pyasn1_modules-${version}
|
||||
|
||||
post-destroot {
|
||||
xinstall -d ${destroot}${prefix}/share/doc/${subport}
|
||||
xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.md \
|
||||
${destroot}${prefix}/share/doc/${subport}
|
||||
}
|
||||
|
||||
if {${python.version} > 27} {
|
||||
test.run yes
|
||||
python.test_framework unittest
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user