Skip to content

Commit

Permalink
Perl fix 11 (#10259)
Browse files Browse the repository at this point in the history
* Bump perl-array-compare

* Fix perl-unicode-map

* Unblacklist
  • Loading branch information
druvus authored Aug 4, 2018
1 parent 945c593 commit 9ccea72
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 26 deletions.
2 changes: 0 additions & 2 deletions build-fail-blacklist
Original file line number Diff line number Diff line change
Expand Up @@ -2055,7 +2055,6 @@ recipes/perl-estscan2/2.1
recipes/perl-io-socket-inet6
#recipes/perl-path-class
recipes/perl-html-tree
recipes/perl-array-compare
recipes/perl-html-formatter
recipes/perl-graphviz
recipes/perl-test-xml
Expand Down Expand Up @@ -2273,7 +2272,6 @@ recipes/perl-estscan1/1.3
recipes/perl-html-tidy
recipes/perl-json-parse/0.49
recipes/perl-text-nsp
recipes/perl-unicode-map
recipes/pygresql
recipes/real
recipes/rmap
Expand Down
6 changes: 3 additions & 3 deletions recipes/perl-array-compare/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
25 changes: 15 additions & 10 deletions recipes/perl-array-compare/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,38 @@
{% set name = "perl-array-compare" %}
{% set version = "3.0.1" %}
{% set sha256 = "eb4f5889342690d2a9a6c2bcce55221e47155412e59842e424ea41ed9a34d23b" %}

package:
name: perl-array-compare
version: "2.11"
name: {{ name }}
version: {{ version }}

source:
url: http://cpan.metacpan.org/authors/id/D/DA/DAVECROSS/Array-Compare-2.11.tar.gz
md5: 57ff4aa504d4c2d1ecef342bd19c0039
url: https://cpan.metacpan.org/authors/id/D/DA/DAVECROSS/Array-Compare-v3.0.1.tar.gz
sha256: {{ sha256 }}

build:
number: 1
number: 0

requirements:
host:
- perl
- perl-moo
- perl-type-tiny
- perl-carp
- perl-module-build
- perl-test-nowarnings
- perl-moo
- perl-types-standard

run:
- perl
- perl-carp
- perl-moo
- perl-type-tiny
- perl-types-standard

test:
# Perl 'use' tests
imports:
- Array::Compare

about:
home: http://metacpan.org/pod/Array-Compare
home: http://metacpan.org/pod/Array::Compare
license: perl_5
summary: 'Perl extension for comparing arrays.'
11 changes: 8 additions & 3 deletions recipes/perl-unicode-map/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -17,3 +17,8 @@ else
echo 'Unable to find Build.PL or Makefile.PL. You need to modify build.sh.'
exit 1
fi

chmod 755 ${PREFIX}/bin/map
chmod 755 ${PREFIX}/bin/mirrorMappings
chmod 755 ${PREFIX}/bin/mkCSGB2312
chmod 755 ${PREFIX}/bin/mkmapfile
22 changes: 14 additions & 8 deletions recipes/perl-unicode-map/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
{% set name = "perl-unicode-map" %}
{% set version = "0.112" %}
{% set sha256 = "10f0c2f12ebba57dcd4f46d24cf242c1915d31ec0a4ec36b4df18c9ca0cb4a5a" %}

package:
name: perl-unicode-map
version: "0.112"
name: {{ name }}
version: {{ version }}

source:
url: http://cpan.metacpan.org/authors/id/M/MS/MSCHWARTZ/Unicode-Map-0.112.tar.gz
md5: edaa8fc5ddf0e5d805e274283dd0625d
url: https://cpan.metacpan.org/authors/id/M/MS/MSCHWARTZ/Unicode-Map-0.112.tar.gz
sha256: {{ sha256 }}

build:
number: 1
number: 2

requirements:
build:
- {{ compiler('cxx') }}

host:
- perl

run:
- perl

test:
# Perl 'use' tests
imports:
- Unicode::Map

commands:
- perl -e 'use Unicode::Map(); $map = new Unicode::Map("ISO-8859-1");'

about:
home: http://metacpan.org/pod/Unicode-Map
home: http://metacpan.org/pod/Unicode::Map
license: unknown
summary: 'Map charsets from and to UTF-16 unicode'
summary: 'An utility to map texts from and to unicode'

0 comments on commit 9ccea72

Please sign in to comment.