GNU bug report logs -
#71948
[PATCH] gnu: rapidcheck: Update to 0.0.0-1.ff6af6f.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71948 in the body.
You can then email your comments to 71948 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#71948
; Package
guix-patches
.
(Fri, 05 Jul 2024 13:48:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Liliana Marie Prikler <liliana.prikler <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 05 Jul 2024 13:48:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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.
---
gnu/packages/check.scm | 44 ++++++++++++++++++++++++++----------------
1 file changed, 27 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 550a5d0f1d..1ed0ad9c98 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -73,6 +73,7 @@ (define-module (gnu packages check)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
+ #:use-module (gnu packages boost)
#:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
#:use-module (gnu packages cpp)
@@ -3396,8 +3397,8 @@ (define-public libfaketime
(license license:gpl2)))
(define-public rapidcheck
- (let ((commit "a5724ea5b0b00147109b0605c377f1e54c353ba2")
- (revision "0"))
+ (let ((commit "ff6af6fc683159deb51c543b065eba14dfcf329b")
+ (revision "1"))
(package
(name "rapidcheck")
(version (git-version "0.0.0" revision commit))
@@ -3410,24 +3411,33 @@ (define-public rapidcheck
(commit commit)))
(file-name (git-file-name name version))
(sha256
- (base32 "0f2dmsym8ibnwkaidxmgp73mg0sdniwsyn6ppskh74246h29bbcy"))))
+ (base32 "1s2qva1amhs887jcdj12ppxk9kkfvy25xy7vzhkwb7rljr3gj713"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ (make-file-writable "ext/CMakeLists.txt")
+ (call-with-output-file "ext/CMakeLists.txt"
+ (lambda (out)
+ (display "find_package(Catch2 REQUIRED GLOBAL)\n" out)
+ (display "find_package(GTest GLOBAL)\n" out)
+ (display "find_package(Boost GLOBAL)\n" out)))
+ (substitute* "extras/boost/test/CMakeLists.txt"
+ (("^([ ]*)boost" all spaces)
+ (string-append spaces "Boost::boost")))))))
(arguments
(list
- #:tests? #f ;require fetching submodules
- #:configure-flags #~(list "-DCMAKE_POSITION_INDEPENDENT_CODE=ON")
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'install 'install-extra-headers
- (lambda _
- (with-directory-excursion "../source/extras"
- (for-each
- (lambda (dir)
- (let ((dir (string-append dir "/include/rapidcheck/"))
- (dest (string-append #$output
- "/include/rapidcheck")))
- (copy-recursively dir dest)))
- '("boost" "boost_test" "catch" "gmock" "gtest"))))))))
+ #:configure-flags #~(list "-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
+ "-DRC_ENABLE_BOOST=on"
+ "-DRC_ENABLE_CATCH=on"
+ "-DRC_ENABLE_DOCTEST=on"
+ "-DRC_ENABLE_GTEST=on"
+ "-DRC_ENABLE_TESTS=on")))
(build-system cmake-build-system)
+ (inputs (list boost
+ catch2
+ doctest
+ googletest))
+ (native-inputs (list catch2 googletest))
(home-page "https://github.com/emil-e/rapidcheck")
(synopsis "Property based testing framework for C++")
(description "Rapidcheck is a property based testing framework for C++.
base-commit: 5ee2799cabba4b2d462ac064a98789d7bca07923
--
2.45.2
Reply sent
to
Liliana Marie Prikler <liliana.prikler <at> gmail.com>
:
You have taken responsibility.
(Sun, 14 Jul 2024 13:49:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Liliana Marie Prikler <liliana.prikler <at> gmail.com>
:
bug acknowledged by developer.
(Sun, 14 Jul 2024 13:49:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 71948-done <at> debbugs.gnu.org (full text, mbox):
Am Freitag, dem 05.07.2024 um 10:58 +0200 schrieb Liliana Marie
Prikler:
> * 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.
> ---
Pushed as 8b6316f94bc39fa7d4c39840935f0f74fff1b72f.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 12 Aug 2024 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 213 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.