diff options
author | Christoph Junghans <junghans@gentoo.org> | 2017-09-03 07:40:17 -0600 |
---|---|---|
committer | Christoph Junghans <junghans@gentoo.org> | 2017-09-03 07:41:02 -0600 |
commit | 38d031625392c79e6cf49a141994d5e8d8f54ba7 (patch) | |
tree | 87f897eb8c5f38da7de1571778fffca9eeb678a4 /sci-chemistry | |
parent | aa46486d5213af2178325669c1a84311d8b089c7 (diff) | |
download | gentoo-38d031625392c79e6cf49a141994d5e8d8f54ba7.tar.gz gentoo-38d031625392c79e6cf49a141994d5e8d8f54ba7.tar.xz |
sci-chemistry/votca-xtp: version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/votca-xtp/Manifest | 2 | ||||
-rw-r--r-- | sci-chemistry/votca-xtp/votca-xtp-1.4.1.ebuild | 71 |
2 files changed, 73 insertions, 0 deletions
diff --git a/sci-chemistry/votca-xtp/Manifest b/sci-chemistry/votca-xtp/Manifest index 1b5a592ef74..e026a97cb32 100644 --- a/sci-chemistry/votca-xtp/Manifest +++ b/sci-chemistry/votca-xtp/Manifest @@ -1,2 +1,4 @@ +DIST votca-xtp-1.4.1.tar.gz 15214413 SHA256 3c1d7b94e8c34ceb74310c7c1661f570dbe3a3ad58c118e9c62913c416452978 SHA512 1a3f5df3dc9a7f532464ef84ff4f4f8e60b9495529f349ab5e496595e73fff8f4678b8276b2c5733dd3f692ca03220e7d0bc4a82163017572428c0d1dd5f91fd WHIRLPOOL 2249cebd9cf03f42d0e82d7ab45c04853894ed563d04716fa1b22f472ac6fa8edb6ffce8be3e52cd29489cdbfb17784b2c9a9860bbda113c972a131d2f8caea0 DIST votca-xtp-1.4.tar.gz 15214266 SHA256 a52bc19ce6168a16a8d3e1e6b6b35de10a266b3b5dccd8afa9c1708629699ddc SHA512 ffc32260331862393e199f7ab643b1008ee4f800cd017f175550a079afaa20e5c929cb8599bc0c2a2328253051895de7b979f5fec044243abc680a0dc87a69b9 WHIRLPOOL 7a28f99d0fc06cbd571c075ec813d085eaa2c8e3cbb0e632b1b38c01c630a75730279ab362764f5ba682324cc1866a7ba87d2b93ab9eb812b9ff7f31eb3ae84a +DIST votca-xtp-manual-1.4.1.pdf 1066873 SHA256 20a4f121c0a3f7f9c139058fb0057d82772cb48ed896d428cc6cb3a3088667e6 SHA512 fdf1147f24785524f5e96020fcd29c32bbeef520eebf6afba32b59d7e777d586c452919478d2734c3f021e558b1147b945cdbc0833402be2b16e5af3a8e37f5f WHIRLPOOL 82778fef7d2ed7d1671d068eab641c4afb5ee7bea851b01cdc25c2ef92b2ec4f33ae1606ab94841304eef886d053e7c122352b0d0b0a95ce4b55fda339e5493a DIST votca-xtp-manual-1.4.pdf 1064006 SHA256 332fe5ccbbcea0c26f7542a50adbffcbb34e9aec555b67c60102094ae7119c81 SHA512 96d7f59dbcc3a6efdc297237025217d5a56d2c81e491d90680786ea4769a5ebbea379df3b06c4847307ee30accd7415e316dee4730361262f5aff73d2f5d387e WHIRLPOOL 974854581b104d0018d304452fe3d2fbfcfe4c873c3adb4c35139e0413c13aff5364538ac9521ee2e6f65cc256674ba7960d43fddd74cb78e66d893f357b8200 diff --git a/sci-chemistry/votca-xtp/votca-xtp-1.4.1.ebuild b/sci-chemistry/votca-xtp/votca-xtp-1.4.1.ebuild new file mode 100644 index 00000000000..6f4425ac718 --- /dev/null +++ b/sci-chemistry/votca-xtp/votca-xtp-1.4.1.ebuild @@ -0,0 +1,71 @@ +# 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" +if [ "${PV}" != "9999" ]; then + SRC_URI="https://github.com/${PN/-//}/archive/v${PV}.tar.gz -> ${P}.tar.gz + doc? ( https://github.com/${PN/-//}/releases/download/v${PV}/${PN}-manual-${PV}.pdf )" + 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 excitation and charge properties module" +HOMEPAGE="http://www.votca.org" + +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + =sci-libs/votca-tools-${PV}[sqlite] + =sci-chemistry/votca-csg-${PV}" + +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 NOTICE CHANGELOG.md ) + +src_configure() { + mycmakeargs=( + -DLIB=$(get_libdir) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + if use doc; then + if [[ ${PV} = *9999* ]]; then + cmake-utils_src_make -C "${CMAKE_BUILD_DIR}" manual + newdoc "${S}"/manual/xtp-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 +} + +pkg_postinst() { + einfo + einfo "Please read and cite:" + einfo "VOTCA-CTP, J. Chem. Theo. Comp. 7, 3335-3345 (2011)" + einfo "https://dx.doi.org/10.1021/ct200388s" + einfo +} |