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-2.2.28
- Loading branch information
Showing
2 changed files
with
117 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,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 |
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,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 | ||
} |