Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/shrimp/, profiles/
Date: Fri, 09 Oct 2020 07:35:32
Message-Id: 1602228898.7a7bbd341b0f104d19176967a7020aa38de06dc4.mgorny@gentoo
1 commit: 7a7bbd341b0f104d19176967a7020aa38de06dc4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 9 07:32:54 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 9 07:34:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a7bbd34
7
8 sci-biology/shrimp: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/735440
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 profiles/package.mask | 1 -
14 sci-biology/shrimp/Manifest | 1 -
15 sci-biology/shrimp/metadata.xml | 8 ----
16 sci-biology/shrimp/shrimp-2.2.3.ebuild | 82 ----------------------------------
17 4 files changed, 92 deletions(-)
18
19 diff --git a/profiles/package.mask b/profiles/package.mask
20 index 409c8f2ad0e..2845ca18263 100644
21 --- a/profiles/package.mask
22 +++ b/profiles/package.mask
23 @@ -517,7 +517,6 @@ net-wireless/python-wifi
24 sci-biology/amos
25 sci-biology/embassy-meme
26 sci-biology/meme
27 -sci-biology/shrimp
28
29 # Arfrever Frehtes Taifersar Arahesis <arfrever.fta@×××××.com> (2020-09-01)
30 # Mismatched version (bug #695022). Masked to force upgrade to 2.0.4_pre20200306162733.
31
32 diff --git a/sci-biology/shrimp/Manifest b/sci-biology/shrimp/Manifest
33 deleted file mode 100644
34 index 5be68cd79e2..00000000000
35 --- a/sci-biology/shrimp/Manifest
36 +++ /dev/null
37 @@ -1 +0,0 @@
38 -DIST SHRiMP_2_2_3.src.tar.gz 4596867 BLAKE2B 64e485b8e2524062c11c581bbcac426800c9f42f61da467378dbfd3add63f721a9da9c04df61bde3704e654a20395e799e89fc5e47129b1d3f5bc93f960470fa SHA512 029179aeeb317194b998c29aa91d1d2ce5ccbc6f9ad4a1043d1e5fc75d3344c2f39500ab07e8389c09fa179f0c9b59afee22691bc4eb5d396777f4e0fe25f2d5
39
40 diff --git a/sci-biology/shrimp/metadata.xml b/sci-biology/shrimp/metadata.xml
41 deleted file mode 100644
42 index 959160fe46b..00000000000
43 --- a/sci-biology/shrimp/metadata.xml
44 +++ /dev/null
45 @@ -1,8 +0,0 @@
46 -<?xml version="1.0" encoding="UTF-8"?>
47 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
48 -<pkgmetadata>
49 - <maintainer type="project">
50 - <email>sci-biology@g.o</email>
51 - <name>Gentoo Biology Project</name>
52 - </maintainer>
53 -</pkgmetadata>
54
55 diff --git a/sci-biology/shrimp/shrimp-2.2.3.ebuild b/sci-biology/shrimp/shrimp-2.2.3.ebuild
56 deleted file mode 100644
57 index 2b57b032a1b..00000000000
58 --- a/sci-biology/shrimp/shrimp-2.2.3.ebuild
59 +++ /dev/null
60 @@ -1,82 +0,0 @@
61 -# Copyright 1999-2015 Gentoo Foundation
62 -# Distributed under the terms of the GNU General Public License v2
63 -
64 -EAPI=5
65 -
66 -PYTHON_COMPAT=( python2_7 )
67 -
68 -inherit flag-o-matic python-single-r1 toolchain-funcs
69 -
70 -MY_PV=${PV//./_}
71 -
72 -DESCRIPTION="SHort Read Mapping Package"
73 -HOMEPAGE="http://compbio.cs.toronto.edu/shrimp/"
74 -SRC_URI="http://compbio.cs.toronto.edu/shrimp/releases/SHRiMP_${MY_PV}.src.tar.gz"
75 -
76 -LICENSE="shrimp"
77 -SLOT="0"
78 -KEYWORDS="~amd64 ~x86"
79 -IUSE="custom-cflags +cpu_flags_x86_sse2"
80 -
81 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
82 -
83 -# file collision on /usr/bin/utils #453044
84 -DEPEND="!sci-mathematics/cado-nfs"
85 -RDEPEND="${DEPEND}
86 - ${PYTHON_DEPS}"
87 -
88 -S=${WORKDIR}/SHRiMP_${MY_PV}
89 -
90 -pkg_pretend() {
91 - use cpu_flags_x86_sse2 || die "This package needs sse2 support in your CPU"
92 -}
93 -
94 -pkg_setup() {
95 - if [[ ${CC} == *gcc* ]] && ! tc-has-openmp; then
96 - elog "Please set CC to an OPENMP capable compiler (e.g. gcc[openmp] or icc"
97 - die "C compiler lacks OPENMP support"
98 - fi
99 - python-single-r1_pkg_setup
100 -}
101 -
102 -src_prepare() {
103 - sed \
104 - -e '1 a #include <stdint.h>' \
105 - -i common/dag_glue.cpp || die
106 - # respect LDFLAGS wrt 331823
107 - sed \
108 - -e "s/LDFLAGS/LIBS/" \
109 - -e "s/\$(LD)/& \$(LDFLAGS)/" \
110 - -e 's/-static//' \
111 - -i Makefile || die
112 -
113 - append-flags -fopenmp
114 - if ! use custom-cflags; then
115 - append-flags -O3
116 - replace-flags -O* -O3
117 - fi
118 - tc-export CXX
119 -
120 - cd utils || die
121 - sed -e '/^#!/d' -i *py || die
122 - sed -e '1i#!/usr/bin/python' -i *py || die
123 -}
124 -
125 -src_compile() {
126 - emake CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
127 -}
128 -
129 -src_install() {
130 - local i
131 - newdoc bin/README README.bin && rm bin/README
132 - dobin bin/* utils/split-contigs utils/temp-sink
133 - dodoc HISTORY README TODO SPLITTING_AND_MERGING SCORES_AND_PROBABILITES
134 -
135 - pushd utils > /dev/null
136 -
137 - python_doscript *py
138 -
139 - rm *.py *.o *.c split-contigs temp-sink || die
140 - insinto /usr/share/${PN}
141 - doins -r *
142 -}