Commit graph

68227 commits

Author SHA1 Message Date
Maxim Cournoyer
6731fc6ab8
gnu: python-2.7: Byte compile files with a single optimization level.
* gnu/packages/python.scm (python-2.7)[phases]{rebuild-bytecode}: Byte compile
using optimization level, -OO.  Provide the output directory as the source
argument to 'compileall', instead of looping over each individual source file.
2020-10-20 21:36:43 -04:00
Maxim Cournoyer
4e0b3d7f9f
gnu: python-2.7: Update to 2.7.18.
* gnu/packages/python.scm (python-2.7): Update to 2.7.18.
2020-10-20 21:36:35 -04:00
Maxim Cournoyer
fbb74c82e1
gnu: python-2.7: Fix indentation.
* gnu/packages/python.scm (python-2.7): Fix indentation.
2020-10-20 21:36:27 -04:00
Maxim Cournoyer
dd4a4603be
build-system/python: Revert changing of phase order.
Commit c94a2864d4 moved the 'check' phase back into its original place before
the 'install' phase, but such a change would require adapting the definition
of many Python packages which have come to rely on such phase ordering.

* guix/build/python-build-system.scm (%standard-phases): Move the check phase
back after the install phase, and update comment.
2020-10-20 21:11:12 -04:00
Maxim Cournoyer
82d1e90aaa
gnu: python-xmlschema: Update to 1.2.5.
* gnu/packages/xml.scm (python-xmlschema): Update to 1.2.5.
[phases]{check}: Skip the failing test 'test_export_remote__issue_187'.
2020-10-19 16:20:35 -04:00
Maxim Cournoyer
b865a21c34
gnu: python-elementpath: Update to 2.0.3.
* gnu/packages/xml.scm (python-elementpath): Update to 2.0.3.
[arguments]: Add field; disable the tests.
2020-10-19 16:05:21 -04:00
Maxim Cournoyer
d0bff5dd6d
gnu: icedove: Refer to the correct node variable.
* gnu/packages/gnuzilla.scm (icedove)[native-inputs]: Refer to the node rather
than node-10.22, as the later no longer exists.
2020-10-19 15:41:49 -04:00
Maxim Cournoyer
7313a8aaa0
gnu: icecat: Refer to the correct node variable.
* gnu/packages/gnuzilla.scm (icecat)[native-inputs]: Refer to the node rather
than node-10.22, as the later no longer exists.
2020-10-19 15:41:36 -04:00
Maxim Cournoyer
4d739cc765
gnu: python-atomicwrites: Update to 1.4.0.
* gnu/packages/python-xyz.scm (python-atomicwrites): Update to 1.4.0.
2020-10-19 13:15:17 -04:00
Maxim Cournoyer
c94a2864d4
build-system/python: Do not embed timestamps in the .pyc byte code files.
Fixes <https://issues.guix.gnu.org/22129>.

A previously worked around problem where running the test suite after byte
compiling the sources in commit 6bbb37a545 could
be broken by adding built sources to the PYTHONPATH, as is done for
python-matplotlib and many others.  This seems to be caused by the timestamps
embedded in the sources (mtime), that can somehow change when running the
tests, or by picking up the different installed source files mtimes when their
location is added to the PYTHONPATH.

Since Python 3.7.0, it is possible to produce .pyc byte code files that do not
embed any timestamp, which solves the problem in a definitive way.  This patch
makes use of this new feature.

* guix/build/python-build-system.scm (install): Add '--no-compile' parameter
to setup.py, and instead invoke the 'compileall' module with the
"--invalidation-mode=unchecked-hash" option to byte compile the source files.
(%standard-phases): Revert the workaround that moved the check phase after the
install phase, as it is no longer necessary.  Update comment.

Reported-by: Mark H Weaver <mhw@netris.org>
2020-10-19 13:15:17 -04:00
Maxim Cournoyer
5e2140511c
Merge branch 'staging'
Conflicts:
	gnu/packages/admin.scm
	gnu/packages/commencement.scm
	gnu/packages/gdb.scm
	gnu/packages/llvm.scm
	gnu/packages/package-management.scm
	gnu/packages/tls.scm
2020-10-19 13:11:40 -04:00
Maxim Cournoyer
353bdae32f
gnu: python-asn1crypto: Fix indentation.
* gnu/packages/python-crypto.scm (python-asn1crypto): Fix indentation.
2020-10-19 10:53:27 -04:00
Maxim Cournoyer
cf69b71494
gnu: python-asn1crypto: Update to 1.4.0.
* gnu/packages/python-crypto.scm (python-asn1crypto): Update to 1.4.0.
2020-10-19 10:32:58 -04:00
Marius Bakke
1a8f7a0f58
Merge branch 'master' into staging 2020-10-19 00:17:48 +02:00
Vinicius Monego
2a4f3c1711
gnu: Add libebur128.
* gnu/packages/audio.scm (libebur128): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:33 +02:00
Peng Mei Yu
6b98188171
gnu: Add ccal.
* gnu/packages/calendar.scm (ccal): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:33 +02:00
Vinicius Monego
094e234d30
gnu: Add authenticator.
* gnu/packages/gnome.scm (authenticator): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:33 +02:00
Vinicius Monego
2f115f56fa
gnu: Add python-pyzbar.
* gnu/packages/python-xyz.scm (python-pyzbar): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:33 +02:00
Vinicius Monego
945ec6c3ec
gnu: Add yoyo-migrations.
* gnu/packages/databases.scm (yoyo-migrations): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:33 +02:00
Vinicius Monego
6f8d776d25
gnu: Add python-pyotp.
* gnu/packages/python-crypto.scm (python-pyotp): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:33 +02:00
Vinicius Monego
48fe2e01d8
gnu: Add python-pyfavicon.
* gnu/packages/python-xyz.scm (python-pyfavicon): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:33 +02:00
Vinicius Monego
a8eb438e78
gnu: Add passwordsafe.
* gnu/packages/gnome.scm (passwordsafe): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:32 +02:00
Vinicius Monego
9cd6128905
gnu: libpwquality: Enable Python binding.
* gnu/packages/password-utils.scm (libpwquality)[arguments]: Enable Python binding.
[native-inputs]: Add python-wrapper.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:32 +02:00
Vinicius Monego
68d425cda8
gnu: Add python-pykeepass.
* gnu/packages/python-crypto.scm (python-pykeepass): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:32 +02:00
Joseph LaFreniere
474efc823b
gnu: Add python-grandalf.
* gnu/packages/python-xyz.scm (python-grandalf): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:12:32 +02:00
Marius Bakke
f01ec472b9
gnu: ungoogled-chromium: Update to 86.0.4240.75-0.c34a56d.
* gnu/packages/chromium.scm (%preserved-third-party-files): Adjust for 86.
Include bundled libc++, jsoncpp, re2 and libvpx for now.
(gentoo-patch, chromium-gcc-patchset, %gentoo-patches, %gentoo-revision,
xcb-proto/python2): Remove variables.
(%debian-revision, %debian-patches): Update to debian/84.0.4147.105-1.  Remove
jsoncpp unbundling patch.
(%ungoogled-revision, %ungoogled-origin): Update to c34a56db4c121238fface560.
(%chromium-version, arch-patch, %arch-revision): New variables.
(%arch-patches): Add more patches.
(ungoogled-chromium-snippet): Don't apply GCC or Gentoo patches.  Don't
unbundle libvpx or re2.
(ungoogled-chromium): Update to 86.0.4240.75-0.c34a56d.
[arguments]: Adjust #:configure-flags and substitutions for 86.  Add
workaround for building with bundled libc++.  Adjust install phase to take a
hard coded list of files instead of using SCANDIR and REGEXP-EXEC.
[native-inputs]: Change from CLANG-10 to CLANG-11.
[inputs]: Remove JSONCPP, RE2 and XCB-PROTO/PYTHON2.
2020-10-19 00:12:32 +02:00
Marius Bakke
1c4cbeee36
gnu: gn: Update to 0.0-1819.e327ffd.
* gnu/packages/build-tools.scm (gn): Update to 0.0-1819.e327ffd.
2020-10-19 00:12:32 +02:00
Marius Bakke
8937cd05d3
gnu: lld: Update to 11.0.0.
* gnu/packages/llvm.scm (lld): Update to 11.0.0.
[inputs]: Change from LLVM-10 to LLVM-11.
2020-10-19 00:12:32 +02:00
Marius Bakke
7f79358def
gnu: LLVM, Clang: Add 11.0.0.
* gnu/packages/patches/clang-11.0-libc-search-path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/llvm.scm (llvm-11, clang-runtime-11, clang-11,
clang-toolchain-11): New variables.
2020-10-19 00:12:31 +02:00
Marius Bakke
f1db068adb
gnu: llvm.scm: Reorder variables.
Keep all LLVM and Clang packages in order, define default versions last.
2020-10-19 00:12:31 +02:00
Marius Bakke
dcafa89cf0
gnu: extempore: Inline custom package variants.
Except novel ones without suitable replacements in Guix.

* gnu/packages/music.scm (portmidi-for-extempore): Remove variable, and move
to ...
(extempore)[inputs]: ... here.
* gnu/packages/llvm.scm (llvm-for-extempore): Likewise.
* gnu/packages/image.scm (stb-image-for-extempore): Likewise.
2020-10-19 00:12:31 +02:00
zimoun
19d42e0e23
build-system/haskell: Disable parallel builds.
Fixes <https://bugs.gnu.org/43843>.

* guix/build-system/haskell.scm (haskell-build): Turn off PARALLEL-BUILD? by
default.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-10-19 00:07:37 +02:00
Maxim Cournoyer
9e3a5ee417
gnu: python-babel: Reinstate previously failing tests.
* gnu/packages/python-xyz.scm (python-babel)[arguments]: Remove field.
[home-page]: Use HTTPS.
2020-10-18 11:58:03 -04:00
Maxim Cournoyer
d238188969
gnu: python-babel: Fix build.
* gnu/packages/patches/python-babel-fix-parse-future-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python-xyz.scm (python-babel): Use it.
2020-10-18 11:58:03 -04:00
Maxim Cournoyer
7e420add88
gnu: curl: Update to 7.73.0.
* gnu/packages/curl.scm (curl): Update to 7.73.0.
2020-10-18 11:58:02 -04:00
Miguel Ángel Arruga Vivas
d76b668cd6
installer: Call setlocale after init gettext.
* gnu/installer.scm (installer-program)[init-gettext]: Change locale
from C, installed at the program start.
2020-10-18 17:55:40 +02:00
Miguel Ángel Arruga Vivas
cfe9c7eceb
system: Use locale information in grub.cfg.
* gnu/bootloader/grub.scm (define-module): Add new dependency.
(grub-configuration-file): Add locale keyword.
(grub-configuration-file)[locale-config]: New variable with generated
locale configuration when locale parameter has been provided.
[builder]: Add locale-config.
2020-10-18 15:33:05 +02:00
Miguel Ángel Arruga Vivas
eaf0963983
system: Provide locale information to the bootloader.
* gnu/machine/ssh.scm (roll-back-managed-host): Use locale information
from boot-parameters.
* gnu/system.scm (operating-system-bootcfg): Provide locale information
to the bootloader.
* guix/system/script.scm (reinstall-bootloader): Use locale information
from boot-parameters.
2020-10-18 15:33:05 +02:00
Miguel Ángel Arruga Vivas
9d449b945b
system: Add locale to boot-parameters.
* gnu/system.scm (define-module)[export]: Add boot-parameters-locale.
(<boot-parameters>)[locale]: New field.
[boot-parameters-locale]: New accessor.
(read-boot-parameters): Read locale field.
(operating-system-boot-parameters): Provide operating-system locale to
boot-parameters record.
(opeating-system-boot-parameters-file): Likewise.
* Makefile.am (SCM_TESTS): Add tests/boot-parameters.scm.
* tests/boot-parameters.scm: New test file.
2020-10-18 15:32:54 +02:00
BonfaceKilz
1e30245406
gnu: Add python2-openpyxl.
* gnu/packages/python-xyz.scm (python2-openpyxl): New package.
(python-openpyxl)[properties]: Add reference to python2-openpyxl.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-10-18 12:31:23 +03:00
Jonathan Brielmaier
545441735a
gnu: Add hunspell-dict-de.
* gnu/packages/libreoffice.scm (hunspell-dict-de): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-10-18 12:19:34 +03:00
Jakub Kądziołka
fe5b5f8cd0
gnu: Add ispell.
* gnu/packages/aspell.scm (ispell): New variable.

Co-authored-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-10-18 12:16:19 +03:00
Efraim Flashner
4d405914ed
gnu: newsboat-2.13: Build with json-c-0.13.
* gnu/packages/syndication.scm (newsboat-2.13)[inputs]: Replace json-c
with json-c@.013.
2020-10-18 10:14:02 +03:00
Efraim Flashner
d512990d15
gnu: vc-dwim: Update to 1.10.
* gnu/packages/version-control.scm (vc-dwim): Update to 1.10.
2020-10-18 09:37:54 +03:00
Ludovic Courtès
6be7146130
gexp: 'assume-valid-file-name' has files looked up under the CWD.
Fixes a bug introduced in 5d4ad8e1be,
whereby files enclosed in 'assume-valid-file-name' would be looked up
relative to the source directory instead of relative to the current
directory.

* guix/gexp.scm (local-file): In the 'assume-valid-file-name' case, look
up FILE relative to the current working directory.
2020-10-18 00:21:33 +02:00
Tobias Geerinckx-Rice
d14221bf65
gnu: ncmpc: Update to 0.41.
* gnu/packages/mpd.scm (ncmpc): Update to 0.41.
2020-10-17 23:21:58 +02:00
Magali Lemes
633b0242d0
gnu: Add r-calculus.
* gnu/packages/cran.scm (r-calculus): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-10-17 22:40:18 +02:00
Aniket Patil
62fc3e375c
doc: Fix typo.
* doc/guix.texi (Invoking guix import): Fix typo.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-10-17 22:40:18 +02:00
Helio Machado
f045a7a926
import: utils: Fix license name mismatches and define CUA-OPL-1.0.
* guix/licenses.scm (cua-opl1.0): New variable.
* guix/import/utils.scm (spdx-string->license): Rename licenses to fit
the internal names and add a notice pointing to guix/licenses.scm.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-10-17 22:40:18 +02:00
Lars-Dominik Braun
21fdf429a7
gnu: xpra: Fix HTML server
* gnu/packages/patches/xpra-4.0.4-norequests.patch: Add file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/xorg.scm (xpra)[patches]: Apply it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-10-17 22:40:18 +02:00