[med-svn] [Git][med-team/pyranges][master] 3 commits: d/rules: fix build ignoring requested number of parallel processes.
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Sat Sep 21 09:54:05 BST 2024
Étienne Mollier pushed to branch master at Debian Med / pyranges
Commits:
5bea1a28 by Johannes Schauer Marin Rodrigues at 2024-09-21T10:46:35+02:00
d/rules: fix build ignoring requested number of parallel processes.
Closes: #1082494
Signed-off-by: Étienne Mollier <emollier at debian.org>
- - - - -
bc7c0a8f by Étienne Mollier at 2024-09-21T10:53:07+02:00
d/control: declare compliance to standards version 4.7.0.
- - - - -
37407514 by Étienne Mollier at 2024-09-21T10:53:46+02:00
Ready for upload to unstable.
- - - - -
3 changed files:
- debian/changelog
- debian/control
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,14 @@
+pyranges (0.0.111+ds-8) unstable; urgency=medium
+
+ [ Johannes Schauer Marin Rodrigues ]
+ * d/rules: fix build ignoring requested number of parallel processes.
+ (Closes: #1082494)
+
+ [ Étienne Mollier ]
+ * d/control: declare compliance to standards version 4.7.0.
+
+ -- Étienne Mollier <emollier at debian.org> Sat, 21 Sep 2024 10:53:29 +0200
+
pyranges (0.0.111+ds-7) unstable; urgency=medium
[ Andreas Tille ]
=====================================
debian/control
=====================================
@@ -17,7 +17,7 @@ Build-Depends: debhelper-compat (= 13),
python3-hypothesis,
bedtools,
samtools
-Standards-Version: 4.6.2
+Standards-Version: 4.7.0
Vcs-Browser: https://salsa.debian.org/med-team/pyranges
Vcs-Git: https://salsa.debian.org/med-team/pyranges.git
Homepage: https://github.com/biocore-ntnu/pyranges
=====================================
debian/rules
=====================================
@@ -10,9 +10,16 @@ export PYBUILD_BEFORE_TEST=\
&& cp -av {dir}/tests/test_data {build_dir}/tests \
&& cp -av {dir}/tests/data {build_dir}/tests \
&& cp -av {dir}/pyranges/example_data {build_dir}/pyranges
-export PYBUILD_TEST_ARGS=-v -n $(shell nproc)
+
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+else
+ NUMJOBS = $(shell nproc)
+endif
+export PYBUILD_TEST_ARGS=-v -n $(NUMJOBS)
%:
+ @echo "I: Running with parallel level $(NUMJOBS)."
dh $@ --buildsystem=pybuild
execute_after_dh_auto_build:
View it on GitLab: https://salsa.debian.org/med-team/pyranges/-/compare/1858740b064242e9ed8335b9b656b790b91a728e...37407514ef87c47b9bf28253f8705e411de0eec1
--
View it on GitLab: https://salsa.debian.org/med-team/pyranges/-/compare/1858740b064242e9ed8335b9b656b790b91a728e...37407514ef87c47b9bf28253f8705e411de0eec1
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240921/4e65ae84/attachment-0001.htm>
More information about the debian-med-commit
mailing list