public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-biology/GAL/, sci-biology/GAL/files/
@ 2015-12-31 23:57 Martin Mokrejs
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Mokrejs @ 2015-12-31 23:57 UTC (permalink / raw
  To: gentoo-commits

commit:     6867a64802e4652b4c284dc45799ac07abdc22ab
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Thu Dec 31 23:55:45 2015 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Thu Dec 31 23:55:45 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6867a648

sci-biology/GAL: disable automated install of dependencies via CPAN

Package-Manager: portage-2.2.26

 sci-biology/GAL/ChangeLog            |  6 ------
 sci-biology/GAL/GAL-0.2.1.ebuild     |  4 ++++
 sci-biology/GAL/GAL-0.2.2.ebuild     |  4 ++++
 sci-biology/GAL/files/Build.PL.patch | 10 ++++++++++
 4 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/sci-biology/GAL/ChangeLog b/sci-biology/GAL/ChangeLog
index 8f82b90..838a7b5 100644
--- a/sci-biology/GAL/ChangeLog
+++ b/sci-biology/GAL/ChangeLog
@@ -2,12 +2,6 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
-  31 Dec 2015; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> GAL-0.2.1.ebuild,
-  GAL-0.2.2.ebuild:
-  sci-biology/GAL: fix S variable; beware the package is a bundle of many 3rd-
-  party perl modules and apps, it runs wget to fetch additional ones, can't go
-  into the tree as it is now (resolving it now with upstream)
-
 *GAL-0.2.1 (31 Dec 2015)
 *GAL-0.2.2 (31 Dec 2015)
 

diff --git a/sci-biology/GAL/GAL-0.2.1.ebuild b/sci-biology/GAL/GAL-0.2.1.ebuild
index 3bfb6bc..e84b595 100644
--- a/sci-biology/GAL/GAL-0.2.1.ebuild
+++ b/sci-biology/GAL/GAL-0.2.1.ebuild
@@ -19,3 +19,7 @@ DEPEND="dev-perl/Module-Build"
 RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/${PN}_${PV}"
+
+src_prepare(){
+	epatch "${FILESDIR}"/Build.PL.patch
+}

diff --git a/sci-biology/GAL/GAL-0.2.2.ebuild b/sci-biology/GAL/GAL-0.2.2.ebuild
index 3bfb6bc..e84b595 100644
--- a/sci-biology/GAL/GAL-0.2.2.ebuild
+++ b/sci-biology/GAL/GAL-0.2.2.ebuild
@@ -19,3 +19,7 @@ DEPEND="dev-perl/Module-Build"
 RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/${PN}_${PV}"
+
+src_prepare(){
+	epatch "${FILESDIR}"/Build.PL.patch
+}

diff --git a/sci-biology/GAL/files/Build.PL.patch b/sci-biology/GAL/files/Build.PL.patch
new file mode 100644
index 0000000..31b6c73
--- /dev/null
+++ b/sci-biology/GAL/files/Build.PL.patch
@@ -0,0 +1,10 @@
+--- GAL_0.2.2/Build.PL.ori	2016-01-01 00:46:26.000000000 +0100
++++ GAL_0.2.2/Build.PL	2016-01-01 00:50:21.000000000 +0100
+@@ -10,7 +10,6 @@
+        sub ACTION_build {
+ 	 my $self = shift;
+ 	 $self->SUPER::ACTION_build;
+-	 $self->dispatch('installdeps');
+        }
+        sub ACTION_install {
+ 	   my $self = shift;


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-biology/GAL/, sci-biology/GAL/files/
@ 2016-01-02 11:11 Andreas Hüttel
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Hüttel @ 2016-01-02 11:11 UTC (permalink / raw
  To: gentoo-commits

commit:     6948b58df6416c3938ccbb7fb2657cc515cc7c50
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  2 11:11:28 2016 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Jan  2 11:11:28 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6948b58d

Force systemwide installation by removing all the manual build fiddling

Package-Manager: portage-2.2.26

 sci-biology/GAL/ChangeLog            |  3 +++
 sci-biology/GAL/files/Build.PL.patch | 38 +++++++++++++++++++++++++++---------
 2 files changed, 32 insertions(+), 9 deletions(-)

diff --git a/sci-biology/GAL/ChangeLog b/sci-biology/GAL/ChangeLog
index d65ee90..7ad355f 100644
--- a/sci-biology/GAL/ChangeLog
+++ b/sci-biology/GAL/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
+  02 Jan 2016; Andreas K. Huettel <dilfridge@gentoo.org> files/Build.PL.patch:
+  Force systemwide installation by removing all the manual build fiddling
+
   02 Jan 2016; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> GAL-0.2.2.ebuild:
   sci-biology/GAL: add another perl DEPENDency
 

diff --git a/sci-biology/GAL/files/Build.PL.patch b/sci-biology/GAL/files/Build.PL.patch
index 31b6c73..6d881f2 100644
--- a/sci-biology/GAL/files/Build.PL.patch
+++ b/sci-biology/GAL/files/Build.PL.patch
@@ -1,10 +1,30 @@
---- GAL_0.2.2/Build.PL.ori	2016-01-01 00:46:26.000000000 +0100
-+++ GAL_0.2.2/Build.PL	2016-01-01 00:50:21.000000000 +0100
-@@ -10,7 +10,6 @@
-        sub ACTION_build {
- 	 my $self = shift;
- 	 $self->SUPER::ACTION_build;
+diff -ruN GAL_0.2.2.orig/Build.PL GAL_0.2.2/Build.PL
+--- GAL_0.2.2.orig/Build.PL	2014-01-30 01:35:11.000000000 +0100
++++ GAL_0.2.2/Build.PL	2016-01-02 12:09:16.212623256 +0100
+@@ -6,26 +6,6 @@
+ my $class = Module::Build->subclass
+   (
+    class => 'Module::Build::Custom',
+-   code => q{
+-       sub ACTION_build {
+-	 my $self = shift;
+-	 $self->SUPER::ACTION_build;
 -	 $self->dispatch('installdeps');
-        }
-        sub ACTION_install {
- 	   my $self = shift;
+-       }
+-       sub ACTION_install {
+-	   my $self = shift;
+-	   print "\n\nGAL does not do a system wide install\n\n";
+-	   print "To make the libraries and scripts accessible\n";
+-	   print "modify the paths to fit your system and run the following:\n\n";
+-	   print "export PERL5LIB=\$PERL5LIB:/path/to/GAL/lib\n";
+-	   print "export PATH=\$PATH:/path/to/GAL/bin\n\n";
+-	   print "Add those lines to ~/.bash_profile or /etc/profile to\n";
+-	   print "make those changes permanent.\n\n";
+-	   print "If you want a system wide install, edit the Build.PL script and\n";
+-	   print "remove the entire subroutine (ACTION_install) where this message\n";
+-	   print "is printed run Build realclean and re-install.\n\n";
+-       }
+-     },
+   );
+ 
+ my $builder = $class->new(


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-biology/GAL/, sci-biology/GAL/files/
@ 2022-01-25 10:20 Andrew Ammerlaan
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2022-01-25 10:20 UTC (permalink / raw
  To: gentoo-commits

commit:     19eb71e9e2cc023a547e9ca34c246d0266dcbcf2
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 25 09:55:06 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jan 25 09:55:06 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=19eb71e9

sci-biology/GAL: fix install

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-biology/GAL/GAL-0.2.2_p20200508.ebuild | 19 ++++++++++++-------
 sci-biology/GAL/files/Build.PL.patch       | 24 +++++++++---------------
 2 files changed, 21 insertions(+), 22 deletions(-)

diff --git a/sci-biology/GAL/GAL-0.2.2_p20200508.ebuild b/sci-biology/GAL/GAL-0.2.2_p20200508.ebuild
index 1aa7e99be..f02907368 100644
--- a/sci-biology/GAL/GAL-0.2.2_p20200508.ebuild
+++ b/sci-biology/GAL/GAL-0.2.2_p20200508.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit perl-module
 
@@ -10,16 +10,15 @@ COMMIT="94af39622aab5ba48eb693f2327f6e90f1d202ed"
 DESCRIPTION="Genome Annotation Library (incl. fasta_tool)"
 HOMEPAGE="https://github.com/The-Sequence-Ontology/GAL"
 SRC_URI="https://github.com/The-Sequence-Ontology/GAL/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
 
 LICENSE="( GPL-1+ Artistic )"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64"
 
 RESTRICT="test"
 
 DEPEND="
-	>=dev-lang/perl-5.6.1
-	dev-perl/Module-Build
 	dev-perl/Config-Std
 	virtual/perl-Data-Dumper
 	dev-perl/Data-Types
@@ -29,6 +28,7 @@ DEPEND="
 	dev-perl/Number-Format
 	virtual/perl-Scalar-List-Utils
 	dev-perl/Set-IntSpan-Fast
+	dev-perl/Statistics-Descriptive
 	dev-perl/Statistics-Descriptive-Discrete
 	dev-perl/Template-Toolkit
 	dev-perl/Text-Graph
@@ -36,7 +36,12 @@ DEPEND="
 	dev-perl/Text-Table
 	dev-perl/Exception-Class
 	dev-perl/Test-Warn
-	dev-perl/URI"
+	dev-perl/URI
+	sci-biology/fasta
+"
 RDEPEND="${DEPEND}"
+BDEPEND="dev-perl/Module-Build"
 
-S="${WORKDIR}/${PN}-${COMMIT}"
+PATCHES=(
+	"${FILESDIR}/Build.PL.patch"
+)

diff --git a/sci-biology/GAL/files/Build.PL.patch b/sci-biology/GAL/files/Build.PL.patch
index 6d881f249..eee4fb60d 100644
--- a/sci-biology/GAL/files/Build.PL.patch
+++ b/sci-biology/GAL/files/Build.PL.patch
@@ -1,16 +1,11 @@
-diff -ruN GAL_0.2.2.orig/Build.PL GAL_0.2.2/Build.PL
---- GAL_0.2.2.orig/Build.PL	2014-01-30 01:35:11.000000000 +0100
-+++ GAL_0.2.2/Build.PL	2016-01-02 12:09:16.212623256 +0100
-@@ -6,26 +6,6 @@
- my $class = Module::Build->subclass
-   (
-    class => 'Module::Build::Custom',
--   code => q{
--       sub ACTION_build {
--	 my $self = shift;
--	 $self->SUPER::ACTION_build;
--	 $self->dispatch('installdeps');
--       }
+diff --git a/Build.PL b/Build.PL
+index 5915ca8..61eceb3 100644
+--- a/Build.PL
++++ b/Build.PL
+@@ -12,19 +12,6 @@ my $class = Module::Build->subclass
+ 	 $self->SUPER::ACTION_build;
+ 	 $self->dispatch('installdeps');
+        }
 -       sub ACTION_install {
 -	   my $self = shift;
 -	   print "\n\nGAL does not do a system wide install\n\n";
@@ -24,7 +19,6 @@ diff -ruN GAL_0.2.2.orig/Build.PL GAL_0.2.2/Build.PL
 -	   print "remove the entire subroutine (ACTION_install) where this message\n";
 -	   print "is printed run Build realclean and re-install.\n\n";
 -       }
--     },
+      },
    );
  
- my $builder = $class->new(


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-25 10:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-25 10:20 [gentoo-commits] proj/sci:master commit in: sci-biology/GAL/, sci-biology/GAL/files/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2016-01-02 11:11 Andreas Hüttel
2015-12-31 23:57 Martin Mokrejs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox