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 624D41382C5 for ; Thu, 26 Nov 2020 22:56:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6AB47E0863; Thu, 26 Nov 2020 22:56:47 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 40CA5E0863 for ; Thu, 26 Nov 2020 22:56:47 +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 B2155341395 for ; Thu, 26 Nov 2020 22:56:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00DD3456 for ; Thu, 26 Nov 2020 22:56:44 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1606431388.7b0ba2efd3e40addd272c01c8d24f4d99c7b43e6.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pspp/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/pspp/Manifest sci-mathematics/pspp/pspp-1.4.1.ebuild X-VCS-Directories: sci-mathematics/pspp/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 7b0ba2efd3e40addd272c01c8d24f4d99c7b43e6 X-VCS-Branch: master Date: Thu, 26 Nov 2020 22:56:44 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3777f86a-7327-44c8-ad14-0cb45c3fbd4f X-Archives-Hash: 57c08569a42eb0364626d02f41e50ec3 commit: 7b0ba2efd3e40addd272c01c8d24f4d99c7b43e6 Author: John Helmert III posteo net> AuthorDate: Thu Nov 26 22:56:28 2020 +0000 Commit: David Seifert gentoo org> CommitDate: Thu Nov 26 22:56:28 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b0ba2ef sci-mathematics/pspp: version bump to 1.4.1 Closes: https://github.com/gentoo/gentoo/pull/18417 Signed-off-by: John Helmert III posteo.net> Signed-off-by: David Seifert gentoo.org> sci-mathematics/pspp/Manifest | 1 + sci-mathematics/pspp/pspp-1.4.1.ebuild | 90 ++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/sci-mathematics/pspp/Manifest b/sci-mathematics/pspp/Manifest index b6717e465c4..c165db85af6 100644 --- a/sci-mathematics/pspp/Manifest +++ b/sci-mathematics/pspp/Manifest @@ -1 +1,2 @@ DIST pspp-1.2.0.tar.gz 7213194 BLAKE2B f468c6e025f996c9f806fb03e94a4497f02b774c509457cc6295bbefe37abc7e2ecf10d2876c8cff9a979d7a4264c7c185e1cec5fd1d5f2f00f1c6eae4da775e SHA512 49eed2b55f10584abba18ff7d2020fd08691bbc1a3c2f332e6d283e32aa84e0abdae6092d17db9c1a539c63d85ecdfcc2dad40c94a06904b8893a1976e5e48d3 +DIST pspp-1.4.1.tar.gz 7848393 BLAKE2B c9232aa3d4905d4be54ae993db6a4b37b3696c748e15c8ba6c46c7e56f9974aefe597f893fdc5431af237ad3923da1ef271db39e4d94725ccf93f0a0df443ef4 SHA512 c664a6c6f4f1826db396ad776d81cadc791e4f661c603a7f164f70f9571a84cfae6fec116356b3f950991245b2b0dc9805e75193a055a242558cda1209e7830f diff --git a/sci-mathematics/pspp/pspp-1.4.1.ebuild b/sci-mathematics/pspp/pspp-1.4.1.ebuild new file mode 100644 index 00000000000..5c58d5dba49 --- /dev/null +++ b/sci-mathematics/pspp/pspp-1.4.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) + +inherit python-any-r1 xdg + +DESCRIPTION="Program for statistical analysis of sampled data" +HOMEPAGE="https://www.gnu.org/software/pspp/pspp.html" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="cairo doc examples gtk ncurses nls perl postgres test" +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( cairo )" + +RDEPEND=" + dev-libs/libxml2:2 + sci-libs/gsl:0= + sys-devel/gettext + sys-libs/ncurses:0= + sys-libs/readline:0= + sys-libs/zlib + virtual/libiconv + cairo? ( + x11-libs/cairo[svg] + x11-libs/pango + ) + gtk? ( + x11-libs/gtk+:3 + x11-libs/gtksourceview:3.0= + >=x11-libs/spread-sheet-widget-0.6 + cairo? ( dev-util/glib-utils ) + ) + postgres? ( dev-db/postgresql:=[server] )" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig + doc? ( virtual/latex-base ) + test? ( ${PYTHON_DEPS} )" + +pkg_pretend() { + ewarn "Starting with pspp-1.4.0 the pspp-mode emacs package is no longer" + ewarn "shipped with pspp itself, and should instead be fetched from ELPA:" + ewarn "https://elpa.gnu.org/packages/pspp-mode.html" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + default + sed -i '/appdata$/s/appdata$/metainfo/' Makefile.in || die +} + +src_configure() { + econf \ + --disable-static \ + $(use_enable nls) \ + $(use_with cairo) \ + $(use_with gtk gui) \ + $(use_with perl perl-module) \ + $(use_with postgres libpq) +} + +src_compile() { + default + if use doc; then + emake html pdf + HTML_DOCS=( doc/pspp{,-dev}.html ) + fi +} + +src_install() { + default + + use doc && dodoc doc/pspp{,-dev}.pdf + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + find "${ED}" -name '*.la' -type f -delete || die +}