Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
adjust builds on other archs
· f63681db
Michael R. Crusoe
authored
Oct 24, 2019
f63681db
ensure that nothing for /usr/bin ends up in python3-mypy
· 9d12ee4e
Michael R. Crusoe
authored
Oct 24, 2019
9d12ee4e
release
· 0122706b
Michael R. Crusoe
authored
Oct 24, 2019
0122706b
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
0122706b
mypy (0.740-2)
UNRELEASED
; urgency=medium
mypy (0.740-2)
unstable
; urgency=medium
* Incorporate high quality hand written manual pages courtesy of
Andrej Shadura <andrew.shadura@collabora.co.uk>
-- Michael R. Crusoe <michael.crusoe@gmail.com> Wed, 23 Oct 2019 19:15:46 +0200
* Reduce optimization level during the build for the armel, alpha, m68k,
powerpc, and sh4 archs
* Added missing importlib-metadata build-dep for pytest on some archs where
this isn't happening automatically: ppc64 riscv64 x32
* /usr/bin/{mypy,dmypy,stubgen} was accidentally included in python3-mypy when
build standalone. Fixed this and added a breaks & replaces on the older
version. Closes: #943357
-- Michael R. Crusoe <michael.crusoe@gmail.com> Thu, 24 Oct 2019 16:49:06 +0200
mypy (0.740-1) unstable; urgency=medium
...
...
debian/control
View file @
0122706b
...
...
@@ -21,7 +21,9 @@ Build-Depends: debhelper-compat (= 12),
python3-mypy-extensions,
python3-typing-extensions,
python3-virtualenv <!nocheck>,
python3-all-dev
python3-all-dev,
python3-importlib-metadata [ppc64 riscv64 x32]
# Don't know why those architectures aren't pulling in the python3-importlib-metadata package automatically
Standards-Version: 4.4.0
Vcs-Browser: https://salsa.debian.org/med-team/mypy
Vcs-Git: https://salsa.debian.org/med-team/mypy.git
...
...
@@ -33,6 +35,8 @@ Depends: ${misc:Depends},
${python3:Depends},
python3-mypy (>= ${binary:Version})
Suggests: mypy-doc
Breaks: python3-mypy (= 0.740-1)
Replaces: python3-mypy (= 0.740-1)
Description: optional static typing for Python
Add type annotations to your Python programs, and use mypy to type check them.
Mypy is essentially a Python linter on steroids, and it can catch many
...
...
debian/rules
View file @
0122706b
...
...
@@ -13,6 +13,10 @@ ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
endif
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/default.mk
ifneq (,$(filter $(DEB_HOST_ARCH),armel alpha m68k powerpc sh4))
export MYPYC_OPT_LEVEL=2
endif
%:
dh $@ --with python3$(WITH) --buildsystem=pybuild
...
...
@@ -51,6 +55,7 @@ endif
override_dh_auto_install:
dh_auto_install
dh_movefiles --package=mypy --sourcedir=debian/python3-mypy usr/bin
rm -Rf debian/python3-mypy/usr/bin
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES)))
...
...