~ruther/guix-local

ref: c725dc4da1d1fa1e052d769355581278b9fe4e2c guix-local/guix/import d---------
0f6b9e98 — Ricardo Wurmus 10 years ago
import: cran: Parse DESCRIPTION instead of HTML.

* guix/import/cran.scm (description->alist, listify,
  beautify-description, description->package): New procedures.
(table-datum, downloads->url, nodes->text, cran-sxml->sexp): Remove
proceduces.
(latest-release): Use parsed DESCRIPTION instead of SXML.
* tests/cran.scm: Rewrite to match importer.
b6a22275 — Ricardo Wurmus 10 years ago
import: cran: Match more license strings.

* guix/import/cran.scm (string->license): Match more license strings to
  license symbols.
85dce718 — Ludovic Courtès 10 years ago
import: pypi: Updater silently ignores packages without source.

Reported by Andreas Enge <andreas@enge.fr>
at <https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00764.html>.

* guix/import/pypi.scm (&missing-source-error): New error type.
(latest-source-release): Raise it instead of using 'error'.
(pypi->guix-package): Guard against it and use 'leave' to report the
error.
(latest-release): Guard against it and return #f when caught.
96018e21 — Federico Beffa 10 years ago
import: hackage: Handle CRLF end of line style.

* guix/import/hackage.scm (hackage-fetch, hackage->guix-package): Use
  'canonical-newline-port'.
94abc848 — Federico Beffa 10 years ago
import: hackage: Make parsing of tests and fields more flexible.

* guix/import/cabal.scm (is-test): Allow spaces between keyword and
  parentheses.
  (is-id): Add argument 'port'.  Allow spaces between keyword and column.
  (lex-word): Adjust call to 'is-id'.
876fd23a — Federico Beffa 10 years ago
import: hackage: Make it resilient to missing final newline.

* guix/import/cabal.scm (peek-next-line-indent): Check for missing final
  newline.
9be54eb1 — Federico Beffa 10 years ago
import: hackage: Imporve parsing of tests.

* guix/import/cabal.scm (lex-word): Add support for tests with no spaces.
  (impl): Rewrite.
7716f55c — Federico Beffa 10 years ago
import: hackage: Add recognition of 'true' and 'false' symbols.

* guix/import/cabal.scm (is-true, is-false, lex-true, lex-false): New procedures.
  (lex-word): Use them.
  (make-cabal-parser): Add TRUE and FALSE tokens.
  (eval): Add entries for 'true and 'false symbols.
32728adb — Ludovic Courtès 10 years ago
import: pypi: Make downloads silent.

* guix/import/pypi.scm (pypi-fetch): Wrap body in
  'call-with-output-file' and 'with-error-to-port'.
d1cb7e95 — Ludovic Courtès 10 years ago
import: pypi: Add missing copyright line.

* guix/import/pypi.scm: Add missing copyright line for bab020d.
bab020d7 — Cyril Roelandt 10 years ago
import: pypi: add updater

* guix/import/pypi.scm (guix-package->pypi-name,
  latest-release): New procedures.
  (%pypi-updater): New variable.
* guix/scripts/refresh.scm (%updaters): Add %PYPI-UPDATER.
* doc/guix.texi (Invoking guix refresh): Mention PyPI
d8bdd382 — Cyril Roelandt 10 years ago
import: pypi: Use "pypi-uri" instead of building the URL manually.

* guix/import/pypi.scm (make-pypi-sexp): Use "pypi-uri".
* tests/pypi.scm: Update the tests accordingly.
3195e19d — Ludovic Courtès 10 years ago
import: gnu: Update to the (guix upstream) API.

This is a followup to 0a7c5a0.

* guix/import/gnu.scm (preferred-archive-type): Use
  'upstream-source-archive-types' instead of 'gnu-release-archive-types'.
  (gnu-package->sexp): Use 'upstream-source-urls' et al.  Update call to
  'download-tarball'.
  (gnu->guix-package): Use <upstream-source> instead of <gnu-release>.
* guix/upstream.scm (upstream-source-archive-types): Export.
eed588d9 — 宋文武 10 years ago
Merge branch 'master' into dbus-update
7e6b490d — Alex Kost 10 years ago
upstream: Add 'description' field to 'upstream-updater'.

Suggested by Ludovic Courtès <ludo@gnu.org>.

* guix/upstream.scm (<upstream-updater>): Use 'define-record-type*'.
  [description]: New field.
  (lookup-updater): Adjust accordingly.
* guix/gnu-maintenance.scm (%gnu-updater): Likewise.
* guix/import/cran.scm (%cran-updater): Likewise.
* guix/import/elpa.scm (%elpa-updater): Likewise.
* po/guix/POTFILES.in: Add guix/scripts/import/cran.scm and
  guix/gnu-maintenance.scm.
d3365d48 — Mark H Weaver 10 years ago
Merge branch 'master' into dbus-update
759756a9 — Paul van der Walt 10 years ago
import: hackage: Update GHC libraries for 7.10.2.

Update ghc-standard-libraries to match the output of `ghc-pkg list` when
using GHC 7.10.2.

* guix/import/hackage.scm (ghc-standard-libraries): Sort and update list
  of core GHC libraries.
102eac2a — Ludovic Courtès 10 years ago
import: cran: Add copyright notice.

Add notice for commit d882c23.
053cfdb3 — Ludovic Courtès 10 years ago
import: cran: Avoid HTTP redirect.

* guix/import/cran.scm (cran-fetch): Add trailing slash in URL to avoid
  HTTP redirect.
d882c235 — Ludovic Courtès 10 years ago
import: cran: Add updater.

* guix/import/cran.scm (downloads->url, nodes->text): New procedures.
  (cran-sxml->sexp): Use them.  Remove equivalent local code.
  (latest-release, cran-package?): New procedures.
  (%cran-updater): New variable.
* guix/scripts/refresh.scm (%updaters): Add %CRAN-UPDATER.
* doc/guix.texi (Invoking guix refresh): Mention CRAN.
Next