rapidcheck icon indicating copy to clipboard operation
rapidcheck copied to clipboard

Add Conan support

Open liarokapisv opened this issue 5 years ago • 3 comments

It would be useful to add Conan support for Rapidcheck and perhaps push the package to conan-center. Then users relying on conan can just specify rapidcheck to their conanfiles and it would be automatically fetched (prebuilt if available, as source then built otherwise). This should be very easy to implement since it already has CMake support and Conan provides utilities for making recipes for CMake packages.

liarokapisv avatar Jun 25 '19 14:06 liarokapisv

I think this one can be closed :-)

https://conan.io/center/rapidcheck

mjvankampen avatar Sep 23 '21 15:09 mjvankampen

Looks like not quite:

*********************************************************
Recipe 'rapidcheck/cci.20220514' seems broken.
It is possible that this recipe is not Conan 2.0 ready
If the recipe comes from ConanCenter check: https://conan.io/cci-v2.html
If it is your recipe, check it is updated to 2.0
*********************************************************

ERROR: Package 'rapidcheck/cci.20220514' not resolved: rapidcheck/cci.20220514: Cannot load recipe.
Error loading conanfile at '~/.conan2/p/rapid7607376a185b0/e/conanfile.py': Unable to load conanfile in ~/.conan2/p/rapid7607376a185b0/e/conanfile.py
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "~/.conan2/p/rapid7607376a185b0/e/conanfile.py", line 1, in <module>
    from conans import CMake, ConanFile, tools
ImportError: cannot import name 'CMake' from 'conans' (/opt/homebrew/Cellar/conan/2.0.0/libexec/lib/python3.11/site-packages/conans/__init__.py)

NAThompson avatar Feb 23 '23 18:02 NAThompson

The recipe on the CCI needs updating for conan 2 compatibility (conan 2 was released this week). (This issue really belongs on https://github.com/conan-io/conan-center-index .)

cqc-alec avatar Feb 24 '23 10:02 cqc-alec