Nicolas Graves
6ac41542e9
gnu: behave: Move to pyproject-build-system.
...
* gnu/packages/check.scm (behave):
[build-system]: Move to pyproject-build-system.
[arguments]: Remove uneeded field.
Change-Id: I9ea513fb49b71d9187461ef55c2a6ecab2844a1d
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:51 +00:00
Nicolas Graves
652e7578ce
gnu: python-pytest-runner: Improve package style.
...
* gnu/packages/check.scm (python-pytest-runner):
[build-system]: Move to pyproject-build-system.
[arguments]<#:phases>: Remove check phase replacement. Update
<#:tests?> refusal comment.
[native-inputs]: Add python-pip, python-pypa-build,
python-setuptools and python-wheel.
Change-Id: Id36e7ed4a3cec6098f0877f48f3fbcbd8007f3c3
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:51 +00:00
Ricardo Wurmus
ba4750dfd0
gnu: python-pytest-xdist: Add setuptools and wheel.
...
* gnu/packages/check.scm (python-pytest-xdist)[native-inputs]: Add
python-setuptools and python-wheel.
Change-Id: I0aa7130a6e1bc0741edb164fd145bc20d754c007
2024-12-13 20:18:36 +00:00
Ricardo Wurmus
92581c8a2e
gnu: Add python-pytest-mypy-testing.
...
* gnu/packages/check.scm (python-pytest-mypy-testing): New variable.
Change-Id: Ic55e63745eae070e439155f1dc6792285eb87312
2024-12-13 20:18:31 +00:00
Lars-Dominik Braun
6d97c15911
gnu: Add python-setuptools/python-wheel where necessary.
...
Changes to pyproject-build-system require explicit dependency on
setuptools/wheel.
Change-Id: Icd7699fc1dc56e974ae7568f2ae916dbf876bea5
2024-12-13 20:18:25 +00:00
Lars-Dominik Braun
0ce36a9cf3
gnu: python-pytest-xdist: Disable failing test.
...
* gnu/packages/check.scm (python-pytest-xdist)[arguments]: Skip failing
test.
2024-12-13 20:15:42 +00:00
Lars-Dominik Braun
fdc0fefd46
build-system/pyproject: Use python-sans-pip-wrapper as default-python.
...
Also adds python-setuptools and python-wheel to relevant packages,
either to native-inputs or to propagated inputs if the pkg_resources
Python module is loaded at runtime.
* guix/build-system/pyproject.scm (default-python): Default to
python-sans-pip-wrapper.
Change-Id: I2d986c2225114f54459dd6bb360913106e52cdf4
2024-12-13 20:15:41 +00:00
Efraim Flashner
892cfdeffb
gnu: umockdev: Fix build with newer meson.
...
* gnu/packages/check.scm (umockdev)[arguments]: Add a phase to not error
on unused-variables from the code generated by vala.
Change-Id: I614304dcac9065f4299004e9e4e458d71d308e44
2024-11-27 21:16:28 +02:00
Sharlatan Hellseher
d3b010c38c
gnu: Respect --cores build argument in some python packages.
...
Reported by Greg Hogan <code@greghogan.com> in #74445 .
* gnu/packages/astronomy.scm (python-asdf-astropy, python-astropy,
python-photutils, python-poppy, python-regions, python-reproject,
python-sunpy, python-spectral-cube, python-stdatamodels, python-pysiaf,
python-sbpy, python-asdf-coordinates-schemas, python-roman-datamodels,
python-webbpsf, python-yt):
[arguments]<test-flags>: Adjust "-n" or "--numprocess" to respect
"--cores" build argument.
* gnu/packages/check.scm (python-crosshair): Likewise.
* gnu/packages/databases.scm (python-fastparquet, python-pycurl, awscli,
python-s3transfer): Likewise.
* gnu/packages/python-xyz.scm (python-glymur, python-zarr, python-dask):
Likewise.
Change-Id: Ifbc6435e4ad22b0ae822b485bccca41eaa165cc5
2024-11-23 15:55:05 +00:00
Troy Figiel
3ffb386e3f
gnu: Add python-crosshair.
...
* gnu/packages/check.scm (python-crosshair): New variable.
Change-Id: I7af183df882049c19d562cd15a23f3f3233309a9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-10-26 11:11:48 +01:00
Liliana Marie Prikler
93ceb2d901
gnu: rapidcheck: Fix pkg-config libs.
...
Using rapidcheck as a dependency in a project currently results in a linker
error, because the pkg-config file is missing relevant linker flags.
* gnu/packages/patches/rapidcheck-fix-libs.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/check.scm (rapidcheck)[patches]: Use it here.
2024-09-29 11:10:30 +02:00
Sharlatan Hellseher
759b74b852
gnu: actionlint: Update to 1.7.2.
...
* gnu/packages/check.scm (actionlint): Update to 1.7.2.
[arguments]: <#:build-flags>: Add version to "-ldflags".
Change-Id: I2cc668556286b24ae231e3fe4bad468c1d8e8544
2024-09-23 22:17:05 +01:00
Sharlatan Hellseher
43e0baa5db
gnu: actionlint: Improve package style.
...
* gnu/packages/check.scm (actionlint): Adjust indentation.
[arguments]: Use list style.
[native-inputs]: Merge with [inputs] as for Golang they are only
required during build time for the final command.
Change-Id: I754c1631be653304c8ebac8263745b77df6ad890
2024-09-23 21:58:07 +01:00
gemmaro
d3a25d8608
gnu: Add toml-test.
...
* gnu/packages/check.scm (toml-test): New variable.
Change-Id: I287cc46f371597e8557cb4eb255391d2c6766ddf
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-09-23 21:52:17 +01:00
Tobias Geerinckx-Rice
8f6a5af3d7
gnu: actionlint: Update to 1.7.1.
...
* gnu/packages/check.scm (actionlint): Update to 1.7.1.
Change-Id: I288c5e1793691b070d2acfbcf556dd9e4c104c04
2024-09-08 02:00:00 +02:00
David Elsing
8f6919f252
gnu: Add python-parameterized-next.
...
* gnu/packages/check.scm (python-parameterized-next): New variable.
2024-09-06 11:46:24 +02:00
Efraim Flashner
a69b63cc73
gnu: python-lit: Update to 18.1.8.
...
* gnu/packages/check.scm (python-lit): Update to 18.1.8.
Change-Id: I7f77079c83c0caa42b3ddfc8e1f12373c13aaca6
2024-08-31 10:45:42 +02:00
Efraim Flashner
d10ab3d397
gnu: mesa: Fix building on aarch64-linux.
...
* gnu/packages/gl.scm (mesa)[inputs]: When building for aarch64-linux
use clang-18 and llvm-18 instead of llvm-for-mesa.
[native-inputs]: When building for aarch64-linux add libclc.
[arguments]: Adjust the 'disable-failing-test phase when building for
aarch64-linux to skip a test.
(mesa-opencl)[native-inputs]: When building for aarch64-linux don't add
clang-15.
* gnu/packages/check.scm (python-lit),
* gnu/packages/llvm.scm (libclc),
* gnu/packages/vulkan.scm (spirv-llvm-translator): Add a note about it
being a dependency for mesa.
Change-Id: I0bf5ab019ffd0626ad2d0c38bafceec401e3c886
2024-08-31 10:45:42 +02:00
Ludovic Courtès
43e6dc3cda
gnu: libfaketime: Support compilation with glibc 2.39 on i686-linux.
...
* gnu/packages/check.scm (libfaketime)[arguments]: Add
‘switch-libc-call’ phase when not ‘target-64bit?’.
In ‘pre-check’ phase, delete ‘test_exclude_mono.sh’ on 32-bit platforms.
Change-Id: Ia4c0d1d13cdfa6028f3e11c63e76122a99a84e4d
2024-08-31 10:45:41 +02:00
宋文武
aa8ef46414
gnu: guile-proba: Fix build.
...
* gnu/packages/check.scm (guile-proba)[arguments]: Don't refer to nonexistent
'install' phase.
Change-Id: I2ef650c15f3f0d2640e746771667b20cfecb87ae
2024-08-31 10:45:10 +02:00
Nicolas Goaziou
9a2dca2e97
gnu: unittest-cpp: Fix "Version" setting in ".pc" file.
...
* gnu/packages/check.scm (unittest-cpp)[arguments]<#:configure-flags>: Add
Provide a "Version" value in ".pc" file for pkg-config checks.
Change-Id: I934ef3d83d50876be8ab157ba52d8812ed33ba2e
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:45:00 +02:00
Maxim Cournoyer
44fe64fe5f
gnu: Add kyua.
...
* gnu/packages/check.scm (kyua): New variable.
Change-Id: Ic3a74a27c05b099bef6acfb4e0c96d2ee3defc31
2024-08-31 10:44:57 +02:00
Maxim Cournoyer
86d5774605
gnu: Add atf.
...
* gnu/packages/check.scm (atf): New variable.
* gnu/packages/patches/atf-execute-with-shell.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
Change-Id: I37a57069380309382bc0ff24977a1fd165985f5e
2024-08-31 10:44:56 +02:00
Ludovic Courtès
edab591daa
gnu: checkmake: Fix typo.
...
Fixes a regression introduced in
7a149c6003
.
* gnu/packages/check.scm (checkmake)[arguments]: Fix typo
for #:install-source?.
Change-Id: Iaec646632fb342a50d93ab0b1a09f073e06d59b7
2024-08-21 18:54:45 +02:00
gemmaro
7a149c6003
gnu: Add checkmake.
...
* gnu/packages/check.scm (checkmake): New variable.
Change-Id: Ic60c5c6d6cb66ff3a5760e11df741c5a4d7e7a4d
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-08-21 14:46:38 +01:00
Sharlatan Hellseher
d7d779a3ef
Merge remote-tracking branch 'origin/go-team'
...
Change-Id: Ib66e48c4cb84e9e97ebcec334ab0b9f3dbfb1457
2024-08-08 13:05:56 +01:00
Sharlatan Hellseher
b5c33f99e3
gnu: Add python-pytest-8.
...
* gnu/packages/check.scm (python-pytest-8): New variable.
Change-Id: Ie584a48a2749cc7b196e373fe4e6e08f47165620
2024-07-30 10:30:45 +01:00
Sören Tempel
46a64c7fdd
gnu: klee-uclibc: Only build on x86_64 Linux.
...
* gnu/packages/check.scm (klee-uclibc): Add supported-systems.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-27 17:53:02 +02:00
Sören Tempel
ed726598fc
gnu: klee: Only build on x86_64 Linux.
...
* gnu/packages/check.scm (klee): Add supported-systems.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-27 17:53:02 +02:00
Sören Tempel
842517477b
gnu: klee: Only strip bin directory.
...
This avoid several warnings to be emitted by strip(1) when attempting
to strip .bca (i.e. LLVM bitcode) files shipped in /lib/klee/runtime/.
* gnu/packages/check.scm (klee): Set #:strip-directories.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-27 17:53:02 +02:00
Sören Tempel
187b6df6f1
gnu: klee: Enable the test suite.
...
* gnu/packages/check.scm (klee): Enable all tests.
[arguments]: Patch lit configuration and set #:test-target.
<#:configure-flags?>: Enable system and unit tests, configure gtest.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-27 17:53:02 +02:00
Sören Tempel
661d5eeb8e
gnu: klee: Wrap klee-stats for Python dependencies.
...
* gnu/packages/check.scm (klee): Wrap klee-stats.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-27 17:53:01 +02:00
Sharlatan Hellseher
058e0cc75a
gnu: go-github-com-google-go-cmp-cmp: Rename variable.
...
* gnu/packages/golang.scm (go-github-com-google-go-cmp-cmp): Rename
variable to go-github-com-google-go-cmp, which reflects go.mod import
path and improves importer performance.
(go-github-com-zclconf-go-cty, go-golang-org-x-vuln,
go-google-golang-org-protobuf, go-gotest-tools-assert,
go-gotest-tools-internal-source, go-gotest-tools-internal-format,
gofumpt, gopls, gotestsum): Swap go-github-com-google-go-cmp-cmp to
go-github-com-google-go-cmp in inputs, propagated-inputs or
native-inputs.
* gnu/packages/golang-check.scm (go-github-com-frankban-quicktest,
go-github-com-google-go-cmdtest): Likewise.
* gnu/packages/golang-web.scm (go-github-com-aws-aws-sdk-go-v2,
go-github-com-aws-aws-sdk-go-v2-config, go-github-com-aws-smithy-go,
go-github-com-go-jose-go-jose-v3,
go-github-com-makeworld-the-better-one-go-gemini,
go-golang-org-x-oauth2, go-gopkg-in-square-go-jose-v2): Likewise.
* gnu/packages/golang-xyz.scm (go-github-com-goccy-go-yaml): Likewise.
* gnu/packages/check.scm (actionlint): Likewise.
* gnu/packages/databases.scm (sqls): Likewise.
* gnu/packages/ipfs.scm (go-github-com-ipld-go-ipld-prime,
go-github-com-whyrusleeping-cbor-gen): Likewise.
* gnu/packages/web.scm (go-github-com-itchyny-gojq): Likewise.
Change-Id: Ie6eeba936f7da404d70fbbaad34f5b43aec4e05b
2024-07-25 21:00:58 +01:00
Roman Scherer
aeef827d2d
gnu: rapidcheck: Disable failing tests on aarch64.
...
* gnu/packages/check.scm (rapidcheck): Disable failing tests on aarch64.
Change-Id: I9b4e7be2acad615cc1586adb37cc39b43590b2d8
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-21 09:42:14 +02:00
Sören Tempel
087bd6916d
gnu: klee: Build with klee-uclibc support.
...
* gnu/packages/check.scm (klee): Use klee-uclibc.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-13 08:10:03 +02:00
Sören Tempel
3bdaa223b3
gnu: Add klee-uclibc.
...
* gnu/packages/check.scm (klee-uclibc): New variable.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-13 08:10:03 +02:00
Liliana Marie Prikler
8b6316f94b
gnu: rapidcheck: Update to 0.0.0-1.ff6af6f.
...
* gnu/packages/check.scm (rapidcheck): Update to 0.0.0-1.ff6af6f.
[source]: Add snippet to find inputs.
[arguments]: Remove #:phases and #:tests?.
<#:configure-flags?>: Add “-DRC_ENABLE_BOOST=on”, “-DRC_ENABLE_CATCH=on”,
“-DRC_ENABLE_DOCTEST=on”, “-DRC_ENABLE_GTEST=on”, and “-DRC_ENABLE_TESTS=on”.
[inputs]: Add boost, catch2, doctest and googletest.
[native-inputs]: Add catch2 and googletest.
2024-07-13 08:10:02 +02:00
Sharlatan Hellseher
afbc1cc8b3
gnu: Remove go-golang.org-x-sync-semaphore.
...
* gnu/packages/golang-build.scm (go-golang.org-x-sync-semaphore): Delete variable.
* gnu/packages/check.scm (actionlint): Adjust inputs.
[inputs]: Remove go-golang.org-x-sync-semaphore.
* gnu/packages/version-control.scm (git-lfs): Likewise.
[propagated-inputs]: Remove go-golang.org-x-sync-semaphore; add go-golang-org-x-sync.
Change-Id: Icf3edfc46696c8b9af79787ff77f7e65852bfef4
2024-06-29 09:37:40 +01:00
Sharlatan Hellseher
9708590d20
gnu: Remove go-golang.org-x-sync-errgroup.
...
* gnu/packages/golang-build.scm (go-golang.org-x-sync-errgroup): Delete variable.
* gnu/packages/check.scm (actionlint): Adjust inputs.
[inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.
* gnu/packages/golang.scm (gotestsum): Likewise.
[native-inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.
* gnu/packages/golang.scm (go-github-com-prometheus-procfs): Likewise.
[propagated-inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.
* gnu/packages/terminals.scm (go-github-com-junegunn-fzf): Likewise.
[inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.
* gnu/packages/version-control.scm (ghq): Likewise.
[inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.
Change-Id: If64c30da47ed9cd043798f427f2927b76394f3c4
2024-06-29 09:37:40 +01:00
Liliana Marie Prikler
fe7c898750
gnu: Add klee.
...
* gnu/packages/check.scm (klee): New variable.
2024-06-23 10:09:00 +02:00
Nicolas Graves
2b5cb248d3
gnu: Add python-pytest-next.
...
* gnu/packages/check.scm (python-pytest-next): New variable.
2024-04-22 11:29:30 +02:00
Nicolas Graves
118b2f79f8
gnu: python-pytest-xdist: Use pyproject-build-system.
...
* gnu/packages/check.scm (python-pytest-xdist): Use pyproject-build-system.
2024-04-22 11:29:30 +02:00
Sharlatan Hellseher
5abebf71e9
gnu: go-github-com-mattn-go-runewidth: Move to golang-xyz.
...
* gnu/packages/golang.scm (go-github-com-mattn-go-runewidth): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.
* gnu/packages/check.scm: Add (gnu packages golang-xyz) module.
* gnu/packages/disk.scm: Likewise.
* gnu/packages/messaging.scm: Likewise.
* gnu/packages/time.scm: Likewise.
* gnu/packages/weather.scm: Likewise.
Change-Id: I80f8b4c31c0fd8fee7c190a7740513ee139646d4
2024-04-06 13:14:43 +01:00
Sharlatan Hellseher
90b636e4b3
gnu: Add python-pytest-examples.
...
* gnu/packages/check.scm (python-pytest-examples): New variable.
Change-Id: I8199a7d7294c3b04134474f9f116468ac327cba8
2024-03-29 15:08:11 +00:00
Sharlatan Hellseher
36ce356616
gnu: Add python-nose-exclude.
...
* gnu/packages/check.scm (python-nose-exclude): New variable.
Change-Id: I5c91b682163890c822f7d4a548e92fdd287d78a2
2024-03-29 15:08:11 +00:00
nafkhamdc
64db5d6de3
gnu: Add python-pytest-relaxed.
...
* gnu/packages/check.scm (python-pytest-relaxed): New variable.
Change-Id: I9c506fe6a6586c87d72775a0567fd3c45ba03568
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2024-03-27 15:06:54 +01:00
Efraim Flashner
bcf3f55be9
gnu: check-0.14: Fix build on powerpc-linux.
...
* gnu/packages/check.scm (check-0.14)[source]: Include patch from check.
Change-Id: I490b3d4cbe09381d091a398614d6b55687ac758f
2024-03-10 12:50:13 +02:00
Zheng Junjie
584e240842
gnu: catch2-3: Update to 3.5.3.
...
* gnu/packages/check.scm (catch2-3): Update to 3.5.3.
[arguments]: Remove -DCMAKE_CXX_FLAGS from configure-flags.
Change-Id: Ib9e88dd6071d14ef70177fa83964a5d92b916ac0
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2024-03-09 11:30:23 +08:00
Liliana Marie Prikler
4a0549be52
gnu: Add theft.
...
* gnu/packages/check.scm (theft): New variable.
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-03-02 08:00:15 +01:00
Liliana Marie Prikler
0b969af153
gnu: Add greatest.
...
* gnu/packages/check.scm (greatest): New variable.
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-03-02 08:00:15 +01:00