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


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

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 23:30:02 +0200
Message-ID <rnWZQ-h1-7@gated-at.bofh.it> (permalink)
References <rnPlE-2aV-3@gated-at.bofh.it> <rnPYm-2uu-11@gated-at.bofh.it> <rnR46-3Fm-21@gated-at.bofh.it> <rnRx8-408-13@gated-at.bofh.it> <rnVU6-7Po-11@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Apr 14 21:29:18 2016
Old-Return-Path <ozarow@gmail.com>
X-Amavis-Spam-Status No, score=-11.479 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -7
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=XQo1VcLm9e5e9jpNyhY0VWW8MfhmqWULGFlgoQHdXkQ=; b=Lk4KHGB9NzpBwOH+i+/V6O3xiVvFxyyl8BiIMJIN3cqb4gmV04QgPhP8RyYXW9aYZh 4ke10Yp4O9xJri3u/onjHpn16UKaGG1yAKnJvRH/e3uci73cQoGdKM0LFrfc7BYAcCWC +ByGyNo5vWYXy1Q1nJbrkzA0mf3qFY3bRG8JB75shA6YwFoDfAT5TAdKhhgD1Uh+ug6d 2/RWQM+z5FWAmtVzEmJZNgz4ljLr+fDTyCA8C4tzrNs7jVDzO+l8NCgSRIecmn0xc6qy gCLWOwrF+BhjhDcjQKIgK0b9oWSgwgWitltpOEeQRDY/ZEBBTG1Bh5UPifB+WyIqJTAR DEqQ==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=XQo1VcLm9e5e9jpNyhY0VWW8MfhmqWULGFlgoQHdXkQ=; b=MyXBHLLGe2I71HZgQY74NUzYFLbK/Dmsvd3dRqMagDB7kvnYJ1HKYFWWMAfOb4aKhF n2or3ZaKEkFtpI/q1Njd8lhCDGrMP4KiUBRKkZenXXkQghGrpDNDPDNd6StqpYDlWh/u gTcnuo4n5j5RwMWa5PLa8XqLLY+EYWXAVJgkZHnHHqzdXWoawKxnpIgk0Iprap+CLTAr xkR9INYl4+a5Uhm6XdkfVPtxGMiwjx8Dem6wQWsWmcd+PmEhUCxl6yNz2p0NinLo3wGZ O7VXhvJa03Heig5SmvlXvAIInBbvwcxk95EspNK9ZTJY0zhClLv4UlUq0I/QMC5K/I/J HZ1Q==
X-Gm-Message-State AOPr4FUgRRwHXNnCnKHjrS3aeSCnVnidcVMK5NIWthx8Jh129lN0rdwqOkH+t1r3q4FsTw==
X-Received by 10.25.4.202 with SMTP id 193mr7601758lfe.49.1460669342775; Thu, 14 Apr 2016 14:29:02 -0700 (PDT)
Sender robomod@news.nic.it
Mail-Followup-To debian-python@lists.debian.org
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1sNVjLsmu1MXqwQ/"
Content-Disposition inline
X-Operating-System Debian GNU/Linux (4.5.0-rc7-amd64)
User-Agent Mutt/1.5.24 (2015-08-30)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13760
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20160414212858.GC31646@p1otr.com
Approved robomod@news.nic.it
Lines 178
Organization linux.* mail to news gateway
X-Original-Date Thu, 14 Apr 2016 23:28:58 +0200
X-Original-Message-ID <20160414212858.GC31646@p1otr.com>
X-Original-References <CALdTKe_eAJ+5WL5Spmjo87JMPQgFsjyZpC3eT881W+nFznYxBQ@mail.gmail.com> <20160414135204.GQ2764@sar0.p1otr.com> <CALdTKe-3dQWq+8AAm5UEyRdFKYZAE60Jf9RbP1dC+gaaHDd5Dw@mail.gmail.com> <20160414153336.GR2764@sar0.p1otr.com> <CALdTKe8w04MWkBJCMiLf8_BgCUfk4Nmx7dkJ=2qxmaP1yZ+mLw@mail.gmail.com>
X-Original-Sender Piotr Ożarowski <ozarow@gmail.com>
Xref csiph.com linux.debian.maint.python:8432

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

[Tiago Ilieve, 2016-04-14]
> > then PLEASE PLEASE PLEASE do not install as public modules - install into
> > /usr/share/boostrap-vz/ f.e. with this pybuild args:
> >
> >   export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/boostrap-vz/ --install-scripts=/usr/share/boostrap-vz/
> >
> > and
> >
> >   /usr/share/boostrap-vz/boostrap-vz /usr/bin/boostrap-vz
> >   /usr/share/boostrap-vz/boostrap-remote /usr/bin/boostrap-remote
> >   /usr/share/boostrap-vz/boostrap-server /usr/bin/boostrap-server
> >
> > in debian/boostrap-vz.links
> >
> > see PYBUILD_INSTALL_ARGS above (and use PYBUILD_DESTDIR=debian/bootstrap-vz/
> > instead of PYBUILD_NAME)
> 
> Ok. As this seems to be considered very wrong, I've separated the
> package[1], between "bootstrap-vz" and "python-bootstrap-vz". The

if you decide to go this way, please use python-bootstrapvz, not
python-bootstrap-vz (module name is bootstrapvz, not bootstrap-vz)

> first one contains binaries/man pages/etc. and the later contains the
> library with everything packaged by Pybuild.
> 
> I've tried to use "/usr/share/boostrap-vz" for it, but as it run as
> root it ends up writing "*.pyc" files in there, resulting in a

I copy-pasted your typo in package name so dh_python2 didn't find the
right directory and didn't do its job.

See attached patch (now it uses private dir)
-- 
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