[Python-modules-commits] [pymssql] 03/06: Package upstream release 2.1.1

Geoffrey Thomas geofft-guest at moszumanska.debian.org
Wed Nov 18 18:18:14 UTC 2015


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

geofft-guest pushed a commit to branch 2.1.1
in repository pymssql.

commit 0574fbdd24e2c282451fc051c44f9dbdc9443f7e
Author: Geoffrey Thomas <geofft at hudson-trading.com>
Date:   Wed Nov 18 10:59:14 2015 -0500

    Package upstream release 2.1.1
    
    * New upstream release (Closes: #648230), with DFSG repack to avoid
      embedded freetds binaries.
      - Be compatible with newer versions of freetds (Closes: #709210).
      - Consistently respect as_dict (Closes: #590548).
    * Packaging cleanups:
      - Switch from CDBS to dh sequencer, and bump d/compat to 9.
      - Update Standards-Version to 3.9.6 (no changes).
      - Update copyright and follow machine-readable copyright spec.
      - Switch to source format 3.0 (quilt).
      - Use uscan and Files-Excluded in debian/copyright to simplify the
        DFSG repack target, and drop debian/rules get-orig-source (just
        call `uscan --rename`).
---
 debian/changelog     | 18 ++++++++++
 debian/compat        |  2 +-
 debian/control       | 11 +++---
 debian/copyright     | 94 ++++++++++++++++++++++++++++++++++------------------
 debian/rules         | 17 ++--------
 debian/source/format |  2 +-
 debian/watch         |  4 +--
 7 files changed, 92 insertions(+), 56 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6be8c90..ee2e86d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,21 @@
+pymssql (2.1.1+dfsg-1) unstable; urgency=medium
+
+  * Team upload.
+  * New upstream release (Closes: #648230), with DFSG repack to avoid
+    embedded freetds binaries.
+    - Be compatible with newer versions of freetds (Closes: #709210).
+    - Consistently respect as_dict (Closes: #590548).
+  * Packaging cleanups:
+    - Switch from CDBS to dh sequencer, and bump d/compat to 9.
+    - Update Standards-Version to 3.9.6 (no changes).
+    - Update copyright and follow machine-readable copyright spec.
+    - Switch to source format 3.0 (quilt).
+    - Use uscan and Files-Excluded in debian/copyright to simplify the
+      DFSG repack target, and drop debian/rules get-orig-source (just
+      call `uscan --rename`).
+
+ -- Geoffrey Thomas <geofft at hudson-trading.com>  Wed, 18 Nov 2015 10:59:33 -0500
+
 pymssql (1.0.2+dfsg-2) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+9
diff --git a/debian/control b/debian/control
index fa91633..b370e72 100644
--- a/debian/control
+++ b/debian/control
@@ -3,12 +3,13 @@ Section: python
 Priority: optional
 Maintainer: Josselin Mouette <joss at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.37.2),
-               python-all-dev (>= 2.3.5-11),
-               cdbs (>= 0.4.43), 
+Build-Depends: debhelper (>= 9),
+               python-all-dev (>= 2.6.6-3~),
                freetds-dev,
-               dh-python
-Standards-Version: 3.8.2
+               dh-python,
+               python-setuptools-git,
+               cython
+Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/pymssql.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pymssql.git
 
diff --git a/debian/copyright b/debian/copyright
index 3af894d..586654e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,32 +1,62 @@
-This package was debianized by Josselin Mouette <joss at debian.org> on 
-Wed, 27 Feb 2008 12:08:19 +0100.
-
-It was downloaded from <http://sourceforge.net/projects/pymssql/>
-
-Upstream Authors: Park joon-cheol <jooncheol at gmail.com>
-                  Andrzej Kukula <akukula at gmail.com>
-
-Copyright:
-    Copyright © 2003 by Joon-cheol Park
-
-License:
-
-    This package is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Lesser General Public
-    License as published by the Free Software Foundation; either
-    version 2.1 of the License, or (at your option) any later version.
-
-    This package is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Lesser General Public License for more details.
-
-    You should have received a copy of the GNU Lesser General Public
-    License along with this package; if not, write to the Free Software
-    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
-
-On Debian systems, the complete text of the GNU Lesser General
-Public License can be found in `/usr/share/common-licenses/LGPL'.
-
-The Debian packaging is © 2008, Josselin Mouette <joss at debian.org> and 
-licensed under the LGPL as well.
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://github.com/pymssql/pymssql
+Files-Excluded: freetds *.c
+
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ MA  02110-1301  USA
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+Files: *
+Copyright: 2003 Joon-cheol Park <jooncheol at gmail.com>
+           2008 Andrzej Kukula <akukula at gmail.com>
+           2009-2010 Damien Churchill <damoxc at gmail.com>
+           2001-2014 pymssql development team
+License: LGPL-2.1+
+
+Files: nagios-plugin/*
+Copyright: 2008 Julien Blache
+           2008 Josselin Mouette
+License: LGPL-2.1+
+
+Files: setup.py
+Copyright: 2009 Damien Churchill <damoxc at gmail.com>
+License: GPL-3+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3, or (at your option)
+ any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.    See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program.    If not, write to:
+   The Free Software Foundation, Inc.,
+   51 Franklin Street, Fifth Floor
+   Boston, MA    02110-1301, USA.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
+
+Files: debian/*
+Copyright: 2008 Josselin Mouette <joss at debian.org>
+           2015 Hudson River Trading <geofft at hudson-trading.com>
+License: LGPL-2.1+
diff --git a/debian/rules b/debian/rules
index 1c31e71..9c13336 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,17 +1,4 @@
 #!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
-# Copyright © 2002,2003 Colin Walters <walters at debian.org>
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
-
-binary-post-install/python-pymssql::
-	chmod 755 debian/python-pymssql/usr/lib/nagios/plugins/*
-
-get-orig-source:
-	VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-+~]+).*,\1,p'); \
-	uscan --force-download --rename --download-version=$$VER --destdir=. && (\
-	tar -xz --exclude '*\.dll' -f pymssql_$$VER.orig.tar.gz && \
-	tar -czf pymssql_$$VER+dfsg.orig.tar.gz pymssql-$$VER; \
-	rm -f pymssql_$$VER.orig.tar.gz;\
-	rm -rf pymssql-$$VER)
+%:
+	dh $@ --with=python2
diff --git a/debian/source/format b/debian/source/format
index d3827e7..163aaf8 100644
--- a/debian/source/format
+++ b/debian/source/format
@@ -1 +1 @@
-1.0
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
index f4a8991..98840d4 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
-opts=dversionmangle=s/\+dfsg// \
-http://qa.debian.org/watch/sf.php/pymssql/pymssql-(.*)\.tar\.gz debian uupdate
+opts=uversionmangle=s/(rc|a|b|c)/~$1/,dversionmangle=s/\+dfsg//,repacksuffix=+dfsg \
+https://pypi.debian.net/pymssql/pymssql-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pymssql.git



More information about the Python-modules-commits mailing list