aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-01-30 12:44:35 +0100
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-01-30 12:44:35 +0100
commit79041b6b3a7157ef0b55a484e739ddedcc6d95de (patch)
tree59d8e6e950edcd9af62c1d8b3f15d4d136375630 /sci-libs
parentsci-libs/vxl: version bump, EAPI bump, add keywords (diff)
downloadsci-79041b6b3a7157ef0b55a484e739ddedcc6d95de.tar.gz
sci-79041b6b3a7157ef0b55a484e739ddedcc6d95de.tar.bz2
sci-79041b6b3a7157ef0b55a484e739ddedcc6d95de.zip
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 <andrewammerlaan@riseup.net>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/starparse/Manifest1
-rw-r--r--sci-libs/starparse/files/starparse-9999-guile1.8.patch60
-rw-r--r--sci-libs/starparse/starparse-0.9.ebuild (renamed from sci-libs/starparse/starparse-9999.ebuild)21
3 files changed, 8 insertions, 74 deletions
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-9999.ebuild b/sci-libs/starparse/starparse-0.9.ebuild
index 1e3deec02..a18173e1b 100644
--- a/sci-libs/starparse/starparse-9999.ebuild
+++ b/sci-libs/starparse/starparse-0.9.ebuild
@@ -1,32 +1,25 @@
# 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
+EAPI=7
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"
+SRC_URI="https://downloads.sourceforge.net/project/burrow-owl/starparse/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64"
-IUSE="guile static-libs test"
+IUSE="guile test"
RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( guile )"
RDEPEND="guile? ( dev-scheme/guile:12 )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${P}-guile1.8.patch )
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
src_configure() {
- local myeconfargs=( $(use_enable guile) )
- autotools-utils_src_configure
+ econf $(use_enable guile)
}