[Python-apps-team] pkpgcounter debian package
Michael Pardee
michael.pardee at open-sense.com
Fri Feb 8 18:11:43 GMT 2019
OK, it seems that python-imaging is just a compatibility layer that is no
longer required. python-imaging depended on python-pil which pkpgcounter
does require but did not explicitly list as a dependency, so the dependency
should just be changed from python-imaging to python-pil.
from the python-imaging description:
PIL used to provide a PIL.pth file which allowed you to `import Image` but
this is deprecated. Use `from PIL import Image` now, or install this
compatibility package to temporarily get the old behavior back
pkpgcounter already uses "from PIL import Image" , there are no instances
of 'import image' anywhere in it
pkpgcounter includes a test suite in /usr/share/doc/pkpgcounter/examples ,
and while all of the tests do not pass the results are identical running in
debian stretch with python-imaging and python-pil installed and in debian
buster with just python-pil installed.
If there is anything else I can do to help resolve this please let me know.
Thanks,
Michael Pardee
Open Sense Solutions LLC
http://open-sense.com
888-323-1742
On Thu, Feb 7, 2019 at 11:22 PM Michael Pardee <
michael.pardee at open-sense.com> wrote:
> I'll have to dig into exactly what's different between python-imaging and
> python-pil, figure out which parts of python-imaging pkpgcounter uses, and
> come up with some pkpgcounter testcases.
>
> Simply grabbing the old pkpg counter package and doing this:
> dpkg --ignore-depends=python-imaging -i pkpgcounter_3.50-7.1_all.deb
>
> works at first glance, pkpgcounter can count the number of pages in pdfs,
> actually whether or not python-pil is installed. But maybe files with
> images require on python-imaging/python-pil ...
>
> I'll work on this as quickly as I can.
>
> Thanks,
> Michael Pardee
> Open Sense Solutions LLC
> http://open-sense.com
> 888-323-1742
>
>
> On Thu, Feb 7, 2019 at 9:22 PM Kumar Appaiah <akumar at debian.org> wrote:
>
>> Dear Michael,
>>
>> On Thu, Feb 07, 2019 at 02:37:55PM -0600, Michael Pardee wrote:
>> > Hello,
>> > I help support a few thousand machines that rely on the pkpgcounter
>> > package and noticed that it is no longer packaged in debian
>> > testing/unstable. Is this something that I could help with or take
>> over?
>> > I see from the tracker it is maybe due to the dependency on
>> > python-imaging. For now I've been able to install old versions of
>> > python-imaging and pkpgcounter, but I guess some work might be
>> needed to
>> > make pkpkgcounter work with python-pil . I've started to look into
>> the
>> > debian maintainer process but if you point me to some sort of
>> checklist on
>> > how to proceed that would be very helpful.
>>
>> I believe that this has to do with the fact that Debian has moved to
>> the PIL fork.
>>
>> What I would be able to do for you is this:
>>
>> - If you are able to make minor modifications to pkpgcounter to work
>> with PIL, then I can make an upload of pkpgcounter with the updated
>> dependencies to Debian. I will prepare the package for you, no problem.
>>
>> - If you are unable to make the modification in time for the freeze, I
>> can still make acustom package for your users. This is the less
>> preferable option.
>>
>> I can also help you become a Debian maintainer, if needed. Happy to be
>> of help.
>>
>> Thanks.
>>
>> Kumar
>> --
>> Kumar Appaiah
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/python-apps-team/attachments/20190208/add69798/attachment-0001.html>
More information about the Python-apps-team
mailing list