From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 79780138330 for ; Tue, 27 Sep 2016 18:13:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 387E2E0941; Tue, 27 Sep 2016 18:13:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 09EFAE0941 for ; Tue, 27 Sep 2016 18:13:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C9FD2340739 for ; Tue, 27 Sep 2016 18:13:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 088E5249B for ; Tue, 27 Sep 2016 18:13:49 +0000 (UTC) From: "Christoph Junghans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" Message-ID: <1475000017.551afdbc2b2a72fff0dae392979b7df1c5ed5721.ottxor@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/votca-xtp/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-chemistry/votca-xtp/Manifest sci-chemistry/votca-xtp/metadata.xml sci-chemistry/votca-xtp/votca-xtp-1.4_rc1.ebuild sci-chemistry/votca-xtp/votca-xtp-9999.ebuild X-VCS-Directories: sci-chemistry/votca-xtp/ X-VCS-Committer: ottxor X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: 551afdbc2b2a72fff0dae392979b7df1c5ed5721 X-VCS-Branch: master Date: Tue, 27 Sep 2016 18:13:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 05a01244-cd8f-4db5-b96c-feb0960e31f6 X-Archives-Hash: 9de95ab6a9b3f73d2968f6b6c056ff95 commit: 551afdbc2b2a72fff0dae392979b7df1c5ed5721 Author: Christoph Junghans gentoo org> AuthorDate: Tue Sep 27 18:13:02 2016 +0000 Commit: Christoph Junghans gentoo org> CommitDate: Tue Sep 27 18:13:37 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=551afdbc sci-chemistry/votca-xtp: initial commit Package-Manager: portage-2.3.0 sci-chemistry/votca-xtp/Manifest | 2 + sci-chemistry/votca-xtp/metadata.xml | 15 +++++ sci-chemistry/votca-xtp/votca-xtp-1.4_rc1.ebuild | 71 ++++++++++++++++++++++++ sci-chemistry/votca-xtp/votca-xtp-9999.ebuild | 71 ++++++++++++++++++++++++ 4 files changed, 159 insertions(+) diff --git a/sci-chemistry/votca-xtp/Manifest b/sci-chemistry/votca-xtp/Manifest new file mode 100644 index 00000000..ab1a26b --- /dev/null +++ b/sci-chemistry/votca-xtp/Manifest @@ -0,0 +1,2 @@ +DIST votca-xtp-1.4_rc1.tar.gz 15210079 SHA256 b3c839b0cd372399a9de3e06a2d1aedb926ccde4d2df3b9600bc1470ddb0b7df SHA512 ae8d39471d87ba5caee7fd8f5f5c7562f1d5a2cb0952566e0412a7dd614af746e492d77409746ba1cd92cdc8836b902aa4d78a24f66d54904ee32cc371b7d399 WHIRLPOOL 251df4c041dad352cc2e28fc834b9c0fc1c073b4442ba5760b0df19c7addcc6d34d1ac203c4c002630c75ed24b73d8551045c82bbd1b36e55b694166c31cd32f +DIST votca-xtp-manual-1.4_rc1.pdf 1064036 SHA256 641a0ee0f95a31f01cf8efccfecf00fea6b353206ded3b06bfd0147c1216df99 SHA512 c877535d09faab51bc023c0e3851327fa2cd5139df6291b764d7207605da339aedd883eaf356b6152532f76d803b408b0264efcabb3ba03dcf6d074028285c46 WHIRLPOOL a4f8f8e8b48a66e73b9ae48e4db0449232b025f6431522c6089b4e09dcc4d72aeeb9bd7c6625b1a00c6210dbbbb59c5d741b3db2c01bb752015e01f32428d772 diff --git a/sci-chemistry/votca-xtp/metadata.xml b/sci-chemistry/votca-xtp/metadata.xml new file mode 100644 index 00000000..9d258fe --- /dev/null +++ b/sci-chemistry/votca-xtp/metadata.xml @@ -0,0 +1,15 @@ + + + + + ottxor@gentoo.org + Christoph Junghans + + + sci-chemistry@gentoo.org + Gentoo Chemistry Project + + + votca/xtp + + diff --git a/sci-chemistry/votca-xtp/votca-xtp-1.4_rc1.ebuild b/sci-chemistry/votca-xtp/votca-xtp-1.4_rc1.ebuild new file mode 100644 index 00000000..d00cbee --- /dev/null +++ b/sci-chemistry/votca-xtp/votca-xtp-1.4_rc1.ebuild @@ -0,0 +1,71 @@ +# 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" +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="git://github.com/${PN/-//}.git https://github.com/${PN/-//}.git" + KEYWORDS="" +fi + +DESCRIPTION="Votca excitation and charge properties module" +HOMEPAGE="http://www.votca.org" + +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + =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 "http://dx.doi.org/10.1021/ct200388s" + einfo +} diff --git a/sci-chemistry/votca-xtp/votca-xtp-9999.ebuild b/sci-chemistry/votca-xtp/votca-xtp-9999.ebuild new file mode 100644 index 00000000..d00cbee --- /dev/null +++ b/sci-chemistry/votca-xtp/votca-xtp-9999.ebuild @@ -0,0 +1,71 @@ +# 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" +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="git://github.com/${PN/-//}.git https://github.com/${PN/-//}.git" + KEYWORDS="" +fi + +DESCRIPTION="Votca excitation and charge properties module" +HOMEPAGE="http://www.votca.org" + +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + =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 "http://dx.doi.org/10.1021/ct200388s" + einfo +}