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


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

Re: How to create multi-source tarball with different submodules for scipy

Path csiph.com!news.neodome.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From Nick Morrott <knowledgejunkie@gmail.com>
Newsgroups linux.debian.devel.mentors, linux.debian.maint.python
Subject Re: How to create multi-source tarball with different submodules for scipy
Date Tue, 17 Jan 2023 22:50:01 +0100
Message-ID <FP209-18dj-5@gated-at.bofh.it> (permalink)
References <FOAdz-QJZ-1@gated-at.bofh.it>
X-Original-To Andreas Tille <andreas@an3as.eu>
X-Mailbox-Line From debian-mentors-request@lists.debian.org Tue Jan 17 21:45:42 2023
Old-Return-Path <knowledgejunkie@gmail.com>
X-Amavis-Spam-Status No, score=-7.199 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
X-Gm-Message-State AFqh2ko2pm78XalAcSatm0XYlEsbwcDf+8ytFr0kU8XY2NE5SQnLE9I0 uMWimja7oscfOB4qocekuzZApWI8ikdj4xlzS350AuRGCZA=
X-Google-SMTP-Source AMrXdXvjgS3vHnEtnAepzkWDv2QLe+o2iASYPhGILIqoCjoL0yx4w7sBVIs5LY1bebdxo0CDF/OGvdowebuKSIb44W4=
X-Received by 2002:aa7:958d:0:b0:582:5cc8:d854 with SMTP id z13-20020aa7958d000000b005825cc8d854mr480482pfj.16.1673991919600; Tue, 17 Jan 2023 13:45:19 -0800 (PST)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Mailing-List <debian-mentors@lists.debian.org> archive/latest/109324
List-ID <debian-mentors.lists.debian.org>
List-URL <https://lists.debian.org/debian-mentors/>
List-Archive https://lists.debian.org/msgid-search/CAOQWjw3-qYiauB+zu+deCfC+qU64OctJkEfoDjSCdMk=rdAkLA@mail.gmail.com
Approved robomod@news.nic.it
Lines 27
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Debian Mentors List <debian-mentors@lists.debian.org>, Debian Python <debian-python@lists.debian.org>
X-Original-Date Tue, 17 Jan 2023 21:44:53 +0000
X-Original-Message-ID <CAOQWjw3-qYiauB+zu+deCfC+qU64OctJkEfoDjSCdMk=rdAkLA@mail.gmail.com>
X-Original-References <Y8V10xWCUz7zDpbk@an3as.eu>
Xref csiph.com linux.debian.devel.mentors:45900 linux.debian.maint.python:14841

Cross-posted to 2 groups.

Show key headers only | View raw


On Mon, 16 Jan 2023 at 16:06, Andreas Tille <andreas@an3as.eu> wrote:
>
> Hi,
>
> I tried to create a multi-source tarball for scipy in its experimental
> branch[1].  Upstream includes a set of git submodules in its build
> process.  I intended to merge all these submodules in a single
> scipy_1.10.0.orig-submodules.tar.gz.  This tarball is created with a
> script[2] which makes sure that the exact directory structure as it is
> used by upstream is conserved.  This directory layout is needed in the
> build process.  Unfortunately `dpkg-source -x` extracts the content of
> the submodules tarball into a subdirectory submodules/.
>
> Is there any trick to unpack this tarball right into the root?
> Otherwise I need to do some symlinks workaround in d/rules to provide
> all files where these are needed.

When I packaged firmware-microbit-microbit I wasn't aware of any
tricks, so I resorted to overriding dh_auto_build to move the
extracted components into their expected paths before building:

https://salsa.debian.org/python-team/packages/firmware-microbit-micropython/-/blob/debian/master/debian/rules

Not sure if this useful, but I thought I'd pass it along in case it helps.

Cheers,
Nick

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


Thread

How to create multi-source tarball with different submodules for  scipy Andreas Tille <andreas@an3as.eu> - 2023-01-16 17:10 +0100
  Re: How to create multi-source tarball with different submodules for  scipy Julian Gilbey <julian@d-and-j.net> - 2023-01-16 18:10 +0100
  Re: How to create multi-source tarball with different submodules  for scipy Paul Wise <pabs@debian.org> - 2023-01-17 02:00 +0100
    Re: How to create multi-source tarball with different submodules for  scipy Andreas Tille <andreas@an3as.eu> - 2023-01-17 18:10 +0100
  Re: How to create multi-source tarball with different submodules for scipy Nick Morrott <knowledgejunkie@gmail.com> - 2023-01-17 22:50 +0100

csiph-web