diff options
author | Christoph Junghans <junghans@gentoo.org> | 2021-01-12 17:44:03 -0700 |
---|---|---|
committer | Christoph Junghans <junghans@gentoo.org> | 2021-01-12 17:44:03 -0700 |
commit | 6bea91e91422c54464d111879d0666023d6f6cfd (patch) | |
tree | ae731a5c73e2d73274b5b6df140d7125135e271e /sci-chemistry | |
parent | sci-libs/votca-tools: add v1.6.4 (diff) | |
download | gentoo-6bea91e91422c54464d111879d0666023d6f6cfd.tar.gz gentoo-6bea91e91422c54464d111879d0666023d6f6cfd.tar.bz2 gentoo-6bea91e91422c54464d111879d0666023d6f6cfd.zip |
sci-chemistry/votca-csg: add v1.6.4
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Christoph Junghans <junghans@gentoo.org>
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/votca-csg/Manifest | 3 | ||||
-rw-r--r-- | sci-chemistry/votca-csg/votca-csg-1.6.4.ebuild | 92 |
2 files changed, 95 insertions, 0 deletions
diff --git a/sci-chemistry/votca-csg/Manifest b/sci-chemistry/votca-csg/Manifest index 2b1a53b094a9..373cbaa92f2b 100644 --- a/sci-chemistry/votca-csg/Manifest +++ b/sci-chemistry/votca-csg/Manifest @@ -5,6 +5,7 @@ DIST votca-csg-1.5.tar.gz 429164 BLAKE2B da04bd9ce8e879e9a961006256e03d160fa49fe DIST votca-csg-1.6.1.tar.gz 474044 BLAKE2B 36ededfffe7af5b87b2a031f69afbb9cc727af9454466163312e48c23719f6fe3cb727de96c419ae6e7d4901576013bd76f84d8e7e394cc65df4d83bd1ce30bb SHA512 b8f0f1bf2ca57ee9e2050b4a76e1d725ccb0908314886415f36d4e4554953b4e1c93f7c05502afb77f9b7b5ef3059ebbf7f223b965ba72ae45736798fa2e6ad9 DIST votca-csg-1.6.2.tar.gz 522982 BLAKE2B e0376e04e7baabaa45cab2cc87ff3d7574a35a4a50d87763bb42232eb6f110904b9fb5cdee0a8f2b4057a441a8ca5e276a8d44e14ec3609301832c2ed18cfd94 SHA512 e1d88cc9d18718f323355736afaf309940234001abb39414dd4990f1ff231ef3e8f71d51c78929c422c296b96f304fa17f6c9671071148ff1446bdc1eb442708 DIST votca-csg-1.6.3.tar.gz 523225 BLAKE2B 4edb53515957f86f272c0bfbef2d72086432665d97fec4bda6011aaf732a5878c2d85e23d15ac24e5051ae3d11328799b5a0d76cf5c13a1202e11be10fe16b0b SHA512 7804d17f5c79ab6420653e1f1007539edb8c22dab47b0a9c776d726c9ac955ae2e3740bcfa171d9a347b074692be81499329a54e9dcfa53a173a7be082739525 +DIST votca-csg-1.6.4.tar.gz 537966 BLAKE2B c9ccc3aa28bdc4a2a2c080104b70602d8cf4be19a71e7d0b4a1c03d11f54b645984103d1662823a9308a4e4c4baedef731de06ff314b168f89e7326c0d3c8ee9 SHA512 4cdbf6c0a593720675f48f574ff9a93d038a48037543c1e09a4559d3eb262a2d8bf83d5f5dab85b4820a541e0c57f7cca78315d5b3382763e8acd8cc0fcb65ac DIST votca-csg-1.6.tar.gz 464175 BLAKE2B 1871c7edc4b4e848a06049a7c687e906f166312777bdbf5c65be8efe8d5032582fdca9dc7eca453b7013901f409326b0583c79731c68fa2b4e6366f021958b0b SHA512 76cda93023d46a66ae31edcec0ece709ddc70a9be9d098721b945006c197ed3b6cbd1e643158797be518c4fe66f7b23d3e8d8735cbd9e155db3db0d79929cfbe DIST votca-csg-1.6_rc1.tar.gz 479265 BLAKE2B c4ba3c81eefd375eea6f8c0b1cd60f9cc80898fb7e8e811ecc286f06d94bd4316edfca277649ec3f7f8b751b2f2928ca2dfe61cc3b1c3060a324ea783c62003f SHA512 6622648ddc3308ca2f8e98d6dbcd28e33a4e0fb44d96ef94ebcaa2e87e5ba3ca2ab83dcc1de4fd0803dbc20ba7192f5fdd2c935b364ed4e2122b5948c10d4936 DIST votca-csg-manual-1.4.1.pdf 1282641 BLAKE2B 370b7c8997649555fd2360b999cf381c340a74c3747afda23d0e9d346367cc6d14d4e9a0e9ac82184945427d30050dd623dd1b6d8218c6ff3d2f17331987aaae SHA512 e89f41af05eaeb9ea499e8625cc98e2632ec647ec2d8c9c9052dcd4d2935d082b29b51495514e3e06e73ce42b8cda7017fc523a013569378e2bc86bf88ad32d4 @@ -14,6 +15,7 @@ DIST votca-csg-manual-1.5.pdf 1273566 BLAKE2B edfa2adb942d968cf79499e89342b7aaab DIST votca-csg-manual-1.6.1.pdf 1248350 BLAKE2B d4433974e38785fb968bd357ed2914515b2a22a78d6417597265bb1420b5af8b7b9849533a5faba571bcf635eff8385b244b2252bf7a20d3adb9318cd7115b03 SHA512 d627a9c7a71b8ac5e8d6ca109f0ea56978706b0dd1408aaf10b75b4b52f40b6150063248477ca2b5922f603e8d582ddd4dec3de73b3991db5fbb7bf204d347a3 DIST votca-csg-manual-1.6.2.pdf 1241907 BLAKE2B 9d51682099081cb8301eed10e7bb4f3afea89561626da5f3b361939d8d9b4ed15bb49392074bc19c530d413f4913afbf4ce612ee62e0e4d22c30f856a2019cbb SHA512 a85094bfa9ae2fcef52f42af162eb1a94ed30de9d7785aac03d7591177f6982dd315874566ce2671df508a3139ce8816c6becf0e0c1d0bfb9b675063810eb3e7 DIST votca-csg-manual-1.6.3.pdf 1242192 BLAKE2B 18097cd949b1c874b41b9e0df0ae3815027a5d7fe3d7a3b236ae2aacb269106265e9467a4d78dfefd6f51bcd514727d88500e43d759df0d23f76644833d4b2f7 SHA512 a631670100dd1f26f2fa815b714dc51c7551f2d92d2072af210778cc380bfdcbc70d01c0a47b88b0ea351d73a5fd334db1da8463d21c933d7af3d7af3b10ccc2 +DIST votca-csg-manual-1.6.4.pdf 1242124 BLAKE2B 003a255d2869c8185f9e03038f646a80b682be3daceb18757c791f5d52101379402aee20c5dcb65ef8ce651bd6f6590ad5249e835e53ce92e04eb33214017a9e SHA512 36956acd24a21cb0a1dd26d6640b41b7473132948327c05856191b4f9531b4d1d5f98be68a9d1a847935d47633d483e87c2300634233a6e617a010c1fb563690 DIST votca-csg-manual-1.6.pdf 1248178 BLAKE2B 5213d55787041db81fe8563febbf130db6aed9233e569039b66d69cfb173131353d45bef824640ee7b0a3fed7821ede4d5a6ce6ffc14d1548499317afdc0248a SHA512 e91d4b8397b67808c9671b9adbaad41fd9a0ede90066e220839d86f21a9bbcd4e433534faf1dfbca106d55af5a6cce0425a5bdfa3eb30ebe14469594da0129ca DIST votca-csg-manual-1.6_rc1.pdf 1248403 BLAKE2B b702eff4a36d27d592147f115f4e9080cbf580b6401141a14865395f0cb927c35f60035f92724e71e5edadbbe3e317f93989eb6f2e0a0e7b9f685e56851546d2 SHA512 2514bd2fee4bae787a3f8c07d1f1d90061a2b503255efe0730ed164bb002c7e7ad7309ccd3b5b931994f70b7ed99afde28955d9ea1b34c86df21bfcb8bfb39bb DIST votca-csg-tutorials-1.4.1.tar.gz 6339417 BLAKE2B e9acf8e421f6fce4d97be2d51fb559979c6fd3e6b042525cedf32cadeab1dddc5b1aaf80bbbfd387da3bce71672759c2e84d317c789f616dc71834c72a581fff SHA512 896ec9d6b2537a06301046a74c1957708eb96d9854b3ec855fe3457208c142f6fb26a03e323a2644862a1efd0030fcceb1189f73655b984462f0f7127a02de90 @@ -23,5 +25,6 @@ DIST votca-csg-tutorials-1.5.tar.gz 5947774 BLAKE2B d497f1e9282c4cacc070d09d901a DIST votca-csg-tutorials-1.6.1.tar.gz 5945945 BLAKE2B 18ea7e406acf70e37049b1f8676551d96b20825fba25bb9c1e674b0f94f5ee41bd74ce77619880dfb2e2f1f8fb0b40de9ce8a5e9e9d8470639af057376a19632 SHA512 82d60fcea4859e1caa6138147848427dbdb1ddcf4e0713b6f2d50cd624ceacdbce1ceb8e98fb85d079d8d9de02f501ec8c9236243fe75761e44486f27207249b DIST votca-csg-tutorials-1.6.2.tar.gz 5945110 BLAKE2B 2871c89c763c8624deb877f90da10cd2021ec5b10a0d8473c4523b70a179247ad2e809aa5b0aab7c36a324d929b55f3b2070822914043382424b87fbf34ef05b SHA512 40f377a824f6c10be759adf3e1b87dbc5392b00e4a377ba04d998f96aa9b7ceb986c2e5cfac16ea3047f08d2d76deb7e9f3aadfba794f58b8f131861f7a7ff04 DIST votca-csg-tutorials-1.6.3.tar.gz 5944550 BLAKE2B ab84819cd567f60d05fe4368b077541fe4804dc91040354b99a37aa23831af26047b87d2b987a8eb20c4c588fd4fc099302493ce77b4df70f436fc372ec25a4a SHA512 a05b56272b293b5ec7ea5d413f4d34e023ac3f2fe018548891be71ba925181c05ea758b73a0264ee76626582084e7e9f8972dba66ceed31642d3f35796354b99 +DIST votca-csg-tutorials-1.6.4.tar.gz 5944389 BLAKE2B 66f1d4947bb28ec602250226ad2c08cc02278a90776acbcadca2df3078361435fb2353ee0fa299d0d19697d36682f20aab709d45539d5ac7e7070942601ebc3f SHA512 7e40037f2e70c861fd7f5c63806c17ad56672a340a8795fa745414940c55f593bef32b9f6b9050400131ed9e66aa927149e9d324a1c264364d8504baf1921e28 DIST votca-csg-tutorials-1.6.tar.gz 5946764 BLAKE2B 018bd00c86c0a85baf35afd2ea4206c96dee8f948dcbf331b53e6f685b69bf2c909731b15ba3261c86cee9e1960ec5cfa7b2ee0c6dcfabbbbc110789840184ad SHA512 36d3a66c19d230f2002170851345da7063aeef1f29841945b8a182f73922617823815dde5d7289fb0f80e771ac03780adacdf95af4814235edbf69a4772b3696 DIST votca-csg-tutorials-1.6_rc1.tar.gz 5946622 BLAKE2B 7bf0c7083ca7b148d16f7b77b9f785c11b16a8124a5435522e8c065859f4c2ae560c622f04021918b2683c9955d5a1b674c84fad179319f5fedb86616bbe24e7 SHA512 1c89f95944f8277a995d9d6d7dacfae2ae1be54a9a7b19c53d3464a4bdf5da0556e862033ba0a5f442b1ee5bd79bafd478655856fe266f4285c98e14512ce259 diff --git a/sci-chemistry/votca-csg/votca-csg-1.6.4.ebuild b/sci-chemistry/votca-csg/votca-csg-1.6.4.ebuild new file mode 100644 index 000000000000..5ee29ea5b79f --- /dev/null +++ b/sci-chemistry/votca-csg/votca-csg-1.6.4.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_MAKEFILE_GENERATOR="ninja" + +inherit bash-completion-r1 cmake 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" + S="${WORKDIR}/${P#votca-}" +else + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN/-//}.git" + KEYWORDS="" + PDEPEND="${PDEPEND} doc? ( ~app-doc/${PN}-manual-${PV} )" +fi + +DESCRIPTION="Votca coarse-graining engine" +HOMEPAGE="http://www.votca.org" + +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + ~sci-libs/votca-tools-${PV} + >=dev-cpp/eigen-3.3 + gromacs? ( sci-chemistry/gromacs:= ) + hdf5? ( sci-libs/hdf5 ) + dev-lang/perl + app-shells/bash:*" + +DEPEND="${RDEPEND} + >=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 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) + -DCMAKE_DISABLE_FIND_PACKAGE_HDF5=$(usex '!hdf5') + -DWITH_RC_FILES=OFF + ) + 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 doc; then + [[ ${PV} != *9999* ]] && dodoc "${DISTDIR}/${PN}-manual-${PV}.pdf" + 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 +} |