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


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

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

Path csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Andreas Tille <andreas@an3as.eu>
Newsgroups linux.debian.devel.mentors, linux.debian.maint.python
Subject How to create multi-source tarball with different submodules for scipy
Date Mon, 16 Jan 2023 17:10:02 +0100
Message-ID <FOAdz-QJZ-1@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-mentors-request@lists.debian.org Mon Jan 16 16:06:01 2023
Old-Return-Path <andreas@an3as.eu>
X-Amavis-Spam-Status No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5] autolearn=unavailable autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Mailing-List <debian-mentors@lists.debian.org> archive/latest/109302
List-ID <debian-mentors.lists.debian.org>
List-URL <https://lists.debian.org/debian-mentors/>
List-Archive https://lists.debian.org/msgid-search/Y8V10xWCUz7zDpbk@an3as.eu
Approved robomod@news.nic.it
Lines 23
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 16 Jan 2023 17:05:39 +0100
X-Original-Message-ID <Y8V10xWCUz7zDpbk@an3as.eu>
Xref csiph.com linux.debian.devel.mentors:45888 linux.debian.maint.python:14826

Cross-posted to 2 groups.

Show key headers only | View raw


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.

Kind regards
   Andreas.

[1] https://salsa.debian.org/python-team/packages/scipy/-/tree/experimental
[2] https://salsa.debian.org/python-team/packages/scipy/-/blob/experimental/debian/get-submodules

-- 
http://fam-tille.de

Back to linux.debian.maint.python | Previous | Next — Next 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