From 633977dde15ac4778ad467b010ae27c8a2f5611a Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 30 Jul 2016 12:06:46 +0200 Subject: sci-biology/seqan: version bump Package-Manager: portage-2.3.0 --- sci-biology/seqan/Manifest | 2 +- sci-biology/seqan/seqan-2.1.1.ebuild | 74 ----------------------------------- sci-biology/seqan/seqan-2.2.0.ebuild | 76 ++++++++++++++++++++++++++++++++++++ 3 files changed, 77 insertions(+), 75 deletions(-) delete mode 100644 sci-biology/seqan/seqan-2.1.1.ebuild create mode 100644 sci-biology/seqan/seqan-2.2.0.ebuild (limited to 'sci-biology/seqan') diff --git a/sci-biology/seqan/Manifest b/sci-biology/seqan/Manifest index ab534dc90b93..79cd2b396661 100644 --- a/sci-biology/seqan/Manifest +++ b/sci-biology/seqan/Manifest @@ -1,2 +1,2 @@ DIST seqan-src-1.4.2.tar.gz 120601994 SHA256 2b2c48572ea82fc2ac6a6e46bbd4204b6f8200fde717612797426af5ff6b82c3 SHA512 dbb56167c507b70111619a414054d9e70f1db42507bbfdf9e40c5dcbbe9489ad4187d882e638a675e96551c860c08f8203c929c4c9a558b19ea7d6059f50492a WHIRLPOOL 3c7f38e35d826adad94d53d359df8b5f1fb51746f3103457b12b41bd0bf161dc463d4a1932b0b23f2274d723c796116af0940260e1922ce806bb2466445788f0 -DIST seqan-src-2.1.1.tar.gz 110874831 SHA256 df083d5939d7e73fd00bbc6bb291ac7ea7b8d446cf89a9758fdffdc0eca9ec1c SHA512 b82eb93129921eb867785add46d63f667c07f40556cd431acc73489c1032c19ff65b49415697415bdc7b788ffb8a80ab8d9e987fa38fc39c2399ff265fdc333f WHIRLPOOL b684d14db0cf22c7d1428c589293ee69674225e5b91845532f3135950a5a6178d4434b783177b3622e8661247856a20b42a7fb9275df4324124d2b21d728790f +DIST seqan-src-2.2.0.tar.gz 110936119 SHA256 6add074932c2723ef1fb658c88f906bdd6ced1fc34cb16a7410251ffc4cb8cc8 SHA512 1097372976ec9c86baa3787ac38aa4fde3a3e153d81c22435e6a12df87d8063165f27406de33851bffadd904b0ac4ea579a28625cff6257fe8c14d906f408421 WHIRLPOOL 1241488ee52d315b6ca68ff730eb4d356db2102b8e78eb0be13cd9c07f0b04e96821a78944b3738204f67f08874cf328b0ef609b373cb8b077524b17b1e9650d diff --git a/sci-biology/seqan/seqan-2.1.1.ebuild b/sci-biology/seqan/seqan-2.1.1.ebuild deleted file mode 100644 index 401b63c17525..000000000000 --- a/sci-biology/seqan/seqan-2.1.1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit cmake-utils python-single-r1 - -DESCRIPTION="C++ Sequence Analysis Library" -HOMEPAGE="http://www.seqan.de/" -SRC_URI="http://packages.${PN}.de/${PN}-src/${PN}-src-${PV}.tar.gz" - -SLOT="$(get_version_component_range 1-2)" -LICENSE="BSD GPL-3" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="cpu_flags_x86_sse4_1 doc test" -DEPEND="sys-libs/zlib - app-arch/bzip2 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -REQUIRED_USE="${PYTHON_REQUIRED_USE} cpu_flags_x86_sse4_1" - -S="${WORKDIR}"/${PN}-${PN}-v${PV} - -src_prepare() { - # install docs in proper Gentoo structure - sed -e "s#share/doc/seqan#share/doc/${PF}#" \ - -e "s#\"share/doc/\${APP_NAME}\"#\"share/doc/${PF}/\${APP_NAME}\"#" \ - -i util/cmake/SeqAnBuildSystem.cmake dox/CMakeLists.txt || die - - # cmake module - sed -e "s#find_path(_SEQAN_BASEDIR \"seqan\"#find_path(_SEQAN_BASEDIR \"seqan-${SLOT}\"#" \ - -e 's#NO_DEFAULT_PATH)#PATHS /usr)#' \ - -e "s#set(SEQAN_INCLUDE_DIRS_MAIN \${SEQAN_INCLUDE_DIRS_MAIN} \${_SEQAN_BASEDIR})#set(SEQAN_INCLUDE_DIRS_MAIN \${SEQAN_INCLUDE_DIRS_MAIN} \${_SEQAN_BASEDIR}/seqan-${SLOT})#" \ - -i util/cmake/FindSeqAn.cmake || die - - # pkg-config file - sed -e "s#includedir=\${prefix}/include#includedir=\${prefix}/include/${PN}-${SLOT}#" \ - -i util/pkgconfig/${PN}.pc.in || die - - rm -f util/cmake/FindZLIB.cmake || die - cmake-utils_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DBoost_NO_BOOST_CMAKE=ON - -DSEQAN_BUILD_SYSTEM=SEQAN_RELEASE_LIBRARY - -DSEQAN_NO_DOX="$(usex !doc)" - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile - cd "${BUILD_DIR}" || die - use doc && emake dox -} - -src_install() { - cmake-utils_src_install - - # SLOT header such that different seqan versions can be installed in parallel - mkdir "${ED}"/usr/include/${PN}-${SLOT} || die - mv "${ED}"/usr/include/{${PN},${PN}-${SLOT}/} || die - - # pkg-config file - mv "${ED}"/usr/share/pkgconfig/${PN}-{$(get_version_component_range 1),${SLOT}}.pc || die - - dosym /usr/share/pkgconfig/${PN}-{${SLOT},$(get_version_component_range 1)}.pc -} diff --git a/sci-biology/seqan/seqan-2.2.0.ebuild b/sci-biology/seqan/seqan-2.2.0.ebuild new file mode 100644 index 000000000000..cac98d60febc --- /dev/null +++ b/sci-biology/seqan/seqan-2.2.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils python-single-r1 + +DESCRIPTION="C++ Sequence Analysis Library" +HOMEPAGE="http://www.seqan.de/" +SRC_URI="http://packages.${PN}.de/${PN}-src/${PN}-src-${PV}.tar.gz" + +SLOT="$(get_version_component_range 1-2)" +LICENSE="BSD GPL-3" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="cpu_flags_x86_sse4_1 doc test" +DEPEND="sys-libs/zlib + app-arch/bzip2 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +REQUIRED_USE="${PYTHON_REQUIRED_USE} cpu_flags_x86_sse4_1" + +S="${WORKDIR}"/${PN}-${PN}-v${PV} + +src_prepare() { + # install docs in proper Gentoo structure + sed -e "s#share/doc/seqan#share/doc/${PF}#" \ + -e "s#\"share/doc/\${APP_NAME}\"#\"share/doc/${PF}/\${APP_NAME}\"#" \ + -i util/cmake/SeqAnBuildSystem.cmake dox/CMakeLists.txt || die + + # cmake module + sed -e "s#find_path(_SEQAN_BASEDIR \"seqan\"#find_path(_SEQAN_BASEDIR \"seqan-${SLOT}\"#" \ + -e 's#NO_DEFAULT_PATH)#PATHS /usr)#' \ + -e "s#set(SEQAN_INCLUDE_DIRS_MAIN \${SEQAN_INCLUDE_DIRS_MAIN} \${_SEQAN_BASEDIR})#set(SEQAN_INCLUDE_DIRS_MAIN \${SEQAN_INCLUDE_DIRS_MAIN} \${_SEQAN_BASEDIR}/seqan-${SLOT})#" \ + -i util/cmake/FindSeqAn.cmake || die + + # pkg-config file + sed -e "s#includedir=\${prefix}/include#includedir=\${prefix}/include/${PN}-${SLOT}#" \ + -i util/pkgconfig/${PN}.pc.in || die + + rm -f util/cmake/FindZLIB.cmake || die + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DBoost_NO_BOOST_CMAKE=ON + -DSEQAN_BUILD_SYSTEM=SEQAN_RELEASE_LIBRARY + -DSEQAN_NO_DOX="$(usex !doc)" + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + cd "${BUILD_DIR}" || die + use doc && emake dox +} + +src_install() { + cmake-utils_src_install + + # SLOT header such that different seqan versions can be installed in parallel + mkdir "${ED}"/usr/include/${PN}-${SLOT} || die + mv "${ED}"/usr/include/{${PN},${PN}-${SLOT}/} || die + + # pkg-config file + mv "${ED}"/usr/share/pkgconfig/${PN}-{$(get_version_component_range 1),${SLOT}}.pc || die + + pushd "${ED}"/usr/share/pkgconfig/ >/dev/null + ln -s ${PN}-{${SLOT},$(get_version_component_range 1)}.pc || die + popd >/dev/null +} -- cgit v1.2.3-65-gdbad