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

Re: Packaging pyca

Hej Robin,

thanks for all the advice. It is some time ago, since I created my last
Debian Package and a lot has changed.

I created the current package with the tools installed under Buster
using dh_make and the Lintian on Buster seems to be happy, except to the
jquery stuff of course. Maybe this leads to the outdated versions.

Currently I provide this for people installing PyCA on their current
version of Debian, so this package is mostly for Buster.

I will try to build directly on unstable again and check the result, if
I find a mentor for this and probably have then to maintain packaging
for the two different versions in parallel, or is there a better way to
do this?



On Sat, 16 May 2020 13:00:02 +0200
Robin Gustafsson <robin@rgson.se> wrote:

> Hi Sven,
> I'm a new contributor myself and cannot sponsor the package nor answer
> all of your questions, but I can offer some suggestions.
> > Currently there is a Lintian error, due to the fact, that PyCA
> > itself ships an own version of jquery  
> This would not be allowed in Debian. Firstly, the jQuery file is
> minified and would thus be considered to be missing sources (policy
> 4.16 [1]) which is against the DFSG. Secondly, embedded code copies
> are normally not permitted (policy 4.13 [2]). Luckily, jQuery is
> already packaged (libjs-jquery [3]), so you would just have to remove
> the embedded copy of jQuery and replace it with a dependency on that
> package (coupled with the appropriate patches to actually load the
> packaged version instead, I assume).
> On a side note, the versions seem to be out of date for a package
> targeting unstable:
> - The current Standards-Version is 4.5.0.
> - The current debhelper-compat version is 13.
> Have you tried building it in Debian unstable and checked it with
> Lintian there?
> Also, consider using ...
> - a debian/clean file instead of rm in override_dh_clean in
> debian/rules.
> - e.g. "Build-Depends: debhelper-compat (= 13)" in debian/control
> instead of the debian/compat file.
> - "Build-Depends: dh-sequence-python3" in debian/control instead of
> "--with python3" in debian/rules.
> - substitution variables (@PACKAGE@, etc.) in debian/watch (details in
> uscan's man page [4])
> [1]
> https://www.debian.org/doc/debian-policy/ch-source.html#missing-sources-debian-missing-sources
> [2]
> https://www.debian.org/doc/debian-policy/ch-source.html#embedded-code-copies
> [3] https://packages.debian.org/sid/libjs-jquery [4]
> https://manpages.debian.org/unstable/devscripts/uscan.1.en.html#FORMAT_OF_THE_WATCH_FILE

Attachment: pgpR9BK7h9fB5.pgp
Description: OpenPGP digital signature

Reply to: