* [gentoo-commits] proj/sci:master commit in: sci-biology/vt/
@ 2017-01-08 23:18 Martin Mokrejs
0 siblings, 0 replies; 3+ messages in thread
From: Martin Mokrejs @ 2017-01-08 23:18 UTC (permalink / raw
To: gentoo-commits
commit: a3653f104325e48963deb241fd0a8867e516f76f
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Sun Jan 8 23:18:30 2017 +0000
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Sun Jan 8 23:18:30 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a3653f10
sci-biology/vt: new package, uses static libs
Package-Manager: Portage-2.3.3, Repoman-2.3.1
sci-biology/vt/metadata.xml | 12 ++++++++++
sci-biology/vt/vt-9999.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 63 insertions(+)
diff --git a/sci-biology/vt/metadata.xml b/sci-biology/vt/metadata.xml
new file mode 100644
index 0000000..f68a1b6
--- /dev/null
+++ b/sci-biology/vt/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mmokrejs@fold.natur.cuni.cz</email>
+ <name>Martin Mokrejs</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci-biology@gentoo.org</email>
+ <name>Gentoo Biology Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sci-biology/vt/vt-9999.ebuild b/sci-biology/vt/vt-9999.ebuild
new file mode 100644
index 0000000..ca197d3
--- /dev/null
+++ b/sci-biology/vt/vt-9999.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit git-r3 toolchain-funcs
+
+DESCRIPTION="A tool set for short variant discovery in genetic sequence data"
+HOMEPAGE="https://github.com/atks/vt
+ http://genome.sph.umich.edu/wiki/vt"
+EGIT_REPO_URI="https://github.com/atks/vt.git"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="pdf"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ pdf? ( dev-texlive/texlive-latex )"
+# >=sci-libs/htslib-1.3.2
+# dev-cpp/tclap
+# sci-libs/libsvm
+# dev-libs/libpcre
+# https://github.com/atks/Rmath
+
+# The 3rd party stuff is bundled because they have special modifications that
+# I made for vt, so it is probably not a good idea to depend on installed components.
+# For example TCLAP is modified partially, libsvm has some minor input/output format changes,
+# Rmath has the header inclusion to always generate the .a object file
+
+# Compiles statically bundled version of htslib and Rmath, only libpcre2 is dynamically linked
+src_prepare(){
+ sed -e "s/= -O3/= ${CFLAGS}/" -i Makefile || die
+ sed -e 's/^CXX = /CXX ?= /' -i Makefile || die
+ sed -e "s/-g -Wall -O2/${CFLAGS}/" -i lib/htslib/Makefile || die
+ sed -e "s/= gcc/= $(tc-getCC)/" -i lib/htslib/Makefile || die
+ sed -e "s/gcc -g -O3/$(tc-getCC) ${CFLAGS}/" -i lib/pcre2/Makefile || die
+ sed -e "s/-Wall -O3 -fPIC/${CXXFLAGS} -fPIC/" -i lib/libsvm/Makefile || die
+# # TODO zap bundled version of:
+# # lib/htslib (version 1.3)
+# # lib/tclap
+# # lib/Rmath
+# # lib/libsvm
+# # lib/pcre2
+}
+
+src_install(){
+ dobin vt
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-biology/vt/
@ 2017-01-31 19:41 Martin Mokrejs
0 siblings, 0 replies; 3+ messages in thread
From: Martin Mokrejs @ 2017-01-31 19:41 UTC (permalink / raw
To: gentoo-commits
commit: 343b29596d5204870cc1e52840fec5e8b3177e8c
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Tue Jan 31 19:41:44 2017 +0000
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Tue Jan 31 19:41:44 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=343b2959
sci-biology/vt: depend on either of the latex packages
Package-Manager: Portage-2.3.3, Repoman-2.3.1
sci-biology/vt/vt-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-biology/vt/vt-9999.ebuild b/sci-biology/vt/vt-9999.ebuild
index ca197d3..77c82bf 100644
--- a/sci-biology/vt/vt-9999.ebuild
+++ b/sci-biology/vt/vt-9999.ebuild
@@ -18,7 +18,7 @@ IUSE="pdf"
DEPEND=""
RDEPEND="${DEPEND}
- pdf? ( dev-texlive/texlive-latex )"
+ pdf? ( dev-texlive/texlive-latex || ( dev-texlive/texlive-basic ) )"
# >=sci-libs/htslib-1.3.2
# dev-cpp/tclap
# sci-libs/libsvm
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-biology/vt/
@ 2021-03-06 16:13 Andrew Ammerlaan
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2021-03-06 16:13 UTC (permalink / raw
To: gentoo-commits
commit: 280c1549b69cc4b0a7f68def5671c5a27ac59e34
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Mar 6 16:11:53 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Mar 6 16:11:53 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=280c1549
sci-biology/vt: EAPI bump
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
sci-biology/vt/vt-9999.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/sci-biology/vt/vt-9999.ebuild b/sci-biology/vt/vt-9999.ebuild
index 59b45030c..fbc2d7a5e 100644
--- a/sci-biology/vt/vt-9999.ebuild
+++ b/sci-biology/vt/vt-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
inherit git-r3 toolchain-funcs
@@ -31,6 +31,7 @@ RDEPEND="${DEPEND}
# Compiles statically bundled version of htslib and Rmath, only libpcre2 is dynamically linked
src_prepare(){
+ default
sed -e "s/= -O3/= ${CFLAGS}/" -i Makefile || die
sed -e 's/^CXX = /CXX ?= /' -i Makefile || die
sed -e "s/-g -Wall -O2/${CFLAGS}/" -i lib/htslib/Makefile || die
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-06 16:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-31 19:41 [gentoo-commits] proj/sci:master commit in: sci-biology/vt/ Martin Mokrejs
-- strict thread matches above, loose matches on Subject: below --
2021-03-06 16:13 Andrew Ammerlaan
2017-01-08 23:18 Martin Mokrejs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox