From 05982319ffab67b0bb5ae3135c8e6e6ec24705d4 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 21 Sep 2022 23:37:16 +0300 Subject: [PATCH] Switch spack to srcnames (#944) --- repology/packagemaker/names.py | 2 +- repos.d/spack.yaml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/repology/packagemaker/names.py b/repology/packagemaker/names.py index 64d3ac8d9..277082a4c 100644 --- a/repology/packagemaker/names.py +++ b/repology/packagemaker/names.py @@ -170,7 +170,7 @@ class NameType: STACKAGE_NAME: ClassVar[int] = GENERIC_SRC_NAME - SPACK_NAME: ClassVar[int] = GENERIC_GEN_NAME + SPACK_NAME: ClassVar[int] = GENERIC_SRC_NAME DISTROWATCH_NAME: ClassVar[int] = GENERIC_SRC_NAME diff --git a/repos.d/spack.yaml b/repos.d/spack.yaml index f045aef84..158beb7e8 100644 --- a/repos.d/spack.yaml +++ b/repos.d/spack.yaml @@ -24,15 +24,15 @@ url: https://github.com/spack/spack packagelinks: - type: PACKAGE_HOMEPAGE - url: 'https://spack.github.io/packages.spack.io/package.html?name={name}' + url: 'https://spack.github.io/packages.spack.io/package.html?name={srcname}' - type: PACKAGE_SOURCES - url: 'https://github.com/spack/spack/tree/develop/var/spack/repos/builtin/packages/{name}' + url: 'https://github.com/spack/spack/tree/develop/var/spack/repos/builtin/packages/{srcname}' - type: PACKAGE_RECIPE - url: 'https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/{name}/package.py' + url: 'https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/{srcname}/package.py' - type: PACKAGE_RECIPE_RAW - url: 'https://raw.githubusercontent.com/spack/spack/develop/var/spack/repos/builtin/packages/{name}/package.py' + url: 'https://raw.githubusercontent.com/spack/spack/develop/var/spack/repos/builtin/packages/{srcname}/package.py' - type: PACKAGE_PATCH - url: 'https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/{name}/{?patch}' + url: 'https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/{srcname}/{?patch}' - type: PACKAGE_PATCH_RAW - url: 'https://raw.githubusercontent.com/spack/spack/develop/var/spack/repos/builtin/packages/{name}/{?patch}' + url: 'https://raw.githubusercontent.com/spack/spack/develop/var/spack/repos/builtin/packages/{srcname}/{?patch}' groups: [ all, production ]