summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog43
-rw-r--r--debian/control18
-rw-r--r--debian/copyright33
-rw-r--r--debian/pycompat1
-rwxr-xr-xdebian/rules26
-rw-r--r--debian/watch5
6 files changed, 86 insertions, 40 deletions
diff --git a/debian/changelog b/debian/changelog
index 8c7ccd4..af0c02a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,40 @@
+logilab-astng (0.17.4-2) UNRELEASED; urgency=low
+
+ * debian/control
+ - added ${misc:Depends} to Depends
+
+ -- Sandro Tosi <morph@debian.org> Sun, 30 Nov 2008 00:08:46 +0100
+
+
+logilab-astng (0.17.4-1.1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control
+ - adopted under DPMT umbrella (in agreement with Alexandre Fayolle)
+ - bump Standards-Version to 3.8.0 (no changes needed)
+ - added Vcs-{Svn,Browser} field
+ - little add to short description and empty line at bottom removal
+ - moved python-central to Build-Depends-Indep
+ * debian/copyright
+ - updated copyright years, adding Sylvain as copyright holder
+ - added a clear license section
+ - indented upstream author, copyright holder and license with 4 spaces
+ - update the reference to local license file with GPL-2
+ * debian/rules
+ - install upstream 'Changelog' using dh_installchangelog
+ - added "python setup.py clean"
+ - merged rm into dh_clean call
+ - used '-delete' find option instead of xargs
+ - removed dh_python, dh_link and dh_installman calls
+ * debian/watch
+ - updated to version 3
+ - added opts=pasv for passive ftp
+ - removed options after url
+ * debian/pycompat
+ - removed since not needed anymore
+
+ -- Sandro Tosi <morph@debian.org> Sat, 29 Nov 2008 20:07:01 +0100
+
logilab-astng (0.17.4-1) unstable; urgency=low
* new upstream release
@@ -10,6 +47,12 @@ logilab-astng (0.17.3-1) unstable; urgency=low
-- Emile Anclin <emile.anclin@logilab.fr> Wed, 10 Sep 2008 13:42:06 +0100
+logilab-astng (0.17.2-2.1) unstable; urgency=low
+
+ * NMU. Rebuild to move files to /usr/share/pyshared. Closes: #490474.
+
+ -- Matthias Klose <doko@debian.org> Fri, 18 Jul 2008 15:55:34 +0000
+
logilab-astng (0.17.2-2) unstable; urgency=low
* Updated standards version (no changes required)
diff --git a/debian/control b/debian/control
index ccbe451..c8d69f0 100644
--- a/debian/control
+++ b/debian/control
@@ -1,18 +1,21 @@
Source: logilab-astng
Section: python
Priority: optional
-Homepage: http://www.logilab.org/project/logilab-astng
-Maintainer: Sylvain Thénault <sylvain.thenault@logilab.fr>
-Uploaders: Alexandre Fayolle <afayolle@debian.org>
-Build-Depends: debhelper (>= 5.0.37.2), python (>=2.3.5-7), python-central (>=0.5)
+Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Uploaders: Sylvain Thénault <sylvain.thenault@logilab.fr>, Alexandre Fayolle <afayolle@debian.org>, Sandro Tosi <morph@debian.org>
+Build-Depends: debhelper (>= 5.0.37.2), python (>=2.3.5-7)
+Build-Depends-Indep: python-central (>=0.5)
XS-Python-Version: all
Standards-Version: 3.8.0
+Homepage: http://www.logilab.org/project/logilab-astng
+Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/logilab-astng/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/logilab-astng/trunk/
Package: python-logilab-astng
Architecture: all
-Depends: ${python:Depends}, python-logilab-common (>= 0.21.0-1)
+Depends: ${python:Depends}, ${misc:Depends}, python-logilab-common (>= 0.21.0-1)
XB-Python-Version: ${python:Versions}
-Description: extend Python's abstract syntax tree
+Description: extend Python's abstract syntax tree (AST)
The aim of this module is to provide a common base representation of
Python source code for projects such as pyreverse or pylint.
.
@@ -21,6 +24,3 @@ Description: extend Python's abstract syntax tree
builder object, which can either generate extended ast (let's call
them astng ;) by visiting an existant ast tree or by inspecting
living object. Methods are added by monkey patching ast classes.
-
-
-
diff --git a/debian/copyright b/debian/copyright
index f11944e..0505c9c 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,25 +4,30 @@ It was downloaded from ftp://ftp.logilab.org/pub/astng
Upstream Author:
- Sylvain Thenault <sylvain.thenault@logilab.fr>
+ Sylvain Thenault <sylvain.thenault@logilab.fr>
Copyright:
-Copyright (c) 2003-2006 LOGILAB S.A. (Paris, FRANCE).
-http://www.logilab.fr/ -- mailto:contact@logilab.fr
+ Copyright (c) 2003-2008 LOGILAB S.A. (Paris, FRANCE).
+ http://www.logilab.fr/ -- mailto:contact@logilab.fr
+ Copyright (C) 2003-2008 Sylvain Thenault
-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 2 of the License, or (at your option) any later
-version.
+License:
-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.
+ 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 2 of the
+ License, or (at your option) any later version.
-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 St, Fifth Floor, Boston, MA 02110-1301, USA.
+ 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 St, Fifth Floor, Boston, MA
+ 02110-1301, USA.
On Debian systems, the complete text of the GNU General Public License
-may be found in '/usr/share/common-licenses/GPL'.
+v2 may be found in '/usr/share/common-licenses/GPL-2'.
diff --git a/debian/pycompat b/debian/pycompat
deleted file mode 100644
index 0cfbf08..0000000
--- a/debian/pycompat
+++ /dev/null
@@ -1 +0,0 @@
-2
diff --git a/debian/rules b/debian/rules
index 7bfbe8e..ea2fae8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,49 +11,49 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-
build: build-stamp
build-stamp:
dh_testdir
+
python setup.py -q build
+
touch build-stamp
clean:
dh_testdir
dh_testroot
- rm -f build-stamp configure-stamp
- rm -rf build
- find . -name "*.pyc" | xargs rm -f
- rm -f changelog.gz
- dh_clean
+
+ python setup.py clean
+
+ find . -name "*.pyc" -delete
+
+ dh_clean build-stamp build
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
+
python setup.py -q install --no-compile --prefix=debian/python-logilab-astng/usr/
+
# remove sub-package __init__ file (created in postinst)
rm debian/python-logilab-astng/usr/lib/python*/site-packages/logilab/__init__.py
# remove test directory (installed in a separated package)
rm -rf debian/python-logilab-astng/usr/lib/python*/site-packages/logilab/astng/test
+
# install tests
(cd test && find . -type f -not \( -path '*/CVS/*' -or -name '*.pyc' \) -exec install -D --mode=644 {} ../debian/python-logilab-astng/usr/share/doc/python-logilab-astng/test/{} \;)
-
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_install -i
dh_pycentral -i
- dh_python -i
- gzip -9 -c ChangeLog > changelog.gz
- dh_installchangelogs -i
+ dh_installchangelogs -i ChangeLog
dh_installexamples -i
- dh_installdocs -i README changelog.gz
- dh_installman -i
- dh_link -i
+ dh_installdocs -i README
dh_compress -i -X.py -X.ini -X.xml -Xtest
dh_fixperms -i
dh_installdeb -i
diff --git a/debian/watch b/debian/watch
index fafc83e..2476862 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,2 @@
-version=2
-ftp://ftp.logilab.org/pub/astng/logilab-astng-(.*)\.tar\.gz debian uupdate
-
+version=3
+opts=pasv ftp://ftp.logilab.org/pub/astng/logilab-astng-(.*)\.tar\.gz