Commit Graph

46100 Commits

Author SHA1 Message Date
Marius Bakke e7a42c4abb
gnu: boost: Remove GCC5 workaround.
* gnu/packages/patches/boost-fix-icu-build.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/boost.scm (boost)[source](patches): Remove.
[arguments]: Do not pass "cxxflags".
2019-07-02 21:17:53 +02:00
Marius Bakke d69e90e2af
gnu: libdrm: Update to 2.4.99.
* gnu/packages/xdisorg.scm (libdrm): Update to 2.4.99.
2019-07-02 21:05:21 +02:00
Marius Bakke fefd1a7bd4
gnu: libuv: Update to 1.30.1.
* gnu/packages/libevent.scm (libuv): Update to 1.30.1.
2019-07-02 21:00:03 +02:00
Tobias Geerinckx-Rice 1b7395b1ad
gnu: tomb: Update to 2.6.
* gnu/packages/crypto.scm (tomb): Update to 2.6.
2019-07-02 20:57:33 +02:00
Marius Bakke fb82d3472d
gnu: Remove redundant icu4c@64 package.
* gnu/packages/icu4c.scm (icu4c-64): Remove variable.
* gnu/packages/chromium.scm (ungoogled-chromium)[inputs]: Change ICU4C-64 to ICU4C.
2019-07-02 20:21:13 +02:00
Marius Bakke 004b4056d4
gnu: tzdata-for-tests: Update to 2019b.
* gnu/packages/base.scm (tzdata-for-tests)[version, source, inputs]: Remove.
2019-07-02 20:19:20 +02:00
Marius Bakke 4fb9165515
Merge branch 'staging' into core-updates 2019-07-02 20:18:16 +02:00
Marius Bakke 30484be05d
Merge branch 'master' into staging 2019-07-02 20:14:23 +02:00
Marius Bakke 6661b025a6
gnu: openssl@1.0: Update to 1.0.2s.
* gnu/packages/tls.scm (openssl-1.0): Update to 1.0.2s.
2019-07-02 20:13:03 +02:00
Zzull 2e03bbeb7b
gnu: Add emacs-multi-term
* gnu/packages/emacs-xyz.scm (emacs-multi-term): New variable

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-02 18:33:52 +02:00
Katherine Cox-Buday c5ab53204e
gnu: Add trivial-utf-8.
* gnu/packages/lisp.scm (sbcl-trivial-utf-8, ecl-trivial-utf-8): New
variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-02 18:33:52 +02:00
Jacob MacDonald 252a4d5936
gnu: Add ghc-validation.
* gnu/packages/haskell.scm (ghc-validation): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-02 18:33:52 +02:00
Jacob MacDonald 2c4e4bc658
gnu: Add ghc-hedgehog.
* gnu/packages/haskell-check.scm (ghc-hedgehog): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-02 18:33:52 +02:00
Jacob MacDonald 3c69d462ce
gnu: Add ghc-concurrent-output.
* gnu/packages/haskell.scm (ghc-concurrent-output): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-02 18:33:52 +02:00
Jacob MacDonald 4e3ebbfb16
gnu: ghc-ansi-terminal: Update to 0.9.1.
* gnu/packages/haskell.scm (ghc-ansi-terminal): Update to 0.9.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-02 18:33:52 +02:00
Jacob MacDonald 5a499d0f7d
gnu: ghc-ansi-wl-pprint: Use ghc-ansi-terminal-0.8.
* gnu/packages/haskell.scm (ghc-ansi-wl-pprint)[inputs]: Use ghc-ansi-terminal-0.8.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-02 18:33:52 +02:00
Jacob MacDonald cbff89d126
gnu: Add ghc-ansi-terminal-0.8.
* gnu/packages/haskell.scm (ghc-ansi-terminal-0.8): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-02 18:33:51 +02:00
Jacob MacDonald c473bd1881
gnu: Add ghc-wl-pprint-annotated.
* gnu/packages/haskell.scm (ghc-wl-pprint-annotated): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-02 18:33:51 +02:00
guy fleury iteriteka 52bb05c702
gnu: Add chafa.
* gnu/packages/image-viewers.scm (chaffa): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-02 18:33:51 +02:00
Robert Vollmert 334a2f4def
gnu: postgres service: More secure default permissions.
This changes to 'peer' authentication for local socket connections,
and password-based authentication for local network connections.

* gnu/services/databases.scm (%default-postgres-hba): Change
authentication method.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-02 18:33:51 +02:00
Ludovic Courtès 9616b81e98
grafts: 'references-oracle' now takes a derivation input.
That way, if we end up calling 'build-derivations', we'll only build the
outputs that we really need.

* guix/grafts.scm (references-oracle): Rename 'drv' to 'input'.
[output-paths]: Remove.
Adjust accordingly.
(graft-derivation): Adjust call to 'references-oracle'.
2019-07-02 18:33:51 +02:00
Ludovic Courtès 7c9fbf3e3d
derivations: Update 'build-derivations' docstring.
This is a followup to 7c690a4738.

* guix/derivations.scm (build-derivations): Update docstring.
2019-07-02 18:33:51 +02:00
Marius Bakke 8b5df106fd
gnu: WebKitGTK: Update to 2.24.3.
* gnu/packages/webkit.scm (webkitgtk-2.24): Update to 2.24.3.
[source](patches): Remove.
* gnu/packages/patches/webkitgtk-sans-gstreamer-gl.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2019-07-02 17:27:13 +02:00
Robert Vollmert b8d41cfc87
gnu: ghc-primitive: Update to 0.6.4.0.
* gnu/packages/haskell.scm (ghc-primitive): Update to 0.6.4.0.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2019-07-02 17:20:15 +02:00
Marius Bakke f62b57ba74
gnu: re2: Update to 2019-07-01.
* gnu/packages/regex.scm (re2): Update to 2019-07-01.
2019-07-02 17:18:54 +02:00
Marius Bakke e307f52e01
gnu: postgresql@10: Update to 10.9.
* gnu/packages/databases.scm (postgresql): Update to 10.9.
2019-07-02 17:14:34 +02:00
Marius Bakke 0323db5aef
gnu: tzdata: Update to 2019b.
* gnu/packages/base.scm (tzdata): Update to 2019b.
2019-07-02 17:11:39 +02:00
Marius Bakke 5f3f703918
gnu: glibc: Update to 2.29.
* gnu/packages/patches/glibc-bootstrap-system.patch,
gnu/packages/patches/glibc-supported-locales.patch: Adjust for glibc 2.29.
* gnu/packages/patches/glibc-2.28-supported-locales.patch,
gnu/packages/patches/glibc-CVE-2019-7309.patch,
gnu/packages/patches/glibc-CVE-2019-9169.patch,
gnu/packages/patches/glibc-2.29-git-updates.patch: New files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/base.scm (glibc): Update to 2.29.
[source](patches): Add 'glibc-CVE-2019-7309.patch',
'glibc-CVE-2019-9169.patch', and 'glibc-2.29-git-updates.patch'.  Remove
'glibc-hurd-magic-pid.patch'.
[native-inputs]: Add PYTHON-MINIMAL.
(glibc-2.28): New public variable.
* gnu/packages/commencement.scm (expat-sans-tests, python-boot0): New variables.
(glibc-final-with-bootstrap-bash)[native-inputs]: Add PYTHON-BOOT0.
* gnu/packages/python.scm (python-3.7)[arguments]: Disable test that fails
with glibc 2.29.
2019-07-02 16:45:17 +02:00
Rutger Helling 35a16f5f6d
gnu: btrfs-progs: Update to 5.1.1.
* gnu/packages/linux.scm (btrfs-progs): Update to 5.1.1.
2019-07-02 15:52:04 +02:00
Marius Bakke af65e4c289
gnu: ImageMagick: Update to 6.9.10-51.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.10-51.
2019-07-02 14:49:47 +02:00
Marius Bakke 6dc7a19342
gnu: python-mako: Update to 1.0.13.
* gnu/packages/python-xyz.scm (python-mako): Update to 1.0.13.
2019-07-02 14:48:04 +02:00
Marius Bakke c6c0940ea3
gnu: python-pycparser: Update to 2.19.
* gnu/packages/python-xyz.scm (python-pycparser): Update to 2.19.
[arguments]: End phases on #t.
2019-07-02 14:38:23 +02:00
Marius Bakke 4c1cfe0faf
gnu: perl-module-build: Update to 0.4229.
* gnu/packages/perl.scm (perl-module-build): Update to 0.4229.
2019-07-02 14:21:36 +02:00
Efraim Flashner 697df13f61
gnu: octave-cli: Sort inputs alphabetically.
* gnu/packages/maths.scm (octave-cli)[inputs]: Sort inputs alphabetically.
2019-07-02 15:04:56 +03:00
Efraim Flashner 4bac5bba51
gnu: Wrap program with libraries.
* gnu/packages/package-management.scm (stow)[arguments]: Add custom
'wrap-stow phase to wrap stow with necessary inputs.
[propagated-inputs]: Move perl-clone, perl-clone-choose, perl-hash-merge
to...
[inputs]: ... here.
2019-07-02 11:43:04 +03:00
Amar Singh 71a2927705
gnu: emacs-shroud: Update to 1.83.4.
* gnu/packages/emacs-xyz.scm (emacs-shroud): Update to 1.83.4.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2019-07-02 10:39:36 +03:00
Rutger Helling 941ae98eae
gnu: faudio: Update to 19.07.
* gnu/packages/audio.scm (faudio): Update to 19.07.
2019-07-02 09:36:50 +02:00
Jan Nieuwenhuizen 48eb71aea8
gnu: emacsy: Update to 0.4.1.
* gnu/packages/guile-xyz.scm (emacsy): Update to 0.4.1.
2019-07-02 07:59:15 +02:00
Maxim Cournoyer 4b60ab8c00
import: pypi: Preserve package name case when forming pypi-uri.
Fixes <https://bugs.gnu.org/33046>.

* guix/build-system/python.scm (pypi-uri): Update the host URI to
"files.pythonhosted.org".
* guix/import/pypi.scm (make-pypi-sexp): Preserve the package name case when
the source URL calls for it.
2019-07-02 10:08:00 +09:00
Maxim Cournoyer a537620054
import: pypi: Update the host URI.
* guix/build-system/python.scm (pypi-uri): Update the host URI to
"files.pythonhosted.org".
2019-07-02 10:08:00 +09:00
Maxim Cournoyer d514276b93
import: pypi: Include optional test inputs as native-inputs.
* guix/import/pypi.scm (maybe-inputs): Add INPUT-TYPE argument, and use it.
(test-section?): New predicate.
(parse-requires.txt): Collect the optional test inputs, and return them as the
second element of the returned list.
(parse-wheel-metadata): Likewise.
(guess-requirements): Adapt.
(make-pypi-sexp): Likewise, and include the test inputs requirements as native
inputs in the returned package expression.

* tests/pypi.scm (test-requires.txt): Include a test section in the
test-requires.txt data.
(test-requires.txt-beaker): New variable.
("parse-requires.txt"): Adapt.
("parse-requires.txt - Beaker"): New test.
("parse-wheel-metadata, with extras"): Adapt.
("parse-wheel-metadata, with extras - Jedi"): Adapt.
("pypi->guix-package, no wheel"): Re-indent, and add the expected
native-inputs.
("pypi->guix-package, wheels"): Likewise.
2019-07-02 10:08:00 +09:00
Maxim Cournoyer f801c6215d
import: pypi: Completely mute the output of the "unzip" command.
* guix/import/pypi.scm (guess-requirements): Completely mute the output of the
"unzip" command.
2019-07-02 10:08:00 +09:00
Maxim Cournoyer 73e8373060
import: pypi: Fix typo in docstring.
* guix/import/pypi.scm (guess-requirements): Fix typo.
2019-07-02 10:08:00 +09:00
Maxim Cournoyer f0190a5dcd
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.
2019-07-02 10:08:00 +09:00
Maxim Cournoyer c799ad7276
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.
2019-07-02 10:07:59 +09:00
Maxim Cournoyer cc9a77cd39
import: pypi: Deduplicate requirements.
* guix/import/pypi.scm (parse-requires.txt): Remove potential duplicates.
2019-07-02 10:07:59 +09:00
Maxim Cournoyer 803fb336d6
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.
2019-07-02 10:07:59 +09:00
Maxim Cournoyer c4797121be
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.
2019-07-02 10:07:59 +09:00
Maxim Cournoyer a853acebe1
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.
2019-07-02 10:07:59 +09:00
Maxim Cournoyer 01589acc5e
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.
2019-07-02 10:07:59 +09:00