Commit graph

54706 commits

Author SHA1 Message Date
Marius Bakke 013c5c23f9
gnu: cmake, cmake-minimal: Use cmake-build-system.
This allows removing the bundled LibUV in a subsequent commit.  This commit
alone makes no functional changes apart from the build system adjustments.

* gnu/packages/cmake.scm (%common-build-phases, %common-disabled-tests): New
variables.
(cmake-bootstrap)[arguments]: Refactor to use the shared phases and tests.
(cmake-minimal)[build-system]: Change to CMAKE-BUILD-SYSTEM.
[arguments]: Adjust accordingly.
(cmake)[arguments]: Likewise.
2020-01-26 13:38:57 +01:00
Marius Bakke 88b263465c
build-system/cmake: Enable parallel tests by default.
* guix/build-system/cmake.scm (cmake-build, cmake-cross-build): Set
the PARALLEL-TESTS? key to #t.
2020-01-26 01:52:55 +01:00
Marius Bakke ed24dda76d
gnu: CMake: Remove most bundled libraries.
* gnu/packages/cmake.scm (cmake-bootstrap)[source](modules): Add (ice-9 ftw).
[source](snippet): Change to a whitelist approach, keeping "jsoncpp" and "libuv".
[arguments]: Add phase "use-system-libarchive".  Remove substitution of deleted file.
[native-inputs]: Add (PACKAGE-SOURCE LIBARCHIVE)
[license]: Remove LICENSE:BSD-4 and LICENSE:BSD-2.
2020-01-25 14:44:53 +01:00
Marius Bakke b5fc075d01
gnu: cmake-minimal: Remove bundled jsoncpp.
* gnu/packages/cmake.scm (cmake-minimal)[source](snippet): New field.  Purge
bundled jsoncpp.
[inputs]: Add JSONCPP.
[arguments]: Adjust accordingly.
* gnu/packages/serialization.scm (jsoncpp)[arguments]: For native builds, use
CMAKE-BOOTSTRAP.
2020-01-25 14:21:03 +01:00
Marius Bakke 7c1ea9316a
gnu: cmake-minimal-bootstrap: Rename to cmake-bootstrap.
...and change the inheritance order while at it, to prepare for the next commit.

* gnu/packages/cmake.scm (cmake-minimal): Rename to ...
(cmake-bootstrap): ... this.
[name]: Set to "cmake-bootstrap".
[native-inputs]: Change from CURL to CURL-MINIMAL.
(cmake-minimal-bootstrap): Remove variable.
(cmake-minimal): New variable, inherits from CMAKE-BOOTSTRAP.
* gnu/packages/image.scm (libjpeg-turbo)[arguments]: Change from
CMAKE-MINIMAL-BOOTSTRAP to CMAKE-BOOTSTRAP.
2020-01-25 14:19:14 +01:00
Marius Bakke fa8e0a5387
gnu: cmake: Build an optimized executable.
* gnu/packages/cmake.scm (cmake-bootstrap)[arguments]: Pass
"-DCMAKE_BUILD_TYPE" in #:configure-flags.
2020-01-25 12:50:57 +01:00
Marius Bakke 8c81210ed0
gnu: python2-pygtk: Build with pango@1.42.
* gnu/packages/gtk.scm (python2-pygtk)[inputs]: Add PANGO-1.42.
2020-01-24 20:44:37 +01:00
Marius Bakke 5fcc5b38ed
gnu: qmapshack: Remove sqlite-with-column-metadata workaround.
* gnu/packages/geo.scm (qmapshack)[arguments]: Do not set LD_LIBRARY_PATH in
wrapper scripts.
2020-01-24 20:44:37 +01:00
Marius Bakke d040e650b2
gnu: bison: Update to 3.5.1.
* gnu/packages/bison.scm (bison): Update to 3.5.1.
2020-01-24 20:44:37 +01:00
Marius Bakke 89dc00cc2a
gnu: meson: Update to 0.53.1.
* gnu/packages/build-tools.scm (meson): Update to 0.53.1.
2020-01-24 20:44:37 +01:00
Marius Bakke 6abfe6f525
gnu: pciutils: Update to 3.6.3.
* gnu/packages/pciutils.scm (pciutils): Update to 3.6.3.
2020-01-24 20:44:37 +01:00
Marius Bakke 0d775f987c
gnu: sqlite: Update to 3.31.0.
* gnu/packages/sqlite.scm (sqlite): Update to 3.31.0.
2020-01-24 20:44:36 +01:00
Marius Bakke f69a22accf
gnu: util-linux: Update to 2.35.
* gnu/packages/linux.scm (util-linux): Update to 2.35.
[arguments]: Add substitution to fix test locale.
2020-01-24 20:44:36 +01:00
Marius Bakke 0830b2f4aa
gnu: libuv: Update to 1.34.2.
* gnu/packages/libevent.scm (libuv): Update to 1.34.2.
2020-01-24 20:44:36 +01:00
Marius Bakke 64d47f5043
gnu: python-fonttools: Update to 4.2.4.
* gnu/packages/python-xyz.scm (python-fonttools): Update to 4.2.4.
2020-01-24 20:44:36 +01:00
Marius Bakke 861a265959
gnu: python-pytest-runner: Update to 5.2.
* gnu/packages/check.scm (python-pytest-runner): Update to 5.2.
[arguments]: New field.
[native-inputs]: Remove PYTHON-PYTEST-BOOTSTRAP.
2020-01-24 20:44:36 +01:00
Marius Bakke 0eb2ce12c0
gnu: python-freezegun: Update to 0.3.14.
* gnu/packages/check.scm (python-freezegun): Update to 0.3.14.
2020-01-24 20:44:36 +01:00
Marius Bakke a5670bd45a
gnu: python-pycairo: Update to 1.19.0.
* gnu/packages/gtk.scm (python-pycairo): Update to 1.19.0.
(python2-pycairo): Stick with 1.18.2.
2020-01-24 20:44:36 +01:00
Marius Bakke 0075e2e265
gnu: python-setuptools-scm: Update to 3.4.3.
* gnu/packages/python-xyz.scm (python-setuptools-scm): Update to 3.4.3.
2020-01-24 20:44:35 +01:00
Marius Bakke e0a5693533
gnu: python-hypothesis: Update to 5.3.0.
* gnu/packages/check.scm (python-hypothesis): Update to 5.3.0.
2020-01-24 20:44:35 +01:00
Marius Bakke 9a4990064f
gnu: python-six: Update to 1.14.0.
* gnu/packages/python-xyz.scm (python-six): Update to 1.14.0.
2020-01-24 20:44:35 +01:00
Marius Bakke 41fdad9f8c
gnu: python-cffi: Update to 1.13.2.
* gnu/packages/patches/python-cffi-x87-stack-clean.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/libffi.scm (python-cffi): Update to 1.13.2.
[arguments]: Adjust substitution.  Remove obsolete phase.
2020-01-24 20:44:35 +01:00
Marius Bakke 96af5dcf91
gnu: python-freezegun: Update to 0.3.13.
* gnu/packages/check.scm (python-freezegun): Update to 0.3.13.
2020-01-24 20:44:35 +01:00
Marius Bakke bf2522863c
gnu: network-manager: Fix build with Python 3.8.
* gnu/packages/gnome.scm (network-manager)[arguments]: Set
"NM_TEST_REGENERATE" before running the tests.
2020-01-24 20:44:35 +01:00
Marius Bakke 403b533fde
gnu: libimobiledevice: Fix build with Python 3.8.
* gnu/packages/libusb.scm (%libimobiledevice-patches): New variable.
(libimobiledevice)[source](patches): New field.
[arguments]: Remove #:configure-flags.  Add #:phases.
[native-inputs]: Add AUTOCONF and AUTOMAKE.
2020-01-24 20:44:34 +01:00
Marius Bakke 4255efda3d
gnu: python-dateutil: Update to 2.8.1.
* gnu/packages/time.scm (python-dateutil): Update to 2.8.1.
2020-01-24 20:44:34 +01:00
Marius Bakke 40d97db708
gnu: python-dateutil: Add missing input.
* gnu/packages/time.scm (python-dateutil)[native-inputs]: Add PYTHON-PYTEST-COV.
2020-01-24 20:44:34 +01:00
Marius Bakke cc9c83c55d
gnu: python-pygobject: Update to 3.34.0.
* gnu/packages/glib.scm (python-pygobject): Update to 3.34.0.
[source](modules, snippet): New fields.  Delete failing tests identified by
commit 622d702f7e.
[build-system]: Change to MESON-BUILD-SYSTEM.
[arguments]: Remove.
[native-inputs]: Remove WHICH and DBUS.
(python2-pygobject)[build-system]: Change to PYTHON-BUILD-SYSTEM.
[arguments]: New field.  Copy old phase from python-pygobject.
[native-inputs]: Remove WHICH and DBUS.
(python-pygobject-3.34.0): Remove variable.
2020-01-24 20:44:34 +01:00
Marius Bakke 9ba3cf5782
gnu: python-pycairo: Update to 1.18.2.
* gnu/packages/gtk.scm (python-pycairo): Update to 1.18.2.
(python2-pycairo)[propagated-inputs]: Remove.
2020-01-24 20:44:34 +01:00
Marius Bakke cc63d8cfd8
gnu: python-pytest-cov: Update to 2.8.1.
* gnu/packages/check.scm (python-pytest-cov): Update to 2.8.1.
2020-01-24 20:44:34 +01:00
Marius Bakke 0e648e6160
gnu: python-mako: Do not use pytest nose compatibility layer.
* gnu/packages/python-xyz.scm (python-mako)[native-inputs]: Replace
PYTHON-PYTEST with PYTHON-NOSE.
[arguments]: Adjust check phase accordingly.  While at it, allow overriding
the #:tests? key.
2020-01-24 20:44:34 +01:00
Marius Bakke 0ae97f5dd1
gnu: python2-pytest: Update to 4.6.9.
* gnu/packages/check.scm (python2-pytest): Update to 4.6.9.
(python2-pytest-bootstrap)[propagated-inputs]: Add
PYTHON2-IMPORTLIB-METADATA-BOOTSTRAP, PYTHON2-PACKAGING-BOOTSTRAP, and
PYTHON2-WCWIDTH.  Replace PYTHON2-PLUGGY with PYTHON2-PLUGGY-BOOTSTRAP.
* gnu/packages/python-compression.scm (python2-zipp-bootstrap): New public variable.
* gnu/packages/python-xyz.scm (python2-importlib-resources-bootstrap): New
public variable.
(python-importlib-metadata)[native-inputs]: Change from PYTHON-PACKAGING to
PYTHON-PACKAGING-BOOTSTRAP.
[properties]: New field.
(python2-importlib-metadata-bootstrap, python2-contextlib2-bootstrap,
python2-pluggy-bootstrap): New public variables.
(python-packaging)[arguments]: Allow overriding #:tests?.
(python2-packaging-bootstrap): New public variable.
2020-01-24 20:44:33 +01:00
Marius Bakke db6fb90a1f
gnu: python2-pluggy: Update to 0.13.1.
* gnu/packages/python-xyz.scm (python-pluggy)[source, version]: Remove.
[propagated-inputs]: Add PYTHON2-IMPORTLIB-METADATA.
2020-01-24 20:44:33 +01:00
Marius Bakke 5e7202bbdf
gnu: python2-importlib-resources: Drop 'wheel' dependency.
* gnu/packages/python-xyz.scm (python2-importlib-resources)[native-inputs]:
Remove.
[arguments]: Add #:phases.
2020-01-24 20:44:33 +01:00
Marius Bakke 94fa51e17d
gnu: python2-flake8: Add missing input.
* gnu/packages/python-xyz.scm (python2-flake8)[propagated-inputs]: Add
PYTHON2-FUNCTOOLS32.
2020-01-24 20:44:33 +01:00
Marius Bakke c5d399090e
gnu: python-pytest: Update to 5.3.2.
* gnu/packages/check.scm (python-pytest): Update to 5.3.2.
[propagated-inputs]: Add PYTHON-WCWIDTH and PYTHON-PACKAGING-BOOTSTRAP.
[native-inputs]: Add PYTHON-XMLSCHEMA.
[arguments]: Support overriding check phase with #:tests?.
(python2-pytest): Stay on version 4.4.2.
(python2-pytest-bootstrap): Inherit from PYTHON2-PYTEST instead of
PYTHON-PYTEST-BOOTSTRAP.
* gnu/packages/python-xyz.scm (python-packaging-bootstrap): New public variable.
2020-01-24 20:44:33 +01:00
Marius Bakke 17263ef5e8
gnu: python-pluggy: Update to 0.13.1.
* gnu/packages/python-xyz.scm (python-pluggy): Update to 0.13.1.
[properties]: New field.
(python2-pluggy): Stay on 0.11.0.
2020-01-24 20:44:33 +01:00
Marius Bakke 3b5378a87f
gnu: python-hypothesis: Update to 5.1.5.
* gnu/packages/check.scm (python-hypothesis): Update to 5.1.5.
[native-inputs]: Remove.
[arguments]: New field.
[propagated-inputs]: Remove PYTHON-COVERAGE.  Add PYTHON-SORTEDCONTAINERS.
(python2-hypothesis): Update to 4.57.1.
2020-01-24 20:44:33 +01:00
Marius Bakke 8aed0895f1
gnu: python-attrs: Update to 19.3.0.
* gnu/packages/python-xyz.scm (python-attrs): Update to 19.3.0.
2020-01-24 20:44:32 +01:00
Marius Bakke 11c28af19a
gnu: python-pyparsing: Update to 2.4.6.
* gnu/packages/python-xyz.scm (python-pyparsing): Update to 2.4.6.
2020-01-24 20:44:32 +01:00
Marius Bakke aadef9c845
gnu: python-sortedcontainers: Add python2 variant.
* gnu/packages/python-xyz.scm (python2-sortedcontainers): New public
variable.
2020-01-24 20:44:32 +01:00
Marius Bakke 4c2530afce
gnu: python-sorted-containers: Disable tests.
It did not actually run tests previously, because pytest was unavailable.

* gnu/packages/python-xyz.scm (python-sortedcontainers)[arguments]: New
field.
[native-inputs]: Remove.
2020-01-24 20:44:32 +01:00
Marius Bakke dab41b95fb
gnu: python-mock: Update to 3.0.5.
* gnu/packages/check.scm (python-mock): Update to 3.0.5.
[propagated-inputs]: Remove PYTHON-PBR-MINIMAL.
[native-inputs]: Remove.
[arguments]: Remove #:phases.  Add #:tests?.
2020-01-24 20:44:32 +01:00
Marius Bakke a9d1da178e
gnu: python-more-itertools: Update to 8.1.0.
* gnu/packages/python-xyz.scm (python-more-itertools): Update to 8.1.0.
2020-01-24 20:44:32 +01:00
Marius Bakke fb7686a999
gnu: python-flake8: Update to 3.7.9.
* gnu/packages/python-xyz.scm (python-flake8): Update to 3.7.9.
[native-inputs]: Remove PYTHON-PYTEST-RUNNER.
2020-01-24 20:44:31 +01:00
Marius Bakke 87a49025e9
gnu: python2-pathlib2: Update to 2.3.5.
* gnu/packages/python-xyz.scm (python2-pathlib2): Update to 2.3.5.
2020-01-24 20:44:31 +01:00
Marius Bakke f00722b40c
gnu: python-six: Update to 1.13.0.
* gnu/packages/python-xyz.scm (python-six): Update to 1.13.0.
[native-inputs]: Remove PYTHON-PY.
2020-01-24 20:44:31 +01:00
Marius Bakke c6bc3529a5
gnu: python-configparser: Update to 4.0.2.
* gnu/packages/python-xyz.scm (python-configparser): Update to 4.0.2.
[native-inputs]: Add PYTHON-SETUPTOOLS-SCM.
2020-01-24 20:44:31 +01:00
Marius Bakke 559f5799db
gnu: python-typing: Update to 3.7.4.1.
* gnu/packages/python-xyz.scm (python-typing): Update to 3.7.4.1.
2020-01-24 20:44:31 +01:00
Marius Bakke 23d5d859a8
gnu: python-py: Update to 1.8.1.
* gnu/packages/python-xyz.scm (python-py): Update to 1.8.1.
2020-01-24 20:44:31 +01:00