Re: Packaging review

2014-03-23 Thread Ross Vandegrift
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi Dmitry,

Thanks for the help!  I have a question on one bit of lintian4py
output.  What should I do with this:

e: python-pyocr: missing-dependency-on-byte-compilation-helper
pycompile => python (>= 2.6.5)

Does this indicate a problem in my Build-Depends on python-all and
python3-all?

Thanks again,
Ross


On 03/22/2014 05:39 AM, Dmitry Shachnev wrote:
> Also, please run lintian4python to inspect your packages. It
> reports some errors, like:
> 
> e: python3-pyinsane: pyflakes-undefined-name 
> usr/lib/python3/dist-packages/pyinsane/rawapi.py:62: cmp e:
> python3-pyinsane: pyflakes-undefined-name 
> usr/lib/python3/dist-packages/pyinsane/rawapi.py:425:
> MAX_USERNAME_LEN
> 
> -- Dmitry Shachnev
> 
> On Sat, Mar 22, 2014 at 1:36 PM, Dmitry Shachnev
>  wrote:
>> Hi Ross,
>> 
>> I cannot upload your packages, but I had a quick look at them.
>> They mostly look good, but there are minor issues:
>> 
>> - Your copyright files don't comply to copyright format 1.0. -
>> The license description should be indented with a space. - You
>> shouldn't refer to symlinks like /usr/share/common-licenses/GPL. 
>> - For GPL license, add a longer introduction (see other packages 
>> for example). - Please use only one empty line to separate
>> sections in debian/control; - Some packages have tests, but they
>> are not actually run during build (like pyinsane).
>> 
>> -- Dmitry Shachnev
>> 
>> On Fri, Mar 21, 2014 at 4:40 AM, Ross Vandegrift
>>  wrote:
>>> Hello,
>>> 
>>> I am working on packaging a python application along with its 
>>> dependencies.  This is my first shot at official Debian
>>> packages, so would appreciate any comments on my work!
>>> 
>>> The modules are in the "debian" branches of: python-pocr
>>> https://github.com/rvandegrift/pyocr python-pyinsane
>>> https://github.com/rvandegrift/pyinsane python-nltk
>>> https://github.com/rvandegrift/nltk paperwork
>>> https://github.com/rvandegrift/paperwork
>>> 
>>> 
>>> NLTK already has had some packaging work in progress - I
>>> haven't heard back from the latest volunteer on it's RFP, so
>>> I'm not sure if that's something I'd hope to submit.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCgAGBQJTL2TCAAoJENqziTKaTPoWDQwQAKKc7sdpxzss5EuagsmtGJqA
BfxxutLF7epyDxvq1I88wdS0xefeVthsKfgMSrqTK06SSTFT/suS99WMSIYsPNF9
NB/WWRYgbY07Eiud6ZeYpyF8JdFyvqC9KqY+liButjjnTW2yPgykD/wpMuzOidN/
pD0Sij9fMNFYGpQ7+6qoavIED8HSfpyTXoeV84CKw2JYc8GgXTQIR2I/9MTX+Olw
GLFWjk+0QCwnedMgXr4Cqnff+BLsmpBoPLRzoVZW1KF5kgb+wkpHsO6tfB4Hy5TX
1qMv8vENXCo2twfSnyZNzTJbNe6FpFcyLZ10YndsuaMIF+LMowMEZGh9YFStUh0m
8jsqcVK8VXtFxIwnx/10fOEodZkrZMAkPGqNDH5pjopLMIxJLqifP7S8NgnZJ6jl
2t3DY+IypjH3pfdnBS/8/EVLmJlpUYNjFAG4us/81mxq/ZdfoRQqjHblDFOU96Cm
tMrQNOTAI7ZiT6x3l8AasEbQmd2a+vLP4txEXaHiw8UC3jqCKcfxTc3X8w68KULL
kiiiEo6ynSo1TaUE0QzSDpxQ+5jfr+9XLzwG9tiJGmjbLum2aXwEPn2SqYNdsDvi
NXEg9mu87KoJfcuCwyNjS73pMKUUTTqX+tBnYkIvLyDAO4lVwzy7z61a/7Fob+Hh
ebkiTFmdGIsjNu+XMeld
=GD6O
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/532f64c5.5030...@kallisti.us



Explanation of tags from Lintian (and Lintian4Python) (was: Packaging review)

2014-03-23 Thread Ben Finney
Ross Vandegrift  writes:

> I have a question on one bit of lintian4py output. What should I do
> with this:
>
> e: python-pyocr: missing-dependency-on-byte-compilation-helper
> pycompile => python (>= 2.6.5)
>
> Does this indicate a problem in my Build-Depends on python-all and
> python3-all?

The regular Lintian has ‘lintian-info(1)’ to give a verbose description
of a tag, including recommendations to address the problem which the tag
reports::

$ lintian-info --tags foo-bar-lintian-tag

I think Lintian4Python installs a ‘lintian4py-info(1)’ command to do the
same thing. You can then get an explanation with::

$ lintian4py-info --tags missing-dependency-on-byte-compilation-helper

-- 
 \   “Crime is contagious… if the government becomes a lawbreaker, |
  `\  it breeds contempt for the law.” —Justice Louis Brandeis |
_o__)  |
Ben Finney


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/85eh1ssddx.fsf...@benfinney.id.au



Re: Explanation of tags from Lintian (and Lintian4Python) (was: Packaging review)

2014-03-23 Thread Andrew Starr-Bochicchio
On Sun, Mar 23, 2014 at 7:28 PM, Ben Finney  wrote:
> I think Lintian4Python installs a 'lintian4py-info(1)' command to do the
> same thing. You can then get an explanation with::
>
> $ lintian4py-info --tags missing-dependency-on-byte-compilation-helper

It's still not particularly informative:

$ lintian4py-info --tags missing-dependency-on-byte-compilation-helper
E: missing-dependency-on-byte-compilation-helper
N:
N:
N:   Severity: serious, Certainty: possible
N:
N:   Check: python/bytecompilation, Type: binary, source
N:

-- Andrew Starr-Bochicchio

   Ubuntu Developer 
   Debian Developer 
   PGP/GPG Key ID: D53FDCB1


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cal6k_axxopurdpvw-cf0sz1mkhgux7tkuhumm6dukrik9fl...@mail.gmail.com