[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-octave-devel] octave in sid?



Hello,


>I hope this clarifies things for you. If you want to work on this
>virtual API package solution within the Debian Octave Group, you are
>more than welcome.
it does, thanks!

so you want me to implement something like this in reverse-dependencies?

OCTAVE_VERSION=$(shell dpkg-query --show --showformat='$${source:Upstream-Version}' octave | cut -f1,2 -d.)

override_dh_gencontrol:
dh_gencontrol -- \
-Voctave:Version=$(OCTAVE_VERSION) -Voctave:nextMajor=$(OCTAVE_VERSION).z

and then, runtime dependency
octave (>= ${octave:Version}),

octave (<< ${octave:nextMajor}),

this should do the trick, and force a full rebuild each time a new octave is uploaded.

does this sound feasible?


also, the answer in [1] looks sane
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861333#86

what do you think?

we could implement this while transitioning the packages to unstable, to avoid useless work for builders,
if we agree on the implementation, of course

thanks!

G.



Reply to: