[med-svn] [Git][python-team/packages/mypy][debian/experimental] Revert: Try the same level of optimization on all archs.
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Mon Feb 13 12:24:33 GMT 2023
Michael R. Crusoe pushed to branch debian/experimental at Debian Python Team / packages / mypy
Commits:
79f13ef7 by Michael R. Crusoe at 2023-02-13T13:22:42+01:00
Revert: Try the same level of optimization on all archs.
- - - - -
2 changed files:
- debian/changelog
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+mypy (1.0.0-1~0exp1) experimental; urgency=medium
+
+ * Revert: Try the same level of optimization on all archs.
+
+ -- Michael R. Crusoe <crusoe at debian.org> Mon, 13 Feb 2023 13:22:02 +0100
+
mypy (1.0.0-1~0exp) experimental; urgency=medium
* New upstream release.
=====================================
debian/rules
=====================================
@@ -12,12 +12,12 @@ endif
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/default.mk
-# ifneq (,$(filter $(DEB_BUILD_ARCH),hppa))
-# export MYPYC_OPT_LEVEL=2
-# else ifeq ($(DEB_HOST_ARCH_BITS), 32)
-# export DEB_CFLAGS_MAINT_APPEND += -g1
-# export DEB_CXXFLAGS_MAINT_APPEND += -g1
-# endif
+ifneq (,$(filter $(DEB_BUILD_ARCH),hppa))
+ export MYPYC_OPT_LEVEL=2
+else ifeq ($(DEB_HOST_ARCH_BITS), 32)
+ export DEB_CFLAGS_MAINT_APPEND += -g1
+ export DEB_CXXFLAGS_MAINT_APPEND += -g1
+endif
%:
@@ -43,11 +43,11 @@ debian/sphinx/stubgen_options.rst: docs/source/stubgen.rst
sed -n -e '/stubgen --help/,$$ {/stubgen --help/d; p}' $< > $@
override_dh_auto_build-arch:
-# ifneq (,$(filter $(DEB_BUILD_ARCH), alpha ia64 m68k powerpc riscv64 sh4 sparc64))
-# MYPY_USE_MYPYC=0 dh_auto_build
-# else
+ifneq (,$(filter $(DEB_BUILD_ARCH), mips64el mipsel alpha ia64 m68k powerpc riscv64 sh4 sparc64))
+ MYPY_USE_MYPYC=0 dh_auto_build
+else
MYPY_USE_MYPYC=1 dh_auto_build
-# endif
+endif
override_dh_auto_build-indep: manpages
MYPY_USE_MYPYC=0 dh_auto_build
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/commit/79f13ef710d0a76ed452846145f643eb53c1af01
--
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/commit/79f13ef710d0a76ed452846145f643eb53c1af01
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/20230213/1d57134e/attachment-0001.htm>
More information about the debian-med-commit
mailing list