1 |
commit: 79041b6b3a7157ef0b55a484e739ddedcc6d95de |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Sat Jan 30 11:44:35 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Sat Jan 30 11:44:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=79041b6b |
7 |
|
8 |
sci-libs/starparse: EAPI bump, add version 0.9, add keywords |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
12 |
|
13 |
.../starparse/files/starparse-9999-guile1.8.patch | 60 ---------------------- |
14 |
...{starparse-9999.ebuild => starparse-0.9.ebuild} | 21 +++----- |
15 |
2 files changed, 7 insertions(+), 74 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/starparse/files/starparse-9999-guile1.8.patch b/sci-libs/starparse/files/starparse-9999-guile1.8.patch |
18 |
deleted file mode 100644 |
19 |
index 1d6e176b0..000000000 |
20 |
--- a/sci-libs/starparse/files/starparse-9999-guile1.8.patch |
21 |
+++ /dev/null |
22 |
@@ -1,60 +0,0 @@ |
23 |
---- src/guile-binding.c |
24 |
-+++ src/guile-binding.c |
25 |
-@@ -61,10 +61,10 @@ |
26 |
- char* filter_string = NULL; |
27 |
- char* fname = "-"; |
28 |
- |
29 |
-- if (SCM_NFALSEP(filter_string_scm)) |
30 |
-+ if (scm_is_true(filter_string_scm)) |
31 |
- filter_string = scm_to_locale_string(filter_string_scm); |
32 |
- |
33 |
-- if (SCM_NFALSEP(fname_scm)) |
34 |
-+ if (scm_is_true(fname_scm)) |
35 |
- fname = scm_to_locale_string(fname_scm); |
36 |
- |
37 |
- ship_item_cb = ship_item_scm; |
38 |
---- src/Makefile.am |
39 |
-+++ src/Makefile.am |
40 |
-@@ -6,13 +6,10 @@ |
41 |
- libstarparse_la_SOURCES =\ |
42 |
- parser.y lexer.l starparse.h |
43 |
- |
44 |
--libstarparse_la_CFLAGS = |
45 |
--libstarparse_la_LDFLAGS = |
46 |
-- |
47 |
- if ENABLE_GUILE |
48 |
- libstarparse_la_SOURCES += guile-binding.c guile-compat.h |
49 |
--libstarparse_la_CFLAGS += @GUILE_CFLAGS@ |
50 |
--libstarparse_la_LDFLAGS += @GUILE_LDFLAGS@ -lpthread |
51 |
-+libstarparse_la_CFLAGS = @GUILE_CFLAGS@ |
52 |
-+libstarparse_la_LIBADD = @GUILE_LIBS@ -lpthread |
53 |
- endif |
54 |
- |
55 |
- |
56 |
---- configure.ac |
57 |
-+++ configure.ac |
58 |
-@@ -10,18 +10,13 @@ |
59 |
- |
60 |
- AM_INIT_AUTOMAKE |
61 |
- |
62 |
--AC_ARG_ENABLE(guile, |
63 |
-+AC_ARG_ENABLE([guile], |
64 |
- AS_HELP_STRING([--enable-guile], |
65 |
-- [build bindings for guile scheme interpreter]), |
66 |
-- USE_GUILE=$enable_guile, |
67 |
-- USE_GUILE=yes) # default value |
68 |
-- |
69 |
--if test "x$USE_GUILE" = "xyes"; |
70 |
--then |
71 |
-- GUILE_FLAGS |
72 |
--fi |
73 |
-- |
74 |
--AM_CONDITIONAL(ENABLE_GUILE, test "x$USE_GUILE" = "xyes") |
75 |
-+ [build bindings for guile scheme interpreter])) |
76 |
-+AS_IF([test "x$enable_guile" = "xyes"], [ |
77 |
-+ PKG_CHECK_MODULES([GUILE], [guile-1.8]) |
78 |
-+]) |
79 |
-+AM_CONDITIONAL(ENABLE_GUILE, test "x$enable_guile" = "xyes") |
80 |
- |
81 |
- AC_CONFIG_FILES([Makefile |
82 |
- starparse-env |
83 |
|
84 |
diff --git a/sci-libs/starparse/starparse-9999.ebuild b/sci-libs/starparse/starparse-0.9.ebuild |
85 |
similarity index 52% |
86 |
rename from sci-libs/starparse/starparse-9999.ebuild |
87 |
rename to sci-libs/starparse/starparse-0.9.ebuild |
88 |
index 1e3deec02..a18173e1b 100644 |
89 |
--- a/sci-libs/starparse/starparse-9999.ebuild |
90 |
+++ b/sci-libs/starparse/starparse-0.9.ebuild |
91 |
@@ -1,32 +1,25 @@ |
92 |
# Copyright 1999-2021 Gentoo Authors |
93 |
# Distributed under the terms of the GNU General Public License v2 |
94 |
|
95 |
-EAPI=5 |
96 |
- |
97 |
-AUTOTOOLS_AUTORECONF=yes |
98 |
- |
99 |
-inherit autotools-utils git-r3 |
100 |
+EAPI=7 |
101 |
|
102 |
DESCRIPTION="Library for parsing NMR star files (peak-list format) and CIF files" |
103 |
HOMEPAGE="http://burrow-owl.sourceforge.net/" |
104 |
-EGIT_REPO_URI="git://burrow-owl.git.sourceforge.net/gitroot/burrow-owl/starparse" |
105 |
+SRC_URI="https://downloads.sourceforge.net/project/burrow-owl/starparse/${PV}/${P}.tar.gz" |
106 |
|
107 |
LICENSE="GPL-2" |
108 |
SLOT="0" |
109 |
-KEYWORDS="" |
110 |
+KEYWORDS="~amd64" |
111 |
|
112 |
-IUSE="guile static-libs test" |
113 |
+IUSE="guile test" |
114 |
RESTRICT="!test? ( test )" |
115 |
|
116 |
REQUIRED_USE="test? ( guile )" |
117 |
|
118 |
RDEPEND="guile? ( dev-scheme/guile:12 )" |
119 |
-DEPEND="${RDEPEND} |
120 |
- virtual/pkgconfig" |
121 |
- |
122 |
-PATCHES=( "${FILESDIR}"/${P}-guile1.8.patch ) |
123 |
+DEPEND="${RDEPEND}" |
124 |
+BDEPEND="virtual/pkgconfig" |
125 |
|
126 |
src_configure() { |
127 |
- local myeconfargs=( $(use_enable guile) ) |
128 |
- autotools-utils_src_configure |
129 |
+ econf $(use_enable guile) |
130 |
} |