summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2015-09-23 23:18:23 -0600
committerChristoph Junghans <ottxor@gentoo.org>2015-09-23 23:21:04 -0600
commit7b3a175ec84b840060c68f06ec5e5ac95528e1b4 (patch)
tree00cc55460183abe556b8d3ad19e59fe72bad7938 /sci-chemistry
parentsci-libs/votca-tools: version bump (diff)
downloadgentoo-7b3a175ec84b840060c68f06ec5e5ac95528e1b4.tar.gz
gentoo-7b3a175ec84b840060c68f06ec5e5ac95528e1b4.tar.bz2
gentoo-7b3a175ec84b840060c68f06ec5e5ac95528e1b4.zip
sci-chemistry/votca-csg: version bump
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/votca-csg/Manifest3
-rw-r--r--sci-chemistry/votca-csg/votca-csg-1.3_rc1.ebuild114
2 files changed, 117 insertions, 0 deletions
diff --git a/sci-chemistry/votca-csg/Manifest b/sci-chemistry/votca-csg/Manifest
index 9590acebdb99..3bbb48473b7b 100644
--- a/sci-chemistry/votca-csg/Manifest
+++ b/sci-chemistry/votca-csg/Manifest
@@ -1,6 +1,9 @@
DIST votca-csg-1.2.2.tar.gz 188405 SHA256 9974c30b8c3f2b9bbdfa56ca12e981cfd015fa7c557eec30cd11ee11cb167775 SHA512 0265aa5229eb248c1403248d3253f02cc58e710dca40a74470e2fa64c70703fa7008382ba220eda6135537398141ddb5bcf1db236b0996d1774f2ef55199f2e8 WHIRLPOOL 92394d6b162b36951b8763be2380b532625dc940f11588c80b33c232ab5b7bbb9b3e5adbdb236cb183d51ed631ae342407cf5b3cda91b365e474389ec1b378c4
DIST votca-csg-1.2.4.tar.gz 188345 SHA256 375b428c90247a3877f71c2d96200969bcaf2b081b8c7332ac770720df43646a SHA512 da814154be6700b56509d899ea16a2f974fd951792c78f2f8717b39b0165fe19121fefb2ef9531c63a8d4558d15776058d24b13e0e7ad0abb9d7b11fac0f5d1a WHIRLPOOL 64a86b09ae00435c68bf09e960c1d1738648811fe2a9ffb18f5529d30d6f94ebf1fc218b14e1ee0bfc911e5ca1e92c25404be045cf28e16ced98fd7ee4421418
+DIST votca-csg-1.3_rc1.tar.gz 241518 SHA256 805f32afb122d5d8ff382effec776ec6b1aed94f03cd56f463440050345f5844 SHA512 b27fecca48a966417972fdb771f9d434a68cf3aba43bb253f0f0e9399869d3e85ed4b8fdab5885beae4ad10c66086cf9e722119c6af961c0e882b65b22345ee6 WHIRLPOOL d583c44c1d0a5c57f7008e5f566b9874dfdf126173892cc220598d39ccd62eca8c4d9d865d0ff7fad106f5cbc4fb4048af1695349e60341b7d8910df2a9d4320
DIST votca-csg-manual-1.2.2.pdf 1009336 SHA256 c9760e3d46afbcd8e2bb44937a9680f68d53e86a36bba1513b4612c4c588d8b5 SHA512 6f696a3844e35891344ef62389329d360b83a42cdf236f3a193c005dde00d02202e495b120fe2fd7c1b83b4e0bd527b660bcb3e196017f2611d72938cad89cd1 WHIRLPOOL b9839266148e0b9561bd6e57d8aaea38896795355a69567f302a4f98aad6b0aa06967dd228b1a42253c287bc3b27254cb708c205f0a2b16d7b6852b29003fd69
DIST votca-csg-manual-1.2.4.pdf 1029132 SHA256 78a68955c96700d432249f712e0601376d5d61fef607860fe32d0ce0dcb70cff SHA512 66b7cf869b2b06d4133b341934fd013717b17c90426f4cdf637ef3bb6119e9f6b67cbde56b7f6b6c777dba9fb311df42dd34d8fe23331f1656439acb541d81bf WHIRLPOOL 629e0e6a8900bb7e4a96b7e1020f86ccacd5a7e7258a493d565c94986a0907371a37d45bf499517a74ad29cf2b606965746e0d90b6be91777f2b0a85f2781732
+DIST votca-csg-manual-1.3_rc1.pdf 1266917 SHA256 ae16b59dcb00efca0046df618cc805eaf48bd5bc9a501a5d5dd17f2b6c82c7ff SHA512 a1b21ac5093a86f35d95b7ff6d675a417d66f0c169780fc84f79e602cfadcaa67561af9ac860ce52bc2d05d1e88bc845f6f752df2c2b28b580a1092b76e12cbd WHIRLPOOL 73ac19a827df55f9c39ced2e77ec61b3a0e442b7f07de918e6920d298ff05af1b042abd3c206f245450f36b02e0f42bf8f3fe914a46591d4b478737e31291a60
DIST votca-csg-tutorials-1.2.2.tar.gz 3576523 SHA256 456a8317fff5770a5ebd6452673eefeaa455534b87a800cfbd4672248670f9bd SHA512 3ff188f5a329bd20d17b8c839f7ff146305ee7d5dca7a0e8fcb268310e2d9d48eb152b06dfd6f9ee42d3cb5e7d6fc9ae8c626b360114c050a41e3e440948fd5b WHIRLPOOL 04a771c3e52b203090996e880680bfe2844b3eca3854eb9b20d68c3e07ee94994be9f31887b1d05d295f4a24510c6c7c32a1d5120a873773011f979e48acfc7c
DIST votca-csg-tutorials-1.2.4.tar.gz 3721034 SHA256 94b10f23f6e49c1279cdeea87dfee9c19b44373c74212340acebc06eb11e0245 SHA512 8d78a6ff02aedf97c2b640714fd7acfb7c4b0d03ec0141fa89f0ba041e1d2ec07477653d92effd4c96a6497271ad58f5c3397e1fc183c1c856285f6f8b5ceaf5 WHIRLPOOL ea0df816d2f26f12271250137b51f42ecc4a16eea622d37833d4dcc299732c413ee9f71a67767957b13ce8b44a96e9b1389bbbbdb66015c4b5c6d577d4483cf1
+DIST votca-csg-tutorials-1.3_rc1.tar.gz 7603126 SHA256 dd5703e91fc65b782e3b525e66fd2d39ecb6fecec6923605cdef4d8068723c69 SHA512 5024be37a8a517ae3202f624bd51c52d21265a2adbe7d492d7026ff64fb591a1f7d77c5844168e64dc11c37b616f210dd158f2879906c9ea8abd7fb2de68b711 WHIRLPOOL 28c98f5394b2d6ea48420a43bfb27200f5cf82a4e02a82384a14e162d99e4b97996c4b8eef27a40be046bfb746bd173ae770c6d12857a45e4bfaac23fd0b3767
diff --git a/sci-chemistry/votca-csg/votca-csg-1.3_rc1.ebuild b/sci-chemistry/votca-csg/votca-csg-1.3_rc1.ebuild
new file mode 100644
index 000000000000..668702c9cd08
--- /dev/null
+++ b/sci-chemistry/votca-csg/votca-csg-1.3_rc1.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+CMAKE_MAKEFILE_GENERATOR="ninja"
+
+inherit bash-completion-r1 cmake-utils multilib
+
+IUSE="doc examples extras +gromacs hdf5"
+PDEPEND="extras? ( =sci-chemistry/${PN}apps-${PV} )"
+if [ "${PV}" != "9999" ]; then
+ SRC_URI="https://github.com/${PN/-//}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ doc? ( https://github.com/${PN/-//}-manual/releases/download/v1.3_rc1/${PN}-manual-${PV}.pdf )
+ examples? ( https://github.com/${PN/-//}-tutorials/archive/v${PV}.tar.gz -> ${PN}-tutorials-${PV}.tar.gz )"
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos"
+ S="${WORKDIR}/${P#votca-}"
+else
+ inherit git-r3
+ EGIT_REPO_URI="git://github.com/${PN/-//}.git https://github.com/${PN/-//}.git"
+ KEYWORDS=""
+fi
+
+DESCRIPTION="Votca coarse-graining engine"
+HOMEPAGE="http://www.votca.org"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND="
+ =sci-libs/votca-tools-${PV}
+ gromacs? ( sci-chemistry/gromacs:= )
+ hdf5? ( sci-libs/hdf5[cxx] )
+ dev-lang/perl
+ app-shells/bash:*"
+
+DEPEND="${RDEPEND}
+ doc? (
+ app-doc/doxygen[dot]
+ dev-texlive/texlive-latexextra
+ virtual/latex-base
+ dev-tex/pgf
+ )
+ >=app-text/txt2tags-2.5
+ virtual/pkgconfig"
+
+DOCS=( README.md NOTICE CHANGELOG.md )
+
+src_unpack() {
+ if [[ ${PV} != *9999 ]]; then
+ default
+ else
+ git-r3_src_unpack
+ if use doc; then
+ EGIT_REPO_URI="git://github.com/${PN/-//}-manual.git https://github.com/${PN/-//}-manual.git"
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-manual"\
+ git-r3_src_unpack
+ fi
+ if use examples; then
+ EGIT_REPO_URI="git://github.com/${PN/-//}-tutorials.git https://github.com/${PN/-//}-tutorials.git"
+ EGIT_BRANCH="master"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN#votca-}-tutorials"\
+ git-r3_src_unpack
+ fi
+ fi
+}
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_with gromacs GMX)
+ $(cmake-utils_use_with hdf5 H5MD)
+ -DWITH_RC_FILES=OFF
+ -DLIB=$(get_libdir)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ newbashcomp scripts/csg-completion.bash csg_call
+ for i in "${ED}"/usr/bin/csg_*; do
+ [[ ${i} = *csg_call ]] && continue
+ bashcomp_alias csg_call "${i##*/}"
+ done
+ if use doc; then
+ if [[ ${PV} = *9999* ]]; then
+ #we need to do that here, because we need an installed version of csg to build the manual
+ [[ ${CHOST} = *-darwin* ]] && \
+ emake -C "${WORKDIR}/${PN}"-manual PATH="${PATH}${PATH:+:}${ED}/usr/bin" DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}${DYLD_LIBRARY_PATH:+:}${ED}/usr/$(get_libdir)" \
+ || emake -C "${WORKDIR}/${PN}"-manual PATH="${PATH}${PATH:+:}${ED}/usr/bin" LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}${ED}/usr/$(get_libdir)"
+ newdoc "${WORKDIR}/${PN}"-manual/manual.pdf "${PN}-manual-${PV}.pdf"
+ else
+ dodoc "${DISTDIR}/${PN}-manual-${PV}.pdf"
+ fi
+ cmake-utils_src_make -C "${CMAKE_BUILD_DIR}" html
+ dohtml -r "${CMAKE_BUILD_DIR}"/share/doc/html/*
+ fi
+ if use examples; then
+ insinto "/usr/share/doc/${PF}/tutorials"
+ docompress -x "/usr/share/doc/${PF}/tutorials"
+ rm -rf "${WORKDIR}/${PN#votca-}"-tutorials*/CMake*
+ doins -r "${WORKDIR}/${PN#votca-}"-tutorials*/*
+ fi
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Please read and cite:"
+ einfo "VOTCA, J. Chem. Theory Comput. 5, 3211 (2009). "
+ einfo "http://dx.doi.org/10.1021/ct900369w"
+ einfo
+}