[Python-modules-commits] r31884 - in packages/python-ldap3/trunk/debian (8 files)

bam at users.alioth.debian.org bam at users.alioth.debian.org
Thu Feb 19 23:18:09 UTC 2015


    Date: Thursday, February 19, 2015 @ 23:18:07
  Author: bam
Revision: 31884

New upstream version.

Added:
  packages/python-ldap3/trunk/debian/README.source
  packages/python-ldap3/trunk/debian/patches/
  packages/python-ldap3/trunk/debian/patches/dont_update_version.patch
  packages/python-ldap3/trunk/debian/patches/series
Modified:
  packages/python-ldap3/trunk/debian/changelog
  packages/python-ldap3/trunk/debian/control
  packages/python-ldap3/trunk/debian/copyright
  packages/python-ldap3/trunk/debian/watch

Added: packages/python-ldap3/trunk/debian/README.source
===================================================================
--- packages/python-ldap3/trunk/debian/README.source	                        (rev 0)
+++ packages/python-ldap3/trunk/debian/README.source	2015-02-19 23:18:07 UTC (rev 31884)
@@ -0,0 +1,2 @@
+The upstream source package must be uploaded from PyPI, not github, as the
+version available on github includes many non-free RFCs.

Modified: packages/python-ldap3/trunk/debian/changelog
===================================================================
--- packages/python-ldap3/trunk/debian/changelog	2015-02-19 18:06:44 UTC (rev 31883)
+++ packages/python-ldap3/trunk/debian/changelog	2015-02-19 23:18:07 UTC (rev 31884)
@@ -1,3 +1,10 @@
+python-ldap3 (0.9.7.4-1) unstable; urgency=low
+
+  * New upstream release.
+  * Upstream package name renamed from python3-ldap to ldap3.
+
+ -- Brian May <bam at debian.org>  Thu, 19 Feb 2015 12:01:32 +1100
+
 python-ldap3 (0.9.6.2-1) unstable; urgency=low
 
   * New upstream version.

Modified: packages/python-ldap3/trunk/debian/control
===================================================================
--- packages/python-ldap3/trunk/debian/control	2015-02-19 18:06:44 UTC (rev 31883)
+++ packages/python-ldap3/trunk/debian/control	2015-02-19 23:18:07 UTC (rev 31884)
@@ -7,7 +7,7 @@
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-ldap3/trunk/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-ldap3/trunk/
-Homepage: https://bitbucket.org/python3ldap/python3-ldap
+Homepage: https://github.com/cannatag/ldap3
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.2
 

Modified: packages/python-ldap3/trunk/debian/copyright
===================================================================
--- packages/python-ldap3/trunk/debian/copyright	2015-02-19 18:06:44 UTC (rev 31883)
+++ packages/python-ldap3/trunk/debian/copyright	2015-02-19 23:18:07 UTC (rev 31884)
@@ -1,7 +1,7 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: python3-ldap
 Upstream-Contact: Giovanni Cannata <python3ldap at gmail.com>
-Source: https://pypi.python.org/pypi/python3-ldap
+Source: http://pypi.debian.net/ldap3/
 
 Files: *
 Copyright: 2013, Giovanni Cannata

Added: packages/python-ldap3/trunk/debian/patches/dont_update_version.patch
===================================================================
--- packages/python-ldap3/trunk/debian/patches/dont_update_version.patch	                        (rev 0)
+++ packages/python-ldap3/trunk/debian/patches/dont_update_version.patch	2015-02-19 23:18:07 UTC (rev 31884)
@@ -0,0 +1,38 @@
+Index: python-ldap3/setup.py
+===================================================================
+--- python-ldap3.orig/setup.py	2015-02-03 11:12:20.000000000 +1100
++++ python-ldap3/setup.py	2015-02-19 15:22:49.139840202 +1100
+@@ -21,9 +21,6 @@
+ # If not, see <http://www.gnu.org/licenses/>.
+ 
+ from setuptools import setup
+-from os import path
+-from datetime import datetime
+-from platform import uname, python_version, python_build, python_compiler
+ 
+ 
+ version_file = open('_version.py')
+@@ -42,23 +39,6 @@
+ 
+ version_file.close()
+ 
+-project_version_file = open(path.join(__package_folder__, __package_name__, 'version.py'), 'w+')
+-project_version_file.write('\n'.join([
+-    '# version file for ' + __package_name__,
+-    '# generated on ' + datetime.now().__str__(),
+-    '# on system ' + str(uname()),
+-    '# with Python ' + python_version() + ' - ' + str(python_build()) + ' - ' + python_compiler(),
+-    '#',
+-    '__version__ = ' + "'" + __version__ + "'",
+-    '__author__ = ' + "'" + __author__ + "'",
+-    '__email__ = ' + "'" + __email__ + "'",
+-    '__url__ = ' + "'" + __url__ + "'",
+-    '__description__ = ' + "'" + __description__ + "'",
+-    '__status__ = ' + "'" + __status__ + "'",
+-    '__license__ = ' + "'" + __license__ + "'"]))
+-
+-project_version_file.close()
+-
+ setup(name=__package_name__,
+       version=__version__,
+       packages=['ldap3',

Added: packages/python-ldap3/trunk/debian/patches/series
===================================================================
--- packages/python-ldap3/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-ldap3/trunk/debian/patches/series	2015-02-19 23:18:07 UTC (rev 31884)
@@ -0,0 +1 @@
+dont_update_version.patch

Modified: packages/python-ldap3/trunk/debian/watch
===================================================================
--- packages/python-ldap3/trunk/debian/watch	2015-02-19 18:06:44 UTC (rev 31883)
+++ packages/python-ldap3/trunk/debian/watch	2015-02-19 23:18:07 UTC (rev 31884)
@@ -1,2 +1,3 @@
 version=3
-http://pypi.python.org/packages/source/p/python3-ldap/python3-ldap-(.*).tar.gz
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+http://pypi.debian.net/ldap3/ldap3-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))




More information about the Python-modules-commits mailing list