cabal: Update to version 3.16.1.0

* Update to version 3.16.1.0
* Use Python 314
This commit is contained in:
Steven Thomas Smith
2026-01-26 08:08:02 -05:00
committed by Zhenfu Shi
parent e35cd5039d
commit 643836e948
+11 -11
View File
@@ -3,7 +3,7 @@
PortSystem 1.0
name cabal
version 3.16.0.0
version 3.16.1.0
revision 0
categories lang haskell devel
license BSD
@@ -63,14 +63,14 @@ distfiles ${distfile_haskell}:haskell
# run `port clean --all cabal-prebuilt` afterwards
if {${build_arch} eq {arm64}} {
checksums ${distfile_haskell} \
rmd160 2359b874fac29654a892159d5ea86e33f77004a2 \
sha256 8e7aa8823f9c0d9c4c75b69051ebd405b29e2f1a8a1862fcc96df79578ffea1d \
size 12912528
rmd160 61281c223f06baadec48ef12db26fcd7c27ddcaa \
sha256 e02f4561fbce72b198a3c6c81b9f211f9c7cbf40c073f8f2ee59f835dd1dd502 \
size 12902504
} elseif {${build_arch} eq {x86_64}} {
checksums ${distfile_haskell} \
rmd160 fe1302dcb42b8d15566572900c639acc3b8ddac7 \
sha256 d3a74742caf998c1627a457de095c7d263680d96d38a7582cd3f9746bff76423 \
size 6076988
rmd160 ce1d47508513f7bf423082ca6b1b5ba7e60e89f3 \
sha256 e09fec9aa6379d79a749d337446fa72f03f880a577d149c7b039592860bea095 \
size 6095212
}
# cabal may use these MacPorts build tools:
@@ -94,9 +94,9 @@ if {${name} eq ${subport}} {
master_sites https://github.com/haskell/${name}/archive/refs/tags:github
distfiles ${distfile_github}:github
checksums ${distfile_github} \
rmd160 f2adc18aa2b8469f2dece0eee4670ad3541e14ea \
sha256 59c59ae925f2598f94c6d575c52dbf90f5d8371222f39664a61d431cf3938fd7 \
size 4072960
rmd160 99602c774cc2b902f4bc671ec01d3fc141ca8fa1 \
sha256 33cfe3367aa1a58bf13a3b5fd18a39efe5e4841a47e8f4e8b91ceb37be8a9d78 \
size 4098461
extract.only-append \
${distfile_github}
@@ -111,7 +111,7 @@ if {${name} eq ${subport}} {
# use these to specify python versions, python3 required
# use ${prefix}/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/python-1.0.tcl
set python3_version 313
set python3_version 314
set python3_branch [string index ${python3_version} 0].[string range ${python3_version} 1 end]
set python3_prefix ${frameworks_dir}/Python.framework/Versions/${python3_branch}
set python3_bin ${python3_prefix}/bin/python${python3_branch}