diff options
Diffstat (limited to 'sci-mathematics/pspp')
-rw-r--r-- | sci-mathematics/pspp/Manifest | 4 | ||||
-rw-r--r-- | sci-mathematics/pspp/pspp-1.6.2-r2.ebuild | 12 | ||||
-rw-r--r-- | sci-mathematics/pspp/pspp-2.0.1.ebuild | 77 |
3 files changed, 83 insertions, 10 deletions
diff --git a/sci-mathematics/pspp/Manifest b/sci-mathematics/pspp/Manifest index fb929542a7d0..f2cadba292c1 100644 --- a/sci-mathematics/pspp/Manifest +++ b/sci-mathematics/pspp/Manifest @@ -1,4 +1,6 @@ AUX pspp-1.6.2-underlinking.patch 980 BLAKE2B 59d7509417526e3428023f2e0f085a9ec806fe4bada8934404e0da3d306860f5826d83b9682151c5c4946bdf914618e3d555c99d60b93e858e56221cbd336c12 SHA512 8773b768dd8336a37c97527ac24311d7006c04c4ea0b71199432dc779b7a16c2b2e6fa786714cb7e359a2e52e806958315644f13199a7f656445d1c17a2b852a DIST pspp-1.6.2.tar.gz 9249366 BLAKE2B d1a4fb352615be8d5f3af3125d10760648ab16e8d2b42dbf0632de64a5bb5bbe87b9b56661c7f600ea09c6a359e477376d3efb821280023d1825d6eb7b0a299f SHA512 fd8b6b23ae4e4a1a560bf4d20c35e761d84dcde2e220648303303f11e9c17d56285a3d5b3c26e7dad44d52ecc82fdf93fdc51a3533ff907f2ca1f1474922e31f -EBUILD pspp-1.6.2-r2.ebuild 1875 BLAKE2B 842c4b078a2e5c15eb4a595bb138e71627cbb0ca49e65575ab32e1a7461597955baea7e201f10b6df4e6f5ffc9188fdf2aec407e13f95b865e5476c847224803 SHA512 f43ceab326d1e1c7c983c2d8de912174934db4af67b7de4839f22050fde03ba6ba9fb0d12332f2a4b968310f23ebe5b59e473af7251afab7dac4e7e0daf323f3 +DIST pspp-2.0.1.tar.gz 10943885 BLAKE2B 14fd946116e88f021078b8d2e8e26b657408c54e7af3c0877bdd3428c8ac80cd44bc24c667ce30fb20bd2ec6137be1bdcb7873294dc55879e353fa75b35ccdee SHA512 e9be8c46d5e46b3665d1efa0e8015a0c738ceef8cdd8f8dddc7288cc6522c66a1372f7ad7be42caafbe2b37a96c31b83c3a4ad0503bdb2f0b1e3261c33529b31 +EBUILD pspp-1.6.2-r2.ebuild 1784 BLAKE2B 76c0cf124d11728e3daef07ea7806a576c03978c840e665dc460cf07a9633806d1886d11ea9441285fc293702021bd5a336ac668d10369977d74c29e704e6ba0 SHA512 0a1743e5db3d27a7f3692a37f796b259106048659b9bb3ac6c501c53cf14ac191f698b376fa52e1259e1aaa9a881978fb5a408578bd8e326eb5e8cb961026b9a +EBUILD pspp-2.0.1.ebuild 1622 BLAKE2B a062079164e0bb27a327c3b134b4ac6646529b6b97ab8586446feee51be9dfa7f88faba3e1043e6ba3328d1e8987ef2386b73f7fce5ea825065f2a12be43b973 SHA512 91d0b8f3f39e5709e46279e0aec948d4f415c1bf61b1fb5d33d2c32fc4eaaf90fc910c8b67e49deab065677e9f1f2f34b956d79e9a58c828b23926f9f4482d7a MISC metadata.xml 789 BLAKE2B 512ff8155a10ed8c1be37ec63067c73c196c5bfe48d9722feaba5305e95703e0cccd247d5d55dd123275f3543632020d3cacedb0416953a547e5e7015d1f759f SHA512 011cf3d266b6d1385791930ce84850e99d5d0b506d9ffb632807a8e825217e94ba02c3cb55b56a6be40fc1e84bfed28b7db7131ce58fe958468d5a44b6734305 diff --git a/sci-mathematics/pspp/pspp-1.6.2-r2.ebuild b/sci-mathematics/pspp/pspp-1.6.2-r2.ebuild index 7bd92ddfe088..4f2afc27c76c 100644 --- a/sci-mathematics/pspp/pspp-1.6.2-r2.ebuild +++ b/sci-mathematics/pspp/pspp-1.6.2-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit python-any-r1 xdg @@ -38,7 +38,7 @@ BDEPEND=" ${PYTHON_DEPS} sys-devel/gettext virtual/pkgconfig - doc? ( virtual/latex-base )" + doc? ( virtual/texi2dvi )" PATCHES=( "${FILESDIR}/pspp-1.6.2-underlinking.patch" ) @@ -48,12 +48,6 @@ pkg_pretend() { 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) \ diff --git a/sci-mathematics/pspp/pspp-2.0.1.ebuild b/sci-mathematics/pspp/pspp-2.0.1.ebuild new file mode 100644 index 000000000000..5c86bd9e04c3 --- /dev/null +++ b/sci-mathematics/pspp/pspp-2.0.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +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+ FDL-1.3+" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples gui ncurses nls perl postgres" + +RDEPEND=" + dev-libs/libxml2:2 + >=sci-libs/gsl-1.13:0= + sys-libs/readline:0= + sys-libs/zlib + virtual/libiconv + x11-libs/cairo[svg(+)] + x11-libs/pango + gui? ( + >=dev-libs/glib-2.44:2 + >=x11-libs/gtk+-3.22.0:3 + >=x11-libs/gtksourceview-4.0: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/texi2dvi ) + gui? ( dev-util/glib-utils ) +" + +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_configure() { + econf \ + $(use_enable nls) \ + $(use_with 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 +} |