Bug#802229: python-cffi: Uses versioned Provides

2015-10-21 Thread Stefano Rivera
Hi Dmitry (2015.10.18_08:54:33_-0700)
> Packages python-cffi-backend and python3-cffi-backend currently have
> versioned Provides field:

This has been supported in dpkg since 1.17.11.

However, we can't safely use it until #786803 is resolved.

> However, the Policy § 7.5 (Virtual packages - Provides) [1] says:

See #761219

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272



Bug#802229: python-cffi: Uses versioned Provides

2015-10-18 Thread Dmitry Shachnev
Package: python3-cffi-backend
Version: 1.2.1-1
Severity: important
Justification: Policy § 7.5

Dear Maintainer,

Packages python-cffi-backend and python3-cffi-backend currently have
versioned Provides field:

  $ apt-cache show python3-cffi-backend | grep ^Provides
  Provides: python3-cffi-backend-api-9729, python3-cffi-backend-api-max (= 
9983), python3-cffi-backend-api-min (= 9729)

   

These provides are generated in debian/gen-backend-versions.py at lines 39-40.

However, the Policy § 7.5 (Virtual packages - Provides) [1] says:

 | A Provides field may not contain version numbers, and the version number of
 | the concrete package which provides a particular virtual package will not be
 | considered when considering a dependency on or conflict with the virtual
 | package name.

[1]: https://www.debian.org/doc/debian-policy/ch-relationships.html#s-virtual

--
Dmitry Shachnev

signature.asc
Description: OpenPGP digital signature