summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2019-07-02import: 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 Cournoyer
2019-07-02import: pypi: Deduplicate requirements.•••* guix/import/pypi.scm (parse-requires.txt): Remove potential duplicates. Maxim Cournoyer
2019-07-02import: 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 Cournoyer
2019-07-02import: 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 Cournoyer
2019-07-02tests: 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 Cournoyer
2019-07-02import: 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 Cournoyer
2019-07-02gnu: tzdata: Update source URI.•••* gnu/packages/base.scm (tzdata, tzdata-for-tests)[source, native-inputs]: Update redirected URIs. Marius Bakke
2019-07-02gnu: linux-libre-headers: Update to 4.19.56.•••* gnu/packages/linux.scm (linux-libre-headers-4.14.67): Rename to ... (linux-libre-headers-4.19.56): ... this. Adjust hash accordingly. (linux-libre-headers): Set to LINUX-LIBRE-HEADERS-4.19.56. * gnu/packages/commencement.scm (linux-libre-headers-boot0)[native-inputs]: Add FLEX-BOOT0 and BISON-BOOT0. Marius Bakke
2019-07-02gnu: commencement: Remove outdated comment.•••* gnu/packages/commencement.scm (bison-boot0): Remove bash comment, which is no longer accurate. Marius Bakke
2019-07-02gnu: libuninameslist: Update to 20190701.•••* gnu/packages/fontutils.scm (libuninameslist): Update to 20190701. Marius Bakke
2019-07-02gnu: gettext: Update to 0.20.1.•••* gnu/packages/gettext.scm (gettext-minimal): Update to 0.20.1. [source](snippet): Remove. [inputs]: Remove EXPAT. Add LIBUNISTRING, LIBXML2, and NCURSES. [arguments]: Add #:configure-flags and a "patch-fixed-paths" phase. Delete "link-expat" phase. * gnu/packages/commencement.scm (gettext-boot0): Stay on version 0.19.8.1. [arguments]: Adjust accordingly. Co-authored-by: Miguel <rosen644835@gmail.com> Marius Bakke
2019-07-02gnu: bootstrap-tarballs: Don't include the native Mes when cross-compiling.•••* gnu/packages/make-bootstrap.scm (%bootstrap-tarballs)[inputs]: Check %CURRENT-TARGET-SYSTEM when deciding whether to use the reduced binary seeds. Marius Bakke
2019-07-02gnu: make-bootstrap: Adjust for GCC 7.•••* gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc)[native-inputs]: Add SEARCH-PATHS to CROSS-GCC, and NATIVE-SEARCH-PATHS to the native GCC. Marius Bakke
2019-07-02gnu: make-bootstrap: Restore cross-compilation workarounds.•••These workarounds were removed in cf8264364761857ca3550398369a0f20d7b0d512 and 218eb6e611c0a238802bf9cb5742d37cea0bb012, but were needed for %BOOTSTRAP-TARBALLS. * gnu/packages/make-bootstrap.scm (%static-inputs)[coreutils, tar]: Add <#:configure-flags>. Marius Bakke
2019-07-02gnu: make-bootstrap: Remove obsolete header file.•••* guix/build/make-bootstrap.scm (copy-linux-headers): Do not install 'a.out.h'. Marius Bakke
2019-07-02gnu: silkaj: Update to 0.7.2.•••* gnu/packages/finance.scm (silkaj): Update to 0.7.2. Nicolas Goaziou
2019-07-02gnu: giac: Update to 1.5.0-61.•••* gnu/packages/algebra.scm (giac): Update to 1.5.0-61. Nicolas Goaziou
2019-07-02gnu: python-duniterpy: Update to 0.54.3.•••* gnu/packages/finance.scm (python-duniterpy): Update to 0.54.3. Nicolas Goaziou
2019-07-01etc: Do not recommend use of SKS key servers.•••* etc/guix-install.sh: Recommend downloading the GPG key from Savannah. Ricardo Wurmus
2019-07-01gnu: guile-static-stripped: Adjust patches for 2.2.6.•••* gnu/packages/patches/guile-2.2-default-utf8.patch, gnu/packages/patches/guile-relocatable.patch: Adjust for Guile 2.2.6. Ludovic Courtès
2019-07-01gnu: guile: Update to 2.2.6.•••* gnu/packages/guile.scm (guile-2.2): Update to 2.2.6. Ludovic Courtès
2019-07-01gnu: 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ès
2019-07-01gnu: behave: Fix build.•••* gnu/packages/check.scm (behave)[propagated-inputs]: Add python-importlib-metadata. Danny Milosavljevic
2019-06-30gnu: gtksourceviewmm: Build against gtksourceview@3.•••* gnu/packages/gtk.scm (gtksourceviewmm)[propagated-inputs]: Change GTKSOURCEVIEW to GTKSOURCEVIEW-3. Marius Bakke
2019-06-30guix: 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 Petkov
2019-06-30Revert "gnu: meson: Update to 0.51.0."•••Meson 0.51.0 has problems with PKG_CONFIG_PATH. See <https://bugs.gnu.org/36386>. This reverts commit 70530036b8313d5273fca286cd62c73bd2225110. Marius Bakke
2019-06-30gnu: libuv: Update to 1.30.0.•••* gnu/packages/libevent.scm (libuv): Update to 1.30.0. Marius Bakke
2019-06-30gnu: libssh2: Update to 1.9.0.•••* gnu/packages/patches/libssh2-fix-build-failure-with-gcrypt.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. * gnu/packages/ssh.scm (libssh2): Update to 1.9.0. [source](patches): Remove. Marius Bakke
2019-06-30build-system/meson: Do not inherit the 'bootstrap' phase.•••* guix/build/meson-build-system.scm (%standard-phases): Remove 'bootstrap'. * gnu/packages/glib.scm (glib)[arguments]: Adjust accordingly. Marius Bakke
2019-06-30gnu: python-more-itertools: Update to 7.1.0.•••* gnu/packages/python-xyz.scm (python-more-itertools): Update to 7.1.0. Marius Bakke
2019-06-30gnu: poppler: Update to 0.78.0.•••* gnu/packages/pdf.scm (poppler): Update to 0.78.0. Marius Bakke
2019-06-30gnu: nettle: Update to 3.5.1.•••* gnu/packages/nettle.scm (nettle): Update to 3.5.1. Marius Bakke
2019-06-30gnu: harfbuzz: Update to 2.5.3.•••* gnu/packages/gtk.scm (harfbuzz): Update to 2.5.3. Marius Bakke
2019-06-30gnu: miniupnpc: Update to 2.1.20190625.•••* gnu/packages/upnp.scm (miniupnpc): Update to 2.1.20190625. Marius Bakke
2019-06-30gnu: mbedtls-apache: Update to 2.16.2.•••* gnu/packages/tls.scm (mbedtls-apache): Update to 2.16.2. Marius Bakke
2019-06-30gnu: 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 Bakke
2019-06-30gnu: python-cython: Update to 0.29.11.•••* gnu/packages/python-xyz.scm (python-cython): Update to 0.29.11. Marius Bakke
2019-06-30gnu: ImageMagick: Update to 6.9.10-50.•••* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.10-50. Marius Bakke
2019-06-30gnu: perl-net-ssleay: Update source URI.•••This is a follow-up to commit 966e4beadcf5dcc7537ccdbe42505c9129c5dd08. * gnu/packages/tls.scm (perl-net-ssleay)[source](uri): Update to current. Marius Bakke
2019-06-29gnu: perl-net-ssleay: Update to 1.88.•••* gnu/packages/tls.scm (perl-net-ssleay): Update to 1.88. Marius Bakke
2019-06-29gnu: gtk+: Update to 3.24.9.•••* gnu/packages/gtk.scm (gtk+): Update to 3.24.9. Marius Bakke
2019-06-29gnu: libinput: Update to 1.13.4.•••* gnu/packages/freedesktop.scm (libinput): Update to 1.13.4. Marius Bakke
2019-06-29gnu: nss, nss-certs: Update to 3.44.1.•••* gnu/packages/certs.scm (nss-certs): Update to 3.44.1. * gnu/packages/nss.scm (nss): Likewise. Marius Bakke
2019-06-29gnu: mesa: Do not pass an empty string argument to the build system.•••This is a follow-up to commit 301b2e74f986385664153e6e770e238b351f5cf0. * gnu/packages/gl.scm (mesa)[arguments]: Return the empty list instead of an empty string for the non-matching case. Marius Bakke
2019-06-29Merge branch 'master' into stagingMarius Bakke
2019-06-29gnu: nginx: Update to 1.17.1.•••* gnu/packages/web.scm (nginx): Update to 1.17.1. Marius Bakke
2019-06-29gnu: 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 Bakke
2019-06-29gnu: gawk: Update to 5.0.1.•••* gnu/packages/gawk.scm (gawk): Update to 5.0.1. Ludovic Courtès
2019-06-29gnu: flex: Build bison-for-tests sequentially.•••This is a followup to b1593c1c4fd8f4fc6df4c43cab51334426e3aa76. * gnu/packages/flex.scm (flex)[inputs](bison-for-tests): Use 'substitute-keyword-arguments' instead of overriding them altogether. This ensures that #:parallel-build? and #:parallel-tests? are preserved. Ludovic Courtès
2019-06-29gnu: stow: Update license information.•••* gnu/packages/package-management.scm (stow)[license]: Update to gpl3+. Efraim Flashner