diff --git a/build-fail-blacklist b/build-fail-blacklist index 4fb2f58a5b62c..8d6e2e17379c2 100644 --- a/build-fail-blacklist +++ b/build-fail-blacklist @@ -2050,7 +2050,6 @@ recipes/perl-estscan2/2.1 # /opt/conda/conda-bld/perl-error_1530981443167/work/conda_build.sh: ./Build: /opt/conda/conda-bld/perl-error_1530981443167/_h_env_placehold_placehold_plac: bad interpreter: No such file or directory recipes/perl-io-socket-inet6 #recipes/perl-path-class -recipes/perl-html-tree recipes/perl-html-formatter recipes/perl-graphviz recipes/perl-test-xml @@ -2198,9 +2197,7 @@ recipes/perl-data-uuid recipes/perl-encode-locale #recipes/perl-eval-closure/0.14 recipes/perl-file-copy-recursive -recipes/perl-file-fetch recipes/perl-file-sharedir -recipes/perl-file-sharedir-install recipes/perl-file-util recipes/perl-ipc-system-simple recipes/perl-json-maybexs diff --git a/recipes/perl-file-fetch/build.sh b/recipes/perl-file-fetch/build.sh index f4854f7385109..67918fe672fe6 100644 --- a/recipes/perl-file-fetch/build.sh +++ b/recipes/perl-file-fetch/build.sh @@ -1,2 +1,19 @@ #!/bin/bash -cpanm -i . + +# If it has Build.PL use that, otherwise use Makefile.PL +if [ -f Build.PL ]; then + perl Build.PL + perl ./Build + perl ./Build test + # Make sure this goes in site + perl ./Build install --installdirs site +elif [ -f Makefile.PL ]; then + # Make sure this goes in site + perl Makefile.PL INSTALLDIRS=site + make + make test + make install +else + echo 'Unable to find Build.PL or Makefile.PL. You need to modify build.sh.' + exit 1 +fi diff --git a/recipes/perl-file-fetch/meta.yaml b/recipes/perl-file-fetch/meta.yaml index 35657664276a0..cface0a554880 100644 --- a/recipes/perl-file-fetch/meta.yaml +++ b/recipes/perl-file-fetch/meta.yaml @@ -1,29 +1,41 @@ +{% set name = "perl-file-fetch" %} +{% set version = "0.56" %} +{% set sha256 = "b08575705916bbc7ae79c4966709549575a7a2be98e7bb6a1d85e67d5226dea1" %} + package: - name: perl-file-fetch - version: '0.48' + name: {{ name }} + version: {{ version }} source: - url: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/File-Fetch-0.48.tar.gz - sha256: 9996f7988144d7d661e6e668237f7ca6dd3e0d121e4f01a9f773fab7847e863c + url: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/File-Fetch-0.56.tar.gz + sha256: {{ sha256 }} build: - number: 4 + number: 0 requirements: - build: - - {{ compiler('c') }} host: - perl - - perl-app-cpanminus - - perl-module-build + - perl-file-path + - perl-ipc-cmd + - perl-extutils-makemaker + - perl-locale-maketext-simple + - perl-module-load-conditional + - perl-params-check + run: - perl + - perl-params-check + - perl-file-path + - perl-module-load-conditional + - perl-locale-maketext-simple + - perl-ipc-cmd test: imports: - File::Fetch about: - home: https://metacpan.org/pod/File::Fetch - license: Perl - summary: A generic file fetching mechanism + home: http://metacpan.org/pod/File::Fetch + license: perl_5 + summary: 'Generic file fetching code' diff --git a/recipes/perl-file-sharedir-install/build.sh b/recipes/perl-file-sharedir-install/build.sh index f4854f7385109..67918fe672fe6 100644 --- a/recipes/perl-file-sharedir-install/build.sh +++ b/recipes/perl-file-sharedir-install/build.sh @@ -1,2 +1,19 @@ #!/bin/bash -cpanm -i . + +# If it has Build.PL use that, otherwise use Makefile.PL +if [ -f Build.PL ]; then + perl Build.PL + perl ./Build + perl ./Build test + # Make sure this goes in site + perl ./Build install --installdirs site +elif [ -f Makefile.PL ]; then + # Make sure this goes in site + perl Makefile.PL INSTALLDIRS=site + make + make test + make install +else + echo 'Unable to find Build.PL or Makefile.PL. You need to modify build.sh.' + exit 1 +fi diff --git a/recipes/perl-file-sharedir-install/meta.yaml b/recipes/perl-file-sharedir-install/meta.yaml index a3937cf79ae27..81b525f49e80f 100644 --- a/recipes/perl-file-sharedir-install/meta.yaml +++ b/recipes/perl-file-sharedir-install/meta.yaml @@ -1,29 +1,36 @@ +{% set name = "perl-file-sharedir-install" %} +{% set version = "0.13" %} +{% set sha256 = "45befdf0d95cbefe7c25a1daf293d85f780d6d2576146546e6828aad26e580f9" %} + package: - name: perl-file-sharedir-install - version: '0.10' + name: {{ name }} + version: {{ version }} source: - url: https://cpan.metacpan.org/authors/id/G/GW/GWYN/File-ShareDir-Install-0.10.tar.gz - sha256: 708af71dec4dfb5a8cf9a5e863b566714c3f65f0a76722302de5a07ee202e6f7 + url: https://cpan.metacpan.org/authors/id/E/ET/ETHER/File-ShareDir-Install-0.13.tar.gz + sha256: {{ sha256 }} build: - number: 4 + number: 0 requirements: - build: - - {{ compiler('c') }} host: - perl - - perl-app-cpanminus - - perl-module-build + - perl-exporter + - perl-extutils-makemaker + - perl-carp + - perl-file-path + run: - perl + - perl-exporter + - perl-carp test: imports: - File::ShareDir::Install about: - home: https://metacpan.org/pod/File::ShareDir::Install - license: Perl - summary: Install shared files + home: https://github.com/Perl-Toolchain-Gang/File-ShareDir-Install + license: perl_5 + summary: 'Install shared files' diff --git a/recipes/perl-file-sharedir/build.sh b/recipes/perl-file-sharedir/build.sh index f4854f7385109..67918fe672fe6 100644 --- a/recipes/perl-file-sharedir/build.sh +++ b/recipes/perl-file-sharedir/build.sh @@ -1,2 +1,19 @@ #!/bin/bash -cpanm -i . + +# If it has Build.PL use that, otherwise use Makefile.PL +if [ -f Build.PL ]; then + perl Build.PL + perl ./Build + perl ./Build test + # Make sure this goes in site + perl ./Build install --installdirs site +elif [ -f Makefile.PL ]; then + # Make sure this goes in site + perl Makefile.PL INSTALLDIRS=site + make + make test + make install +else + echo 'Unable to find Build.PL or Makefile.PL. You need to modify build.sh.' + exit 1 +fi diff --git a/recipes/perl-file-sharedir/meta.yaml b/recipes/perl-file-sharedir/meta.yaml index e1d89b6a98b07..7f0e0e1d84f47 100644 --- a/recipes/perl-file-sharedir/meta.yaml +++ b/recipes/perl-file-sharedir/meta.yaml @@ -1,29 +1,37 @@ +{% set name = "perl-file-sharedir" %} +{% set version = "1.116" %} +{% set sha256 = "59d90bfdf98c4656ff4173e62954ea8cf0de66565e35d108ecd7050596cb8328" %} + package: - name: perl-file-sharedir - version: '1.102' + name: {{ name }} + version: {{ version }} source: - url: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-ShareDir-1.102.tar.gz - sha256: 7c7334b974882587fbd9bc135f6bc04ad197abe99e6f4761953fe9ca88c57411 + url: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-ShareDir-1.116.tar.gz + sha256: {{ sha256 }} build: - number: 4 + number: 0 requirements: - build: - - {{ compiler('c') }} host: - perl - - perl-app-cpanminus - - perl-module-build + - perl-file-path + - perl-file-sharedir-install + - perl-class-inspector + - perl-extutils-makemaker + - perl-carp + run: - perl + - perl-class-inspector + - perl-carp test: imports: - File::ShareDir about: - home: https://metacpan.org/pod/File::ShareDir - license: Perl - summary: Locate per-dist and per-module shared files + home: https://metacpan.org/release/File-ShareDir + license: perl_5 + summary: 'Locate per-dist and per-module shared files' diff --git a/recipes/perl-html-tree/build.sh b/recipes/perl-html-tree/build.sh index 64652ea2132d9..32c706db0c64e 100644 --- a/recipes/perl-html-tree/build.sh +++ b/recipes/perl-html-tree/build.sh @@ -3,10 +3,10 @@ # If it has Build.PL use that, otherwise use Makefile.PL if [ -f Build.PL ]; then perl Build.PL - ./Build - ./Build test + perl ./Build + perl ./Build test # Make sure this goes in site - ./Build install --installdirs site + perl ./Build install --installdirs site elif [ -f Makefile.PL ]; then # Make sure this goes in site perl Makefile.PL INSTALLDIRS=site @@ -17,3 +17,5 @@ else echo 'Unable to find Build.PL or Makefile.PL. You need to modify build.sh.' exit 1 fi + +chmod 755 ${PREFIX}/bin/htmltree diff --git a/recipes/perl-html-tree/meta.yaml b/recipes/perl-html-tree/meta.yaml index a2c70bf453131..3916a01e5cbab 100644 --- a/recipes/perl-html-tree/meta.yaml +++ b/recipes/perl-html-tree/meta.yaml @@ -1,39 +1,38 @@ +{% set name = "perl-html-tree" %} +{% set version = "5.07" %} +{% set sha256 = "f0374db84731c204b86c1d5b90975fef0d30a86bd9def919343e554e31a9dbbf" %} + package: - name: perl-html-tree - version: "5.03" + name: {{ name }} + version: {{ version }} source: - url: http://cpan.metacpan.org/authors/id/C/CJ/CJM/HTML-Tree-5.03.tar.gz - md5: d9271d60b872ed6fbe68b2d0fe8c450e + url: https://cpan.metacpan.org/authors/id/K/KE/KENTNL/HTML-Tree-5.07.tar.gz + sha256: {{ sha256 }} build: - number: 1 + number: 0 requirements: host: - perl + - perl-carp - perl-html-parser - - perl-module-build + - perl-exporter + - perl-base - perl-html-tagset + - perl-module-build - perl-test-fatal - # optional features; "perl-html-formatter" is commented out to avoid - # circular dependency issues, but users should install this package to get - # access to the HTML::Element "format" method. - #- perl-html-formatter # HTML::FormatText package - - perl-libwww-perl # LWP::UserAgent package + - perl-encode run: - perl - - perl-html-parser + - perl-carp - perl-html-tagset - # optional features; "perl-html-formatter" is commented out to avoid - # circular dependency issues, but users should install this package to get - # access to the HTML::Element "format" method. - #- perl-html-formatter # HTML::FormatText package - - perl-libwww-perl # LWP::UserAgent package + - perl-html-parser + - perl-exporter test: - # Perl 'use' tests imports: - HTML::AsSubs - HTML::Element @@ -42,6 +41,7 @@ test: - HTML::TreeBuilder about: - home: http://metacpan.org/pod/HTML-Tree + home: http://metacpan.org/pod/HTML::Tree license: perl_5 summary: 'Work with HTML in a DOM-like tree structure' +