[Python-modules-commits] r26663 - in packages/django-ldapdb/trunk/debian (5 files)

obergix at users.alioth.debian.org obergix at users.alioth.debian.org
Wed Dec 4 13:46:57 UTC 2013


    Date: Wednesday, December 4, 2013 @ 13:46:56
  Author: obergix
Revision: 26663

Finalizing initial package version

Modified:
  packages/django-ldapdb/trunk/debian/changelog
  packages/django-ldapdb/trunk/debian/control
  packages/django-ldapdb/trunk/debian/python-django-ldapdb.pyremove
  packages/django-ldapdb/trunk/debian/rules
Deleted:
  packages/django-ldapdb/trunk/debian/TODO

Deleted: packages/django-ldapdb/trunk/debian/TODO
===================================================================
--- packages/django-ldapdb/trunk/debian/TODO	2013-12-04 13:46:52 UTC (rev 26662)
+++ packages/django-ldapdb/trunk/debian/TODO	2013-12-04 13:46:56 UTC (rev 26663)
@@ -1,3 +0,0 @@
-* Finish conforming to
-   https://wiki.debian.org/Python/LibraryStyleGuide
-

Modified: packages/django-ldapdb/trunk/debian/changelog
===================================================================
--- packages/django-ldapdb/trunk/debian/changelog	2013-12-04 13:46:52 UTC (rev 26662)
+++ packages/django-ldapdb/trunk/debian/changelog	2013-12-04 13:46:56 UTC (rev 26663)
@@ -1,11 +1,5 @@
-django-ldapdb (0.2.0-1) UNRELEASED; urgency=low
+django-ldapdb (0.2.0-1) unstable; urgency=low
 
-  * Package latest upstream version from github.
-
- -- Olivier Berger <obergix at debian.org>  Tue, 26 Nov 2013 17:03:30 +0100
-
-django-ldapdb (0.1.0-1) UNRELEASED; urgency=low
-
   * Initial packaging (Closes: #730548).
 
- -- Olivier Berger <obergix at debian.org>  Tue, 26 Nov 2013 14:38:48 +0100
+ -- Olivier Berger <obergix at debian.org>  Wed, 04 Dec 2013 14:08:21 +0100

Modified: packages/django-ldapdb/trunk/debian/control
===================================================================
--- packages/django-ldapdb/trunk/debian/control	2013-12-04 13:46:52 UTC (rev 26662)
+++ packages/django-ldapdb/trunk/debian/control	2013-12-04 13:46:56 UTC (rev 26663)
@@ -3,7 +3,7 @@
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>, Olivier Berger <olivier.berger at telecom-sudparis.eu>
 Section: python
 Priority: optional
-Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 7), python-mockldap, python-django
+Build-Depends: python-setuptools, python-all, debhelper, dh-python, python-mockldap, python-django
 Standards-Version: 3.9.4
 X-Python-Version: >= 2.6
 Homepage: https://github.com/jlaine/django-ldapdb

Modified: packages/django-ldapdb/trunk/debian/python-django-ldapdb.pyremove
===================================================================
--- packages/django-ldapdb/trunk/debian/python-django-ldapdb.pyremove	2013-12-04 13:46:52 UTC (rev 26662)
+++ packages/django-ldapdb/trunk/debian/python-django-ldapdb.pyremove	2013-12-04 13:46:56 UTC (rev 26663)
@@ -1,2 +1,2 @@
 ldapdb/tests.py
-django-ldapdb*.egg-info/SOURCES.txt
+django_ldapdb*.egg-info/SOURCES.txt

Modified: packages/django-ldapdb/trunk/debian/rules
===================================================================
--- packages/django-ldapdb/trunk/debian/rules	2013-12-04 13:46:52 UTC (rev 26662)
+++ packages/django-ldapdb/trunk/debian/rules	2013-12-04 13:46:56 UTC (rev 26663)
@@ -1,21 +1,14 @@
 #!/usr/bin/make -f
 
+#export DH_VERBOSE=1
 export PYBUILD_NAME=django-ldapdb
 
 %:
 	dh $@ --with python2 --buildsystem=pybuild
 
-# To be activated once mockldap is in Debian
 override_dh_auto_test:
 	django-admin test --settings=settings --pythonpath=.
 
-
-PKD  = $(abspath $(dir $(MAKEFILE_LIST)))
-PKG  = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
-VER ?= $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};')
-
-.PHONY: get-orig-source
-## http://wiki.debian.org/onlyjob/get-orig-source
-get-orig-source:  $(info I: $(PKG)_$(VER))
-	@echo "# Downloading..."
-	uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-version $(VER) $(PKD)
+override_dh_installexamples:
+	find examples/ -name '*.pyc' -exec rm {} \;
+	dh_installexamples




More information about the Python-modules-commits mailing list