From 1cb1deb4b7ea3d9de4ee162d015def4ed6198dd9 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 2 Jul 2024 01:25:57 +0300 Subject: [PATCH] Add msys2 ucrt64 and clang64 repos (fixes #1400), minor tweaks to other msys2 repos --- repology-schemacheck.py | 2 + repos.d/windows/msys2.yaml | 97 ++++++++++++++++++++++++++++++++------ 2 files changed, 84 insertions(+), 15 deletions(-) diff --git a/repology-schemacheck.py b/repology-schemacheck.py index dcb2aba3a..88c41f2ad 100755 --- a/repology-schemacheck.py +++ b/repology-schemacheck.py @@ -170,6 +170,8 @@ 'mports', 'msys2_mingw', 'msys2_msys2', + 'msys2_clang64', + 'msys2_ucrt64', 'mx', 'openeuler', 'packman', diff --git a/repos.d/windows/msys2.yaml b/repos.d/windows/msys2.yaml index a6520f0b0..5b04ec1a0 100644 --- a/repos.d/windows/msys2.yaml +++ b/repos.d/windows/msys2.yaml @@ -1,6 +1,38 @@ ########################################################################### # MSYS2 +# See https://packages.msys2.org/repos for all repos ########################################################################### +- name: msys2_msys2 + type: repository + desc: MSYS2 msys2 + family: msys2 + ruleset: [msys2, msys2_msys2, windows] + color: 'ef7f1a' + minpackages: 500 + sources: + - name: x86_64 + fetcher: + class: TarFetcher + url: http://repo.msys2.org/msys/x86_64/msys.db.tar.zst + parser: + class: MSYS2DescParser + subrepo: x86_64 + repolinks: + - desc: MSYS2 homepage + url: http://www.msys2.org/ + - desc: MSYS2 msys repository + url: http://repo.msys2.org/msys/ + packagelinks: + - type: PACKAGE_HOMEPAGE + url: 'https://packages.msys2.org/package/{binname}?repo=msys&variant={subrepo}' + - type: PACKAGE_SOURCES + url: 'https://github.com/msys2/MSYS2-packages/tree/master/{srcname}' + - type: PACKAGE_RECIPE + url: 'https://github.com/msys2/MSYS2-packages/blob/master/{srcname}/PKGBUILD' + - type: PACKAGE_RECIPE_RAW + url: 'https://raw.githubusercontent.com/msys2/MSYS2-packages/master/{srcname}/PKGBUILD' + groups: [ all, production, msys2 ] + - name: msys2_mingw type: repository desc: MSYS2 mingw @@ -9,7 +41,6 @@ color: 'ef7f1a' minpackages: 2500 sources: - # NOTE: no database for source packages - name: x86_64 fetcher: class: TarFetcher @@ -17,6 +48,9 @@ parser: class: MSYS2DescParser subrepo: x86_64 + packagelinks: + - type: PACKAGE_HOMEPAGE + url: 'https://packages.msys2.org/package/{binname}?repo=mingw64' - name: i686 fetcher: class: TarFetcher @@ -24,11 +58,14 @@ parser: class: MSYS2DescParser subrepo: i686 + packagelinks: + - type: PACKAGE_HOMEPAGE + url: 'https://packages.msys2.org/package/{binname}?repo=mingw32' repolinks: - desc: MSYS2 homepage url: http://www.msys2.org/ - desc: MSYS2 mingw repository - url: http://repo.msys2.org/mingw/ + url: http://repo.msys2.org/mingw/mingw64/ packagelinks: - type: PACKAGE_SOURCES url: 'https://github.com/msys2/MINGW-packages/tree/master/{srcname}' @@ -38,32 +75,62 @@ url: 'https://raw.githubusercontent.com/msys2/MINGW-packages/master/{srcname}/PKGBUILD' groups: [ all, production, msys2 ] -- name: msys2_msys2 +- name: msys2_ucrt64 type: repository - desc: MSYS2 msys2 + desc: MSYS2 ucrt64 family: msys2 - ruleset: [msys2, msys2_msys2, windows] + ruleset: [msys2, msys2_ucrt64, windows] color: 'ef7f1a' - minpackages: 500 + minpackages: 2900 sources: - # NOTE: no database for source packages - - name: x86_64 + - name: ucrt64 fetcher: class: TarFetcher - url: http://repo.msys2.org/msys/x86_64/msys.db.tar.zst + url: http://repo.msys2.org/mingw/ucrt64/ucrt64.db.tar.zst parser: class: MSYS2DescParser - subrepo: x86_64 repolinks: - desc: MSYS2 homepage url: http://www.msys2.org/ - - desc: MSYS2 msys repository - url: http://repo.msys2.org/msys/ + - desc: MSYS2 ucrt64 repository + url: http://repo.msys2.org/mingw/ucrt64/ packagelinks: + - type: PACKAGE_HOMEPAGE + url: 'https://packages.msys2.org/package/{binname}?repo=ucrt64' - type: PACKAGE_SOURCES - url: 'https://github.com/msys2/MSYS2-packages/tree/master/{srcname}' + url: 'https://github.com/msys2/MINGW-packages/tree/master/{srcname}' - type: PACKAGE_RECIPE - url: 'https://github.com/msys2/MSYS2-packages/blob/master/{srcname}/PKGBUILD' + url: 'https://github.com/msys2/MINGW-packages/blob/master/{srcname}/PKGBUILD' - type: PACKAGE_RECIPE_RAW - url: 'https://raw.githubusercontent.com/msys2/MSYS2-packages/master/{srcname}/PKGBUILD' + url: 'https://raw.githubusercontent.com/msys2/MINGW-packages/master/{srcname}/PKGBUILD' + groups: [ all, production, msys2 ] + +- name: msys2_clang64 + type: repository + desc: MSYS2 clang64 + family: msys2 + ruleset: [msys2, msys2_clang64, windows] + color: 'ef7f1a' + minpackages: 2900 + sources: + - name: clang64 + fetcher: + class: TarFetcher + url: http://repo.msys2.org/mingw/clang64/clang64.db.tar.zst + parser: + class: MSYS2DescParser + repolinks: + - desc: MSYS2 homepage + url: http://www.msys2.org/ + - desc: MSYS2 clang64 repository + url: http://repo.msys2.org/mingw/clang64/ + packagelinks: + - type: PACKAGE_HOMEPAGE + url: 'https://packages.msys2.org/package/{binname}?repo=clang64' + - type: PACKAGE_SOURCES + url: 'https://github.com/msys2/MINGW-packages/tree/master/{srcname}' + - type: PACKAGE_RECIPE + url: 'https://github.com/msys2/MINGW-packages/blob/master/{srcname}/PKGBUILD' + - type: PACKAGE_RECIPE_RAW + url: 'https://raw.githubusercontent.com/msys2/MINGW-packages/master/{srcname}/PKGBUILD' groups: [ all, production, msys2 ]