[med-svn] [mypy] 02/04: new upstream release

Michael Crusoe misterc-guest at moszumanska.debian.org
Sat Jun 24 16:50:42 UTC 2017


This is an automated email from the git hooks/post-receive script.

misterc-guest pushed a commit to tag debian/0.511-1
in repository mypy.

commit a1bcdb039ce81c2be516f53564329a75573d6ee8
Author: Michael R. Crusoe <michael.crusoe at gmail.com>
Date:   Fri Jun 23 08:30:29 2017 -0700

    new upstream release
---
 debian/changelog | 6 ++++--
 debian/control   | 5 ++---
 debian/rules     | 7 +++----
 debian/watch     | 4 ++--
 4 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index dd29cb2..6ca842b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
-mypy (0.480.dev0-1) UNRELEASED; urgency=medium
+mypy (0.511-1) UNRELEASED; urgency=medium
 
   * Run the upstream tests
+  * New upstream release
+  * typed-ast is now a requirement, bump version req'd
 
- -- Michael R. Crusoe <michael.crusoe at gmail.com>  Thu, 02 Feb 2017 00:23:51 -0800
+ -- Michael R. Crusoe <michael.crusoe at gmail.com>  Fri, 23 Jun 2017 08:30:03 -0700
 
 mypy (0.470-complete-1) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index fd6495f..888682e 100644
--- a/debian/control
+++ b/debian/control
@@ -7,14 +7,14 @@ Build-Depends: debhelper (>= 10),
                dh-python,
                python3-all,
                python3-setuptools,
-               python3-typed-ast,
+               python3-typed-ast (>= 1.0.3),
                python3-pytest,
                python3-lxml,
                python3-pytest-xdist,
                python3-pytest-cov,
                flake8,
                help2man
-Standards-Version: 3.9.8
+Standards-Version: 4.0.0
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/mypy.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/mypy.git
 Homepage: http://www.mypy-lang.org/
@@ -23,7 +23,6 @@ X-Python3-Version: >= 3.2
 Package: mypy
 Architecture: all
 Depends: ${python3:Depends}, ${misc:Depends}
-Recommends: python3-typed-ast
 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
diff --git a/debian/rules b/debian/rules
index 34ac2ec..03cdd16 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,22 +1,21 @@
 #!/usr/bin/make -f
 
 # DH_VERBOSE := 1
-DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
-VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
 export PYBUILD_NAME = mypy
 PPATH=$(CURDIR):$(CURDIR)/lib-typing/3.2
 export PYBUILD_BEFORE_TEST=cp {dir}/debian/myunit {dir}/scripts/ && ${interpreter} {dir}/runtests.py
 export PYBUILD_TEST_ARGS=|| /bin/true
+include /usr/share/dpkg/pkg-info.mk
 %:
 	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_build:
 	dh_auto_build
 	PYTHONPATH=$(PPATH) help2man build/*/mypy --no-info \
-		   --version-string="${VERSION}" \
+		   --version-string="${DEB_VERSION_UPSTREAM}" \
 		   --name 'Optional Static Typing for Python' > debian/mypy.1
 	PYTHONPATH=$(PPATH) help2man build/*/stubgen --no-info \
-		   --no-discard-stderr --version-string="${VERSION}" \
+		   --no-discard-stderr --version-string="${DEB_VERSION_UPSTREAM}" \
 		   --name 'Generate draft stubs for Python modules.' > \
 		   debian/stubgen.1
 
diff --git a/debian/watch b/debian/watch
index dba775d..4e28c32 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
-opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
-https://pypi.debian.net/mypy/mypy-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/<project>-$1\.tar\.gz/ \
+  https://github.com/python/mypy/releases .*/v(\d\S+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/mypy.git



More information about the debian-med-commit mailing list