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 417C11382C5 for ; Fri, 9 Feb 2018 15:29:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57F07E09BC; Fri, 9 Feb 2018 15:29:28 +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 35ADEE09BC for ; Fri, 9 Feb 2018 15:29:26 +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 59F00335C50 for ; Fri, 9 Feb 2018 15:29:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 235001D4 for ; Fri, 9 Feb 2018 15:29:22 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1518190060.3c47777c6f875d6eaaca06ffc5e9bea008062ee6.alexxy@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/atsas/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/atsas/atsas-2.8.3.ebuild X-VCS-Directories: sci-biology/atsas/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: 3c47777c6f875d6eaaca06ffc5e9bea008062ee6 X-VCS-Branch: master Date: Fri, 9 Feb 2018 15:29:22 +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: e7e51162-bbf4-46d6-8ff1-54f80dbbc364 X-Archives-Hash: 3f1a7c9f3be399011d08585e45b38ad8 commit: 3c47777c6f875d6eaaca06ffc5e9bea008062ee6 Author: Alexey Shvetsov gentoo org> AuthorDate: Fri Feb 9 15:27:40 2018 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Fri Feb 9 15:27:40 2018 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=3c47777c sci-biology/atsas: Add 2.8.3 Package-Manager: Portage-2.3.24, Repoman-2.3.6 sci-biology/atsas/atsas-2.8.3.ebuild | 76 ++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/sci-biology/atsas/atsas-2.8.3.ebuild b/sci-biology/atsas/atsas-2.8.3.ebuild new file mode 100644 index 000000000..b6c368c05 --- /dev/null +++ b/sci-biology/atsas/atsas-2.8.3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-r1 + +DESCRIPTION="Biological Small Angle Scattering" +HOMEPAGE="http://www.embl-hamburg.de/biosaxs" +#SRC_URI="ATSAS-${PV}-1.sl5.x86_64.tar.gz" +#SRC_URI="ATSAS-${PV}-1.el6.x86_64.tar.gz" +SRC_URI="ATSAS-${PV}-1_amd64.tar.gz" + +SLOT="0" +LICENSE="atsas" +KEYWORDS="~amd64 ~amd64-linux" +IUSE="examples" + +RDEPEND=" + dev-libs/libxml2:2 + dev-qt/qtcore:4 + dev-qt/qtgui:4 + media-libs/tiff:0 + sci-libs/cbflib + x11-libs/qwt:5 +" +DEPEND="dev-util/patchelf" + +RESTRICT="fetch strip" + +S="${WORKDIR}"/${P^^}-1 + +QA_PREBUILT="opt/.* usr/.*" + +pkg_nofetch() { + elog "Please visit http://www.embl-hamburg.de/biosaxs/atsas-online/download.php" + elog "and download the ${A} for Ubuntu 16.04" + elog "and place it in ${DISTDIR}" +} + +src_install() { + local i + for i in bin/*; do + patchelf \ + --set-rpath "$(gcc-config -L):${EPREFIX}/opt/${PN}/:${EPREFIX}/usr/lib/qt4/" \ + ${i} || die + done + exeinto /opt/bin + doexe bin/* + + insinto /opt/${PN} + doins lib/*/atsas/{libqwt*.so*,libsaxsdocument*.so*} + + python_foreach_impl python_domodule lib/*/atsas/python*/dist-packages/* + + rm share/doc/${P}/LICENSE.txt || die + if use examples; then + cp -rf share/doc/${P}/* share/${PN}/ || die + fi + + pushd share/icons/hicolor/ > /dev/null + for i in *; do + doicon -s ${i} -t hicolor ${i}/* + done + popd > /dev/null + + domenu share/applications/* + + rm -rf share/{applications,doc,icons,mime} || die + + insinto /usr + doins -r share +}