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

Re: dh_python3: how to use .pydist file?



On Feb 17 2015, Piotr Ożarowski <piotr@debian.org> wrote:
> [Nikolaus Rath, 2015-02-17]
>> I'm trying to get dh_python to generate versioned dependencies for the
>> s3ql package (available in the python-apps SVN repository).
>> 
>> I have created a file debian/s3ql.pydist with the contents:
>> 
>> $ cat debian/s3ql.pydist 
>> dugong python3-dugong; PEP386
>
> pydist file is not the way to go. Purpose of this file is to customise
> what dh_pythonX generates when OTHER packages try to generate dependency
> for s3ql (and since your binary package name doesn't have "python"
> prefix it should not provide public module/extension and hence not
> install pydist file).
>
> What you want is debian/py3dist-overrides file or pydist file
> in python3-dugong package

Oh, ok. Where do I find the format of the py3dist-overrides file?
Neither dh_python3(1), nor /usr/share/doc/dh-python, nor Google was able
to tell me...

Thanks!
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«


Reply to: