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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 392AB158092 for ; Tue, 7 Jun 2022 06:34:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A8E0E08FC; Tue, 7 Jun 2022 06:34:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5C1CBE08E5 for ; Tue, 7 Jun 2022 06:34:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 77A603415F2 for ; Tue, 7 Jun 2022 06:34:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1259D475 for ; Tue, 7 Jun 2022 06:34:07 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1654583640.aeb44c63c5445484a7be798d2f47d29c51974943.sam@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.6.0.ebuild X-VCS-Directories: sci-mathematics/pspp/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: aeb44c63c5445484a7be798d2f47d29c51974943 X-VCS-Branch: master Date: Tue, 7 Jun 2022 06:34:07 +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: 4b65c96e-ce0e-4bdf-992a-23178f294407 X-Archives-Hash: 00a3b99d17d7557003fdc96ce8871727 commit: aeb44c63c5445484a7be798d2f47d29c51974943 Author: Sam James gentoo org> AuthorDate: Tue Jun 7 06:33:27 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jun 7 06:34:00 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeb44c63 sci-mathematics/pspp: add 1.6.0 Closes: https://bugs.gentoo.org/846278 Signed-off-by: Sam James gentoo.org> sci-mathematics/pspp/Manifest | 1 + sci-mathematics/pspp/pspp-1.6.0.ebuild | 82 ++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) diff --git a/sci-mathematics/pspp/Manifest b/sci-mathematics/pspp/Manifest index c165db85af66..a74e8e99b3d2 100644 --- a/sci-mathematics/pspp/Manifest +++ b/sci-mathematics/pspp/Manifest @@ -1,2 +1,3 @@ DIST pspp-1.2.0.tar.gz 7213194 BLAKE2B f468c6e025f996c9f806fb03e94a4497f02b774c509457cc6295bbefe37abc7e2ecf10d2876c8cff9a979d7a4264c7c185e1cec5fd1d5f2f00f1c6eae4da775e SHA512 49eed2b55f10584abba18ff7d2020fd08691bbc1a3c2f332e6d283e32aa84e0abdae6092d17db9c1a539c63d85ecdfcc2dad40c94a06904b8893a1976e5e48d3 DIST pspp-1.4.1.tar.gz 7848393 BLAKE2B c9232aa3d4905d4be54ae993db6a4b37b3696c748e15c8ba6c46c7e56f9974aefe597f893fdc5431af237ad3923da1ef271db39e4d94725ccf93f0a0df443ef4 SHA512 c664a6c6f4f1826db396ad776d81cadc791e4f661c603a7f164f70f9571a84cfae6fec116356b3f950991245b2b0dc9805e75193a055a242558cda1209e7830f +DIST pspp-1.6.0.tar.gz 9553836 BLAKE2B 4c12003838d7f6c3613d76626d88b24f4dac4b6f507db54b03be5f09027472704ae8ee6ce44d8756c7cd1e12a65ab836cb1f7d004220df8da47f47af85c4a771 SHA512 c8b746b9ea802a95f048e377b22d723701c5e532358aa3e4993edcc73046c4823c440dd988833b69b4ea84ac6b02a442db7daac415bef4c1081efddd9857982d diff --git a/sci-mathematics/pspp/pspp-1.6.0.ebuild b/sci-mathematics/pspp/pspp-1.6.0.ebuild new file mode 100644 index 000000000000..0fcce2c4be8d --- /dev/null +++ b/sci-mathematics/pspp/pspp-1.6.0.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +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="doc examples gtk ncurses nls perl postgres" + +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 + x11-libs/cairo[svg] + x11-libs/pango + gtk? ( + dev-util/glib-utils + x11-libs/gtk+:3 + x11-libs/gtksourceview:4= + >=x11-libs/spread-sheet-widget-0.7 + ) + postgres? ( dev-db/postgresql:=[server] )" +DEPEND="${RDEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + sys-devel/gettext + virtual/pkgconfig + doc? ( virtual/latex-base )" + +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" +} + +src_prepare() { + default + + sed -i '/appdata$/s/appdata$/metainfo/' Makefile.in || die +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(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 +}