* [gentoo-commits] proj/sci:master commit in: sci-biology/bamtools/files/, sci-biology/bamtools/
@ 2015-12-13 12:28 Justin Lecher
0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher @ 2015-12-13 12:28 UTC (permalink / raw
To: gentoo-commits
commit: fb6f77ba92df2b60eb7132ffa0434cfad52875e7
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 13 12:28:27 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Dec 13 12:28:27 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=fb6f77ba
sci-biology/bamtools: Unbundle jsoncpp
Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-biology/bamtools/bamtools-9999.ebuild | 23 ++++++++++++----------
.../bamtools/files/bamtools-9999-unbundle.patch | 23 ++++++++++++++++++++++
2 files changed, 36 insertions(+), 10 deletions(-)
diff --git a/sci-biology/bamtools/bamtools-9999.ebuild b/sci-biology/bamtools/bamtools-9999.ebuild
index 25a6001..f69a02c 100644
--- a/sci-biology/bamtools/bamtools-9999.ebuild
+++ b/sci-biology/bamtools/bamtools-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -14,16 +14,19 @@ EGIT_REPO_URI="https://github.com/pezmaster31/bamtools.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
-IUSE=""
+IUSE="static-libs"
-S="${WORKDIR}"/src
+DEPEND="
+ >=dev-libs/jsoncpp-0.5.0-r1
+ <dev-libs/jsoncpp-1
+ sys-libs/zlib"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}"/${P}-unbundle.patch )
src_install() {
- dobin bin/bamtools
- dolib lib/*
- insinto /usr/include/bamtools/api
- doins include/api/*
- insinto /usr/include/bamtools/shared
- doins include/shared/*
- dodoc README
+ cmake-utils_src_install
+ if ! use static-libs; then
+ rm "${ED}"/usr/$(get_libdir)/*.a || die
+ fi
}
diff --git a/sci-biology/bamtools/files/bamtools-9999-unbundle.patch b/sci-biology/bamtools/files/bamtools-9999-unbundle.patch
new file mode 100644
index 0000000..c07c59d
--- /dev/null
+++ b/sci-biology/bamtools/files/bamtools-9999-unbundle.patch
@@ -0,0 +1,23 @@
+--- bamtools-2.3.0/src/api/CMakeLists.txt.ori 2013-08-27 18:00:43.000000000 +0200
++++ bamtools-2.3.0/src/api/CMakeLists.txt 2013-08-27 18:00:47.000000000 +0200
+@@ -54,8 +54,8 @@
+ target_link_libraries( BamTools-static ${APILibs} )
+
+ # set library install destinations
+-install( TARGETS BamTools LIBRARY DESTINATION "lib/bamtools" RUNTIME DESTINATION "bin")
+-install( TARGETS BamTools-static ARCHIVE DESTINATION "lib/bamtools")
++install( TARGETS BamTools LIBRARY DESTINATION "lib${LIB_SUFFIX}" RUNTIME DESTINATION "bin")
++install( TARGETS BamTools-static ARCHIVE DESTINATION "lib${LIB_SUFFIX}")
+
+ # export API headers
+ include(../ExportHeader.cmake)
+--- bamtools-2.3.0/src/CMakeLists.txt.ori 2013-08-27 18:03:10.000000000 +0200
++++ bamtools-2.3.0/src/CMakeLists.txt 2013-08-27 18:03:23.000000000 +0200
+@@ -6,7 +6,6 @@
+ # ==========================
+
+ add_subdirectory( api )
+-add_subdirectory( third_party )
+ add_subdirectory( toolkit )
+ add_subdirectory( utils )
+
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-biology/bamtools/files/, sci-biology/bamtools/
@ 2017-11-02 3:24 David Seifert
0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2017-11-02 3:24 UTC (permalink / raw
To: gentoo-commits
commit: 06f810d3ebc4b07fdbac596b18d5157df07c309f
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 2 03:24:16 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Nov 2 03:24:16 2017 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=06f810d3
sci-biology/bamtools: Remove, everything in main tree
sci-biology/bamtools/bamtools-9999.ebuild | 31 ----------------------
.../bamtools/files/bamtools-2.4.0-unbundle.patch | 23 ----------------
.../bamtools/files/bamtools-9999-unbundle.patch | 23 ----------------
sci-biology/bamtools/metadata.xml | 16 -----------
4 files changed, 93 deletions(-)
diff --git a/sci-biology/bamtools/bamtools-9999.ebuild b/sci-biology/bamtools/bamtools-9999.ebuild
deleted file mode 100644
index b02fc7d5b..000000000
--- a/sci-biology/bamtools/bamtools-9999.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils git-r3
-
-DESCRIPTION="A programmer's API and an end-user's toolkit for handling BAM files"
-HOMEPAGE="https://github.com/pezmaster31/bamtools"
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/pezmaster31/bamtools.git"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS=""
-IUSE="static-libs"
-
-DEPEND="
- >=dev-libs/jsoncpp-0.5.0-r1
- <dev-libs/jsoncpp-1
- sys-libs/zlib"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}"/${P}-unbundle.patch )
-
-src_install() {
- cmake-utils_src_install
- if ! use static-libs; then
- rm "${ED}"/usr/$(get_libdir)/*.a || die
- fi
-}
diff --git a/sci-biology/bamtools/files/bamtools-2.4.0-unbundle.patch b/sci-biology/bamtools/files/bamtools-2.4.0-unbundle.patch
deleted file mode 100644
index c07c59d2c..000000000
--- a/sci-biology/bamtools/files/bamtools-2.4.0-unbundle.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- bamtools-2.3.0/src/api/CMakeLists.txt.ori 2013-08-27 18:00:43.000000000 +0200
-+++ bamtools-2.3.0/src/api/CMakeLists.txt 2013-08-27 18:00:47.000000000 +0200
-@@ -54,8 +54,8 @@
- target_link_libraries( BamTools-static ${APILibs} )
-
- # set library install destinations
--install( TARGETS BamTools LIBRARY DESTINATION "lib/bamtools" RUNTIME DESTINATION "bin")
--install( TARGETS BamTools-static ARCHIVE DESTINATION "lib/bamtools")
-+install( TARGETS BamTools LIBRARY DESTINATION "lib${LIB_SUFFIX}" RUNTIME DESTINATION "bin")
-+install( TARGETS BamTools-static ARCHIVE DESTINATION "lib${LIB_SUFFIX}")
-
- # export API headers
- include(../ExportHeader.cmake)
---- bamtools-2.3.0/src/CMakeLists.txt.ori 2013-08-27 18:03:10.000000000 +0200
-+++ bamtools-2.3.0/src/CMakeLists.txt 2013-08-27 18:03:23.000000000 +0200
-@@ -6,7 +6,6 @@
- # ==========================
-
- add_subdirectory( api )
--add_subdirectory( third_party )
- add_subdirectory( toolkit )
- add_subdirectory( utils )
-
diff --git a/sci-biology/bamtools/files/bamtools-9999-unbundle.patch b/sci-biology/bamtools/files/bamtools-9999-unbundle.patch
deleted file mode 100644
index c07c59d2c..000000000
--- a/sci-biology/bamtools/files/bamtools-9999-unbundle.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- bamtools-2.3.0/src/api/CMakeLists.txt.ori 2013-08-27 18:00:43.000000000 +0200
-+++ bamtools-2.3.0/src/api/CMakeLists.txt 2013-08-27 18:00:47.000000000 +0200
-@@ -54,8 +54,8 @@
- target_link_libraries( BamTools-static ${APILibs} )
-
- # set library install destinations
--install( TARGETS BamTools LIBRARY DESTINATION "lib/bamtools" RUNTIME DESTINATION "bin")
--install( TARGETS BamTools-static ARCHIVE DESTINATION "lib/bamtools")
-+install( TARGETS BamTools LIBRARY DESTINATION "lib${LIB_SUFFIX}" RUNTIME DESTINATION "bin")
-+install( TARGETS BamTools-static ARCHIVE DESTINATION "lib${LIB_SUFFIX}")
-
- # export API headers
- include(../ExportHeader.cmake)
---- bamtools-2.3.0/src/CMakeLists.txt.ori 2013-08-27 18:03:10.000000000 +0200
-+++ bamtools-2.3.0/src/CMakeLists.txt 2013-08-27 18:03:23.000000000 +0200
-@@ -6,7 +6,6 @@
- # ==========================
-
- add_subdirectory( api )
--add_subdirectory( third_party )
- add_subdirectory( toolkit )
- add_subdirectory( utils )
-
diff --git a/sci-biology/bamtools/metadata.xml b/sci-biology/bamtools/metadata.xml
deleted file mode 100644
index 7f0271ab3..000000000
--- a/sci-biology/bamtools/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?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>
- <longdescription>BAM (Binary Alignment/Map) format is useful for storing large DNA sequence alignments. It is closely related to the text-based SAM format, but optimized for random-access. BamTools provides a fast, flexible C++ API for reading and writing BAM files.</longdescription>
- <upstream>
- <remote-id type="github">pezmaster31/bamtools</remote-id>
- </upstream>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-02 3:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-02 3:24 [gentoo-commits] proj/sci:master commit in: sci-biology/bamtools/files/, sci-biology/bamtools/ David Seifert
-- strict thread matches above, loose matches on Subject: below --
2015-12-13 12:28 Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox