summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* gnu: nss-certs: Sync with the sources used for nss.Maxim Cournoyer2021-01-27
| | | | | | | * gnu/packages/certs.scm (nss-certs)[version]: Reuse nss version. [source]: Reuse nss source. [phases]{install}: Adjust for the new NSS source files hierarchy. Remove trailing #t.
* build-systems/gnu: Allow unpacking/repacking more kind of files.Maxim Cournoyer2021-01-26
| | | | | | | | | | | | | | | | | | | | | | | Before this change, only plain directories, tar or zip archives were supported as the source of a package for the GNU build system; anything else would cause the unpack phase to fail. Origins relying on snippets would suffer from the same problem. This change adds the support to use files of the following extensions: .gz, .Z, .bz2, .lz, and .xz, even when they are not tarballs. Files of unknown extensions are treated as uncompressed files and supported as well. * guix/packages.scm (patch-and-repack): Only add the compressor utility to the PATH when the file is compressed. Bind more inputs in the mlet, and use them for decompressing single files. Adjust the decompression and compression routines. [decompression-type]: Remove nested variable. * guix/build/utils.scm (compressor, tarball?): New procedures. Move %xz-parallel-args to the new 'compression helpers' section. * tests/packages.scm: Add tests. Add missing copyright year for Jan. * guix/build/gnu-build-system.scm (first-subdirectory): Return #f when no sub-directory was found. (unpack): Support more file types, including uncompressed plain files.
* utils: Add NIX_STORE_DIR as a candidate for the value of the store directory.Maxim Cournoyer2021-01-26
| | | | | | | | | | | | | On the daemon side, nixStore gets set to the environment variable NIX_STORE_DIR, else the environment variable NIX_STORE else the compile time macro NIX_STORE_DIR (see the Settings::processEnvironment method in nix/libstore/globals.cc). When creating a build environment, it sets NIX_STORE with the value computed as described above. Hence, it's safer to look for both NIX_STORE_DIR and NIX_STORE in (guix build utils), so that it works in any context (build context or external context). * guix/build/utils.scm (%store-directory): Consider both NIX_STORE_DIR and NIX_STORE as environment variables.
* gnu: boost: Patch transitive linking bug.Greg Hogan2021-01-26
| | | | | | | | * gnu/packages/patches/boost-fix-transitive-linking.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/boost.scm (boost)[source]: Use it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: nss: Update to the latest changeset to resolve test failures.Maxim Cournoyer2021-01-26
| | | | | | | | | | | | | | * gnu/packages/patches/nss-3.56-pkgconfig.patch: Update and ajdust. * gnu/packages/patches/nss-increase-test-timeout.patch: Adjust. * gnu/packages/nss.scm (nss)[version]: Compute with the git-version procedure. [source]: Switch to use the latest changeset. Adjust snippet to match restructuring of the source file hierarchy. [make-flags]: Do not chdir to the "nss" directory. [phases]: Delete trailing #t. {check}: Honor the '#:tests?' argument. Update the date used with faketime and adjust for the new all.sh script location. {install}: Adapt to the location of the 'dist/' directory, which is now at the same level as the 'source' checkout.
* gnu: python-setuptools-scm: Update to 5.0.1.Nicolas Goaziou2021-01-26
| | | | * gnu/packages/python-xyz.scm (python-setuptools-scm): Update to 5.0.1.
* gnu: mercurial: Update to 5.6.1.Maxim Cournoyer2021-01-26
| | | | | | | | | This fixes the build on Python 3.9. * gnu/packages/version-control.scm (mercurial): Update to 5.6.1. Delete trailing #t. [phases]{check}: Remove the "test-transaction-rollback-on-sigpipe.t" test file and add a comment.
* gnu: bison: Update to 3.7.5.Efraim Flashner2021-01-26
| | | | * gnu/packages/bison.scm (bison): Update to 3.7.5.
* gnu: binutils: Update to 2.36.Efraim Flashner2021-01-26
| | | | * gnu/packages/base.scm (binutils): Update to 2.36.
* gnu: %boot-tcc-inputs: Use gash-utils.Efraim Flashner2021-01-24
| | | | | | * gnu/packages/commencement.scm (%boot-tcc-inputs): Remove diffutils-mesboot. Add gash-utils-boot. (diffutils-mesboot): Remove variable.
* gnu: guile: Disable parallel builds.Ludovic Courtès2021-01-23
| | | | | | | This works around <https://bugs.gnu.org/20272>, as discussed in <https://lists.gnu.org/archive/html/guix-devel/2021-01/msg00273.html>. * gnu/packages/guile.scm (guile-2.0)[arguments]: Pass #:parallel-build? #f.
* gnu: ibus: Remove dependency on GConf.Ludovic Courtès2021-01-23
| | | | | | | GConf has been deprecated for a while. This change removes GConf (and thus ORBit) from the closure of GNOME. * gnu/packages/ibus.scm (ibus)[inputs]: Remove GCONF.
* gnu: zziplib: Update to 0.13.72.Vincent Legoll2021-01-21
| | | | | | | | * gnu/packages/compression.scm (zziplib): Update to 0.13.72. [build-system]: Use cmake-build-system [arguments]: Remove field. Signed-off-by: Leo Famulari <leo@famulari.name>
* gnu: libdrm: Update to 2.4.104.Vincent Legoll2021-01-21
| | | | | | * gnu/packages/xdisorg.scm (libdrm): Update to 2.4.104. Signed-off-by: Leo Famulari <leo@famulari.name>
* gnu: libarchive: Update to 3.5.1.Vincent Legoll2021-01-19
| | | | | | * gnu/packages/backup.scm (libarchive): Update to 3.5.1. Signed-off-by: Leo Famulari <leo@famulari.name>
* gnu: automake: Update to 1.16.3.Efraim Flashner2021-01-19
| | | | * gnu/packages/autotools.scm (automake): Update to 1.16.3.
* packages: 'patch-and-repack' returns a directory when given a directory.Ludovic Courtès2021-01-18
| | | | | | | | | | | | | Previously, 'patch-and-repack' would always create a tar.xz archive as a result, even if the input was a directory (a checkout). This change reduces gratuitous CPU and storage overhead. * guix/packages.scm (patch-and-repack)[tarxz-name]: Remove 'checkout?' case. [build](repack): New procedure, with "tar" invocation formerly at the top level. If SOURCE is a directory, call 'copy-recursively'; otherwise, call 'repack'. Change NAME to ORIGINAL-FILE-NAME when it matches 'checkout?'.
* gnu: python-isort: Update to 5.7.0, fixing build on Python 3.9.Maxim Cournoyer2021-01-15
| | | | | | | | | | | | | | * gnu/packages/python-xyz.scm (python-isort): Update to 5.7.0. [source]: Delete checked in binary wheels in a snippet. [arguments]: New field. [phases]: Replace the build and install phases, implementing the basics of a PEP 517 build system. {check}: Override phase. {install-example-plugins}: New phase. [native-inputs]: Remove python-mock. Add git-minimal, python-black, python-colorama, python-hypothesmith, python-libcst-minimal, python-poetry-core, python-pylama, python-pypa-build and python-pytest-mock. [home-page]: Update home page.
* gnu: python2-isort: Remove package.Maxim Cournoyer2021-01-15
| | | | | * gnu/packages/python-xyz.scm (python-isort)[properties]: Remove field. (python2-isort): Delete variable.
* gnu: python2-factory-boy: Remove package.Maxim Cournoyer2021-01-15
| | | | * gnu/packages/python-xyz.scm (python2-factory-boy): Remove variable.
* gnu: python2-orator: Remove package.Maxim Cournoyer2021-01-15
| | | | | * gnu/packages/databases.scm (python-orator)[properties]: Delete field. (python2-orator): Remove variable.
* gnu: python2-pylint: Remove package.Maxim Cournoyer2021-01-15
| | | | | * gnu/packages/check.scm (python-pylint)[properties]: Delete field. * gnu/packages/check.scm (python2-pylint): Remove variable.
* gnu: Add python-pylama.Maxim Cournoyer2021-01-15
| | | | * gnu/packages/python-check.scm (python-pylama): New variable.
* gnu: Add python-mypy-minimal.Maxim Cournoyer2021-01-15
| | | | * gnu/packages/python-check.scm (python-mypy-minimal): New variable.
* gnu: python-typing-inspect: Fix build on Python 3.9.Maxim Cournoyer2021-01-15
| | | | | | * gnu/packages/patches/python-typing-inspect-fix.patch: Add patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/python-xyz.scm (python-typing-inspect)[patches]: Apply it.
* gnu: python-hypothesmith: Update to 0.1.8.Maxim Cournoyer2021-01-15
| | | | | * gnu/packages/check.scm (python-hypothesmith): Update to 0.1.8. [propagated-inputs]: Replace python-hypothesmith-5.23 by python-hypothesmith.
* gnu: Add python-libcst-minimal.Maxim Cournoyer2021-01-15
| | | | | | * gnu/packages/python-xyz.scm (python-libcst-minimal): New variable. (python-libcst): Add a tests? argument to the check phase override and strip trailing #t.
* gnu: python-virtualenv: Update to 20.3.1.Maxim Cournoyer2021-01-15
| | | | | * gnu/packages/python-xyz.scm (python-virtualenv): Update to 20.3.1. [propagated-inputs]: Remove setuptools and python-importlib-metadata.
* gnu: python-flake8-pyi: Update to 20.10.0.Maxim Cournoyer2021-01-15
| | | | * gnu/packages/python-xyz.scm (python-flake8-pyi): Update to 20.10.0.
* gnu: python-hypothesis: Update to 6.0.2Maxim Cournoyer2021-01-15
| | | | | * gnu/packages/check.scm (python-hypothesis): Update to 6.0.2. (python-hypothesis-5.23): Delete variable.
* gnu: python-backpack: Fix build.Maxim Cournoyer2021-01-15
| | | | * gnu/packages/python-xyz.scm (python-backpack)[native-inputs]: Add python-toml.
* gnu: python-simplejson: Update to 3.17.2, fixing build.Maxim Cournoyer2021-01-15
| | | | | * gnu/packages/python-xyz.scm (python-simplejson): Update to 3.17.2. [native-inputs]: Add python-toml.
* gnu: python-babel: Fix build.Maxim Cournoyer2021-01-15
| | | | | * gnu/packages/python-xyz.scm (python-babel)[source]: Re-indent. [native-inputs]: Add tzdata-for-tests.
* gnu: python-3.9: Add a search path specification for PYTHONTZPATH.Maxim Cournoyer2021-01-15
| | | | | | | | | Python 3.9 implemented PEP 615 (<)https://www.python.org/dev/peps/pep-0615/>), which relies on either a compiled time default value or the PYTHONTZPATH environment variable to find the system tzdata database. * gnu/packages/python.scm (python-3.9)[native-search-paths]: Add a new search path specification for PYTHONTZPATH.
* gnu: python-pympler: Update to 0.9.Maxim Cournoyer2021-01-15
| | | | * gnu/packages/python-xyz.scm (python-pympler): Update to 0.9.
* gnu: python-pytest-forked: Update to 1.3.0.Maxim Cournoyer2021-01-15
| | | | | | * gnu/packages/check.scm (python-pytest-forked): Update to 1.3.0. [propagated-inputs]: Move python-pytest to... [native-inputs]: ... here.
* gnu: python-typed-ast: Update to 1.4.2.Maxim Cournoyer2021-01-15
| | | | * gnu/packages/python-xyz.scm (python-typed-ast): Update to 1.4.2.
* gnu: python-mccabe: Fix indentation.Maxim Cournoyer2021-01-15
| | | | * gnu/packages/python-xyz.scm (python-mccabe): Fix indentation.
* gnu: python-pyflakes: Fix build.Maxim Cournoyer2021-01-15
| | | | | | | * gnu/packages/patches/python-pyflakes-fix-tests.patch: Add patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/python-xyz.scm (python-pyflakes)[patches]: Apply it. [home-page]: Update.
* gnu: python-mccabe: Add missing python-toml input.Maxim Cournoyer2021-01-15
| | | | | * gnu/packages/python-xyz.scm (python-mccabe)[native-inputs]: Add python-toml. [home-page]: Update home page.
* gnu: python-pytest: Propagate python-iniconfig, python-toml.Maxim Cournoyer2021-01-15
| | | | | | | | | Based on a reading of the install_requires field of its setup.cfg file. * gnu/packages/check.scm (python-pytest)[native-inputs]: Move python-iniconfig... [propagated-inputs]: ... to here. Add python-toml. Remove python-atomicwrites, apparently only required on the win32 platform.
* gnu: python-mypy: Fix build.Maxim Cournoyer2021-01-15
| | | | | | | | This follows commit b5ccc6cc9a, which updated python-pytest to version 6 and removed the python-pytest-6 variable. * gnu/packages/python-check.scm (python-mypy) [native-inputs]: Rename python-pytest-6 to python-pytest.
* gnu: python-decorator: Update to 4.4.2.Maxim Cournoyer2021-01-15
| | | | * gnu/packages/python-xyz.scm (python-decorator): Update to 4.4.2.
* gnu: Add python-pypa-build.Maxim Cournoyer2021-01-15
| | | | * gnu/packages/python-build.scm (python-pypa-build): New variable.
* gnu: python-xyz: Move a few modules to (gnu packages python-build).Maxim Cournoyer2021-01-15
| | | | | | | | | | * gnu/packages/python-xyz.scm (python-pep517): Inherit from python-pep517-bootstrap. Remove the inherited common fields. (python-poetry-core, python-wheel) (python-toml): Move to ... * gnu/packages/python-build.scm: ... here, a new module. (python-pep517-bootstrap): New package. * gnu/local.mk (GNU_SYSTEM_MODULES): Register the new module.
* build-system/gnu: Really ignore the return value of phases.Ludovic Courtès2021-01-15
| | | | | | | | This is a followup to 04baa011e9122205009d6d5f15b8162bf6f3fb8a. * guix/build/gnu-build-system.scm (gnu-build): Really ignore the return value of PROC. Wrap PROC call in 'with-throw-handler'. Add 'end-of-phase' procedure and use it.
* gnu: tar: Update to 1.33.Ludovic Courtès2021-01-15
| | | | * gnu/packages/base.scm (tar): Update to 1.33.
* gnu: findutils: Update to 4.8.0.Ludovic Courtès2021-01-15
| | | | | | | | | * gnu/packages/base.scm (findutils): Update to 4.8.0. [source](patches): Remove "findutils-test-rwlock-threads.patch". * gnu/packages/patches/findutils-test-rwlock-threads.patch: Remove. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/commencement.scm (findutils-boot0)[arguments]: Add 'skip-fnmatch-test' phase.
* gnu: ed: Update to 1.17.Ludovic Courtès2021-01-15
| | | | * gnu/packages/ed.scm (ed): Update to 1.17.
* gnu: zstd: Add missing slash in 'libzstd.pc'.Ludovic Courtès2021-01-15
| | | | | | | | | | Fixes a regression introduced in 959a397d220ad49b5193feb84b036220313fb9c7, whereby directory names in 'libzstd.pc' would lack a slash after $prefix. * gnu/packages/compression.scm (zstd)[arguments]: In 'adjust-library-locations' phase, add trailing slash for $prefix in .pc file.