~ruther/guix-local

ref: ac00a3d8970db9b7570dca11fd048385b367cf02 guix-local/guix/import d---------
322bb53c — Ludovic Courtès 10 years ago
import: snix: Use the right 'package-name->name+version'.

Fixes a regression introduced in
1b846da8c372bee78851439fd9e72b2499115e5a.

* guix/import/snix.scm: Use 'package-name->name+version' from (guix
build utils).
917a2a58 — Ben Woodcroft 10 years ago
import: Add github-updater.

* guix/import/github.scm: New file.
* guix/scripts/refresh.scm (%updaters): Add %GITHUB-UPDATER.
* doc/guix.texi (Invoking guix refresh): Mention it.
* Makefile.am (MODULES): Add gnu/import/github.scm.
fbc5b815 — Ben Woodcroft 10 years ago
import: gem: Add updater.

* guix/import/gem.scm (guix-package->gem-name,
  gem-package?, latest-release): New procedures.
  (%gem-updater): New variable.
  (rubygems-fetch): Wrap body in
  'call-with-output-file' and 'with-error-to-port'.
* guix/scripts/refresh.scm (%updaters): Add %GEM-UPDATER.
* doc/guix.texi (Invoking guix refresh): Mention RubyGems.
74e667d1 — Mathieu Lirzin 10 years ago
packages: Use '@' in package record printers.

* guix/packages.scm <package>: Use '@' in record printer.
* guix/import/cabal.scm <cabal-package>: Likewise
* guix/import/elpa.scm <elpa-package>: Likewise.
* tests/packages.scm: Adapt to it.
412bee5e — Mark H Weaver 10 years ago
Merge branch 'master' into core-updates
e88d5fa9 — Ben Woodcroft 10 years ago
import: gem: Beautify only the description, not the synopsis.

* guix/import/gem.scm (make-gem-sexp): Add synopsis argument.
(gem->guix-package): Pass unbeautified synopsis to make-gem-sexp.
* tests/gem.scm: Adapt it.
d0bd632f — Ricardo Wurmus 10 years ago
import: Add Bioconductor importer and updater.

* guix/import/cran.scm (%bioconductor-updater,
latest-bioconductor-release, bioconductor-package?): New procedures.
(cran->guix-package): Support repositories other than CRAN.
(%bioconductor-url, %bioconductor-svn-url): New variables.
(description->package): Update signature to distinguish between packages
from different repositories.
(latest-release): Rename procedure ...
(latest-cran-release): ... to this.
(cran-package?): Do not assume all R packages are available on CRAN.
* tests/cran.scm: Update tests.
* guix/scripts/import/cran.scm: Add "--archive" option and default to
CRAN.
* guix/scripts/refresh.scm (%updaters): Add "%bioconductor-updater".
* doc/guix.texi: Document Bioconductor importer and updater.
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'.
Next