Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #8428

Re: Properly splitting Python "-doc" packages

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Piotr Ożarowski <piotr@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Properly splitting Python "-doc" packages
Date Thu, 14 Apr 2016 16:00:02 +0200
Message-ID <rnPYm-2uu-11@gated-at.bofh.it> (permalink)
References <rnPlE-2aV-3@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Apr 14 13:52:26 2016
Old-Return-Path <piotr@ozarowski.pl>
X-Amavis-Spam-Status No, score=-6.999 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
Mail-Followup-To debian-python@lists.debian.org
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
X-Operating-System Debian GNU/Linux (4.3.0-0.bpo.1-amd64)
User-Agent Mutt/1.5.23 (2014-03-12)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13756
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20160414135204.GQ2764@sar0.p1otr.com
Approved robomod@news.nic.it
Lines 28
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 14 Apr 2016 15:52:04 +0200
X-Original-Message-ID <20160414135204.GQ2764@sar0.p1otr.com>
X-Original-References <CALdTKe_eAJ+5WL5Spmjo87JMPQgFsjyZpC3eT881W+nFznYxBQ@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:8428

Show key headers only | View raw


[Tiago Ilieve, 2016-04-14]
> I was working on the "boostrap-vz" package and noticed something
> really annoying when creating a "boostrap-vz-doc"[1] binary package
> with its Sphinx documentation: the actual Python files that composes
> the application weren't being packaged on the main "boostrap-vz" one.
> I had to add "usr/lib/python*/dist-packages/bootstrapvz/" to its
> "debian/boostrap-vz.install"[2] to fix this, but I feel this is wrong.
> Looking at other Python packages that have separate "-doc" packages,
> like "python-django", they don't seem to need this.

that's because python-django is using --buildsystem=pybuild in dh; if you add

  export PYBUILD_NAME=bootstrapvz

it will install .py / egg-info files into python-bootstrapvz binary package
(please add python-bootstrapvz binary package, BTW)

> Also, its "*.egg-info/" folder also went missing, as we can see with "debdiff":

"usr/lib/python*/dist-packages/bootstrapvz/" in bootstrap-vz.install
doesn't match /usr/lib/python2.7/dist-packages/bootstrap_vz-0.9.5.egg-info,
add this line if you want egg-info to be included:

  /usr/lib/python*/dist-packages/bootstrap_vz-*.egg-info/
-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Properly splitting Python "-doc" packages Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-14 15:20 +0200
  Re: Properly splitting Python "-doc" packages Piotr Ożarowski <piotr@debian.org> - 2016-04-14 16:00 +0200
    Re: Properly splitting Python "-doc" packages Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-14 17:10 +0200
      Re: Properly splitting Python "-doc" packages Piotr Ożarowski <piotr@debian.org> - 2016-04-14 17:40 +0200
        Re: Properly splitting Python "-doc" packages Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-14 22:20 +0200
          Re: Properly splitting Python "-doc" packages Piotr Ożarowski <piotr@debian.org> - 2016-04-14 23:30 +0200
            Re: Properly splitting Python "-doc" packages Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-15 08:40 +0200
          Re: Properly splitting Python "-doc" packages Ben Finney <ben+debian@benfinney.id.au> - 2016-04-15 06:00 +0200

csiph-web