[med-svn] [Git][med-team/pyranges][master] 3 commits: d/rules: repair test preparation.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Fri Feb 23 16:15:03 GMT 2024



Étienne Mollier pushed to branch master at Debian Med / pyranges


Commits:
9448f6f7 by Étienne Mollier at 2024-02-23T15:34:42+01:00
d/rules: repair test preparation.

Trying to pull all Python files from the test directory causes a
number of test failures.

Gbp-Dch: ignore

- - - - -
2f231473 by Étienne Mollier at 2024-02-23T15:38:41+01:00
d/control: revert move to autopkgtest pybuild.

- - - - -
1858740b by Étienne Mollier at 2024-02-23T17:14:35+01:00
ready to upload to unstable.

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,17 +1,14 @@
-pyranges (0.0.111+ds-7) UNRELEASED; urgency=medium
+pyranges (0.0.111+ds-7) unstable; urgency=medium
 
   [ Andreas Tille ]
-  * Team upload
   * Fix for Pandas 2.0
     Closes: #1044064
 
   [ Étienne Mollier ]
   * fix-test_unary.patch: new.
     This patch fixes a remaining test failure affecting dtype conversion.
-  * d/control: move to pybuild autopkgtest.
-    This enables non-superficial autopkgtest with minimal implementation.
 
- -- Étienne Mollier <emollier at debian.org>  Fri, 23 Feb 2024 09:59:25 +0100
+ -- Étienne Mollier <emollier at debian.org>  Fri, 23 Feb 2024 15:39:01 +0100
 
 pyranges (0.0.111+ds-6) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -3,7 +3,7 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Steffen Moeller <moeller at debian.org>,
            Étienne Mollier <emollier at debian.org>
 Section: python
-Testsuite: autopkgtest-pkg-pybuild
+Testsuite: autopkgtest-pkg-python
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
                dh-sequence-python3,


=====================================
debian/rules
=====================================
@@ -4,11 +4,13 @@
 #export DH_VERBOSE = 1
 
 export PYBUILD_NAME=pyranges
-export PYBUILD_BEFORE_TEST=cp -av {dir}/tests/*.bed {build_dir}/tests && \
-		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=-n $(shell nproc)
+export PYBUILD_BEFORE_TEST=\
+	mkdir -pv {build_dir}/tests {build_dir}/pyranges \
+	&& cp -av {dir}/tests/*.bed {build_dir}/tests \
+	&& 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)
 
 %:
 	dh $@ --buildsystem=pybuild



View it on GitLab: https://salsa.debian.org/med-team/pyranges/-/compare/1423f1a4346776b773cb74bf04aa2cf85eb0b728...1858740b064242e9ed8335b9b656b790b91a728e

-- 
View it on GitLab: https://salsa.debian.org/med-team/pyranges/-/compare/1423f1a4346776b773cb74bf04aa2cf85eb0b728...1858740b064242e9ed8335b9b656b790b91a728e
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/20240223/0ca1ee7f/attachment-0001.htm>


More information about the debian-med-commit mailing list