~ruther/guix-local

ref: 7b158c4ee2d4b5cf6a2cd9bf0246465c3c8a06ca guix-local/guix/import d---------
afe9f409 — Mark H Weaver 10 years ago
Merge branch 'master' into core-updates
869cda54 — Ben Woodcroft 10 years ago
import: gem: Beautify description field.

* guix/import/gem.scm (gem->guix-package): Use 'beautify-description'.
2028a2c9 — Ben Woodcroft 10 years ago
import: cran: Move beautify-description to utils module.

* guix/import/cran.scm (beautify-description): Move from here...
* guix/import/utils.scm: ... to here.
8c986ab1 — Ludovic Courtès 10 years ago
Merge branch 'master' into core-updates
34a75d35 — Ricardo Wurmus 10 years ago
import: Rename "cran-fetch" to "fetch-description".

* guix/import/cran.scm (cran-fetch): Rename procedure ...
(fetch-description): ... to this.
d1c11608 — Ricardo Wurmus 10 years ago
import: Add package->upstream-name procedure.

* guix/import/cran.scm (package->upstream-name): New procedure.
53334dd6 — Ludovic Courtès 10 years ago
Merge branch 'master' into core-updates
be036757 — Ricardo Wurmus 10 years ago
import: Drop empty list items.

* guix/import/cran.scm (listify): Remove empty strings from result list.
e82e55e5 — Ludovic Courtès 10 years ago
Merge branch 'master' into core-updates
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
Next