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 F037F138333 for ; Sun, 8 Apr 2018 09:55:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36174E09C1; Sun, 8 Apr 2018 09:55:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 006EAE09C1 for ; Sun, 8 Apr 2018 09:55:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D9E3B335C5C for ; Sun, 8 Apr 2018 09:55:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C744B27D for ; Sun, 8 Apr 2018 09:55:13 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1523181232.903ccf1e86f6f4d80e671dc8a1af6ed92eb0519e.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/avogadro2/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-chemistry/avogadro2/Manifest sci-chemistry/avogadro2/avogadro2-1.90.0_p20180211.ebuild X-VCS-Directories: sci-chemistry/avogadro2/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 903ccf1e86f6f4d80e671dc8a1af6ed92eb0519e X-VCS-Branch: master Date: Sun, 8 Apr 2018 09:55:13 +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: 7296c0b8-ccb2-4207-9d3d-cc191df8d963 X-Archives-Hash: d710f3570dea684da8be1d0f00c0ed7d commit: 903ccf1e86f6f4d80e671dc8a1af6ed92eb0519e Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Apr 7 22:20:56 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Apr 8 09:53:52 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=903ccf1e sci-chemistry/avogadro2: Add 1.90.0_p20180211 snapshot Closes: https://bugs.gentoo.org/649864 Package-Manager: Portage-2.3.28, Repoman-2.3.9 sci-chemistry/avogadro2/Manifest | 1 + .../avogadro2/avogadro2-1.90.0_p20180211.ebuild | 59 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/sci-chemistry/avogadro2/Manifest b/sci-chemistry/avogadro2/Manifest index 46710a47a73..db642e32bd3 100644 --- a/sci-chemistry/avogadro2/Manifest +++ b/sci-chemistry/avogadro2/Manifest @@ -1 +1,2 @@ DIST avogadro2-0.9.0.tar.gz 1096442 BLAKE2B b2c986b57fa5a9ea8876316f403bef55e9dd1f0a61d9320876935635952ef4e8443fc763a0f57595007e3a9c681d2fa083cf417b94e66b22dd188b05b6db8343 SHA512 bc780b1f45822ffc6cef82cf5fbe04cfbab035e553037959965eb0cad2c3f87e53bc71a574c7154cae5909377c74d14708550070c1794bdd5d83d738846b03ba +DIST avogadro2-1.90.0_p20180211.tar.gz 1099312 BLAKE2B fbf8e2006c46114632587615b48ac130e45a46ce2859a9c34270714091bc8397d9d7a93c3166bf58833f100e3e40afd1962012e479a8f92ba8ff9078200d51c5 SHA512 db9b0983d2161df493138ddf18c5dbda54cf2f8b75ebc944f1f57dab0f1e2048582362e5f46a78b1610aba080aaac8a66d2b2b71db748e031ffde306d3609856 diff --git a/sci-chemistry/avogadro2/avogadro2-1.90.0_p20180211.ebuild b/sci-chemistry/avogadro2/avogadro2-1.90.0_p20180211.ebuild new file mode 100644 index 00000000000..8b017684a57 --- /dev/null +++ b/sci-chemistry/avogadro2/avogadro2-1.90.0_p20180211.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN=avogadroapp +COMMIT=d5e1f827be7e9d1cc6755fd68a2b42b0b1d2ec32 +inherit cmake-utils xdg-utils + +DESCRIPTION="Advanced molecule editor and visualizer 2" +HOMEPAGE="https://www.openchemistry.org/" +SRC_URI="https://github.com/OpenChemistry/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="BSD GPL-2+" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc rpc test vtk" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + >=sci-libs/avogadrolibs-${PV}[qt5,vtk?] + sci-libs/hdf5:= + rpc? ( sci-chemistry/molequeue ) +" +DEPEND="${DEPEND} + dev-cpp/eigen:3 + test? ( dev-qt/qttest:5 ) +" + +RESTRICT="test" + +S="${WORKDIR}/${MY_PN}-${COMMIT}" + +src_prepare() { + cmake-utils_src_prepare + sed -e "/LICENSE/d" -i CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DBUILD_DOCUMENTATION=$(usex doc) + -DAvogadro_ENABLE_RPC=$(usex rpc) + -DENABLE_TESTING=$(usex test) + -DUSE_VTK=$(usex vtk) + ) + cmake-utils_src_configure +} + +pkg_postinst() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +}