Publish 1.0.1

Julien LepillerThu May 28 17:12:31+0200 2020

7eccbfe

Publish 1.0.1

Makefile.am

11
include guile.am
22
33
SOURCES= \
4-
  config.scm \
54
  jsonld.scm \
65
  jsonld/compaction.scm \
76
  jsonld/context-processing.scm \

2726
  jsonld/serialize-rdf.scm \
2827
  jsonld/term-selection.scm \
2928
  jsonld/value-compaction.scm \
30-
  jsonld/value-expansion.scm \
29+
  jsonld/value-expansion.scm
30+
31+
TEST_MODULES= \
32+
  config.scm \
3133
  test-modules/download.scm \
3234
  test-modules/online.scm \
3335
  test-modules/result.scm \
3436
  test-modules/testsuite.scm
3537
38+
AM_TESTS_ENVIRONMENT = GUILE_AUTO_COMPILE=0
3639
TEST_EXTENSIONS = .scm
3740
SCM_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/tap-driver.sh --color-tests yes --ignore-exit
3841
TESTS = tests/compact.scm \

4144
		tests/remote-doc.scm \
4245
		tests/fromrdf.scm \
4346
		tests/tordf.scm
44-
EXTRA_DIST += $(TESTS)
47+
EXTRA_DIST += $(TESTS) $(TEST_MODULES)
4548
4649
coverage:
4750
	./pre-inst-env ./tests/coverage.scm >/dev/null

configure.ac

22
# Process this file with autoconf to produce a configure script.
33
44
AC_PREREQ([2.69])
5-
AC_INIT([jsonld], [1.0.0], [julien@lepiller.eu])
5+
AC_INIT([guile-jsonld], [1.0.1], [julien@lepiller.eu])
66
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
77
88
# Checks for programs.

guix.scm

2424
  (guix utils)
2525
  (gnu packages autotools)
2626
  (gnu packages guile)
27+
  (gnu packages guile-xyz)
2728
  (gnu packages pkg-config)
2829
  (gnu packages texinfo)
2930
  (gnu packages tls))
3031
31-
(define guile3.0-rdf
32-
  (package
33-
    (name "guile-rdf")
34-
    (version "1.0")
35-
    (source
36-
      (origin
37-
        (method git-fetch)
38-
        (uri (git-reference
39-
               (url "https://framagit.org/tyreunom/guile-rdf")
40-
               (commit "382d5dcb66fbf770445f329fc3db3fa789b45867")))
41-
        (file-name (git-file-name name version))
42-
        (sha256
43-
         (base32
44-
          "1gjhrgqbsf1nhvmrz2fy9a4351yiyxb4kl81hc0bqilacnqr5p7g"))))
45-
    (build-system gnu-build-system)
46-
    (arguments
47-
     `(#:tests? #f)); require network
48-
    (inputs
49-
     `(("guile" ,guile-next)))
50-
    (native-inputs
51-
     `(("automake" ,automake)
52-
       ("autoconf" ,autoconf)
53-
       ("pkg-config" ,pkg-config)
54-
       ("texinfo" ,texinfo)))
55-
    (home-page "https://framagit.org/tyreunom/guile-rdf")
56-
    (synopsis "Guile implementation of the RDF abstract syntax and the Turtle syntax")
57-
    (description "Resource Description Framework (RDF) is a general-purpose
58-
language for representing information in the Web.  Multiple languages can be
59-
used to represent RDF data, turtle is one of them.")
60-
    (license license:gpl3+)))
61-
6232
(package
6333
  (name "guile-jsonld")
64-
  (version "0.1")
34+
  (version "1.0.1")
6535
  (source
6636
    (origin
6737
      (method git-fetch)

7646
  (arguments
7747
   `(#:tests? #f)); require network
7848
  (inputs
79-
   `(("guile" ,guile-next)
80-
     ("guile-gnutls" ,guile3.0-gnutls)
81-
     ("guile-json" ,guile3.0-json)
82-
     ("guile-rdf" ,guile3.0-rdf)))
49+
   `(("guile" ,guile-3.0)
50+
     ("guile-gnutls" ,gnutls)
51+
     ("guile-json" ,guile-json-3)
52+
     ("guile-rdf" ,guile-rdf)))
8353
  (native-inputs
8454
   `(("automake" ,automake)
8555
     ("autoconf" ,autoconf)

pre-inst-env.in

66
GUILE_LOAD_COMPILED_PATH="$abs_top_builddir${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
77
GUILE_LOAD_PATH="$abs_top_builddir:$abs_top_srcdir${GUILE_LOAD_PATH:+:}:$GUILE_LOAD_PATH"
88
export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH
9+
export GUILE_AUTO_COMPILE=0
910
1011
PATH="$abs_top_builddir:$PATH"
1112
export PATH