[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/09: gnu: pybind11: Add dependency on Catch and Eigen.
From: |
guix-commits |
Subject: |
04/09: gnu: pybind11: Add dependency on Catch and Eigen. |
Date: |
Mon, 10 Feb 2020 17:35:00 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit ae8db9ce327337b4e8a20a5082829b9ed1ef432c
Author: Ludovic Courtès <address@hidden>
AuthorDate: Mon Feb 10 18:25:43 2020 +0100
gnu: pybind11: Add dependency on Catch and Eigen.
* gnu/packages/python-xyz.scm (pybind11)[inputs]: Add CATCH-FRAMEWORK2-1
and EIGEN.
[arguments]: Add #:configure-flags.
---
gnu/packages/python-xyz.scm | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bfd04c0..e88ef25 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Nikita Karetnikov <address@hidden>
-;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès
<address@hidden>
+;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès
<address@hidden>
;;; Copyright © 2013, 2014, 2015, 2016, 2019 Andreas Enge <address@hidden>
;;; Copyright © 2014, 2015 Mark H Weaver <address@hidden>
;;; Copyright © 2014, 2017 Eric Bavier <address@hidden>
@@ -15408,9 +15408,18 @@ under Python 2.7.")
(build-system cmake-build-system)
(native-inputs
`(("python" ,python)
- ("python-pytest" ,python-pytest)))
+
+ ;; The following dependencies are used for tests.
+ ("python-pytest" ,python-pytest)
+ ("catch" ,catch-framework2-1)
+ ("eigen" ,eigen)))
(arguments
- `(#:test-target "check"))
+ `(#:configure-flags
+ (list (string-append "-DCATCH_INCLUDE_DIR="
+ (assoc-ref %build-inputs "catch")
+ "/include/catch"))
+
+ #:test-target "check"))
(home-page "https://github.com/pybind/pybind11/")
(synopsis "Seamless operability between C++11 and Python")
(description "pybind11 is a lightweight header-only library that exposes
- branch master updated (8a0dd28 -> 50e96d2), guix-commits, 2020/02/10
- 01/09: git: Add missing exports for <git-checkout>., guix-commits, 2020/02/10
- 02/09: gnu: pybind11: Change 'license' field to BSD-3., guix-commits, 2020/02/10
- 07/09: gnu: Add python-pytools., guix-commits, 2020/02/10
- 04/09: gnu: pybind11: Add dependency on Catch and Eigen.,
guix-commits <=
- 06/09: gnu: pybind11: Install .py files., guix-commits, 2020/02/10
- 03/09: gnu: pybind11: Update to 2.4.3., guix-commits, 2020/02/10
- 08/09: gnu: Add python-pyopencl., guix-commits, 2020/02/10
- 05/09: gnu: pybind11: Tweak description., guix-commits, 2020/02/10
- 09/09: gnu: geoclue: Update to 2.5.5, guix-commits, 2020/02/10