In Guile 2.2, (rnrs io ports) exports 'bytevector->string', which
conflicts with that of (ice-9 iconv).
* guix/utils.scm: Hide 'bytevector->string' from (rnrs io ports).
* guix/ui.scm (right-arrow): Call 'set-port-encoding!' to set PORT's
encoding; remove use of 'with-fluids'. This is for compatibility with
Guile 2.2 where the encoding of string ports is not influenced by
%DEFAULT-PORT-ENCODING.
* tests/ui.scm ("show-manifest-transaction"): Likewise.
* guix/ui.scm (fill-paragraph): Don't use '_' as a pattern variable
since that is shadowed by the top-level '_' binding on Guile 2.2.
(show-manifest-transaction): Likewise.
Slightly different buffering of custom binary output ports in Guile 2.1.7
would lead tests missing 'close-port' or 'force-output' to fail.
* tests/hash.scm ("open-sha256-port, hello"): Add call to 'force-output'
before call to 'get'.
* tests/nar.scm ("write-file puts file in C locale collation order"):
Call 'close-port' before calling 'get-hash'.
* gnu/services/messaging.scm (define-all-configurations): Use 'id' to
introduce raw/literal/unhygienic top-level identifiers. Fixes
compilation with Guile 2.2.
* gnu/packages/patches/python-pandas-skip-failing-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-pandas, python2-pandas): Use it.
* gnu/packages/python.scm (python-matplotlib-documentation)[native-inputs]:
Add python-mock and graphviz.
[arguments]: Use separate build and install phases; correctly set latex paper size.
Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This is a follow-up to commit 4621acfd82.
* gnu/packages/statistics.scm (r)[arguments]: Ensure that
"--built-timestamp" appears on the same line as the other INSTALL_OPTS.
Fixes <http://bugs.gnu.org/25775>.
Reported by Sirgazil, Ricardo Wurmus, Andy Wingo, and others.
* guix/download.scm (in-band-download): Always use GUILE. This reverts
9f05908fb1.
* gnu/packages/bash.scm (url-fetch/reset-patch-level): Remove #:guile.
Pass %BOOTSTRAP-GUILE as #:guile to 'url-fetch'. Remove #:guile-for-build
argument in 'gexp->derivation' call.
* gnu/packages/kde.scm (kdevelop, kdevplatform): Upgrade to 5.0.4.
(kdevplatform)[source]: Use kde mirror instead of github.
Signed-off-by: Marius Bakke <mbakke@fastmail.com>
The build was broken since the URL of version 0.2.3 was changed. The archive
was moved into an "old" subdirectory of the original location.
* gnu/packages/guile.scm (guile-lib): Update to 0.2.5.
[make-flags]: Add GUILE_AUTO_COMPILE to prevent guild errors.
[phases]: Remove 'check replacement since it is no longer needed.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
'dmenu' and 'xprop' are necessary to open a new URL in surf.
* gnu/packages/suckless.scm (surf)[inputs]: Add dmenu and xprop.
[arguments]: Add 'set-dmenu-and-xprop-file-name' phase to patch the
paths to the 'dmenu' and 'xprop' binaries in surf's configuration file.
Signed-off-by: Kei Kebreau <kei@openmailbox.org>
* gnu/system/vm.scm (virtualized-operating-system): Add full-boot?
option. Don't add a %store-mapping when full-boot? is passed. This leads
the grub-configuration-file procedure to look for the kernel and initrd in
/ instead of /gnu/store.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/statistics.scm (python-statsmodels, python2-statsmodels):
Update to 0.8.0.
[source]: Use 'pypi-uri'.
[arguments]: Add more files to matplotlib backend substitution.
* gnu/packages/patches/python-statsmodels-fix-tests.patch: Drop test that
fails with numpy 1.12. Remove previous contents.
* gnu/packages/python.scm (python2-subprocess32): New variable.
* gnu/packages/patches/python2-subprocess32-disable-input-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-numpy): Update to 1.12.0.
[source]: Use github instead of sourceforge.
[native-inputs]: Add python-cython.
To simplify the handling of dependency cycles (numpy documentation depends
on matplotlib, which depends on numpy), we split out the documentation into
a separate package:
(python-numpy-bootstrap, python2-numpy-bootstrap): Remove variables.
(python-numpy-documentation, python2-numpy-documentation): New variables.
Signed-off-by: Marius Bakke <mbakke@fastmail.com>