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 D132D139085 for ; Thu, 2 Feb 2017 20:29:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3BD5E0E40; Thu, 2 Feb 2017 20:29:21 +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 BB773E0E40 for ; Thu, 2 Feb 2017 20:29:21 +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 3815D340F2A for ; Thu, 2 Feb 2017 20:29:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 833923B8E for ; Thu, 2 Feb 2017 20:29:18 +0000 (UTC) From: "Guilherme Amadio" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" Message-ID: <1486067070.bb6a0f0a0b28a53c60ea375c31e76db464e8ade8.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gwyddion/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-visualization/gwyddion/Manifest sci-visualization/gwyddion/gwyddion-2.47.ebuild X-VCS-Directories: sci-visualization/gwyddion/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: bb6a0f0a0b28a53c60ea375c31e76db464e8ade8 X-VCS-Branch: master Date: Thu, 2 Feb 2017 20:29:18 +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: aad83562-f286-4b89-947d-0b8d8d1aa94d X-Archives-Hash: a6389554118742d16dfd2d64ba53fccd commit: bb6a0f0a0b28a53c60ea375c31e76db464e8ade8 Author: Gerhard Bräunlich gmx net> AuthorDate: Sun Jan 15 11:23:02 2017 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Thu Feb 2 20:24:30 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb6a0f0a sci-visualization/gwyddion: Version bump to 2.47, EAPI bump 5 -> 6 Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/3688 Signed-off-by: Guilherme Amadio gentoo.org> sci-visualization/gwyddion/Manifest | 1 + sci-visualization/gwyddion/gwyddion-2.47.ebuild | 85 +++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/sci-visualization/gwyddion/Manifest b/sci-visualization/gwyddion/Manifest index 0a88a1a..462d42c 100644 --- a/sci-visualization/gwyddion/Manifest +++ b/sci-visualization/gwyddion/Manifest @@ -1 +1,2 @@ DIST gwyddion-2.44.tar.xz 3517624 SHA256 e7ee7545770a276e78fdff1b51e547d5d0ba39b94995da91e0d6797122b7eda5 SHA512 c80a0e4e9dde2f669763629d34dacc0015770c4704a10fc820f4d8e75b4f4275852162653f0c6c52674ed76162861af860de6741466d939066bfea3fb584d2ff WHIRLPOOL 56f78efb477da520a65473ce6be9eff88897198e8a80e5971a2280755fdc61925405c0a464572cf7887689746d140eefc855562569919bc17e057f472ac0b597 +DIST gwyddion-2.47.tar.xz 3974120 SHA256 e948abb3d281d49d3684e4c15d88c424dde11c71647bdbbba0a1d9fce74fa656 SHA512 a6bbda2d32ec013a9d6c7e2b6dbf2cef08d8f964099c0fda511bc92c16c943459f29d52f784a599466af65027aaae3aaeb1b79e56c40e39bc47019044eecd3e6 WHIRLPOOL a244f0ccb6e3ba7d53401df89c1a7279d6d21196c09b89da71a6a979c410f0b88a1f064da8c8a5d49629a7ef8d449ce2ec673e631bf486178f5435127ae8efdd diff --git a/sci-visualization/gwyddion/gwyddion-2.47.ebuild b/sci-visualization/gwyddion/gwyddion-2.47.ebuild new file mode 100644 index 00000000..502643d --- /dev/null +++ b/sci-visualization/gwyddion/gwyddion-2.47.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit fdo-mime gnome2-utils python-single-r1 + +DESCRIPTION="Framework for Scanning Mode Microscopy data analysis" +HOMEPAGE="http://gwyddion.net/" +SRC_URI="http://gwyddion.net/download/${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc fits fftw gnome kde nls opengl perl python ruby sourceview xml X" + +RDEPEND=" + media-libs/libpng:0= + x11-libs/cairo + x11-libs/gtk+:2 + x11-libs/libXmu + x11-libs/pango + fits? ( sci-libs/cfitsio ) + fftw? ( sci-libs/fftw:3.0= ) + gnome? ( gnome-base/gconf:2 ) + kde? ( kde-frameworks/kdelibs:4 ) + opengl? ( virtual/opengl x11-libs/gtkglext ) + perl? ( dev-lang/perl:= ) + python? ( + ${PYTHON_DEPS} + dev-python/pygtk:2[${PYTHON_USEDEP}] + ) + ruby? ( dev-ruby/narray ) + sourceview? ( x11-libs/gtksourceview:2.0 ) + xml? ( dev-libs/libxml2:2 )" + +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( dev-util/gtk-doc ) +" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_configure() { + econf \ + --disable-rpath \ + $(use_enable doc gtk-doc) \ + $(use_enable nls) \ + $(use_enable python pygwy) \ + $(use_enable fits cfitsio) \ + $(use_with perl) \ + $(use_with python) \ + $(use_with ruby) \ + $(use_with fftw fftw3) \ + $(use_with opengl gl) \ + $(use_with sourceview gtksourceview) \ + $(use_with xml libxml2) \ + $(use_with X x) \ + $(use_with kde kde4-thumbnailer) +} + +src_install() { + default + use python && dodoc modules/pygwy/README.pygwy +} + +pkg_postinst() { + use gnome && gnome2_gconf_install + fdo-mime_desktop_database_update +} + +pkg_prerm() { + use gnome && gnome2_gconf_uninstall +} + +pkg_postrm() { + fdo-mime_desktop_database_update +}