Age | Commit message (Collapse) | Author |
|
* guix/import/cpan.scm (latest-release): Add 'inputs' field.
* tests/cpan.scm ("package-latest-release"): New test.
|
|
* guix/import/cpan.scm (cpan-name->downstream-name)
(cran-dependency->upstream-input, cran-module-inputs): New procedures.
(cpan-module->sexp)[guix-name, convert-inputs]: Remove.
[maybe-inputs]: Adjust to deal with <upstream-input>.
Use 'cpan-name->downstream-name' instead of 'guix-name'. Add call to
'cpan-module-inputs' and adjust calls to 'maybe-inputs'. No longer emit
input labels.
* tests/cpan.scm ("cpan->guix-package"): Adjust test accordingly.
|
|
* guix/import/cpan.scm (package->upstream-name): Remove useless
'string-append'.
|
|
This test was being skipped since
ea6fb108f6a3a53d48ea187b1f82b5f7ffce00a7.
* tests/upstream.scm ("coalesce-sources same version"): Compare a
serialized form of <upstream-source>.
|
|
* guix/upstream.scm (<upstream-input-change>): Remove.
(changed-inputs): Remove.
* tests/upstream.scm (test-package, test-new-package)
("changed-inputs returns no changes")
("changed-inputs returns changes to plain input list")
("changed-inputs returns changes to all plain input lists"): Remove.
|
|
Previously, 'guix refresh r-ggplot2 -u' and similar commands would print
of list of input changes that would have to be made manually. With this
change, 'guix refresh -u' takes care of updating input fields
automatically.
* guix/upstream.scm (update-package-inputs): New procedure.
(update-package-source): Call it when 'upstream-source-inputs' returns
true.
* guix/scripts/refresh.scm (update-package): Remove iteration over the
result of 'changed-inputs'.
* guix/import/test.scm (available-updates): Add support for input
lists.
* tests/guix-refresh.sh (GUIX_TEST_UPDATER_TARGETS): Add input list for
"the-test-package".
Make sure 'guix refresh -u' updates 'inputs' accordingly.
* doc/guix.texi (Invoking guix refresh): Mention it.
|
|
* guix/scripts/style.scm (absolute-location): Move to...
* guix/diagnostics.scm (absolute-location): ... here.
* guix/upstream.scm (update-package-source): Use it.
|
|
Returning the expected list of inputs rather than changes relative to
the current package definition is less ambiguous and offers more
possibilities for further processing.
* guix/upstream.scm (<upstream-source>)[input-changes]: Remove.
[inputs]: New field.
(<upstream-input>): New record type.
* guix/upstream.scm (upstream-input-type-predicate)
(input-type-filter, upstream-source-regular-inputs)
(upstream-source-native-inputs, upstream-source-propagated-inputs): New
procedures.
(changed-inputs): Expect an <upstream-source> as its second argument.
Adjust accordingly.
* guix/import/pypi.scm (distribution-sha256): New procedure.
(maybe-inputs): Expect a list of <upstream-input>.
(compute-inputs): Rewrite to return a list of <upstream-input>.
(pypi-package-inputs, pypi-package->upstream-source): New procedures.
(make-pypi-sexp): Use it.
* guix/import/stackage.scm (latest-lts-release): Define 'cabal'.
Replace 'input-changes' field by 'inputs'.
* guix/scripts/refresh.scm (update-package): Use 'changed-inputs'
instead of 'upstream-source-input-changes'.
* tests/cran.scm ("description->package"): Adjust order of inputs.
* tests/pypi.scm (default-sha256, default-sha256/base32): New variables.
(foo-json): Add 'digests' entry.
("pypi->guix-package, no wheel"): Check HASH against DEFAULT-SHA256/BASE32.
("pypi->guix-package, wheels"): Likewise.
("pypi->guix-package, no usable requirement file."): Likewise.
("pypi->guix-package, package name contains \"-\" followed by digits"):
Likewise.
("package-latest-release"): New test.
* tests/upstream.scm (test-package-sexp): Remove.
("changed-inputs returns no changes"): Rewrite to use <upstream-source>.
(test-new-package-sexp): Remove.
("changed-inputs returns changes to plain input list"): Rewrite.
("changed-inputs returns changes to all plain input lists"): Likewise.
("changed-inputs returns changes to labelled input list")
("changed-inputs returns changes to all labelled input lists"): Remove.
* guix/import/cran.scm (maybe-inputs): Expect PACKAGE-INPUTS to be a
list of <upstream-input>.
(source-dir->dependencies): Return a list of <upstream-input>.
(vignette-builders): Likewise.
(uri-helper, cran-package-source-url)
(cran-package-propagated-inputs, cran-package-inputs): New procedures.
(description->package): Use them instead of local definitions.
(latest-cran-release): Replace 'input-changes' field by 'inputs'.
(latest-bioconductor-release): Likewise.
(format-inputs): Remove.
* guix/import/hackage.scm (cabal-package-inputs): New procedure.
(hackage-module->sexp): Use it.
[maybe-inputs]: Expect a list of <upstream-input>.
|
|
* doc/guix.texi (Invoking guix refresh): Show how to run 'guix refresh
-u' on a third-party channel.
|
|
* guix/import/json.scm (json-fetch): Add #:timeout and pass it to
'http-fetch'.
|
|
That way backtraces show where the error actually originates from.
* guix/import/utils.scm (call-with-networking-exception-handler):
Rewrite using 'with-exception-handler'.
|
|
* guix/import/pypi.scm (%pypi-base-url): New variable.
(pypi-fetch): Use it.
* tests/pypi.scm (foo-json): Compute URLs relative to '%local-url'.
(test-json-1, test-json-2, test-source-hash): Remove.
(file-dump): New procedure.
(with-pypi): New macro.
("pypi->guix-package, no wheel")
("pypi->guix-package, wheels")
("pypi->guix-package, no usable requirement file.")
("pypi->guix-package, package name contains \"-\" followed by digits"):
Rewrite using 'with-pypi'.
|
|
* guix/tests/http.scm (%local-url): Add #:path parameter and honor it.
(call-with-http-server)[responses]: Add extra clause with 'path'.
[bad-request]: New variable.
[server-body]: Handle three-element clauses.
Wrap 'run-server' call in 'parameterize'.
|
|
* tests/pypi.scm (sample-directory): New variable.
(pypi-tarball, wheel-file): New procedures.
("pypi->guix-package, no wheel")
("pypi->guix-package, wheels")
("pypi->guix-package, no usable requirement file.")
("pypi->guix-package, package name contains \"-\" followed by digits"):
Use them.
|
|
* guix/transformations.scm (show-transformation-options-help/detailed):
Add '--tune'.
|
|
* po/*/*.po (guix/scripts/gc.scm): Round MiBs in user feedback.
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
|
|
* guix/scripts/gc.scm (guix-gc): Round MiBs in user feedback.
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
|
|
* gnu/packages/statistics.scm (r-desctools): Update to 0.99.49.
[propagated-inputs]: Add r-withr.
|
|
* gnu/packages/statistics.scm (r-rrcov): Update to 1.7-3.
|
|
* gnu/packages/statistics.scm (r-rcpparmadillo): Update to 0.12.4.0.0.
|
|
* gnu/packages/statistics.scm (r-knitr): Update to 1.43.
|
|
* gnu/packages/statistics.scm (r-markdown): Update to 1.7.
|
|
* gnu/packages/statistics.scm (r-matrix): Update to 1.5-4.1.
|
|
* gnu/packages/cran.scm (r-cartogram): Update to 0.3.0.
|
|
* gnu/packages/cran.scm (r-zoib): Update to 1.6.
|
|
* gnu/packages/cran.scm (r-crul): Update to 1.4.0.
|
|
* gnu/packages/cran.scm (r-dismo): Update to 1.3-14.
|
|
* gnu/packages/cran.scm (r-rgeos): Update to 0.6-3.
|
|
* gnu/packages/cran.scm (r-tzdb): Update to 0.4.0.
|
|
* gnu/packages/cran.scm (r-lwgeom): Update to 0.2-13.
|
|
* gnu/packages/cran.scm (r-mlr3pipelines): Update to 0.5.0-1.
[native-inputs]: Add r-knitr.
|
|
* gnu/packages/cran.scm (r-mlr3misc): Update to 0.12.0.
|
|
* gnu/packages/cran.scm (r-scattermore): Update to 1.1.
|
|
* gnu/packages/cran.scm (r-igraph): Update to 1.4.3.
|
|
* gnu/packages/cran.scm (r-confintr): Update to 1.0.1.
|
|
* gnu/packages/cran.scm (r-spatstat): Update to 3.0-6.
|
|
* gnu/packages/cran.scm (r-spatstat-random): Update to 3.1-5.
|
|
* gnu/packages/cran.scm (r-spatstat-linnet): Update to 3.1-1.
|
|
* gnu/packages/cran.scm (r-spatstat-geom): Update to 3.2-1.
|
|
* gnu/packages/cran.scm (r-spatstat-utils): Update to 3.0-3.
|
|
* gnu/packages/cran.scm (r-spatstat-model): Update to 3.2-4.
|
|
* gnu/packages/cran.scm (r-spatstat-explore): Update to 3.2-1.
|
|
* gnu/packages/cran.scm (r-scatterpie): Update to 0.2.0.
|
|
* gnu/packages/cran.scm (r-qgraph): Update to 1.9.5.
|
|
* gnu/packages/cran.scm (r-stanheaders): Update to 2.26.25.
|
|
* gnu/packages/cran.scm (r-quanteda): Update to 3.3.1.
|
|
* gnu/packages/cran.scm (r-influencer): Update to 0.1.5.
|
|
* gnu/packages/cran.scm (r-biclust): Update to 2.0.3.1.
|
|
* gnu/packages/cran.scm (r-imager): Update to 0.45.2.
|
|
* gnu/packages/cran.scm (r-fda): Update to 6.1.4.
|