summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorGreg Hogan <code@greghogan.com>2025-06-10 13:44:11 +0000
committerGreg Hogan <code@greghogan.com>2025-08-04 04:10:32 +0000
commit364e8832982bdd41d5d151ae5f93df26f4b36603 (patch)
tree87d4176da27cef5fbfef68c0ddde952f253f56d4 /gnu/packages/python-xyz.scm
parent98907260ed77dd98f160686ca470bb0851016da1 (diff)
gnu: Remove #:test-target argument.
* gnu/packages/astronomy.scm (libsep), * gnu/packages/bioinformatics.scm (megahit), * gnu/packages/bittorrent.scm (qbittorrent), * gnu/packages/calendar.scm (date), * gnu/packages/check.scm (klee, trompeloeil), * gnu/packages/compression.scm (zziplib), * gnu/packages/cpp.scm (immer, lager, zug), * gnu/packages/databases.scm (timescaledb), * gnu/packages/emulators.scm (dolphin-emu), * gnu/packages/fpga.scm (systemc), * gnu/packages/game-development.scm (box2d), * gnu/packages/games.scm (megaglest, openclonk, teeworld), * gnu/packages/glib.scm (sdbus-c++), * gnu/packages/gnucash.scm (gnucash), * gnu/packages/graph.scm (igraph), * gnu/packages/image.scm (exiv2), * gnu/packages/inkscape.scm (inkscape), * gnu/packages/instrumentation.scm (yactfr), * gnu/packages/kde-multimedia.scm (elisa), * gnu/packages/linux.scm (falcosecurity-libs), * gnu/packages/llvm.scm (libcxx, libomp-15), * gnu/packages/machine-learning.scm (ctranslate2, tvm), * gnu/packages/maths.scm (blitz), * gnu/packages/messaging.scm (libphonenumber), * gnu/packages/music.scm (clementine, libdiscid, opustags, strawberry), * gnu/packages/opencog.scm (atomspace, attention, cogserver, cogutil, opencog), * gnu/packages/python-xyz.scm (pybind11) * gnu/packages/radio.scm (libfec, libcorrect), * gnu/packages/serialization.scm (qtcsv), * gnu/packages/shells.scm (fish), * gnu/packages/tls.scm (aws-lc), * gnu/packages/web.scm (wabt), * gnu/packages/vulkan.com (spirv-llvm-translator) [arguments]: Move #:test-target to ... <#:phases>: ... 'check phase. * gnu/packages/algebra.scm (xtensor), * gnu/packages/astronomy (stellarium), * gnu/packages/bioinformatics.scm (libsbml), * gnu/packages/chemistry.scm (openbabel), * gnu/packages/cpp.scm (xsimd, xtl), * gnu/packages/documentation.scm (doxygen), * gnu/packages/lua.scm (selene), * gnu/packages/libftdi.scm (libftdi), * gnu/packages/llvm.scm (cling, libomp@12, libomp@13), * gnu/packages/hyperledger.scm (hyperledger-iroha), * gnu/packages/markup.scm (cmark, cmark-gfm), * gnu/packages/maths.scm (cryptominisat, double-conversion), * gnu/packages/mp3.scm (chromaprint), * gnu/packages/qt.scm (qtpromise) * gnu/packages/rdf.scm (clucene), * gnu/packages/sync.scm (lsyncd) [arguments}: Remove #:test-target. * gnu/packages/engineering.scm (libfive), * gnu/packages/game-development.scm (box2d-3) [arguments]: Remove #:test-target and disable tests. Change-Id: I0a82091df1789980bbbac0c334b6f993c36f412a
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm39
1 files changed, 22 insertions, 17 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 851917c26d..b55dfcd7fd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29491,23 +29491,28 @@ user-space file systems in Python.")
("catch" ,catch2-1)
("eigen" ,eigen)))
(arguments
- `(#:configure-flags
- (list (string-append "-DCATCH_INCLUDE_DIR="
- (assoc-ref %build-inputs "catch")
- "/include/catch"))
-
- #:phases (modify-phases %standard-phases
- (add-after 'install 'install-python
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (with-directory-excursion "../source"
- (setenv "PYBIND11_USE_CMAKE" "yes")
- (invoke "python" "setup.py" "install"
- "--single-version-externally-managed"
- "--root=/"
- (string-append "--prefix=" out)))))))
-
- #:test-target "check"))
+ (list
+ #:configure-flags
+ #~(list (string-append "-DCATCH_INCLUDE_DIR="
+ (assoc-ref %build-inputs "catch")
+ "/include/catch"))
+ #:modules '((guix build cmake-build-system)
+ ((guix build gnu-build-system) #:prefix gnu:)
+ (guix build utils))
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:rest args)
+ (apply (assoc-ref gnu:%standard-phases 'check) args)))
+ (add-after 'install 'install-python
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (with-directory-excursion "../source"
+ (setenv "PYBIND11_USE_CMAKE" "yes")
+ (invoke "python" "setup.py" "install"
+ "--single-version-externally-managed"
+ "--root=/"
+ (string-append "--prefix=" out)))))))))
(home-page "https://github.com/pybind/pybind11/")
(synopsis "Seamless operability between C++11 and Python")
(description