From 79041b6b3a7157ef0b55a484e739ddedcc6d95de Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sat, 30 Jan 2021 12:44:35 +0100 Subject: sci-libs/starparse: EAPI bump, add version 0.9, add keywords Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan --- sci-libs/starparse/Manifest | 1 + .../starparse/files/starparse-9999-guile1.8.patch | 60 ---------------------- sci-libs/starparse/starparse-0.9.ebuild | 25 +++++++++ sci-libs/starparse/starparse-9999.ebuild | 32 ------------ 4 files changed, 26 insertions(+), 92 deletions(-) create mode 100644 sci-libs/starparse/Manifest delete mode 100644 sci-libs/starparse/files/starparse-9999-guile1.8.patch create mode 100644 sci-libs/starparse/starparse-0.9.ebuild delete mode 100644 sci-libs/starparse/starparse-9999.ebuild (limited to 'sci-libs') diff --git a/sci-libs/starparse/Manifest b/sci-libs/starparse/Manifest new file mode 100644 index 000000000..1f47416e5 --- /dev/null +++ b/sci-libs/starparse/Manifest @@ -0,0 +1 @@ +DIST starparse-0.9.tar.gz 339051 BLAKE2B 72fd956c5b5dc4d323df5b8dc5df90e90ff71595ab3017cd88db6ec68b19ff2ed1d36b6d6de5d12e691ef2401304fdc079b00a4da2604af0712bb2040ffde3d2 SHA512 7544e9bbda0f22ab038fc6b008f12f6c44dcbc9916f212adb4c0abde5ed3afc886074bff1db174a99e197bc90c281f4829b995cbc8053678ae033c7a7be8e218 diff --git a/sci-libs/starparse/files/starparse-9999-guile1.8.patch b/sci-libs/starparse/files/starparse-9999-guile1.8.patch deleted file mode 100644 index 1d6e176b0..000000000 --- a/sci-libs/starparse/files/starparse-9999-guile1.8.patch +++ /dev/null @@ -1,60 +0,0 @@ ---- src/guile-binding.c -+++ src/guile-binding.c -@@ -61,10 +61,10 @@ - char* filter_string = NULL; - char* fname = "-"; - -- if (SCM_NFALSEP(filter_string_scm)) -+ if (scm_is_true(filter_string_scm)) - filter_string = scm_to_locale_string(filter_string_scm); - -- if (SCM_NFALSEP(fname_scm)) -+ if (scm_is_true(fname_scm)) - fname = scm_to_locale_string(fname_scm); - - ship_item_cb = ship_item_scm; ---- src/Makefile.am -+++ src/Makefile.am -@@ -6,13 +6,10 @@ - libstarparse_la_SOURCES =\ - parser.y lexer.l starparse.h - --libstarparse_la_CFLAGS = --libstarparse_la_LDFLAGS = -- - if ENABLE_GUILE - libstarparse_la_SOURCES += guile-binding.c guile-compat.h --libstarparse_la_CFLAGS += @GUILE_CFLAGS@ --libstarparse_la_LDFLAGS += @GUILE_LDFLAGS@ -lpthread -+libstarparse_la_CFLAGS = @GUILE_CFLAGS@ -+libstarparse_la_LIBADD = @GUILE_LIBS@ -lpthread - endif - - ---- configure.ac -+++ configure.ac -@@ -10,18 +10,13 @@ - - AM_INIT_AUTOMAKE - --AC_ARG_ENABLE(guile, -+AC_ARG_ENABLE([guile], - AS_HELP_STRING([--enable-guile], -- [build bindings for guile scheme interpreter]), -- USE_GUILE=$enable_guile, -- USE_GUILE=yes) # default value -- --if test "x$USE_GUILE" = "xyes"; --then -- GUILE_FLAGS --fi -- --AM_CONDITIONAL(ENABLE_GUILE, test "x$USE_GUILE" = "xyes") -+ [build bindings for guile scheme interpreter])) -+AS_IF([test "x$enable_guile" = "xyes"], [ -+ PKG_CHECK_MODULES([GUILE], [guile-1.8]) -+]) -+AM_CONDITIONAL(ENABLE_GUILE, test "x$enable_guile" = "xyes") - - AC_CONFIG_FILES([Makefile - starparse-env diff --git a/sci-libs/starparse/starparse-0.9.ebuild b/sci-libs/starparse/starparse-0.9.ebuild new file mode 100644 index 000000000..a18173e1b --- /dev/null +++ b/sci-libs/starparse/starparse-0.9.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Library for parsing NMR star files (peak-list format) and CIF files" +HOMEPAGE="http://burrow-owl.sourceforge.net/" +SRC_URI="https://downloads.sourceforge.net/project/burrow-owl/starparse/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="guile test" +RESTRICT="!test? ( test )" + +REQUIRED_USE="test? ( guile )" + +RDEPEND="guile? ( dev-scheme/guile:12 )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + econf $(use_enable guile) +} diff --git a/sci-libs/starparse/starparse-9999.ebuild b/sci-libs/starparse/starparse-9999.ebuild deleted file mode 100644 index 1e3deec02..000000000 --- a/sci-libs/starparse/starparse-9999.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -AUTOTOOLS_AUTORECONF=yes - -inherit autotools-utils git-r3 - -DESCRIPTION="Library for parsing NMR star files (peak-list format) and CIF files" -HOMEPAGE="http://burrow-owl.sourceforge.net/" -EGIT_REPO_URI="git://burrow-owl.git.sourceforge.net/gitroot/burrow-owl/starparse" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="" - -IUSE="guile static-libs test" -RESTRICT="!test? ( test )" - -REQUIRED_USE="test? ( guile )" - -RDEPEND="guile? ( dev-scheme/guile:12 )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -PATCHES=( "${FILESDIR}"/${P}-guile1.8.patch ) - -src_configure() { - local myeconfargs=( $(use_enable guile) ) - autotools-utils_src_configure -} -- cgit v1.2.3-18-g5258