[med-svn] [Git][python-team/packages/mypy][master] 2 commits: debian/rules: Only run the tests for arch-dependent builds
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Wed Aug 17 14:16:13 BST 2022
Michael R. Crusoe pushed to branch master at Debian Python Team / packages / mypy
Commits:
d57053bd by Michael R. Crusoe at 2022-08-17T15:13:45+02:00
debian/rules: Only run the tests for arch-dependent builds
- - - - -
44616f0d by Michael R. Crusoe at 2022-08-17T15:14:24+02:00
routine-update: Ready to upload to unstable
- - - - -
3 changed files:
- debian/changelog
- debian/patches/intersphinx
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+mypy (0.971-2) unstable; urgency=medium
+
+ * debian/rules: Only run the tests for arch-dependent builds
+ * debian/patches/intersphinx: update patch for "six" links
+
+ -- Michael R. Crusoe <crusoe at debian.org> Wed, 17 Aug 2022 15:14:24 +0200
+
mypy (0.971-1) unstable; urgency=medium
* New upstream version
=====================================
debian/patches/intersphinx
=====================================
@@ -18,7 +18,7 @@ Forwarded: not-needed
- 'attrs': ('http://www.attrs.org/en/stable', None),
- 'cython': ('http://docs.cython.org/en/latest', None),
+ 'python': ('https://docs.python.org/3', f'/usr/share/doc/python{sys.version_info.major}.{sys.version_info.minor}/html/objects.inv'),
-+ 'six': ('https://six.readthedocs.io', '/usr/share/doc/python-six/html/objects.inv'),
++ 'six': ('https://six.readthedocs.io', '/usr/share/doc/python-six-doc/html/objects.inv'),
+ 'attrs': ('http://www.attrs.org/en/stable', '/usr/share/doc/python-attr-doc/html/objects.inv'),
+ 'cython': ('http://docs.cython.org/en/latest', '/usr/share/doc/cython-doc/html/objects.inv'),
'monkeytype': ('https://monkeytype.readthedocs.io/en/latest', None),
=====================================
debian/rules
=====================================
@@ -50,6 +50,7 @@ else
endif
override_dh_auto_build-indep: manpages
+ MYPY_USE_MYPYC=0 dh_auto_build
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
endif
@@ -70,7 +71,7 @@ override_dh_auto_install:
dh_movefiles --package=mypy --sourcedir=debian/python3-mypy usr/bin
rm -Rf debian/python3-mypy/usr/bin
-override_dh_auto_test:
+override_dh_auto_test-arch:
ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES)))
export TEST_MYPYC=1
PYBUILD_SYSTEM=custom \
@@ -85,4 +86,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES)))
done
endif
+override_dh_auto_test-indep:
+ echo No tests to run for the "mypy" package, only for "python3-mypy"
+
.PHONY: manpages
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/compare/7e0d84531d491c641d1fd4b05ac91ef7b0c7e1b2...44616f0dad4defeba8e2096a67ff9fcb76a24836
--
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/compare/7e0d84531d491c641d1fd4b05ac91ef7b0c7e1b2...44616f0dad4defeba8e2096a67ff9fcb76a24836
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/20220817/26bdafdc/attachment-0001.htm>
More information about the debian-med-commit
mailing list