diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-10-13 22:11:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-10-13 22:11:03 +0100 |
commit | 2929788def9a92c1eb237eed93fbdb0c02838bbf (patch) | |
tree | 166b01591366d3479084ea774c888bc84aaa8d4f /sci-libs/starparse | |
parent | ab499d7cfb9ad23e83cf7a4f5052bdf1b4c42030 (diff) |
Revert "gentoo resync : 13.10.2019"
This reverts commit ab499d7cfb9ad23e83cf7a4f5052bdf1b4c42030.
Diffstat (limited to 'sci-libs/starparse')
-rw-r--r-- | sci-libs/starparse/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/starparse/files/starparse-1.0-guile1.8.patch | 60 | ||||
-rw-r--r-- | sci-libs/starparse/metadata.xml | 11 | ||||
-rw-r--r-- | sci-libs/starparse/starparse-1.0-r1.ebuild | 32 |
4 files changed, 107 insertions, 0 deletions
diff --git a/sci-libs/starparse/Manifest b/sci-libs/starparse/Manifest new file mode 100644 index 000000000000..c191a3a671bb --- /dev/null +++ b/sci-libs/starparse/Manifest @@ -0,0 +1,4 @@ +AUX starparse-1.0-guile1.8.patch 1598 BLAKE2B 7b384f8e4b37d103050e7d3c5c4ae0226f4ae9789d218077e683ce362b55975f63174748b9a347f5887a969a79678ea87af455f1b2d712f3a29909c1c160c625 SHA512 bc6b7cdc93486e42035ea7e5d8240194e800958b572437c6cf6a38cf0c4a8e928ae44d001560ec27124cbf4a3b71950ad7e65dbfea337a66ead94efab59eb2ef +DIST starparse-1.0.tar.bz2 5466370 BLAKE2B 8445baf5594a90e22e6b91a1795981568f637febce4dc0a714fb67d55e6047e74d005c8ecb7a86195f506cabe1d09ea8a9f8638ff97e010b001e63f8e9f76d17 SHA512 47e862258281a3faa506d4eb573a2819a9f5b1cb16828c4951d5d23bbfa8877d9b737ca0b33136dcf8ae0e96ecc9d310ba65a5b7cf1fe18ab8beb092f2342e9a +EBUILD starparse-1.0-r1.ebuild 850 BLAKE2B ef238bf8d949c190ff03dcdb331b556309567125a843629c85129d04ab16db2a73b911a430ead4568a00c7da7459d5ce631553d5d70c8cea768630cb2630e81a SHA512 72e4e5ed295768e78aaa2123b6cb8b47dbe5ecce99531fe8c9b39f923e96765b3abda36de7ddb677b8897fd196fb1104fdfac90038fac16c1f366d8e488d0826 +MISC metadata.xml 354 BLAKE2B 2a1ccd6918e79f7200ab9f7b170fdf7ecfae1a778586accc2ea57a3b21e1f714aa370ab8ee4958e98b4a7b359230480b0c89ba4a63662801a64ca4d27b119c67 SHA512 08b0512376b310bac7c53e9e5b6a5b2829a9435c8fa49962e3c156d2af7d379ba6b737e6cd40c2d9278a25cd73f8272e34779d734645e20c5da34515a2840232 diff --git a/sci-libs/starparse/files/starparse-1.0-guile1.8.patch b/sci-libs/starparse/files/starparse-1.0-guile1.8.patch new file mode 100644 index 000000000000..1d6e176b079e --- /dev/null +++ b/sci-libs/starparse/files/starparse-1.0-guile1.8.patch @@ -0,0 +1,60 @@ +--- 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/metadata.xml b/sci-libs/starparse/metadata.xml new file mode 100644 index 000000000000..9fc24da1501f --- /dev/null +++ b/sci-libs/starparse/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-chemistry@gentoo.org</email> + <name>Gentoo Chemistry Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">starparse</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-libs/starparse/starparse-1.0-r1.ebuild b/sci-libs/starparse/starparse-1.0-r1.ebuild new file mode 100644 index 000000000000..3d11e67b51fd --- /dev/null +++ b/sci-libs/starparse/starparse-1.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=yes + +inherit autotools-utils + +DESCRIPTION="Library for parsing NMR star files (peak-list format) and CIF files" +HOMEPAGE="http://burrow-owl.sourceforge.net/" +#SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +# Created from rev 19 @ http://oregonstate.edu/~benisong/software/projects/starparse/releases/1.0 +SRC_URI="http://dev.gentooexperimental.org/~jlec/distfiles/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="guile static-libs 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 +} |