bioperl: update to 1.7.7

Beware, bioperl has been split in several submodules, please check
an exhaustive list of what it implies at:
https://metacpan.org/changes/distribution/BioPerl#L71

OK afresh1@
This commit is contained in:
cwen 2020-08-25 23:56:31 +00:00
parent e50137b971
commit b2711d7cec
6 changed files with 130 additions and 1002 deletions

View File

@ -1,69 +1,52 @@
# $OpenBSD: Makefile,v 1.21 2019/07/12 20:43:43 sthen Exp $
# $OpenBSD: Makefile,v 1.22 2020/08/25 23:56:31 cwen Exp $
COMMENT= perl tools for bioinformatics
DISTNAME= BioPerl-1.6.924
REVISION= 1
DISTNAME= BioPerl-1.7.7
PKGNAME= ${DISTNAME:L}# No p5-prefix here.
CATEGORIES= biology
HOMEPAGE= https://bioperl.org/
# perl
# Perl
PERMIT_PACKAGE= Yes
CPAN_AUTHOR= CJFIELDS
MODULES= cpan
PKG_ARCH= *
CPAN_AUTHOR= CJFIELDS
MODCPAN_EXAMPLES= Yes
MODCPAN_EXAMPLES_DIR= ${PREFIX}/share/examples/bioperl/
CONFIGURE_STYLE= modbuild
RUN_DEPENDS= devel/p5-Data-Stag \
devel/p5-Error \
devel/p5-Graph \
devel/p5-IO-String \
devel/p5-IO-stringy \
devel/p5-IPC-Run \
devel/p5-List-MoreUtils \
devel/p5-Module-Build \
devel/p5-Set-Scalar \
devel/p5-Test-Most \
devel/p5-Test-RequiresInternet \
devel/p5-YAML \
textproc/p5-Libxml \
textproc/p5-XML-DOM \
textproc/p5-XML-DOM-XPath \
textproc/p5-XML-LibXML \
textproc/p5-XML-SAX \
textproc/p5-XML-SAX-Base \
textproc/p5-XML-SAX-Writer \
textproc/p5-XML-Twig \
textproc/p5-XML-Writer \
www/p5-HTTP-Message \
www/p5-URI \
www/p5-libwww
TEST_DEPENDS= devel/p5-Test-Memory-Cycle \
devel/p5-Test-Weaken
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= biology/AcePerl \
databases/p5-DBD-mysql \
converters/p5-Convert-Binary-C \
devel/p5-Algorithm-Munkres \
devel/p5-Array-Compare \
devel/p5-Class-AutoClass \
devel/p5-Clone \
devel/p5-Data-Stag \
devel/p5-Graph \
devel/p5-IO-String \
devel/p5-IO-stringy \
devel/p5-Set-Scalar \
devel/p5-Test-Exception \
devel/p5-Tree-DAG_Node \
graphics/p5-GD \
graphics/p5-GD-SVG \
graphics/p5-SVG-Graph \
math/p5-GraphViz \
misc/p5-Spreadsheet-ParseExcel \
misc/p5-Spreadsheet-WriteExcel \
textproc/p5-XML-DOM \
textproc/p5-Libxml \
textproc/p5-XML-DOM-XPath \
textproc/p5-XML-Parser \
textproc/p5-XML-SAX-Writer \
textproc/p5-XML-Simple \
textproc/p5-XML-Twig \
textproc/p5-XML-Writer \
www/p5-CGI \
www/p5-HTML-Parser \
www/p5-SOAP-Lite \
www/p5-URI \
www/p5-libwww
TEST_DEPENDS= devel/p5-Test-Most \
www/p5-HTML-TableExtract
MAKE_ENV += TEST_POD=Yes
MAKE_ENV += TEST_POD=Yes
# Optional (not ported) dependencies:
# Postscript-TextBlock
# Tie-Cacher
CONFIGURE_ENV+= PERL_MM_USE_DEFAULT=Yes
PKG_ARCH= *
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (BioPerl-1.6.924.tar.gz) = YWp1Rrs8WFBN4nMEoPbLkE4YtrvNtqTshFTyvTe7dtA=
SIZE (BioPerl-1.6.924.tar.gz) = 12623118
SHA256 (BioPerl-1.7.7.tar.gz) = cw4r04t1UL9rvVvKUNAZpwzKUUVZcCwTiddw/2nP8bs=
SIZE (BioPerl-1.7.7.tar.gz) = 7532782

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-Bio_Tools_Alignment_Consed_pm,v 1.1 2019/02/21 10:25:48 cwen Exp $
Fix:
Error: Can't redeclare "my" in "my"
Index: Bio/Tools/Alignment/Consed.pm
--- Bio/Tools/Alignment/Consed.pm.orig
+++ Bio/Tools/Alignment/Consed.pm
@@ -1709,7 +1709,7 @@ Recursion is kewl, but this sub should likely be _reve
sub reverse_recurse($$) {
- my ($r_source,my $r_destination) = @_;
+ my ($r_source, $r_destination) = @_;
if (!@$r_source) {
return $r_destination;
}

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-Bio_Tools_SiRNA_Ruleset_tuschl_pm,v 1.1 2019/02/21 10:25:48 cwen Exp $
Avoid some of the super annoying warnings about deprecated braces
Index: Bio/Tools/SiRNA/Ruleset/tuschl.pm
--- Bio/Tools/SiRNA/Ruleset/tuschl.pm.orig
+++ Bio/Tools/SiRNA/Ruleset/tuschl.pm
@@ -178,8 +178,8 @@ sub _get_oligos {
my $target = $2;
# check for too many Gs (or Cs on the other strand)
- next if ( $target =~ /G{ $self->gstring,}/io );
- next if ( $target =~ /C{ $self->gstring,}/io );
+ next if ( $target =~ /G\{ $self->gstring,\}/io );
+ next if ( $target =~ /C\{ $self->gstring,\}/io );
# skip Ns (for filtering)
next if ( $target =~ /N/i);

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-maintenance_symlink_script_pl,v 1.2 2019/02/21 10:25:48 cwen Exp $
Index: maintenance/symlink_script.pl
--- maintenance/symlink_script.pl.orig
+++ maintenance/symlink_script.pl
@@ -12,7 +12,9 @@ my %symlink_scripts = ('bp_bulk_load_gff.pl' => 'bp_pg
# installation process installs the symlink as the actual file, so we may as
# well have just done a copy
-my $install_dir = $build->install_destination('script');
+my $destdir = $build->runtime_params('destdir');
+my $install_dir = $destdir . $build->install_destination('script');
+
$build->log_info("Will try to install symlinks to $install_dir\n");
my $orig_dir = $build->cwd;
chdir($install_dir);

File diff suppressed because it is too large Load Diff