[med-svn] [Git][med-team/python-cooler][master] 6 commits: initialise changelog.
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Sat Jan 7 11:12:15 GMT 2023
Étienne Mollier pushed to branch master at Debian Med / python-cooler
Commits:
25c7f81c by Étienne Mollier at 2023-01-07T11:48:06+01:00
initialise changelog.
- - - - -
92995f56 by Étienne Mollier at 2023-01-07T11:51:23+01:00
d/rules: build tests.tar.xz only on arch=all builds.
Also ventilate a bit the scripting to build that archive to make the
whole rule a bit easier to read.
Closes: #1028108
- - - - -
31c9d563 by Étienne Mollier at 2023-01-07T12:02:38+01:00
skip-http-connection.patch: add; skip tests needing Internet.
- - - - -
76e8edae by Étienne Mollier at 2023-01-07T12:08:16+01:00
d/rules: fix broken .xz archive.
- - - - -
7eb9c72d by Étienne Mollier at 2023-01-07T12:09:13+01:00
d/copyright: update copyright year.
- - - - -
c20adab7 by Étienne Mollier at 2023-01-07T12:11:42+01:00
ready to upload to unstable.
- - - - -
5 changed files:
- debian/changelog
- debian/copyright
- debian/patches/series
- + debian/patches/skip-http-connection.patch
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+python-cooler (0.8.11-6) unstable; urgency=medium
+
+ * Team upload.
+ * d/rules: build tests.tar.xz only on arch=all builds. (Closes: #1028108)
+ * d/rules: fix broken .xz archive.
+ * skip-http-connection.patch: add; skip tests needing Internet.
+ * d/copyright: update copyright year.
+
+ -- Étienne Mollier <emollier at debian.org> Sat, 07 Jan 2023 12:09:31 +0100
+
python-cooler (0.8.11-5) unstable; urgency=medium
* Standards-Version: 4.6.2 (routine-update)
=====================================
debian/copyright
=====================================
@@ -28,7 +28,8 @@ License: MIT
SOFTWARE.
Files: debian/*
-Copyright: 2020 Andreas Tille <tille at debian.org>
+Copyright: 2020-2022 Andreas Tille <tille at debian.org>
+ 2023 Étienne Mollier <emollier at debian.org>
License: BSD-3-clause
License: BSD-3-clause
=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
exclude_tests_in_need_of_ipytree.patch
numpy_1.24.patch
+skip-http-connection.patch
=====================================
debian/patches/skip-http-connection.patch
=====================================
@@ -0,0 +1,26 @@
+Description: disable tests needing Internet.
+Author: Étienne Mollier <emollier at debian.org>
+Forwarded: not-needed
+Last-Update: 2023-01-07
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- python-cooler.orig/tests/test_util.py
++++ python-cooler/tests/test_util.py
+@@ -165,6 +165,7 @@
+ util.read_chromsizes(op.join(datadir, 'toy.chrom.sizes'))
+
+
++ at pytest.mark.skip("This test needs Internet connectivity.")
+ def test_fetch_chromsizes():
+ util.fetch_chromsizes('hg19')
+
+--- python-cooler.orig/tests/test_create.py
++++ python-cooler/tests/test_create.py
+@@ -81,6 +81,7 @@
+ )
+ ],
+ )
++ at pytest.mark.skip("This test needs Internet connectivity.")
+ def test_roundtrip(f_hm, f_cool):
+ chromsizes = cooler.read_chromsizes(
+ "http://genome.ucsc.edu/goldenpath/help/hg19.chrom.sizes",
=====================================
debian/rules
=====================================
@@ -7,6 +7,13 @@ export PYBUILD_NAME=cooler
%:
dh $@ --with python3 --buildsystem=pybuild
-override_dh_installexamples:
- dh_installexamples
- cd debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME) && tar --create --owner=0 --group=0 --numeric-owner --sort=name --mtime="@$(SOURCE_DATE_EPOCH)" --mode=u=wrX,og=rX --file tests.tar.xz tests && rm -rf tests
+EXAMPLES_DIR = $(CURDIR)/debian/python3-$(PYBUILD_NAME)-examples
+execute_after_dh_installexamples-indep:
+ cd $(EXAMPLES_DIR)/usr/share/doc/python3-$(PYBUILD_NAME) \
+ && tar --create \
+ --owner=0 --group=0 --numeric-owner \
+ --sort=name --mtime="@$(SOURCE_DATE_EPOCH)" \
+ --mode=u=wrX,og=rX \
+ --xz \
+ --file tests.tar.xz tests \
+ && rm -rf tests
View it on GitLab: https://salsa.debian.org/med-team/python-cooler/-/compare/b5078c3deaad97629ffa8c2d83ae0064fbe8faf9...c20adab7a85987c41620976a1beadde422e64422
--
View it on GitLab: https://salsa.debian.org/med-team/python-cooler/-/compare/b5078c3deaad97629ffa8c2d83ae0064fbe8faf9...c20adab7a85987c41620976a1beadde422e64422
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/20230107/cefc583a/attachment-0001.htm>
More information about the debian-med-commit
mailing list