Gentoo Archives: gentoo-commits

From: Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/hisat2/files/, sci-biology/hisat2/
Date: Fri, 07 Aug 2020 12:15:31
Message-Id: 1596802521.18242e80e4a76451d4559ec3c788304525f34446.mmokrejs@gentoo
1 commit: 18242e80e4a76451d4559ec3c788304525f34446
2 Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Fri Aug 7 12:15:21 2020 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Fri Aug 7 12:15:21 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=18242e80
7
8 sci-biology/hisat2: version bump
9
10 Package-Manager: Portage-2.3.100, Repoman-2.3.22
11 Signed-off-by: Martin Mokrejs <mmokrejs <AT> fold.natur.cuni.cz>
12
13 ...S.patch => hisat2-2.2.1-respect_CXXFLAGS.patch} | 22 +++++-----------------
14 .../{hisat2-2.0.5.ebuild => hisat2-2.2.1.ebuild} | 6 +++---
15 2 files changed, 8 insertions(+), 20 deletions(-)
16
17 diff --git a/sci-biology/hisat2/files/hisat2-2.0.5-respect_CXXFLAGS.patch b/sci-biology/hisat2/files/hisat2-2.2.1-respect_CXXFLAGS.patch
18 similarity index 61%
19 rename from sci-biology/hisat2/files/hisat2-2.0.5-respect_CXXFLAGS.patch
20 rename to sci-biology/hisat2/files/hisat2-2.2.1-respect_CXXFLAGS.patch
21 index 26db123c8..4ca550c66 100644
22 --- a/sci-biology/hisat2/files/hisat2-2.0.5-respect_CXXFLAGS.patch
23 +++ b/sci-biology/hisat2/files/hisat2-2.2.1-respect_CXXFLAGS.patch
24 @@ -1,18 +1,6 @@
25 ---- hisat2-2.0.5/Makefile.ori 2017-03-01 11:35:36.430368298 +0100
26 -+++ hisat2-2.0.5/Makefile 2017-03-01 11:43:42.974034697 +0100
27 -@@ -23,9 +23,8 @@
28 - INC =
29 - GCC_PREFIX = $(shell dirname `which gcc`)
30 - GCC_SUFFIX =
31 --CC = $(GCC_PREFIX)/gcc$(GCC_SUFFIX)
32 --CPP = $(GCC_PREFIX)/g++$(GCC_SUFFIX)
33 --CXX = $(CPP)
34 -+CXX ?= $(GCC_PREFIX)/g++$(GCC_SUFFIX)
35 -+CXXFLAGS ?= "-O3"
36 - HEADERS = $(wildcard *.h)
37 - BOWTIE_MM = 1
38 - BOWTIE_SHARED_MEM = 0
39 -@@ -134,30 +133,30 @@
40 +--- hisat2-2.2.1/Makefile.ori 2020-08-07 13:12:25.393396171 +0200
41 ++++ hisat2-2.2.1/Makefile 2020-08-07 13:15:56.845080223 +0200
42 +@@ -152,30 +152,30 @@
43 VERSION = $(shell cat VERSION)
44
45 # Convert BITS=?? to a -m flag
46 @@ -43,8 +31,8 @@
47 -SSE_FLAG=-msse2
48 +SSE_FLAG?=-msse2
49
50 --DEBUG_FLAGS = -O0 -g3 $(BIToS_FLAG) $(SSE_FLAG)
51 -+DEBUG_FLAGS = -g3 -O0 $(CXXFLAGS) $(BIToS_FLAG) $(SSE_FLAG)
52 +-DEBUG_FLAGS = -O0 -g3 $(BITS_FLAG) $(SSE_FLAG)
53 ++DEBUG_FLAGS = -g3 -O0 $(CXXFLAGS) $(BITS_FLAG) $(SSE_FLAG)
54 DEBUG_DEFS = -DCOMPILER_OPTIONS="\"$(DEBUG_FLAGS) $(EXTRA_FLAGS)\""
55 -RELEASE_FLAGS = -O3 $(BITS_FLAG) $(SSE_FLAG) -funroll-loops -g3
56 +RELEASE_FLAGS = $(CXXFLAGS) $(BITS_FLAG) $(SSE_FLAG) -funroll-loops
57
58 diff --git a/sci-biology/hisat2/hisat2-2.0.5.ebuild b/sci-biology/hisat2/hisat2-2.2.1.ebuild
59 similarity index 89%
60 rename from sci-biology/hisat2/hisat2-2.0.5.ebuild
61 rename to sci-biology/hisat2/hisat2-2.2.1.ebuild
62 index d200a57ac..5532d2b71 100644
63 --- a/sci-biology/hisat2/hisat2-2.0.5.ebuild
64 +++ b/sci-biology/hisat2/hisat2-2.2.1.ebuild
65 @@ -1,9 +1,9 @@
66 -# Copyright 1999-2017 Gentoo Foundation
67 +# Copyright 1999-2020 Gentoo Authors
68 # Distributed under the terms of the GNU General Public License v2
69
70 EAPI=6
71
72 -PYTHON_COMPAT=( python2_7 )
73 +PYTHON_COMPAT=( python3_{6,7,8} )
74
75 inherit python-r1
76
77 @@ -11,7 +11,7 @@ DESCRIPTION="Align DNA reads to a population of genomes"
78 HOMEPAGE="
79 https://ccb.jhu.edu/software/hisat2
80 https://github.com/infphilo/hisat2"
81 -SRC_URI="ftp://ftp.ccb.jhu.edu/pub/infphilo/hisat2/downloads/${P}-source.zip"
82 +SRC_URI="https://cloud.biohpc.swmed.edu/index.php/s/fE9QCsX3NH4QwBi/download -> ${P}.zip"
83
84 LICENSE="GPL-3+"
85 SLOT="0"