{python_variants branch} commit a bunch of PortGroup Python 1.1 py-* compliant files.

This commit is contained in:
Vincent Habchi
2026-07-10 10:23:17 +02:00
parent 3cabe1f585
commit 69eaf72e02
16 changed files with 109 additions and 111 deletions
+3 -5
View File
@@ -3,6 +3,7 @@
PortSystem 1.0
PortGroup github 1.0
PortGroup legacysupport 1.1
PortGroup python_variants 1.0
# O_CLOEXEC
# https://github.com/ninja-build/ninja/issues/2645
@@ -66,11 +67,8 @@ compiler.cxx_standard \
# ./src/jobserver-posix.cc:130:10: error: no viable conversion from returned value of type 'unique_ptr<(anonymous namespace)::PosixJobserverClient, default_delete<(anonymous namespace)::PosixJobserverClient>>' to function return type 'unique_ptr<Jobserver::Client, default_delete<Jobserver::Client>>'
compiler.blacklist {clang < 900}
set py_ver 3.14
set py_ver_nodot [string map {. {}} ${py_ver}]
depends_lib-append port:python${py_ver_nodot}
configure.python ${prefix}/bin/python${py_ver}
python.variants 315t:python315-freethreading-devel 315 314
configure.python ${prefix}/bin/python${python.branch}
default configure.cmd \
{${configure.python}}
+5 -5
View File
@@ -1,7 +1,7 @@
# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortGroup python 1.1
name py-build
@@ -32,14 +32,14 @@ checksums md5 825cabb4439e5e7f55ee22a5c16e903c \
if {${name} ne ${subport}} {
# don't depend on ourself
python.add_dependencies no
depends_lib-append port:py${python.version}-packaging \
port:py${python.version}-pyproject_hooks \
port:python${python.version}
depends_lib-append port:py${python.suffix}-packaging \
port:py${python.suffix}-pyproject_hooks \
port:${python.runtime}
# Avoid circular dependency with flit
depends_build-append \
port:py-bootstrap-modules \
port:py${python.version}-installer
port:py${python.suffix}-installer
build.env-append PYTHONPATH=${worksrcpath}/src:${prefix}/share/py-bootstrap-modules
build.args --skip-dependency-check
+2 -2
View File
@@ -1,7 +1,7 @@
# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortGroup python 1.1
name py-flit_core
version 3.12.0
@@ -19,7 +19,7 @@ checksums md5 c538415c1f27bd69cbbbf3cdd5135d39 \
rmd160 26a073eff618f9415815667608a8ffe5c33c9a9a \
sha256 18f63100d6f94385c6ed57a72073443e1a71a4acb4339491615d0f16d6ff01b2
python.versions 37 38 39 310 311 312 313 314
python.versions 37 38 39 310 311 312 313 314 315 315t
python.pep517_backend
+4 -4
View File
@@ -1,7 +1,7 @@
# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortGroup python 1.1
name py-iniconfig
version 2.3.0
@@ -12,7 +12,7 @@ platforms {darwin any}
license MIT
supported_archs noarch
python.versions 310 311 312 313 314
python.versions 310 311 312 313 314 315 315t
maintainers {stromnov @stromnov} openmaintainer
@@ -27,10 +27,10 @@ checksums rmd160 dcdaa73fc093222c547239dd35f3c6d9b6b6173e \
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools_scm
port:py${python.suffix}-setuptools_scm
depends_test-append \
port:py${python.version}-pytest-xdist
port:py${python.suffix}-pytest-xdist
test.run yes
}
+28 -28
View File
@@ -1,44 +1,44 @@
# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortSystem 1.0
PortGroup python 1.1
name py-installer
version 1.0.1
platforms {darwin any}
supported_archs noarch
maintainers {jmr @jmroot} openmaintainer
license MIT
name py-installer
version 1.0.1
platforms {darwin any}
supported_archs noarch
maintainers {jmr @jmroot} openmaintainer
license MIT
description Python wheel installer
description Python wheel installer
long_description This is a low-level library for installing a \
Python package from a wheel distribution. It \
provides basic functionality and abstractions for \
handling wheels and installing packages from wheels.
long_description This is a low-level library for installing a \
Python package from a wheel distribution. It \
provides basic functionality and abstractions for \
handling wheels and installing packages from wheels.
homepage https://installer.readthedocs.io/
homepage https://installer.readthedocs.io/
checksums md5 c919fdc746e46b0a93ae53ed375e047f \
rmd160 d6be56305a9821efe80945e783f5a7f9ade8c84f \
sha256 052c7fc3721d54c696e2dea019be67539d7b144e924f559f54beb3121831c364
checksums md5 c919fdc746e46b0a93ae53ed375e047f \
rmd160 d6be56305a9821efe80945e783f5a7f9ade8c84f \
sha256 052c7fc3721d54c696e2dea019be67539d7b144e924f559f54beb3121831c364
python.versions 37 38 39 310 311 312 313 314 315 315t
python.versions 37 38 39 310 311 312 313 314 315 315t
if {$subport ne $name} {
if {${python.version} <= 39} {
version 0.7.0
checksums md5 d961d1105c9270049528b1167ed021bc \
rmd160 ce7feaab4cab0fe465e6a5fe142bc32dcdd1e938 \
sha256 a26d3e3116289bb08216e0d0f7d925fcef0b0194eedfa0c944bcaaa106c4b631
version 0.7.0
checksums md5 d961d1105c9270049528b1167ed021bc \
rmd160 ce7feaab4cab0fe465e6a5fe142bc32dcdd1e938 \
sha256 a26d3e3116289bb08216e0d0f7d925fcef0b0194eedfa0c944bcaaa106c4b631
}
python.pep517_backend flit
python.add_dependencies no
depends_build port:py-bootstrap-modules
depends_lib port:python${python.version}
depends_build port:py-bootstrap-modules
depends_lib port:${python.runtime}
build.env-append PYTHONPATH=${prefix}/share/py-bootstrap-modules
build.args --skip-dependency-check
destroot.env-append PYTHONPATH=${worksrcpath}/src
livecheck.type none
build.env-append PYTHONPATH=${prefix}/share/py-bootstrap-modules
build.args --skip-dependency-check
destroot.env-append PYTHONPATH=${worksrcpath}/src
livecheck.type none
}
+2 -2
View File
@@ -1,7 +1,7 @@
# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortGroup python 1.1
PortGroup github 1.0
name py-meson
@@ -32,7 +32,7 @@ python.versions 310 311 312 313 314 315 315t
github.livecheck.regex {([0-9.]+)}
if {${subport} ne ${name}} {
depends_run-append port:py${python.version}-setuptools \
depends_run-append port:py${python.suffix}-setuptools \
port:ninja
# requires a newer install_name_tool on older systems
+8 -8
View File
@@ -1,7 +1,7 @@
# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortGroup python 1.1
name py-packaging
version 26.2
@@ -38,13 +38,13 @@ if {$subport ne $name} {
# break circular dependency with py-build
python.add_dependencies no
depends_build-append port:py-bootstrap-modules \
port:py${python.version}-installer
depends_lib-append port:python${python.version}
build.env-append PYTHONPATH=${prefix}/share/py-bootstrap-modules
build.args --skip-dependency-check
port:py${python.suffix}-installer
depends_lib-append port:${python.runtime}
build.env-append PYTHONPATH=${prefix}/share/py-bootstrap-modules
build.args --skip-dependency-check
} else {
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-parsing
depends_build-append port:py${python.suffix}-setuptools
depends_lib-append port:py${python.suffix}-parsing
}
if {${python.version} == 37} {
version 24.0
@@ -69,7 +69,7 @@ if {$subport ne $name} {
if {${python.version} > 39} {
depends_test-append \
port:py${python.version}-pretend
port:py${python.suffix}-pretend
test.run yes
}
+4 -4
View File
@@ -1,7 +1,7 @@
# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortGroup python 1.1
name py-pluggy
version 1.6.0
@@ -23,7 +23,7 @@ checksums rmd160 5839fcfc432c2aafe7eb8df37e9471c4d53db0c5 \
sha256 7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3 \
size 69412
python.versions 27 310 311 312 313 314
python.versions 27 310 311 312 313 314 315 315t
if {${name} ne ${subport}} {
if {${python.version} == 27} {
@@ -34,12 +34,12 @@ if {${name} ne ${subport}} {
size 57726
depends_lib-append \
port:py${python.version}-importlib-metadata
port:py${python.suffix}-importlib-metadata
}
depends_build-append \
port:py${python.version}-setuptools_scm
port:py${python.suffix}-setuptools_scm
test.run yes
+2 -2
View File
@@ -2,7 +2,7 @@
PortSystem 1.0
PortGroup github 1.0
PortGroup python 1.0
PortGroup python 1.1
github.setup alex pretend 1.0.9 v
# Change github.tarball_from to 'releases' or 'archive' next update
@@ -23,7 +23,7 @@ checksums rmd160 9aa242c5cbcba266780dbeae50a5ca55cb72a91f \
sha256 65e490da33638cd3d6487b775c9dd3477d339873e73f8699979738d8d19124ad \
size 5651
python.versions 310 311 312 313 314
python.versions 310 311 312 313 314 315 315t
if {${name} ne ${subport}} {
test.run yes
+4 -4
View File
@@ -1,7 +1,7 @@
# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortGroup python 1.1
PortGroup select 1.0
name py-pygments
@@ -13,7 +13,7 @@ license BSD
supported_archs noarch
platforms {darwin any}
python.versions 27 310 311 312 313 314
python.versions 27 310 311 312 313 314 315 315t
python.pep517_backend \
hatch
@@ -44,7 +44,7 @@ if {${name} ne ${subport}} {
sha256 98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe \
size 20263984
distname ${python.rootname}-${version}
depends_lib-append port:py${python.version}-setuptools
depends_lib-append port:py${python.suffix}-setuptools
}
depends_run-append port:pygments_select
@@ -62,7 +62,7 @@ if {${name} ne ${subport}} {
}
select.group pygments
select.file ${filespath}/py${python.version}-pygments
select.file ${filespath}/py${python.suffix}-pygments
notes "
To make the Python ${python.branch} version of Pygments the one that is run when\
+5 -5
View File
@@ -1,7 +1,7 @@
# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortGroup python 1.1
name py-pyproject_hooks
version 1.2.0
@@ -31,10 +31,10 @@ python.pep517_backend flit
if {$subport ne $name} {
python.add_dependencies no
depends_build port:py-bootstrap-modules \
port:py${python.version}-installer
#depends_lib port:python${python.version}
port:py${python.suffix}-installer
depends_lib port:${python.runtime}
if {${python.version} < 311} {
depends_lib-append port:py${python.version}-tomli
depends_lib-append port:py${python.suffix}-tomli
}
build.env-append PYTHONPATH=${prefix}/share/py-bootstrap-modules
@@ -42,7 +42,7 @@ if {$subport ne $name} {
if {${python.version} > 39} {
test.run yes
depends_test-append port:py${python.version}-testpath
depends_test-append port:py${python.suffix}-testpath
test.env PYTHONPATH=${worksrcpath}/src
}
+24 -24
View File
@@ -1,7 +1,7 @@
# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortGroup python 1.1
PortGroup select 1.0
name py-pytest
@@ -25,21 +25,21 @@ checksums rmd160 43618b381f315db39a053c875f96db747f71770a \
sha256 1088fbde8f2b49d95a549a195707afa7a76a3ce9bcadc26b6d71f0ffda5fe313 \
size 1636369
python.versions 27 310 311 312 313 314
python.versions 27 310 311 312 313 314 315 315t
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools_scm
port:py${python.suffix}-setuptools_scm
depends_lib-append port:py${python.version}-iniconfig \
port:py${python.version}-packaging \
port:py${python.version}-pluggy \
port:py${python.version}-pygments
depends_lib-append port:py${python.suffix}-iniconfig \
port:py${python.suffix}-packaging \
port:py${python.suffix}-pluggy \
port:py${python.suffix}-pygments
if {${python.version} == 310} {
depends_lib-append \
port:py${python.version}-exceptiongroup \
port:py${python.version}-tomli
port:py${python.suffix}-exceptiongroup \
port:py${python.suffix}-tomli
}
if {${python.version} == 27} {
@@ -50,28 +50,28 @@ if {${name} ne ${subport}} {
sha256 4a784f1d4f2ef198fe9b7aef793e9fa1a3b2f84e822d9b3a64a181293a572d45 \
size 949947
depends_lib-delete port:py${python.version}-iniconfig \
port:py${python.version}-pygments
depends_lib-delete port:py${python.suffix}-iniconfig \
port:py${python.suffix}-pygments
depends_lib-append \
port:py${python.version}-atomicwrites \
port:py${python.version}-attrs \
port:py${python.version}-funcsigs \
port:py${python.version}-importlib-metadata \
port:py${python.version}-more-itertools \
port:py${python.version}-packaging \
port:py${python.version}-pathlib2 \
port:py${python.version}-pluggy \
port:py${python.version}-py \
port:py${python.version}-setuptools \
port:py${python.version}-six \
port:py${python.version}-wcwidth
port:py${python.suffix}-atomicwrites \
port:py${python.suffix}-attrs \
port:py${python.suffix}-funcsigs \
port:py${python.suffix}-importlib-metadata \
port:py${python.suffix}-more-itertools \
port:py${python.suffix}-packaging \
port:py${python.suffix}-pathlib2 \
port:py${python.suffix}-pluggy \
port:py${python.suffix}-py \
port:py${python.suffix}-setuptools \
port:py${python.suffix}-six \
port:py${python.suffix}-wcwidth
}
depends_run port:pytest_select
select.group pytest
select.file ${filespath}/pytest${python.version}
select.file ${filespath}/pytest${python.suffix}
notes-append "
To make the Python ${python.branch} version of pytest the one that is run\
when you execute the commands without a version suffix, e.g. 'pytest', run:
+4 -4
View File
@@ -1,7 +1,7 @@
# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortGroup python 1.1
name py-setuptools
version 80.10.2
@@ -39,8 +39,8 @@ if {$subport ne $name} {
# break circular dependencies
python.add_dependencies no
depends_build port:py-bootstrap-modules \
port:py${python.version}-installer
depends_lib port:python${python.version}
port:py${python.suffix}-installer
depends_lib port:${python.runtime}
lappend pythonpath ${worksrcpath}/setuptools/_vendor \
${prefix}/share/py-bootstrap-modules
build.args --skip-dependency-check
@@ -49,7 +49,7 @@ if {$subport ne $name} {
if {${python.version} <= 35} {
use_zip yes
post-destroot {
ln -s ${python.prefix}/bin/easy_install-${python.branch} ${destroot}${prefix}/bin
ln -s ${python.suffix}/bin/easy_install-${python.branch} ${destroot}${prefix}/bin
}
}
switch ${python.version} {
+9 -9
View File
@@ -1,7 +1,7 @@
# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortGroup python 1.1
name py-setuptools_scm
version 9.2.2
@@ -13,7 +13,7 @@ platforms {darwin any}
# keep version for Python 2.7, this is an (indirect) dependency of py-virtualenv
# See <https://trac.macports.org/wiki/Python#VersionPolicy>
python.versions 27 35 36 310 311 312 313 314
python.versions 27 35 36 310 311 312 313 314 315 315t
python.pep517 yes
maintainers {stromnov @stromnov} openmaintainer
@@ -28,7 +28,7 @@ checksums rmd160 1a0c6266cd6c95ff9ac7e571d6e6b0171f210825 \
size 203385
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-setuptools
depends_lib-append port:py${python.suffix}-setuptools
if {${python.version} in "27 35"} {
version 5.0.2
@@ -44,20 +44,20 @@ if {${name} ne ${subport}} {
sha256 6833ac65c6ed9711a4d5d2266f8024cfa07c533a0e55f4c12f6eff280a5a9e30 \
size 61305
python.pep517 no
depends_lib-append port:py${python.version}-packaging \
port:py${python.version}-tomli
depends_lib-append port:py${python.suffix}-packaging \
port:py${python.suffix}-tomli
} else {
patchfiles-append patch-tomli-pyproject.toml.diff
depends_lib-append port:py${python.version}-packaging
depends_lib-append port:py${python.suffix}-packaging
if {${python.version} < 310} {
depends_lib-append port:py${python.version}-typing_extensions \
port:py${python.version}-importlib-metadata
depends_lib-append port:py${python.suffix}-typing_extensions \
port:py${python.suffix}-importlib-metadata
}
if {${python.version} < 311} {
depends_lib-append port:py${python.version}-tomli
depends_lib-append port:py${python.suffix}-tomli
}
}
+2 -2
View File
@@ -1,7 +1,7 @@
# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortGroup python 1.1
name py-testpath
version 0.6.0
@@ -11,7 +11,7 @@ platforms {darwin any}
license MIT
supported_archs noarch
python.versions 310 311 312 313 314
python.versions 310 311 312 313 314 315 315t
maintainers {stromnov @stromnov} openmaintainer
+3 -3
View File
@@ -1,7 +1,7 @@
# -*- 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
PortSystem 1.0
PortGroup python 1.0
PortGroup python 1.1
name py-wheel
version 0.47.0
@@ -52,9 +52,9 @@ if {${name} ne ${subport}} {
size 66376
depends_build-append \
port:py${python.version}-setuptools
port:py${python.suffix}-setuptools
} else {
depends_build-append \
port:py${python.version}-packaging
port:py${python.suffix}-packaging
}
}