aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorAge
* import: pypi: Fix typo in docstring.•••* guix/import/pypi.scm (guess-requirements): Fix typo. Maxim Cournoyer2019-07-02
* import: pypi: Parse wheel METADATA instead of metadata.json.•••With newer Wheel releases, there is no more metadata.json file; the METADATA file should be used instead (see: https://github.com/pypa/wheel/issues/195). This change updates our PyPI importer so that it uses the latter. * guix/import/pypi.scm (define-module): Remove unnecessary modules and export the PARSE-WHEEL-METADATA procedure. (parse-wheel-metadata): Add procedure. (guess-requirements): Use it. * tests/pypi.scm (test-metadata): Test it. Maxim Cournoyer2019-07-02
* import: pypi: Support more types of archives.•••This change enables the PyPI importer to look for requirements in a source archive of a different type than "tar.gz" or "tar.bz2". Also, scan the source archive to find a requires.txt file. * guix/import/pypi.scm: (guess-requirements)[tarball-directory]: Remove procedure. [guess-requirements-from-source]: Use COMRESSED-FILE? to determine if an archive type is supported, and some file extension logic that chooses either "tar" or "unzip" as the extractor. Search for the requires.txt file in the archive instead of using a static, expected location. (guess-requirements): Rename the TARBALL argument to ARCHIVE, to denote the archive format is no longer bound specifically to the Tar format. (compute-inputs): Likewise. * tests/pypi.scm ("pypi->guix-package, no wheel"): Mock the requires.txt at a non-standard location. ("pypi->guix-package, no usable requirement file."): New test. Maxim Cournoyer2019-07-02
* import: pypi: Deduplicate requirements.•••* guix/import/pypi.scm (parse-requires.txt): Remove potential duplicates. Maxim Cournoyer2019-07-02
* import: pypi: Improve parsing of requirement specifications.•••The previous solution was fragile and could leave unwanted characters in a requirement name, such as '[' or ']'. Partially fixes <https://bugs.gnu.org/33047>. * guix/import/pypi.scm (use-modules): Export SPECIFICATION->REQUIREMENT-NAME (%requirement-name-regexp): New variable. (clean-requirement): Rename to... (specification->requirement-name): this, which now uses %requirement-name-regexp to select the requirement name from the requirement specification. (parse-requires.txt): Adapt. Maxim Cournoyer2019-07-02
* import: pypi: Do not parse optional requirements from source.•••* guix/import/pypi.scm: Export PARSE-REQUIRES.TXT. (clean-requirement): Move procedure to the top level. (guess-requirements): Move the READ-REQUIREMENTS procedure to the top level, and rename it to PARSE-REQUIRES.TXT. Move the CLEAN-REQUIREMENT procedure to the top level. Move the COMMENT? functions inside the PARSE-REQUIRES.TXT procedure. (parse-requires.txt): Add a SECTION-HEADER? predicate, and use it to prevent parsing optional requirements. * tests/pypi.scm (test-requires-with-sections): New variable. ("parse-requires.txt, with sections"): New test. Maxim Cournoyer2019-07-02
* tests: pypi: Mute the output of tar.•••The output of tar when creating archives for the purpose of tests is not useful, so we mute it. * tests/pypi.scm ("pypi->guix-package"): Mute the output of tar. ("pypi->guix-package, wheels"): Likewise. Maxim Cournoyer2019-07-02
* import: pypi: Do not consider requirements.txt files.•••PyPI packages are mandated to have a setup.py file, which contains a listing of the required dependencies. The setuptools/distutils machinery embed metadata in the archives they produce, which contains this information. There is no need nor gain to collect the requirements from a "requirements.txt" file, as it is not the true record of dependencies for PyPI packages and may contain extraneous requirements or not exist at all. * guix/import/pypi.scm (guess-requirements): Update comment. [guess-requirements-from-source]: Do not attempt to parse the file requirements.txt. Streamline logic. * tests/pypi.scm (test-requires.txt): Rename from test-requirements, to hint at the file being tested. ("pypi->guix-package"): Adapt so that the fake package contains a requires.txt file rather than a requirements.txt file. ("pypi->guix-package, wheels"): Likewise. Maxim Cournoyer2019-07-02
* gnu: silkaj: Update to 0.7.2.•••* gnu/packages/finance.scm (silkaj): Update to 0.7.2. Nicolas Goaziou2019-07-02
* gnu: giac: Update to 1.5.0-61.•••* gnu/packages/algebra.scm (giac): Update to 1.5.0-61. Nicolas Goaziou2019-07-02
* gnu: python-duniterpy: Update to 0.54.3.•••* gnu/packages/finance.scm (python-duniterpy): Update to 0.54.3. Nicolas Goaziou2019-07-02
* etc: Do not recommend use of SKS key servers.•••* etc/guix-install.sh: Recommend downloading the GPG key from Savannah. Ricardo Wurmus2019-07-01
* gnu: guile: Add 2.2.6.•••* gnu/packages/guile.scm (guile-2.2.5): Rename to... (guile-2.2.6): ... this, and update to 2.2.6. Ludovic Courtès2019-07-01
* gnu: behave: Fix build.•••* gnu/packages/check.scm (behave)[propagated-inputs]: Add python-importlib-metadata. Danny Milosavljevic2019-07-01
* gnu: gtksourceviewmm: Build against gtksourceview@3.•••* gnu/packages/gtk.scm (gtksourceviewmm)[propagated-inputs]: Change GTKSOURCEVIEW to GTKSOURCEVIEW-3. Marius Bakke2019-06-30
* guix: import: crate: fix redundant inputs list nesting•••* guix/import/crate.scm (maybe-cargo-inputs): Remove one level of lists. * guix/import/crate.scm (maybe-cargo-development-inputs): Same. * tests/crate.scm: (crate->guix-package)[package]<#:arguments>: Remove one level of list nesting. Ivan Petkov2019-06-30
* gnu: miniupnpc: Update to 2.1.20190625.•••* gnu/packages/upnp.scm (miniupnpc): Update to 2.1.20190625. Marius Bakke2019-06-30
* gnu: mbedtls-apache: Update to 2.16.2.•••* gnu/packages/tls.scm (mbedtls-apache): Update to 2.16.2. Marius Bakke2019-06-30
* gnu: ungoogled-chromium: Build against ICU 64.•••* gnu/packages/icu4c.scm (icu4c-64): New public variable. * gnu/packages/chromium.scm (ungoogled-chromium)[inputs]: Change ICU4C to ICU4C-64. Marius Bakke2019-06-30
* gnu: nginx: Update to 1.17.1.•••* gnu/packages/web.scm (nginx): Update to 1.17.1. Marius Bakke2019-06-29
* gnu: gstreamer: Fix buffer offset problem.•••* gnu/packages/patches/gstreamer-buffer-reset-offset.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/gstreamer.scm (gstreamer)[source](patches): New field. [arguments]: Do not disable any tests. Marius Bakke2019-06-29
* gnu: stow: Update license information.•••* gnu/packages/package-management.scm (stow)[license]: Update to gpl3+. Efraim Flashner2019-06-29
* download: Remove hydra from content-addressed URL list•••* guix/build/download-nar.scm (urls-for-item): Remove mirror.hydra.gnu.org. * guix/download.scm (%content-addressed-mirrors): Likewise. Tobias Geerinckx-Rice2019-06-29
* etc: Remove hydra.gnu.org.pub key.•••* etc/substitutes/hydra.gnu.org.pub: Delete file. * guix/self.scm (miscellaneous-files): Don't install it. * Makefile.am (dist_pkgdata_DATA): Remove it. * gnu/services/base.scm (%default-authorized-guix-keys): Likewise. (hydra-key-authorization): Rename to… (substitute-key-authorization): …this. Adjust only call site. Tobias Geerinckx-Rice2019-06-29
* doc: Correct the software behind ci.guix.gnu.org.•••* doc/guix.texi (Invoking guix publish): It runs Cuirass. Tobias Geerinckx-Rice2019-06-29
* doc: Remove references to hydra.gnu.org.•••* doc/contributing.texi (Packaging Guidelines, Submitting Patches): Replace hydra URL with @value{SUBSTITUTE-SERVER}. * doc/guix.texi (Official Substitute Server): Remove ‘hydra’ @cindex. (Substitute Server Authorization): Remove note about hydra.gnu.org.pub. Tobias Geerinckx-Rice2019-06-29
* guix-install.sh: Don't authorise hydra.gnu.org.•••* etc/guix-install.sh (sys_authorize_build_farms): Authorise only ci.guix.gnu.org and make all references to it singular. Tobias Geerinckx-Rice2019-06-29
* gnu: flashrom: Update to 1.1.•••* gnu/packages/flashing-tools.scm (flashrom): Update to 1.1. Tobias Geerinckx-Rice2019-06-29
* gnu: di: Update to 4.47.1.•••* gnu/packages/admin.scm (di): Update to 4.47.1. Tobias Geerinckx-Rice2019-06-29
* gnu: stow: Update to 2.3.0.•••* gnu/packages/package-management.scm (stow): Update to 2.3.0. [propagated-inputs]: New field. Eric Bavier2019-06-28
* gnu: Add Perl Clone::Choose.•••* gnu/packages/perl.scm (perl-clone-choose): New variable. Eric Bavier2019-06-28
* gnu: rust: use llvm@8•••* gnu/packages/llvm.scm (llvm): Rename to... (llvm-8): ...this. (llvm): New variable. * gnu/packages/rust.scm (rust)[inputs]: Use llvm-8 Ivan Petkov2019-06-28
* gnu: rust: downgrade older versions to llvm@6•••* gnu/packages/rust.scm: (rust-1.30): Remove llvm override. Ivan Petkov2019-06-28
* gnu: rust: remove debug-info patch thanks to newer gdb version•••* gnu/local.mk: (dist_patch_DATA): Delete %D%/packages/patches/rust-1.30-gdb-llvm.patch * gnu/packages/rust.scm: (rust-1.30): Delete patch overrides. (rust-1.31): Delete patch overrides. Ivan Petkov2019-06-28
* gnu: r-quantreg: Update to 5.41.•••* gnu/packages/statistics.scm (r-quantreg): Update to 5.41. Ricardo Wurmus2019-06-29
* gnu: r-fpc: Update to 2.2-3.•••* gnu/packages/statistics.scm (r-fpc): Update to 2.2-3. [propagated-inputs]: Remove r-mvtnorm. Ricardo Wurmus2019-06-29
* gnu: r-mclust: Update to 5.4.4.•••* gnu/packages/statistics.scm (r-mclust): Update to 5.4.4. Ricardo Wurmus2019-06-29
* gnu: r-mvtnorm: Update to 1.0-11.•••* gnu/packages/statistics.scm (r-mvtnorm): Update to 1.0-11. Ricardo Wurmus2019-06-29
* gnu: r-segmented: Update to 1.0-0.•••* gnu/packages/statistics.scm (r-segmented): Update to 1.0-0. Ricardo Wurmus2019-06-29
* gnu: r-plotrix: Update to 3.7-6.•••* gnu/packages/statistics.scm (r-plotrix): Update to 3.7-6. Ricardo Wurmus2019-06-29
* gnu: r-dbplyr: Update to 1.4.2.•••* gnu/packages/statistics.scm (r-dbplyr): Update to 1.4.2. Ricardo Wurmus2019-06-29
* gnu: r-rlang: Update to 0.4.0.•••* gnu/packages/statistics.scm (r-rlang): Update to 0.4.0. Ricardo Wurmus2019-06-29
* gnu: r-gdtools: Update to 0.1.9.•••* gnu/packages/statistics.scm (r-gdtools): Update to 0.1.9. Ricardo Wurmus2019-06-29
* gnu: r-cluster: Update to 2.1.0.•••* gnu/packages/statistics.scm (r-cluster): Update to 2.1.0. Ricardo Wurmus2019-06-29
* gnu: r-future-apply: Update to 1.3.0.•••* gnu/packages/cran.scm (r-future-apply): Update to 1.3.0. Ricardo Wurmus2019-06-29
* gnu: r-bootstrap: Update to 2019.6.•••* gnu/packages/cran.scm (r-bootstrap): Update to 2019.6. Ricardo Wurmus2019-06-29
* gnu: r-rnifti: Update to 0.11.0.•••* gnu/packages/cran.scm (r-rnifti): Update to 0.11.0. Ricardo Wurmus2019-06-29
* gnu: r-rgl: Update to 0.100.24.•••* gnu/packages/cran.scm (r-rgl): Update to 0.100.24. Ricardo Wurmus2019-06-29
* gnu: r-remotes: Update to 2.1.0.•••* gnu/packages/cran.scm (r-remotes): Update to 2.1.0. Ricardo Wurmus2019-06-29
* gnu: r-bayestestr: Update to 0.2.2.•••* gnu/packages/cran.scm (r-bayestestr): Update to 0.2.2. Ricardo Wurmus2019-06-29