public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Christoph Junghans" <ottxor@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/votca-csg/
Date: Fri, 19 Aug 2016 21:59:47 +0000 (UTC)	[thread overview]
Message-ID: <1471643976.500e80dacd10609035d1961a5a8a0f7f1b090bf6.ottxor@gentoo> (raw)

commit:     500e80dacd10609035d1961a5a8a0f7f1b090bf6
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 19 21:58:48 2016 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Fri Aug 19 21:59:36 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=500e80da

sci-chemistry/votca-csg: version bump

Package-Manager: portage-2.2.28

 sci-chemistry/votca-csg/Manifest               |   3 +
 sci-chemistry/votca-csg/votca-csg-1.3.1.ebuild | 114 +++++++++++++++++++++++++
 2 files changed, 117 insertions(+)

diff --git a/sci-chemistry/votca-csg/Manifest b/sci-chemistry/votca-csg/Manifest
index 551130c..fb5ff9a 100644
--- a/sci-chemistry/votca-csg/Manifest
+++ b/sci-chemistry/votca-csg/Manifest
@@ -1,6 +1,9 @@
 DIST votca-csg-1.2.4.tar.gz 188345 SHA256 375b428c90247a3877f71c2d96200969bcaf2b081b8c7332ac770720df43646a SHA512 da814154be6700b56509d899ea16a2f974fd951792c78f2f8717b39b0165fe19121fefb2ef9531c63a8d4558d15776058d24b13e0e7ad0abb9d7b11fac0f5d1a WHIRLPOOL 64a86b09ae00435c68bf09e960c1d1738648811fe2a9ffb18f5529d30d6f94ebf1fc218b14e1ee0bfc911e5ca1e92c25404be045cf28e16ced98fd7ee4421418
+DIST votca-csg-1.3.1.tar.gz 242384 SHA256 608225256cf97552cf860cb3754f59a49c55d8433cff07440b8a252645e7bcb6 SHA512 fed4e164b9661d48fd8fa3f57c0a567b88ef2fe0a7a02cafba1d0b1d557529e5259161f558cae95117df8cae996c30486877c0e5aff96d1e8100341bfb674c20 WHIRLPOOL 553fa0b7fb2e142b984a5be6eff1a4e6e89ea2e78a3e7081441d88a498d2aa2bb5cd5e90456656713a646a7f82875fa79d7b9fa62c66ce9edc084f995f936c61
 DIST votca-csg-1.3.tar.gz 242169 SHA256 eace2b90bcd9318ef257355daf09cbd15b10906c44af95d36454aa969a032cff SHA512 c1314672227feb361991b20cb1511473f23df1f0ff337ddc11319f2261ea19ac5c895de72d1da705026520483eebf1477462ea63275451c9fd1e6bbf4826bd76 WHIRLPOOL 2b48e19705fccc8b6af336536d90fdaf168bda05f327a688e604bd079a69b8b9b816d2d549e510659367e397229fbb433c7c406d462f809e0b4ae98c22a8b81b
 DIST votca-csg-manual-1.2.4.pdf 1029132 SHA256 78a68955c96700d432249f712e0601376d5d61fef607860fe32d0ce0dcb70cff SHA512 66b7cf869b2b06d4133b341934fd013717b17c90426f4cdf637ef3bb6119e9f6b67cbde56b7f6b6c777dba9fb311df42dd34d8fe23331f1656439acb541d81bf WHIRLPOOL 629e0e6a8900bb7e4a96b7e1020f86ccacd5a7e7258a493d565c94986a0907371a37d45bf499517a74ad29cf2b606965746e0d90b6be91777f2b0a85f2781732
+DIST votca-csg-manual-1.3.1.pdf 1266375 SHA256 320060a77739d3c9ca98116edde94468e136b4bbd38970b82c874eed30af4ee8 SHA512 3335309b364cebcba25269c39dc2383e663a6b46111b02120c63d408a6fd9c3361408beb528d664ce6e13311e5ebff4a4c2772cf2f0e668904b1d9e43030d321 WHIRLPOOL 04adb86ffb10e9e0ecd754ab29940468ec32ddd1f6de1796dd2e89a49e0b60df6a4ecbccab60a085e2619fab480bc63dbb4378490ccfc024c8335ceade983955
 DIST votca-csg-manual-1.3.pdf 1266541 SHA256 1520f2c18972a2ec5e0a7e847ae294cee1e6fa5682010a314f2e45c264e59cec SHA512 eb5d88f6cba30d9fd8c3cb11cd6c08dd3e717fccdcbef11c3363d4eb36d23000d8bd7b448c0a5311bcaee2b502e50d7aadb0faf7c9a5e5e9c6e1e37b1e09ec7e WHIRLPOOL f411bdc929515594200a636e6f5e3338797ae35dfe8ba3ddb01913cea85973dccca6482a4aa276ce68689a8f7c4c6d47ae448f2e3ce549d3dba35a1d40eeb44d
 DIST votca-csg-tutorials-1.2.4.tar.gz 3721034 SHA256 94b10f23f6e49c1279cdeea87dfee9c19b44373c74212340acebc06eb11e0245 SHA512 8d78a6ff02aedf97c2b640714fd7acfb7c4b0d03ec0141fa89f0ba041e1d2ec07477653d92effd4c96a6497271ad58f5c3397e1fc183c1c856285f6f8b5ceaf5 WHIRLPOOL ea0df816d2f26f12271250137b51f42ecc4a16eea622d37833d4dcc299732c413ee9f71a67767957b13ce8b44a96e9b1389bbbbdb66015c4b5c6d577d4483cf1
+DIST votca-csg-tutorials-1.3.1.tar.gz 7602667 SHA256 7f283d14bec05cf617f1fb8026ee07af2bb1c517ea5a8526e2f318024cbf7069 SHA512 2475d8c8b40df1307c499387d352bdf2e4beb730978a025be66f8b342eb205020739aad88248e1928a66e0e117a3f7bafa553f2db8089b10a6fca22e0bfbdf54 WHIRLPOOL ab5226903f47c7372580a88df762d13dfbd8bea4299371e75c8b0bfbbd220cb07b2c0bafbc0ccf277b9e937f1448cdf1e91b2e44a7699db1b90469dc9a10086e
 DIST votca-csg-tutorials-1.3.tar.gz 7602622 SHA256 ff6ea92b38b41850f2f92ef7533c1365ec6e6cff15d847eace953d7380777654 SHA512 34788d89fe6e989c91bbbb92887942d774b826d30a6423d539c32065ee8cd6a1adad9a2c4f34fa280c26c2342bf007a35019e6bdd0321dfd7a8f13458c7801a3 WHIRLPOOL e28f33294a5e2a432ef62812243f5bc36cb10a261b09b7bb08267a3da14cd601d7c1835264e1390eebc899f54aad8f12c2880a1a2bb5555681c2f89995672275

diff --git a/sci-chemistry/votca-csg/votca-csg-1.3.1.ebuild b/sci-chemistry/votca-csg/votca-csg-1.3.1.ebuild
new file mode 100644
index 0000000..105fc90
--- /dev/null
+++ b/sci-chemistry/votca-csg/votca-csg-1.3.1.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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/v${PV}/${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=(
+		-DWITH_GMX=$(usex gromacs)
+		-DWITH_H5MD=$(usex hdf5)
+		-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
+		dodoc -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
+}


             reply	other threads:[~2016-08-19 21:59 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-19 21:59 Christoph Junghans [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-01 19:36 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/votca-csg/ Andreas Sturmlechner
2022-02-20 14:58 Christoph Junghans
2022-02-20 14:58 Christoph Junghans
2022-02-20 14:58 Christoph Junghans
2021-09-19 15:20 Christoph Junghans
2021-07-18 23:24 Christoph Junghans
2021-04-05 16:53 Andreas Sturmlechner
2021-03-28 10:02 Agostino Sarubbo
2021-03-27 16:07 Sam James
2021-03-19 19:46 Christoph Junghans
2021-03-14 19:15 Christoph Junghans
2021-02-28 18:08 Andreas Sturmlechner
2021-01-18 10:14 David Seifert
2021-01-13  1:20 Christoph Junghans
2021-01-13  1:20 Christoph Junghans
2021-01-06 15:10 Fabian Groffen
2020-12-10 19:26 Christoph Junghans
2020-11-04 16:08 Christoph Junghans
2020-11-03 19:48 Christoph Junghans
2020-08-22 23:36 Christoph Junghans
2020-06-21 15:41 Christoph Junghans
2020-04-18  5:01 Christoph Junghans
2020-01-12 21:51 Christoph Junghans
2020-01-12 20:06 Christoph Junghans
2019-11-22  2:26 Christoph Junghans
2019-05-20 11:03 Mikle Kolyada
2019-05-06 16:41 Christoph Junghans
2019-01-31 20:16 Christoph Junghans
2018-11-24 23:44 Christoph Junghans
2018-10-25  0:44 Christoph Junghans
2018-09-28 12:37 Christoph Junghans
2017-09-03 14:55 Christoph Junghans
2017-09-03 13:41 Christoph Junghans
2017-07-30 10:04 Michał Górny
2016-12-20 14:30 Tobias Klausmann
2016-11-25 21:50 Christoph Junghans
2016-11-24  5:04 Christoph Junghans
2016-11-14  2:01 Christoph Junghans
2016-10-29 21:41 Christoph Junghans
2016-09-27 18:13 Christoph Junghans
2016-07-14 17:30 Christoph Junghans
2016-04-19 20:17 Ian Stakenvicius
2016-01-22 18:51 Michael Palimaka
2016-01-15 22:30 Christoph Junghans
2015-09-24  5:20 Christoph Junghans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1471643976.500e80dacd10609035d1961a5a8a0f7f1b090bf6.ottxor@gentoo \
    --to=ottxor@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox