Skip to content

Commit

Permalink
Perl parse yapp fix (#10388)
Browse files Browse the repository at this point in the history
* Bump perl-parse-yapp

* Fix typo
  • Loading branch information
druvus authored Aug 13, 2018
1 parent 7f8d702 commit 0143378
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 19 deletions.
1 change: 0 additions & 1 deletion build-fail-blacklist
Original file line number Diff line number Diff line change
Expand Up @@ -1895,7 +1895,6 @@ recipes/perl-statistics-ttest
recipes/perl-module-fromperlver/0.008002
recipes/perl-module-extract-use/1.043

recipes/perl-parse-yapp
# recipes/perl-class-load
# recipes/perl-namespace-clean/0.27

Expand Down
12 changes: 4 additions & 8 deletions recipes/perl-parse-yapp/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 @@ -18,8 +18,4 @@ else
exit 1
fi

# Add more build steps here, if they are necessary.

# See
# http://docs.continuum.io/conda/build.html
# for a list of environment variables that are set during the build process.
chmod 755 ${PREFIX}/bin/yapp
30 changes: 20 additions & 10 deletions recipes/perl-parse-yapp/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,37 @@
package:
name: perl-parse-yapp
version: "1.05"
{% set name = "perl-parse-yapp" %}
{% set version = "1.21" %}
{% set sha256 = "3810e998308fba2e0f4f26043035032b027ce51ce5c8a52a8b8e340ca65f13e5" %}

build:
number: 1
package:
name: {{ name }}
version: {{ version }}

source:
url: http://cpan.metacpan.org/authors/id/F/FD/FDESAR/Parse-Yapp-1.05.tar.gz
md5: 7bfca736d6af36c51edf7a97111a8f3b
url: https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-1.21.tar.gz
sha256: {{ sha256 }}

build:
number: 0

requirements:
host:
- perl
- perl-extutils-makemaker

run:
- perl

test:
# Perl 'use' tests
imports:
- Parse::Yapp
- Parse::Yapp::Driver
- Parse::Yapp::Grammar
- Parse::Yapp::Lalr
- Parse::Yapp::Options
- Parse::Yapp::Output
- Parse::Yapp::Parse

about:
home: http://metacpan.org/pod/Parse::Yapp
license: unknown
summary: 'Perl extension for generating and using LALR parsers.'

summary: 'A perl frontend to the Parse::Yapp module'

0 comments on commit 0143378

Please sign in to comment.