From fbb156e84ad13c961a8f2a42fe9b04302ba8acaa Mon Sep 17 00:00:00 2001 From: dslarm <38504854+dslarm@users.noreply.github.com> Date: Tue, 5 Nov 2024 11:49:23 +0000 Subject: [PATCH] Add linux-aarch64 and/or osx-arm64 to various perl packages - part 2 of 2 (#51912) * Add linux-aarch64 and/or osx-arm64 where package should already build but for lack of meta.yaml. Broken up PR #51856 due to build timeout * Set perl-ole-storage_lite to architecture independent per lint scanner suggestion. --- recipes/perl-class-xsaccessor/meta.yaml | 9 ++++++++- recipes/perl-config-any/meta.yaml | 19 ++++++++++++++----- recipes/perl-devel-size/meta.yaml | 18 ++++++++++++++---- recipes/perl-indirect/meta.yaml | 9 ++++++++- recipes/perl-json-create/meta.yaml | 9 ++++++++- recipes/perl-ole-storage_lite/meta.yaml | 4 +++- recipes/perl-padwalker/meta.yaml | 9 ++++++++- recipes/perl-perl-unsafe-signals/meta.yaml | 9 ++++++++- recipes/perl-perlio-gzip/meta.yaml | 18 ++++++++++++++---- recipes/perl-scalar-util-numeric/meta.yaml | 18 ++++++++++++++---- recipes/perl-set-object/meta.yaml | 7 ++++++- recipes/perl-socket6/meta.yaml | 18 ++++++++++++++---- recipes/perl-time-hires/meta.yaml | 9 ++++++++- recipes/perl-url-encode/meta.yaml | 8 +++++++- 14 files changed, 134 insertions(+), 30 deletions(-) diff --git a/recipes/perl-class-xsaccessor/meta.yaml b/recipes/perl-class-xsaccessor/meta.yaml index 72fef7ce450a1..40daa3938c895 100644 --- a/recipes/perl-class-xsaccessor/meta.yaml +++ b/recipes/perl-class-xsaccessor/meta.yaml @@ -11,7 +11,9 @@ source: sha256: {{ sha256 }} build: - number: 6 + run_exports: + - {{ pin_subpackage(name, max_pin="x") }} + number: 7 requirements: build: @@ -35,3 +37,8 @@ about: home: http://metacpan.org/pod/Class::XSAccessor license: perl_5 summary: 'Generate fast XS accessors without runtime compilation' + +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 diff --git a/recipes/perl-config-any/meta.yaml b/recipes/perl-config-any/meta.yaml index 12977756b8234..cbc8b71ec8028 100644 --- a/recipes/perl-config-any/meta.yaml +++ b/recipes/perl-config-any/meta.yaml @@ -1,14 +1,18 @@ +{% set name = "perl-config-any" %} +{% set version = "0.33" %} + package: - name: perl-config-any - version: "0.33" + name : {{ name }} + version: {{ version }} source: - url: https://cpan.metacpan.org/authors/id/H/HA/HAARG/Config-Any-0.33.tar.gz + url: https://cpan.metacpan.org/authors/id/H/HA/HAARG/Config-Any-{{ version }}.tar.gz sha256: c0668eb5f2cd355bf20557f04dc18a25474b7a0bcfa79562e3165d9a3c789333 build: - #skip: True # [osx] - number: 2 + run_exports: + - {{ pin_subpackage(name, max_pin="x.x") }} + number: 3 requirements: build: @@ -50,3 +54,8 @@ about: # See # http://docs.continuum.io/conda/build.html for # more information about meta.yaml + +extra: + # linux-aarch64 is erroring during build. + additional-platforms: + - osx-arm64 diff --git a/recipes/perl-devel-size/meta.yaml b/recipes/perl-devel-size/meta.yaml index c74ef7d91f2b7..557557ab78a98 100644 --- a/recipes/perl-devel-size/meta.yaml +++ b/recipes/perl-devel-size/meta.yaml @@ -1,13 +1,18 @@ +{% set name = "perl-devel-size" %} +{% set version = "0.83" %} + package: - name: perl-devel-size - version: "0.83" + name: {{ name }} + version: {{ version }} source: - url: https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/Devel-Size-0.83.tar.gz + url: https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/Devel-Size-{{ version }}.tar.gz sha256: 757a67e0aa59ae103ea5ca092cbecc025644ebdc326731688ffab6f8823ef4b3 build: - number: 4 + run_exports: + - {{ pin_subpackage(name, max_pin="x.x") }} + number: 5 requirements: build: @@ -30,3 +35,8 @@ about: home: http://metacpan.org/pod/Devel::Size license: perl_5 summary: 'Perl extension for finding the memory usage of Perl variables' + +extra: + # osx-arm64 is erroring due to missing perl-storable in conda forge + additional-platforms: + - linux-aarch64 diff --git a/recipes/perl-indirect/meta.yaml b/recipes/perl-indirect/meta.yaml index 02cb6e6267eca..67179c8f741d1 100644 --- a/recipes/perl-indirect/meta.yaml +++ b/recipes/perl-indirect/meta.yaml @@ -11,7 +11,9 @@ source: sha256: {{ sha256 }} build: - number: 3 + run_exports: + - {{ pin_subpackage(name, max_pin="x.x") }} + number: 4 requirements: build: @@ -35,3 +37,8 @@ about: home: http://search.cpan.org/dist/indirect/ license: perl_5 summary: 'Lexically warn about using the indirect method call syntax.' + +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 diff --git a/recipes/perl-json-create/meta.yaml b/recipes/perl-json-create/meta.yaml index 1f6281fa604f1..8ce75d9a58407 100644 --- a/recipes/perl-json-create/meta.yaml +++ b/recipes/perl-json-create/meta.yaml @@ -11,7 +11,9 @@ source: sha256: {{ sha256 }} build: - number: 2 + run_exports: + - {{ pin_subpackage(name, max_pin="x.x") }} + number: 3 requirements: build: @@ -39,3 +41,8 @@ about: home: http://metacpan.org/pod/JSON::Create license: perl_5 summary: 'fast, minimal, UTF-8-only serialization of data to JSON' + +extra: + # osx-arm64 is erroring due to missing perl-encode in conda forge + additional-platforms: + - linux-aarch64 diff --git a/recipes/perl-ole-storage_lite/meta.yaml b/recipes/perl-ole-storage_lite/meta.yaml index 74dfa61ad513a..32d74e19280f0 100644 --- a/recipes/perl-ole-storage_lite/meta.yaml +++ b/recipes/perl-ole-storage_lite/meta.yaml @@ -13,7 +13,8 @@ source: # If this is a new build for the same version, increment the build # number. If you do not include this key, it defaults to 0. build: - number: 0 + number: 1 + noarch: generic run_exports: weak: - {{ name }} ={{ version }} @@ -41,3 +42,4 @@ about: # See # https://docs.conda.io/projects/conda-build for # more information about meta.yaml + diff --git a/recipes/perl-padwalker/meta.yaml b/recipes/perl-padwalker/meta.yaml index e525214f7f5e1..1099d70539734 100644 --- a/recipes/perl-padwalker/meta.yaml +++ b/recipes/perl-padwalker/meta.yaml @@ -11,7 +11,9 @@ source: sha256: {{ sha256 }} build: - number: 3 + run_exports: + - {{ pin_subpackage(name, max_pin="x") }} + number: 4 requirements: build: @@ -33,3 +35,8 @@ about: home: http://metacpan.org/pod/PadWalker license: unknown summary: "play with other peoples' lexical variables" + +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 diff --git a/recipes/perl-perl-unsafe-signals/meta.yaml b/recipes/perl-perl-unsafe-signals/meta.yaml index c0b257a47b4e2..14ece03872921 100644 --- a/recipes/perl-perl-unsafe-signals/meta.yaml +++ b/recipes/perl-perl-unsafe-signals/meta.yaml @@ -11,7 +11,9 @@ source: sha256: {{ sha256 }} build: - number: 7 + run_exports: + - {{ pin_subpackage(name, max_pin="x.x") }} + number: 8 requirements: build: @@ -32,3 +34,8 @@ about: home: http://metacpan.org/pod/Perl::Unsafe::Signals license: perl_5 summary: 'Allow unsafe handling of signals in selected blocks' + +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 diff --git a/recipes/perl-perlio-gzip/meta.yaml b/recipes/perl-perlio-gzip/meta.yaml index a603090dc0a80..bf37a23f9a7f4 100644 --- a/recipes/perl-perlio-gzip/meta.yaml +++ b/recipes/perl-perlio-gzip/meta.yaml @@ -1,13 +1,18 @@ +{% set name = "perl-perlio-gzip" %} +{% set version = "0.20" %} + package: - name: perl-perlio-gzip - version: "0.20" + name: {{ name }} + version: {{ version }} source: - url: https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/PerlIO-gzip-0.20.tar.gz + url: https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/PerlIO-gzip-{{ version }}.tar.gz sha256: "4848679a3f201e3f3b0c5f6f9526e602af52923ffa471a2a3657db786bd3bdc5" build: - number: 5 + run_exports: + - {{ pin_subpackage(name, max_pin="x.x") }} + number: 6 requirements: build: @@ -29,3 +34,8 @@ about: home: http://metacpan.org/pod/PerlIO-gzip license: perl_5 summary: 'PerlIO interface to gzip/gunzip' + +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 diff --git a/recipes/perl-scalar-util-numeric/meta.yaml b/recipes/perl-scalar-util-numeric/meta.yaml index 6573f32e7d397..a5eed6627236f 100644 --- a/recipes/perl-scalar-util-numeric/meta.yaml +++ b/recipes/perl-scalar-util-numeric/meta.yaml @@ -1,13 +1,18 @@ +{% set name = "perl-scalar-util-numeric" %} +{% set version = "0.40" %} + package: - name: perl-scalar-util-numeric - version: "0.40" + name: {{ name }} + version: {{ version }} source: - url: https://cpan.metacpan.org/authors/id/C/CH/CHOCOLATE/Scalar-Util-Numeric-0.40.tar.gz + url: https://cpan.metacpan.org/authors/id/C/CH/CHOCOLATE/Scalar-Util-Numeric-{{ version }}.tar.gz md5: 6a5451f33c3ec5c17d0672a4d5b0d24c build: - number: 5 + run_exports: + - {{ pin_subpackage(name, max_pin="x.x") }} + number: 6 requirements: build: @@ -28,3 +33,8 @@ about: home: http://metacpan.org/pod/Scalar-Util-Numeric license: perl_5 summary: 'numeric tests for perl scalars' + +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 diff --git a/recipes/perl-set-object/meta.yaml b/recipes/perl-set-object/meta.yaml index c07c9b0944918..7fb3c667489ca 100644 --- a/recipes/perl-set-object/meta.yaml +++ b/recipes/perl-set-object/meta.yaml @@ -11,7 +11,7 @@ source: sha256: {{ sha256 }} build: - number: 3 + number: 4 run_exports: weak: - {{ name }} ={{ version }} @@ -34,3 +34,8 @@ about: home: http://metacpan.org/pod/Set-Object license: artistic_2 summary: 'Unordered collections (sets) of Perl Objects' + +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 diff --git a/recipes/perl-socket6/meta.yaml b/recipes/perl-socket6/meta.yaml index a8a000a43df6c..bbb6526df15eb 100644 --- a/recipes/perl-socket6/meta.yaml +++ b/recipes/perl-socket6/meta.yaml @@ -1,13 +1,18 @@ +{% set name = "perl-socket6" %} +{% set version = "0.29" %} + package: - name: perl-socket6 - version: "0.29" + name: {{ name }} + version: {{ version }} source: - url: http://cpan.metacpan.org/authors/id/U/UM/UMEMOTO/Socket6-0.29.tar.gz + url: http://cpan.metacpan.org/authors/id/U/UM/UMEMOTO/Socket6-{{ version }}.tar.gz sha256: 468915fa3a04dcf6574fc957eff495915e24569434970c91ee8e4e1459fc9114 build: - number: 4 + run_exports: + - {{ pin_subpackage(name, max_pin="x.x") }} + number: 5 requirements: build: @@ -28,3 +33,8 @@ about: home: http://metacpan.org/pod/Socket6 license: unknown summary: 'IPv6 related part of the C socket.h defines and structure manipulators' + +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 diff --git a/recipes/perl-time-hires/meta.yaml b/recipes/perl-time-hires/meta.yaml index 760b297eb6ffd..29a2702b32606 100644 --- a/recipes/perl-time-hires/meta.yaml +++ b/recipes/perl-time-hires/meta.yaml @@ -11,7 +11,9 @@ source: sha256: {{ sha256 }} build: - number: 4 + run_exports: + - {{ pin_subpackage(name, max_pin="x") }} + number: 5 requirements: build: @@ -36,3 +38,8 @@ about: home: http://metacpan.org/pod/Time::HiRes license: perl_5 summary: 'High resolution alarm, sleep, gettimeofday, interval timers' + +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64 diff --git a/recipes/perl-url-encode/meta.yaml b/recipes/perl-url-encode/meta.yaml index fd8f343642c49..a46f36be411c5 100644 --- a/recipes/perl-url-encode/meta.yaml +++ b/recipes/perl-url-encode/meta.yaml @@ -13,13 +13,14 @@ source: # If this is a new build for the same version, increment the build # number. If you do not include this key, it defaults to 0. build: - number: 0 + number: 1 run_exports: weak: - {{ name }} ={{ version }} requirements: build: + - make # Run exports are used now host: @@ -45,3 +46,8 @@ about: # See # https://docs.conda.io/projects/conda-build for # more information about meta.yaml + +extra: + additional-platforms: + - linux-aarch64 + - osx-arm64