[med-svn] [Git][med-team/dcmstack][master] 10 commits: routine-update: Standards-Version: 4.6.0

Andreas Tille (@tille) gitlab at salsa.debian.org
Fri Nov 12 11:03:54 GMT 2021



Andreas Tille pushed to branch master at Debian Med / dcmstack


Commits:
9b057755 by Andreas Tille at 2021-11-12T11:55:22+01:00
routine-update: Standards-Version: 4.6.0

- - - - -
bf574d79 by Andreas Tille at 2021-11-12T11:55:22+01:00
routine-update: debhelper-compat 13

- - - - -
108ea264 by Andreas Tille at 2021-11-12T11:56:33+01:00
routine-update: Secure URI in copyright format

- - - - -
2328093e by Andreas Tille at 2021-11-12T11:59:37+01:00
Cleanup d/rules

- - - - -
feec64be by Andreas Tille at 2021-11-12T11:59:44+01:00
routine-update: Do not parse d/changelog

- - - - -
114df715 by Andreas Tille at 2021-11-12T11:59:44+01:00
routine-update: Add salsa-ci file

- - - - -
382eb6b8 by Andreas Tille at 2021-11-12T11:59:44+01:00
routine-update: Rules-Requires-Root: no

- - - - -
73e299d8 by Andreas Tille at 2021-11-12T11:59:45+01:00
Remove unnecessary 'Testsuite: autopkgtest' header.

Changes-By: lintian-brush
Fixes: lintian: unnecessary-testsuite-autopkgtest-field
See-also: https://lintian.debian.org/tags/unnecessary-testsuite-autopkgtest-field.html

- - - - -
076240cb by Andreas Tille at 2021-11-12T11:59:47+01:00
Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, Repository-Browse.

Changes-By: lintian-brush
Fixes: lintian: upstream-metadata-file-is-missing
See-also: https://lintian.debian.org/tags/upstream-metadata-file-is-missing.html
Fixes: lintian: upstream-metadata-missing-bug-tracking
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-bug-tracking.html
Fixes: lintian: upstream-metadata-missing-repository
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-repository.html

- - - - -
c144f98a by Andreas Tille at 2021-11-12T12:03:37+01:00
TODO: Test failure

- - - - -


7 changed files:

- debian/changelog
- − debian/compat
- debian/control
- debian/copyright
- debian/rules
- + debian/salsa-ci.yml
- + debian/upstream/metadata


Changes:

=====================================
debian/changelog
=====================================
@@ -5,6 +5,36 @@ dcmstack (0.8-3) UNRELEASED; urgency=medium
   * Move repository to Debian Med team Salsa space
   * Maintain package in Debian Med team
   * Fix watch file
+  * Standards-Version: 4.6.0 (routine-update)
+  * debhelper-compat 13 (routine-update)
+  * Secure URI in copyright format (routine-update)
+  * Cleanup d/rules
+  * Do not parse d/changelog (routine-update)
+  * Add salsa-ci file (routine-update)
+  * Rules-Requires-Root: no (routine-update)
+  * Remove unnecessary 'Testsuite: autopkgtest' header.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  TODO:
+======================================================================
+ERROR: test.test_dcmmeta.TestGetMeta.test_invalid_index
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
+    self.test(*self.arg)
+  File "/build/dcmstack-0.8/.pybuild/cpython3_3.9_dcmstack/build/test/test_dcmmeta.py", line 991, in test_invalid_index
+    assert_raises(IndexError,
+  File "/usr/lib/python3.9/unittest/case.py", line 739, in assertRaises
+    return context.handle('assertRaises', args, kwargs)
+  File "/usr/lib/python3.9/unittest/case.py", line 201, in handle
+    callable_obj(*args, **kwargs)
+TypeError: 'NoneType' object is not callable
+
+----------------------------------------------------------------------
+Ran 136 tests in 1.869s
+
+FAILED (errors=1)
+
 
  -- Andreas Tille <tille at debian.org>  Fri, 12 Nov 2021 11:40:49 +0100
 


=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-9


=====================================
debian/control
=====================================
@@ -1,35 +1,36 @@
 Source: dcmstack
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Michael Hanke <mih at debian.org>, Yaroslav Halchenko <debian at onerussian.com>
+Uploaders: Michael Hanke <mih at debian.org>,
+           Yaroslav Halchenko <debian at onerussian.com>
 Section: science
-Testsuite: autopkgtest
 Priority: optional
-Build-Depends: debhelper (>= 9),
+Build-Depends: debhelper-compat (= 13),
                dh-python,
                help2man,
                python3-all,
-               python3-dicom (>= 0.9.7~),
+               python3-dicom,
                python3-docutils,
                python3-mock,
-               python3-nibabel (>= 2.0~),
+               python3-nibabel,
                python3-nose,
                python3-numpy,
                python3-numpydoc,
                python3-setuptools,
-               python3-sphinx (>= 1.0.7+dfsg-1~)
-Standards-Version: 4.1.1
+               python3-sphinx
+Standards-Version: 4.6.0
 Vcs-Browser: https://salsa.debian.org/med-team/dcmstack
 Vcs-Git: https://salsa.debian.org/med-team/dcmstack.git
 Homepage: https://github.com/moloney/dcmstack
+Rules-Requires-Root: no
 
 Package: python3-dcmstack
 Architecture: all
-Depends: python3-dicom (>= 0.9.7~),
-         python3-nibabel (>= 2.0~),
+Depends: python3-dicom,
+         python3-nibabel,
          python3-numpy,
          ${misc:Depends},
          ${python3:Depends},
-         ${sphinxdoc:Depends},
+         ${sphinxdoc:Depends}
 Conflicts: python-dcmstack
 Provides: ${python3:Provides}
 Description: DICOM to NIfTI conversion - python3 package


=====================================
debian/copyright
=====================================
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: dcmstack
 Source: https://github.com/moloney/dcmstack
 


=====================================
debian/rules
=====================================
@@ -1,15 +1,5 @@
 #!/usr/bin/make -f
 
-srcpkg = $(shell LC_ALL=C dpkg-parsechangelog | grep '^Source:' | cut -d ' ' -f 2,2)
-debver = $(shell LC_ALL=C dpkg-parsechangelog | grep '^Version:' | cut -d ' ' -f 2,2 )
-upstreamver = $(shell echo $(debver) | cut -d '-' -f 1,1 )
-
-# this figures out the last merge point from 'master' into the Debian branch and
-# then described this commit relative to the last release tag (V...)
-# If this should make any sense the local upstream branch must track upstream's
-# master or whatever other source branch.
-gitver = $(shell [ -x /usr/bin/git ] && git describe --tags --match 'v[0-9].*' $$(git merge-base -a HEAD upstream) | sed -e 's/^v//' -e 's/-/+git/').1
-
 export DH_VERBOSE = 1
 export PYBUILD_NAME = dcmstack
 export PYBUILD_AFTER_INSTALL=mkdir -p build/man ; \
@@ -23,24 +13,3 @@ export PYBUILD_AFTER_INSTALL=mkdir -p build/man ; \
 override_dh_installdocs:
 	PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -bhtml doc/ build/html
 	dh_installdocs
-
-clean::
-	dh_clean
-	-rm -rf build .pybuild src/dcmstack.egg-info
-	-find . -name '*.pyc' -delete
-
-# make orig tarball from repository content
-get-orig-source:
-	# orig tarball, turn directory into something nicer
-	git archive --format=tar --prefix=$(srcpkg)-$(gitver)/ HEAD | \
-		gzip -9 > $(srcpkg)_$(gitver).orig.tar.gz
-
-# check that DSC patches still apply
-maint-check-dsc-patches:
-	@for p in debian/patches/*-dsc-patch; \
-		do echo "check $$p"; \
-		patch -p1 --dry-run < $$p || exit 1 ; \
-	done
-
-override_dh_auto_test:
-	-dh_auto_test


=====================================
debian/salsa-ci.yml
=====================================
@@ -0,0 +1,4 @@
+---
+include:
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml


=====================================
debian/upstream/metadata
=====================================
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/moloney/dcmstack/issues
+Bug-Submit: https://github.com/moloney/dcmstack/issues/new
+Repository: https://github.com/moloney/dcmstack.git
+Repository-Browse: https://github.com/moloney/dcmstack



View it on GitLab: https://salsa.debian.org/med-team/dcmstack/-/compare/ad2d3d0b7ce842dd517f456bd90ccf318733786f...c144f98acd447a655f2918f49ea956fcae4e6da0

-- 
View it on GitLab: https://salsa.debian.org/med-team/dcmstack/-/compare/ad2d3d0b7ce842dd517f456bd90ccf318733786f...c144f98acd447a655f2918f49ea956fcae4e6da0
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/20211112/96b28ccb/attachment-0001.htm>


More information about the debian-med-commit mailing list