From: "Christoph Junghans" <junghans@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/votca-csg/
Date: Sun, 3 Sep 2017 13:41:11 +0000 (UTC) [thread overview]
Message-ID: <1504446062.6e090b5457fa4594209a0334f4c1224814ba21d1.junghans@gentoo> (raw)
commit: 6e090b5457fa4594209a0334f4c1224814ba21d1
Author: Christoph Junghans <junghans <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 3 13:38:30 2017 +0000
Commit: Christoph Junghans <junghans <AT> gentoo <DOT> org>
CommitDate: Sun Sep 3 13:41:02 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e090b54
sci-chemistry/votca-csg: version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.1
sci-chemistry/votca-csg/Manifest | 3 +
sci-chemistry/votca-csg/votca-csg-1.4.1.ebuild | 113 +++++++++++++++++++++++++
2 files changed, 116 insertions(+)
diff --git a/sci-chemistry/votca-csg/Manifest b/sci-chemistry/votca-csg/Manifest
index 7ead25d47fb..9d379b6119c 100644
--- a/sci-chemistry/votca-csg/Manifest
+++ b/sci-chemistry/votca-csg/Manifest
@@ -1,3 +1,6 @@
+DIST votca-csg-1.4.1.tar.gz 347702 SHA256 1ff9fc5ad95cd57e7c1d2c8adad5b32f81a978e2bea34f14f7defcdd11a05ec7 SHA512 87f2798c9b5f2d82ae1c158238f7a3b7007c7ceb7ce82503f0b002f605f2cc0b5ca4c8ef24fab571efae63a81e7a60bc476b5433962c239de4f5d42bae3c10ea WHIRLPOOL 26946d54dd2c1665f411ae0424150ef93db7cf71984377a04a6bb1154d66ba8676f54a4b10f0e8167cee3ae5a4ad26f702a67da2be356c08e5e6a626e2483864
DIST votca-csg-1.4.tar.gz 346527 SHA256 713702613b1e51459a18eb1ef83116eb3dbfd25f05d32e5772ee300a674cdc74 SHA512 26318644c7af2dfa1b81242b27ffac98f2180c3a1f05581bc50a00f644cec4b19ffbaf41c9d941a4714171b56ae93fe41f1a663cd0593ae2b0be2da379119d9b WHIRLPOOL 15c7749b1fa003e92e94f4f3f4ac7698667e5a06f739d4e97686aa904b8433a1e1628fae1c1f718bc4bfd2108d515cb12098852a0ebecb213e478874997f3148
+DIST votca-csg-manual-1.4.1.pdf 1282641 SHA256 8358bf7640d30f3dce75c7c2463383d6c5ca37aca4cb3f4b638a02dbcc806c7b SHA512 e89f41af05eaeb9ea499e8625cc98e2632ec647ec2d8c9c9052dcd4d2935d082b29b51495514e3e06e73ce42b8cda7017fc523a013569378e2bc86bf88ad32d4 WHIRLPOOL 2b8e903fc4ceddb58af8c3d7b78b8c2091aca473154dc613736f39f757e6a546058b16d5272ebbaad441eb143cc2f7edd8afd82fa884aff140aa7102d5b3b417
DIST votca-csg-manual-1.4.pdf 1281983 SHA256 e2e235473a64dc674a373eacaade4922e02a64274c1f28bcf3b443fbf425d1da SHA512 2e1f4a4375d83df9bd357d4d17e79d26a3a31c9177f008de86721427ffc6f43a5000ec840691108b52a8aecf962321ba6363cd975c7445d7230ee5b0b151b3fa WHIRLPOOL 24580fe71202daad3d4f627657c6aa24175df807462e5c03a05de39f5b2ba38a44a51ee7cfc50416795fc4dfbc8041a4360a3dd680ea339464e1097782b71ac9
+DIST votca-csg-tutorials-1.4.1.tar.gz 6339417 SHA256 029e7f033c21ed37d8428c363133326744ff088bdcf3cd6b843a9b60dba268ef SHA512 896ec9d6b2537a06301046a74c1957708eb96d9854b3ec855fe3457208c142f6fb26a03e323a2644862a1efd0030fcceb1189f73655b984462f0f7127a02de90 WHIRLPOOL b540802743eff6c988f00dd8c4f449021f4ca257541394194ef48d0fc364d73d90a1c3845472769c82cfdc20c6dbf8671440fa4c5cc623ab179b2459e87bc078
DIST votca-csg-tutorials-1.4.tar.gz 6348417 SHA256 f5082f57575f09e9a0035f428603946676b251b7cb45b4332ded833be4dca649 SHA512 f3eb28a133ebc04eed07f84d5962943cb9c547c1099638127f15e0015dfdf3f0b25aab4c97d009d6040bf1d69d408cc178edd6e803d33bf1d831e12dca0671c7 WHIRLPOOL da02cda090eb46dd74d6f2bec8adec70ca7a05796ed0d05772133f566e091f794e2d7fa2640ca775e249248624d0f022212444fa3425c3f715a4dea94a300225
diff --git a/sci-chemistry/votca-csg/votca-csg-1.4.1.ebuild b/sci-chemistry/votca-csg/votca-csg-1.4.1.ebuild
new file mode 100644
index 00000000000..533b017fe2b
--- /dev/null
+++ b/sci-chemistry/votca-csg/votca-csg-1.4.1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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="https://github.com/${PN/-//}.git"
+ KEYWORDS="~amd64 ~x86"
+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 )
+ 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="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="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 "https://dx.doi.org/10.1021/ct900369w"
+ einfo
+}
next reply other threads:[~2017-09-03 13:41 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-03 13:41 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-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-08-19 21:59 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=1504446062.6e090b5457fa4594209a0334f4c1224814ba21d1.junghans@gentoo \
--to=junghans@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