Skip to content

Commit

Permalink
ansible-lint, yamllint: Update revision and interpreter to python3.13
Browse files Browse the repository at this point in the history
  Update ansible-lint and yamlint to use python 3.13

  Additionally:
    ansible-lint: update to 24.12.2 use python 3.13
    yamlint: update to 1.35.1 and use python 3.13
    py-black: add python 3.13
    py-bracecx: update to 2.5 and add python 3.13
    py-enrich: add python 3.13
    py-wcmatch: update to 10.0 and add python 3.13

Closes: https://trac.macports.org/ticket/70900
  • Loading branch information
jhoyt4 committed Dec 26, 2024
1 parent 290a78e commit 1ee9338
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 22 deletions.
6 changes: 5 additions & 1 deletion devel/yamllint/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ checksums rmd160 5b1bec2ac73695302aae0009cdf19429174757ae \

# Keep Python version compatible with ansible-lint

python.default_version 311
python.default_version 313

variant python${python.default_version} {}

default_variants +python${python.default_version}

depends_build port:py${python.version}-setuptools
depends_run port:py${python.version}-pathspec \
Expand Down
10 changes: 5 additions & 5 deletions python/py-black/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PortGroup python 1.0
PortGroup select 1.0

name py-black
version 24.4.2
version 24.10.0
revision 0

supported_archs noarch
Expand All @@ -28,11 +28,11 @@ long_description \

homepage https://${python.rootname}.readthedocs.io/

checksums rmd160 5bef62f87b169b3efdbf2edf8b44583d92465c36 \
sha256 c872b53057f000085da66a19c55d68f6f8ddcac2642392ad3a355878406fbd4d \
size 642299
checksums rmd160 4490b17e690214c6023a6b51c32f51acfd706d7f \
sha256 846ea64c97afe3bc677b761787993be4991810ecc7a4a937816dd6bddedc4875 \
size 645813

python.versions 39 310 311 312
python.versions 38 39 310 311 312 313
python.pep517_backend hatch

if {${subport} ne ${name}} {
Expand Down
2 changes: 2 additions & 0 deletions python/py-black/files/black313
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bin/black-3.13
bin/blackd-3.13
10 changes: 5 additions & 5 deletions python/py-bracex/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ PortSystem 1.0
PortGroup python 1.0

name py-bracex
version 2.4
version 2.5
revision 0
python.versions 39 310 311
python.versions 39 310 311 312 313

license MIT
platforms {darwin any}
Expand All @@ -18,8 +18,8 @@ long_description {*}${description} Brace expanding is used to generate \
arbitrary strings.
homepage https://github.com/facelessuser/bracex

checksums rmd160 02790d8535f44c3c7c4c9a50c7d2bf3387c89143 \
sha256 a27eaf1df42cf561fed58b7a8f3fdf129d1ea16a81e1fadd1d17989bc6384beb \
size 26588
checksums rmd160 b0b7abfc943c7e45bce72728ef9e38cccd208a65 \
sha256 0725da5045e8d37ea9592ab3614d8b561e22c3c5fde3964699be672e072ab611 \
size 26622

python.pep517_backend hatch
2 changes: 1 addition & 1 deletion python/py-enrich/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PortGroup python 1.0
name py-enrich
version 1.2.7
revision 0
python.versions 39 310 311
python.versions 39 310 311 312 313

license MIT
platforms {darwin any}
Expand Down
10 changes: 5 additions & 5 deletions python/py-wcmatch/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PortSystem 1.0
PortGroup python 1.0

name py-wcmatch
version 8.5.2
version 10.0
revision 0

license MIT
Expand All @@ -19,11 +19,11 @@ long_description \
features found in Bash.
homepage https://github.com/facelessuser/wcmatch

checksums rmd160 3afe40600e68212a84726e351e7ed6f84f25988e \
sha256 a70222b86dea82fb382dd87b73278c10756c138bd6f8f714e2183128887b9eb2 \
size 114983
checksums rmd160 ebec804ac8367ff1c47e41126c1c032cbc55f53a \
sha256 e72f0de09bba6a04e0de70937b0cf06e55f36f37b3deb422dfaf854b867b840a \
size 115578

python.versions 39 310 311
python.versions 39 310 311 312 313
python.pep517_backend hatch

if {${name} ne ${subport}} {
Expand Down
11 changes: 6 additions & 5 deletions sysutils/ansible-lint/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PortSystem 1.0
PortGroup python 1.0
PortGroup github 1.0

github.setup ansible-community ansible-lint 24.2.3 v
github.setup ansible-community ansible-lint 24.12.2 v
github.tarball_from archive
revision 0

Expand All @@ -20,12 +20,12 @@ description Best practices checker for Ansible playbooks
long_description \
ansible-lint checks playbooks for practices and behaviour that could potentially be improved

checksums rmd160 2310f060e3d82bab5909cfb30a5349524850efdf \
sha256 b934f8de0431c78f73c206ba17b1f47771be4f95fa2fc41204256eece5bf4e6c \
size 460489
checksums rmd160 e6750a4429ed567a84a6b8ac366123e9471cbd37 \
sha256 ad54ecabb32e727622c996ae8517f4bbe359cc483dac8cea2758ebd9df427d68 \
size 490633

# Keep Python version compatible with yamllint
python.default_version 311
python.default_version 313
python.link_binaries_suffix

depends_build-append \
Expand All @@ -37,6 +37,7 @@ depends_build-append \
depends_run-append port:py${python.version}-ansible \
port:py${python.version}-ansible-compat \
port:py${python.version}-black \
port:py${python.version}-importlib-metadata\
port:yamllint

depends_lib-append port:py${python.version}-enrich \
Expand Down

0 comments on commit 1ee9338

Please sign in to comment.