Re: combining pybuild and cmake

2022-08-07 Thread Ole Streicher
Hi Jeremy, Jeremy Sowden writes: > Don't know whether it the proper way to do it, but this: > > $ cat debian/rules > #!/usr/bin/make -f > #export DH_VERBOSE=1 > > %: > dh $@ --with python3 > > override_dh_auto_clean: > dh_auto_clean -O--buildsystem=cmake >

Re: combining pybuild and cmake

2022-08-07 Thread Jeremy Sowden
On 2022-08-07, at 14:26:07 +0200, Ole Streicher wrote: > I am working on a package > (https://salsa.debian.org/debian-astro-team/sep), that needs a > two-stage build: First, a library is built with cmake/make, and then a > Python (wrapper) package is built the usual way. > > I tried to just have t

combining pybuild and cmake

2022-08-07 Thread Ole Streicher
Hi, I am working on a package (https://salsa.debian.org/debian-astro-team/sep), that needs a two-stage build: First, a library is built with cmake/make, and then a Python (wrapper) package is built the usual way. I tried to just have two commands in d/rules: ---8<