diff options
author | Christoph Junghans <junghans@gentoo.org> | 2021-09-19 09:18:06 -0600 |
---|---|---|
committer | Christoph Junghans <junghans@gentoo.org> | 2021-09-19 09:20:43 -0600 |
commit | b882f3c1ee8334485c5e14033a86867a53cd16c2 (patch) | |
tree | 9f275b944f6efb7c2c795681c35f6a248d33ba9c /sci-chemistry | |
parent | sci-libs/votca-tools: version bump (diff) | |
download | gentoo-b882f3c1ee8334485c5e14033a86867a53cd16c2.tar.gz gentoo-b882f3c1ee8334485c5e14033a86867a53cd16c2.tar.bz2 gentoo-b882f3c1ee8334485c5e14033a86867a53cd16c2.zip |
sci-chemistry/votca-csg: version bump
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Christoph Junghans <junghans@gentoo.org>
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/votca-csg/Manifest | 2 | ||||
-rw-r--r-- | sci-chemistry/votca-csg/votca-csg-2021.2.ebuild | 87 |
2 files changed, 89 insertions, 0 deletions
diff --git a/sci-chemistry/votca-csg/Manifest b/sci-chemistry/votca-csg/Manifest index 1f9bfdbfa130..ce6c049cb043 100644 --- a/sci-chemistry/votca-csg/Manifest +++ b/sci-chemistry/votca-csg/Manifest @@ -1,10 +1,12 @@ 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.2.tar.gz 4300675 BLAKE2B 8db666e77bc7d6d8da34fed97b0466e5296019aa703f324d46531992c0af544c31b2e3e4595883791cef7acd6d2d52eff8edc7eeedecaae0eb9e0cbf334748ab SHA512 5808edd96199cad6e5fc803a0e489f3d2f376da3d64f565536cc37561a0fcd22960563af7d3f86522bcc7336c8d6f7c7f6501b36feb960aae5168904156bfbf6 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.2.tar.gz 5942042 BLAKE2B a03627406a3b56ebf978dc82629e1f0950bfbb121a0f6c7fd60341986efe4892ba8bf1e6b526e6df2df5fb81351177ad97816568521b9dc6a91e72d6853c1e62 SHA512 3ddeb3e57353e6d4e59163ee1303b39d4e3b623309875f280bf8c02dde76d0615b32a27ea960a301b61b81034a538df87dfe97a53dfdd0c81f52629eadd64f1f DIST votca-csg-tutorials-2021.tar.gz 5942031 BLAKE2B 60ef492c98bf07b5169c6f1be2298b6dac76003ef9981064463de9fdae649c215d469424e253d06b63637bb3eee9383c587a98322ab987995f8b4861bb0002e1 SHA512 844706407cb91d507c6b0433e23f4b27756dd4c882f6cef79d51f2b2acae6cd0114ccd91d626d090d0f61c58a57cc3c1eda0a0d10d6f4bfa522eda7ee8de21b3 diff --git a/sci-chemistry/votca-csg/votca-csg-2021.2.ebuild b/sci-chemistry/votca-csg/votca-csg-2021.2.ebuild new file mode 100644 index 000000000000..eb83c3f2c7a6 --- /dev/null +++ b/sci-chemistry/votca-csg/votca-csg-2021.2.ebuild @@ -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 +} |