1 |
commit: 0243d563e8de7d1eb26227665892172dbf3379f6 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 1 13:48:24 2018 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 1 15:13:53 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0243d563 |
7 |
|
8 |
dev-perl/Bio-DB-HTS: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-perl/Bio-DB-HTS/Bio-DB-HTS-2.10.ebuild | 32 --------------- |
13 |
dev-perl/Bio-DB-HTS/Manifest | 1 - |
14 |
.../files/2.10-build_search_for_so.patch | 29 ------------- |
15 |
.../files/2.10-build_split_htslib_opts.patch | 48 ---------------------- |
16 |
4 files changed, 110 deletions(-) |
17 |
|
18 |
diff --git a/dev-perl/Bio-DB-HTS/Bio-DB-HTS-2.10.ebuild b/dev-perl/Bio-DB-HTS/Bio-DB-HTS-2.10.ebuild |
19 |
deleted file mode 100644 |
20 |
index 0a150300213..00000000000 |
21 |
--- a/dev-perl/Bio-DB-HTS/Bio-DB-HTS-2.10.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,32 +0,0 @@ |
24 |
-# Copyright 1999-2018 Gentoo Foundation |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
-EAPI=6 |
28 |
- |
29 |
-DIST_AUTHOR=AVULLO |
30 |
-DIST_VERSION=2.10 |
31 |
- |
32 |
-inherit perl-module |
33 |
- |
34 |
-DESCRIPTION="Perl bindings for sci-libs/htslib" |
35 |
- |
36 |
-LICENSE="Apache-2.0" |
37 |
-SLOT="0" |
38 |
-KEYWORDS="~amd64 ~x86" |
39 |
-IUSE="test" |
40 |
- |
41 |
-RDEPEND="sci-biology/bioperl |
42 |
- sci-libs/htslib:=" |
43 |
-DEPEND="${RDEPEND} |
44 |
- dev-perl/Module-Build |
45 |
- test? ( dev-perl/Test-LeakTrace )" |
46 |
- |
47 |
-PATCHES=( |
48 |
- "${FILESDIR}/2.10-build_search_for_so.patch" |
49 |
- "${FILESDIR}/2.10-build_split_htslib_opts.patch" |
50 |
-) |
51 |
- |
52 |
-src_configure() { |
53 |
- local myconf="--htslib-includedir=${EPREFIX}/usr/include/htslib --htslib-libdir=${EPREFIX}/usr/$(get_libdir)" |
54 |
- perl-module_src_configure |
55 |
-} |
56 |
|
57 |
diff --git a/dev-perl/Bio-DB-HTS/Manifest b/dev-perl/Bio-DB-HTS/Manifest |
58 |
index 6770bf66986..3eaf22e7a99 100644 |
59 |
--- a/dev-perl/Bio-DB-HTS/Manifest |
60 |
+++ b/dev-perl/Bio-DB-HTS/Manifest |
61 |
@@ -1,2 +1 @@ |
62 |
-DIST Bio-DB-HTS-2.10.tar.gz 5245650 BLAKE2B a52d9b1e19d5920d61dd365eacfd1a40726500e25a3ab516df5a1d59a7a9d79ce02db7a2145801b6af5df2c41c95e80b49a39db83d27fd7ff3cf88ba0e6a328d SHA512 4e7c01022d9edf48a0e0dcffcbccf34812f236d1b581760ac115c323de5779fb6212eb4ad7d1953811930a6137cc8f5f59028c73d645d1ca5fb6118dd846ad57 |
63 |
DIST Bio-DB-HTS-2.11.tar.gz 5250814 BLAKE2B d77ccacebf339a33ab106b997139cdbf79f6c28269a832305e660b28370aca82b4c9824773acdbf8f59b18dd61f40346a9870578dba7b5b989b0f3bc9ad14b35 SHA512 114d90fe92b684250183b45b4d23d2dd45ecdcb2fa54f7b1c311ed668d8e87953adb861f709a0a48ff2b873ce777b21bc3b557bafa0df216b9a71b59facff6fd |
64 |
|
65 |
diff --git a/dev-perl/Bio-DB-HTS/files/2.10-build_search_for_so.patch b/dev-perl/Bio-DB-HTS/files/2.10-build_search_for_so.patch |
66 |
deleted file mode 100644 |
67 |
index b3d11bbbe7a..00000000000 |
68 |
--- a/dev-perl/Bio-DB-HTS/files/2.10-build_search_for_so.patch |
69 |
+++ /dev/null |
70 |
@@ -1,29 +0,0 @@ |
71 |
---- a/Build.PL |
72 |
-+++ b/Build.PL |
73 |
-@@ -125,7 +125,7 @@ |
74 |
- |
75 |
- my $hts_lib = "$root"; |
76 |
- my $hts_include = "$root/htslib"; |
77 |
-- if (-f "$hts_lib/libhts.a" && -f "$hts_include/hts.h") { |
78 |
-+ if ((-f "$hts_lib/libhts.so" || -f "$hts_lib/libhts.a") && -f "$hts_include/hts.h") { |
79 |
- $self->config_data('hts_lib' => $hts_lib); |
80 |
- $self->config_data('hts_include' => $hts_include); |
81 |
- return 1; |
82 |
-@@ -145,7 +145,7 @@ |
83 |
- |
84 |
- my $hts_lib = "$root/lib"; |
85 |
- my $hts_include = "$root/include/htslib"; |
86 |
-- if (-f "$hts_lib/libhts.a" && -f "$hts_include/hts.h") { |
87 |
-+ if ((-f "$hts_lib/libhts.so" || -f "$hts_lib/libhts.a") && -f "$hts_include/hts.h") { |
88 |
- $self->config_data('hts_lib' => $hts_lib); |
89 |
- $self->config_data('hts_include' => $hts_include); |
90 |
- return 1; |
91 |
-@@ -164,7 +164,7 @@ |
92 |
- This module requires htslib (http://htslib/org) |
93 |
- Install it if you have not done so already. |
94 |
- |
95 |
--This script will attempt to locate htslib by looking for hts.h and libhts.a in: |
96 |
-+This script will attempt to locate htslib by looking for hts.h and libhts.so/libhts.a in: |
97 |
- |
98 |
- 1. --htslib command line argument |
99 |
- 2. HTSLIB_DIR environment variable |
100 |
|
101 |
diff --git a/dev-perl/Bio-DB-HTS/files/2.10-build_split_htslib_opts.patch b/dev-perl/Bio-DB-HTS/files/2.10-build_split_htslib_opts.patch |
102 |
deleted file mode 100644 |
103 |
index d68bc54e40d..00000000000 |
104 |
--- a/dev-perl/Bio-DB-HTS/files/2.10-build_split_htslib_opts.patch |
105 |
+++ /dev/null |
106 |
@@ -1,48 +0,0 @@ |
107 |
---- a/Build.PL |
108 |
-+++ b/Build.PL |
109 |
-@@ -68,7 +68,13 @@ |
110 |
- # If either of these are set, we expect to find the htslib files there: |
111 |
- # (They're explicitly set by the user, so we shouldn't fall back to |
112 |
- # finding another copy somewhere else.) |
113 |
-- if (my $dir = $self->args('htslib')) { |
114 |
-+ if (my ($incdir, $libdir) = ($self->args('htslib-includedir'), $self->args('htslib-libdir'))) { |
115 |
-+ return 1 if $self->find_hts_in_split_install_dirs($incdir, $libdir); |
116 |
-+ $self->die_hts_not_found( |
117 |
-+ "--htslib-includedir '$incdir' or --htslib-libdir '$libdir' command line parameters do not contain expected files\n" |
118 |
-+ ); |
119 |
-+ } |
120 |
-+ elsif (my $dir = $self->args('htslib')) { |
121 |
- return 1 if $self->find_hts_in_build_dir($dir); |
122 |
- return 1 if $self->find_hts_in_install_dir($dir); |
123 |
- $self->die_hts_not_found( |
124 |
-@@ -155,6 +161,22 @@ |
125 |
- } |
126 |
- } |
127 |
- |
128 |
-+sub find_hts_in_split_install_dirs { |
129 |
-+ my ($self, $hts_include, $hts_lib) = @_; |
130 |
-+ |
131 |
-+ chomp($hts_include); |
132 |
-+ chomp($hts_lib); |
133 |
-+ |
134 |
-+ if ((-f "$hts_lib/libhts.so" || -f "$hts_lib/libhts.a") && -f "$hts_include/hts.h") { |
135 |
-+ $self->config_data('hts_lib' => $hts_lib); |
136 |
-+ $self->config_data('hts_include' => $hts_include); |
137 |
-+ return 1; |
138 |
-+ } |
139 |
-+ else { |
140 |
-+ return 0; |
141 |
-+ } |
142 |
-+} |
143 |
-+ |
144 |
- sub die_hts_not_found { |
145 |
- my ($self, $msg) = @_; |
146 |
- |
147 |
-@@ -166,6 +188,7 @@ |
148 |
- |
149 |
- This script will attempt to locate htslib by looking for hts.h and libhts.so/libhts.a in: |
150 |
- |
151 |
-+ 0. --htslib-includedir and --htslib-libdir command line arguments |
152 |
- 1. --htslib command line argument |
153 |
- 2. HTSLIB_DIR environment variable |
154 |
- 3. --prefix command line argument (which also sets installation location) |