forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sci-chemistry/votca-csg: version bump
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Christoph Junghans <[email protected]>
- Loading branch information
Showing
2 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
DIST votca-csg-1.5.1.tar.gz 708319 BLAKE2B 2ea75cf08dc3005bd08ebe85113d95743fe85bae4b7ac3c2e2d9b64be64a7103ecf30b9edf45cffa86b7588d5c57a0256aef02f4590fa6031cb63881480bd0fd SHA512 3559452182c325d5df72918ec6e12122c8214df9733d779c123ff199597fe47fc493fd75adf1f5dbc6b55016373863378ba3cc69fb6b61bc1531c6e591d8131c | ||
DIST votca-csg-1.6.4.tar.gz 537966 BLAKE2B c9ccc3aa28bdc4a2a2c080104b70602d8cf4be19a71e7d0b4a1c03d11f54b645984103d1662823a9308a4e4c4baedef731de06ff314b168f89e7326c0d3c8ee9 SHA512 4cdbf6c0a593720675f48f574ff9a93d038a48037543c1e09a4559d3eb262a2d8bf83d5f5dab85b4820a541e0c57f7cca78315d5b3382763e8acd8cc0fcb65ac | ||
DIST votca-csg-2021.1.tar.gz 4300862 BLAKE2B 4ef287a8b0e14e97bcbc293bebdc3a0c45a08bd0033044ef8aa1ac18bac04928010ab3f5edfb656f1d062926f4572a1f3b0e55b3b3b635fdc388e5b850ec3bba SHA512 e1abdd34a3d88aea253cc10e7832a18d2cffc44286e4591c5a1239bf34e68d6c40054d3eb907a902e5ab6af5a9dea4ec266ff5ce59073b500413f4e122885e94 | ||
DIST votca-csg-2021.tar.gz 4300573 BLAKE2B ba589c97f22888b8a1a12c71314133c08c89e44c201bafa6e5f1d74dfe90c87dd84a5d1c2883b26402858b6aa990d37add57bdfb9db6836a7c287f0685a40a59 SHA512 8eacf4045ddc13d33e853cd35a67d03dfb63da60c3e879ea4f16e63f27a92aa13cbf4e367d9258778c9c09462443e4bb2b937c247c6246377ceeecf56bc6fc12 | ||
DIST votca-csg-manual-1.5.1.pdf 1263719 BLAKE2B 29e2ce27215787a1121e45ec1e88ce7c61ba81709a2519aa0959eede505498b9aaf4f38666bb1a4f97837c98b862e7ed02405da07294a7ec76cc80390fe72e0d SHA512 7d9fb4c635383e1b9c9547691f8729e19f273fcafc4dab2a6b438b3ce98ea05bd31887d09bc4edc86ceb0b04d71a4371aed7aadc3ba6864f7be2ef3328ede642 | ||
DIST votca-csg-manual-1.6.4.pdf 1242124 BLAKE2B 003a255d2869c8185f9e03038f646a80b682be3daceb18757c791f5d52101379402aee20c5dcb65ef8ce651bd6f6590ad5249e835e53ce92e04eb33214017a9e SHA512 36956acd24a21cb0a1dd26d6640b41b7473132948327c05856191b4f9531b4d1d5f98be68a9d1a847935d47633d483e87c2300634233a6e617a010c1fb563690 | ||
DIST votca-csg-tutorials-1.5.1.tar.gz 5949467 BLAKE2B c6de6084fbb1d2c4ac2ce75d01a1153eabc63386063de800ff2dc6b483b0568191e7f06ddcb8be46123224ccfd3a97f5fb4e7cd603c0ee99a8636d7143f6c701 SHA512 f2e709ae31d914fe12a4ce37b5019deb878b15ade14972f2a8204bec8970ba2c8946b71b94a5bfd6f7569e41173bfbc75275ea09cbee4358ad1de0e84751049c | ||
DIST votca-csg-tutorials-1.6.4.tar.gz 5944389 BLAKE2B 66f1d4947bb28ec602250226ad2c08cc02278a90776acbcadca2df3078361435fb2353ee0fa299d0d19697d36682f20aab709d45539d5ac7e7070942601ebc3f SHA512 7e40037f2e70c861fd7f5c63806c17ad56672a340a8795fa745414940c55f593bef32b9f6b9050400131ed9e66aa927149e9d324a1c264364d8504baf1921e28 | ||
DIST votca-csg-tutorials-2021.1.tar.gz 5941978 BLAKE2B 5e6c5cfc3860e287d93cf8d59862a75e3afe7ac1610e696427e99302a99c86d12ce12f7a23281f36c8859e48a25be138466b9316f4c0667d5bf784f33c27e6df SHA512 8370ac9e2e859153f9a54b2e02cd18692fd06810dafb50a6bf3d81eca5211847e1b75d9832df80b1436ae0f9dcab455aa0bfb4c8122165c584cabd14203408ba | ||
DIST votca-csg-tutorials-2021.tar.gz 5942031 BLAKE2B 60ef492c98bf07b5169c6f1be2298b6dac76003ef9981064463de9fdae649c215d469424e253d06b63637bb3eee9383c587a98322ab987995f8b4861bb0002e1 SHA512 844706407cb91d507c6b0433e23f4b27756dd4c882f6cef79d51f2b2acae6cd0114ccd91d626d090d0f61c58a57cc3c1eda0a0d10d6f4bfa522eda7ee8de21b3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# Copyright 1999-2021 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit bash-completion-r1 cmake | ||
|
||
if [[ ${PV} == *9999 ]]; then | ||
inherit git-r3 | ||
EGIT_REPO_URI="https://github.com/${PN/-//}.git" | ||
else | ||
SRC_URI="https://github.com/${PN/-//}/archive/v${PV}.tar.gz -> ${P}.tar.gz | ||
examples? ( https://github.com/${PN/-//}-tutorials/archive/v${PV}.tar.gz -> ${PN}-tutorials-${PV}.tar.gz )" | ||
KEYWORDS="~amd64 ~x86 ~amd64-linux" | ||
S="${WORKDIR}/${P#votca-}" | ||
fi | ||
|
||
DESCRIPTION="Votca coarse-graining engine" | ||
HOMEPAGE="https://www.votca.org/" | ||
|
||
LICENSE="Apache-2.0" | ||
SLOT="0" | ||
IUSE="examples extras +gromacs hdf5 test" | ||
RESTRICT="!test? ( test )" | ||
|
||
RDEPEND=" | ||
app-shells/bash:* | ||
>=dev-cpp/eigen-3.3 | ||
dev-lang/perl | ||
~sci-libs/votca-tools-${PV} | ||
gromacs? ( sci-chemistry/gromacs:= ) | ||
hdf5? ( sci-libs/hdf5 ) | ||
" | ||
DEPEND="${RDEPEND}" | ||
BDEPEND=" | ||
>=app-text/txt2tags-2.5 | ||
virtual/pkgconfig | ||
" | ||
|
||
DOCS=( README.rst NOTICE.rst CHANGELOG.rst ) | ||
|
||
src_unpack() { | ||
if [[ ${PV} == *9999 ]]; then | ||
git-r3_src_unpack | ||
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 | ||
else | ||
default | ||
fi | ||
} | ||
|
||
src_configure() { | ||
local mycmakeargs=( | ||
-DCMAKE_DISABLE_FIND_PACKAGE_GROMACS=$(usex !gromacs) | ||
-DCMAKE_DISABLE_FIND_PACKAGE_HDF5=$(usex !hdf5) | ||
-DBUILD_CSGAPPS=$(usex extras) | ||
-DENABLE_TESTING=$(usex test) | ||
) | ||
cmake_src_configure | ||
} | ||
|
||
src_install() { | ||
cmake_src_install | ||
newbashcomp "${ED}"/usr/share/votca/rc/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 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 | ||
} |