Re: eodag packaging (Was: Finalizing blends tasks for trixie)
On 4/24/25 12:31 PM, Antonio Valentino wrote:
Regarding the last one I'm not sure what do you mean.
Currently we have
"""
include /usr/share/dpkg/pkg-info.mk
export SETUPTOOLS_SCM_PRETEND_VERSION=$(DEB_VERSION_UPSTREAM:+ds=)
"""
the `:*ds=` should do the trick, and indeed the dist-info seems to be correctly generated (eodag-3.3.1.dist-info).
It works as long as the repacksuffix is +ds, when you need to repack it again and use +ds2 the SETUPTOOLS_SCM_PRETEND_VERSION value becomes 3.3.1+ds2 which is not what you want.
Is there a more robust way to do it?
Also strip zero or more characters after +ds.
Do you have a link?
e.g.: https://salsa.debian.org/debian-gis-team/spatialite/-/blob/master/debian/rules?ref_type=heads#L15
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Reply to: