debian/0000755000000000000000000000000012263063124007165 5ustar debian/copyright0000644000000000000000000000135212262026114011116 0ustar This package was debianized by Sylvain Thenault Sat, 13 Apr 2002 19:05:23 +0200. It was downloaded from ftp://ftp.logilab.org/pub/astng Upstream Author: Sylvain Thenault Copyright: Copyright (c) 2003-2013 LOGILAB S.A. (Paris, FRANCE). http://www.logilab.fr/ -- mailto:contact@logilab.fr Copyright (C) 2003-2010 Sylvain Thenault License: LGPLv2.1+ On Debian systems, the complete text of the GNU Lesser General Public License v2.1 may be found in '/usr/share/common-licenses/LGPL-2.1'. The Debian packaging is Copyright (C) 2008-2014, Sandro Tosi and is licensed under the same terms as upstream code (see above). debian/python-logilab-astng.dirs0000644000000000000000000000005011114237100014074 0ustar usr/share/doc/python-logilab-astng/test debian/changelog0000644000000000000000000003034712263063072011050 0ustar logilab-astng (0.24.3-1ubuntu1) trusty; urgency=medium * Merge with Debian; remaining changes: - Build using dh_python2 instead of python-support. -- Matthias Klose Tue, 07 Jan 2014 21:38:33 +0100 logilab-astng (0.24.3-1) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Sandro Tosi ] * New upstream release * debian/copyright - extended packaging copyright years * debian/control - bump Standards-Version to 3.9.5 (no changes needed) -- Sandro Tosi Sat, 04 Jan 2014 16:48:38 +0100 logilab-astng (0.24.2-1) experimental; urgency=low * New upstream release * debian/watch - update download URL * debian/copyright - extend upstream copyright years - extend packaging copyright years -- Sandro Tosi Sun, 14 Apr 2013 22:17:13 +0200 logilab-astng (0.24.1-1ubuntu1) raring; urgency=low * Merge from Debian unstable. Remaining change: - Build using dh_python2 instead of python-support. -- Benjamin Drung Sun, 03 Mar 2013 00:28:54 +0100 logilab-astng (0.24.1-1) experimental; urgency=low * New upstream release -- Sandro Tosi Thu, 25 Oct 2012 21:43:26 +0200 logilab-astng (0.24.0-2) experimental; urgency=low * debian/{control, rules} - switch to dh sequencer - provide Python 3 package; Closes: #606146 * debian/source/format - switch to 3.0 (quilt) source format -- Sandro Tosi Sat, 01 Sep 2012 21:45:58 +0200 logilab-astng (0.24.0-1) experimental; urgency=low * New upstream release * debian/copyright - update upstream and packaging copyright years * debian/control - bump Standards-Version to 3.9.3 (no changes needed) -- Sandro Tosi Sat, 11 Aug 2012 14:14:16 +0200 logilab-astng (0.23.1-1ubuntu1) quantal; urgency=low * Merge from Debian Unstable (LP: #1017025). Remaining Changes: - Build using dh_python2 -- Vibhav Pant Sun, 24 Jun 2012 07:20:21 +0530 logilab-astng (0.23.1-1) unstable; urgency=low * New upstream release -- Sandro Tosi Fri, 30 Dec 2011 22:58:01 +0100 logilab-astng (0.23.0-1ubuntu1) precise; urgency=low * Build using dh_python2 -- Matthias Klose Sat, 17 Dec 2011 13:12:00 +0000 logilab-astng (0.23.0-1) unstable; urgency=low * New upstream release * debian/control - removed Sylvain from Uploaders: thanks for your work! * debian/rules - build for all the python supported versions - run tests * debian/control - reorg b-d to run tests at build time -- Sandro Tosi Fri, 14 Oct 2011 19:19:16 +0200 logilab-astng (0.22.0-1) unstable; urgency=low * New upstream release * debian/copyright - bump upstream copyright years * debian/control - bump Standards-Version to 3.9.2 (no changes needed) * debian/rules - tests: don't install pyo and egg files - add build-arch build-indep targets, as suggested by lintian -- Sandro Tosi Mon, 01 Aug 2011 19:41:21 +0200 logilab-astng (0.21.1-1) unstable; urgency=low * New upstream release * debian/copyright - updated packaging copyright years -- Sandro Tosi Fri, 25 Mar 2011 20:12:53 +0100 logilab-astng (0.21.0-1) experimental; urgency=low * New upstream release * debian/control - updated long description - bump versioned depends on python-logilab-common to '>= 0.53.0' -- Sandro Tosi Mon, 06 Dec 2010 21:25:45 +0100 logilab-astng (0.20.3-1) experimental; urgency=low * New upstream release -- Sandro Tosi Sun, 10 Oct 2010 00:06:35 +0200 logilab-astng (0.20.2-1) experimental; urgency=low * New upstream release - fixed test/fulltest.sh to call pytest, needed to run tests at build-time * debian/control - fix a typo in the log description; thanks to Erik Esterer for the report and patch; Closes: #585867 - bump Standards-Version to 3.9.1 (no changes needed) * debian/rules - build tests at build-time; Closes: #575559 -- Sandro Tosi Fri, 24 Sep 2010 23:33:20 +0200 logilab-astng (0.20.1-1) unstable; urgency=low * New upstream release * debian/copyright - upstream switched to LGPLv2.1+ * debian/control - added python-logilab-common to b-d-i, providing pytest program -- Sandro Tosi Wed, 19 May 2010 20:08:47 +0200 logilab-astng (0.20.0-1) unstable; urgency=low * New upstream release - thanks to Joseph Barillari for the reports; Closes: #573229, #568968 * debian/copyright - extended upstream and packaging copyright years - added Sylvain's email address * debian/control - bump Depends on python-logilab-common to '>= 0.49.0' - updated short and long description as per new upstream release - bump Standards-Version to 3.8.4 (no changes needed) - dropped XB-Python-Version -- Sandro Tosi Sat, 27 Mar 2010 23:57:01 +0100 logilab-astng (0.19.3-1) unstable; urgency=low * New upstream release -- Sandro Tosi Sat, 19 Dec 2009 17:57:24 +0100 logilab-astng (0.19.1-1) unstable; urgency=medium [ Alexandre Fayolle ] * debian/rules: - set NO_SETUPTOOLS when calling setup.py * debian/control - small fix in long description [ Sandro Tosi ] * New upstream release * debian/control - bump Standards-Version to 3.8.3 (no changes needed) - bump versioned depends on python-logilab-common to 0.45.0 (to properly handle pycentral->pysupport transition, hence the urgency) - enhanced long description -- Sandro Tosi Mon, 14 Sep 2009 23:10:31 +0200 logilab-astng (0.19.0-2) unstable; urgency=medium [ Sandro Tosi ] * debian/python-logilab-astng.preinst - added to remove leftover files after migration to python-support; thanks to Helmut Grohne and Yaroslav Halchenko for the reports; Closes: #533282, #528458 * urgency=medium because it fixes RC bugs * debian/control - bump Standards-Version 3.8.2 (no changes needed) [ Julien Lavergne ] * debian/{control, rules} - prepare for the upcoming Python 2.6 transition; thanks to Alessio Treglia for the report and patch; Closes: #530607 + added versioned depend on python and debhelper to have functions we need + used --install-layout=deb to setup.py install + replaced site-packages by *-packages -- Sandro Tosi Thu, 18 Jun 2009 07:14:21 +0200 logilab-astng (0.19.0-1) unstable; urgency=low * New upstream release * debian/copyright - bump upstream copyright years - added packaging copyright for the work I do * debian/control - updated long description to match new upstream one - bump python-logilab-common dependency to at least 0.39.0 * debian/rules - using --root instead of --prefix -- Sandro Tosi Fri, 27 Mar 2009 09:46:19 +0100 logilab-astng (0.17.4-2) unstable; urgency=low * debian/control - added ${misc:Depends} to Depends - tighten the depends on python-logilab-common to the version using python-support (0.38.1-1) - bump Standards-Version to 3.8.1 (no changes needed) * debian/{control, rules} - switch to python-support, implicitly fixing missing namespace; thanks to Servilio Afre Puentes for the report; Closes: #520584 * debian/rules - 'build' is a dir, so we need 'rm' for it -- Sandro Tosi Sun, 22 Mar 2009 10:19:45 +0100 logilab-astng (0.17.4-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 Sat, 29 Nov 2008 20:07:01 +0100 logilab-astng (0.17.2-2.1) unstable; urgency=low * NMU. Rebuild to move files to /usr/share/pyshared. Closes: #490474. -- Matthias Klose Fri, 18 Jul 2008 15:55:34 +0000 logilab-astng (0.17.2-2) unstable; urgency=low * Updated standards version (no changes required) * Moved Homepage from description to source package * Upload package to Debian archive -- Alexandre Fayolle Thu, 14 Feb 2008 15:58:06 +0100 logilab-astng (0.17.2-1) unstable; urgency=low * new upstream release -- Sylvain Thénault Mon, 14 Jan 2008 13:32:47 +0100 logilab-astng (0.17.1-1) unstable; urgency=low * new upstream release -- Sylvain Thénault Thu, 07 Jun 2007 16:31:10 +0200 logilab-astng (0.17.0-1) unstable; urgency=low * new upstream release -- Sylvain Thénault Thu, 22 Feb 2007 10:59:44 +0100 logilab-astng (0.16.3-1) unstable; urgency=low * new upstream release -- Sylvain Thénault Thu, 23 Nov 2006 16:04:14 +0100 logilab-astng (0.16.2-2) unstable; urgency=low * Debian upload * The new release fixes has_dynamic_getattr crash in pylint (closes: #395126) * cleanup upstream source tarball to remove uncleaned debian/ directory * added debian/compat and removed DH_COMPAT from debian/rules to get a proper dh_clean behavior -- Alexandre Fayolle Tue, 21 Nov 2006 13:50:22 +0100 logilab-astng (0.16.2-1) unstable; urgency=low * new upstream release -- Sylvain Thénault Wed, 15 Nov 2006 09:07:01 +0100 logilab-astng (0.16.1-2) unstable; urgency=low * bad postinst -- Sylvain Thénault Tue, 26 Sep 2006 17:55:38 +0200 logilab-astng (0.16.1-1) unstable; urgency=low * new upstream release -- Sylvain Thénault Mon, 25 Sep 2006 16:42:28 +0200 logilab-astng (0.16.0-2) unstable; urgency=low * Updated standards to 3.7.2 * use debhelper 5 * fixed encoding of maintainer name in debian/control * updated to new python policy (closes: #373458) -- Alexandre Fayolle Wed, 14 Jun 2006 17:59:54 +0200 logilab-astng (0.16.0-1) unstable; urgency=low * new upstream release -- Sylvain Thénault Wed, 19 Apr 2006 17:13:42 +0200 logilab-astng (0.15.1-1) unstable; urgency=low * new upstream release -- Sylvain Thénault Fri, 10 Mar 2006 10:15:49 +0100 logilab-astng (0.15.0-1) unstable; urgency=low * new upstream release (closes: #352889) -- Sylvain Thénault Mon, 6 Mar 2006 09:18:47 +0100 logilab-astng (0.14.0-2) unstable; urgency=low * removed packaging bug * upload to Debian -- Alexandre Fayolle Fri, 10 Feb 2006 15:29:00 +0100 logilab-astng (0.14.0-1) unstable; urgency=low * new upstream support * reorganization to install into site-python, removing the need for pythonX.X- packages -- Sylvain Thénault Tue, 10 Jan 2006 14:18:38 +0100 logilab-astng (0.13.1-2) unstable; urgency=low * Dropped python2.2 support, and removed -test package, as suggested by ftpmaster -- Alexandre Fayolle Mon, 21 Nov 2005 10:14:38 +0100 logilab-astng (0.13.1-1) unstable; urgency=low * new upstream release (closes: #337960) -- Sylvain Thénault Mon, 7 Nov 2005 15:38:42 +0100 logilab-astng (0.13.0-1) unstable; urgency=low * initial upstream/debian release -- Sylvain Thénault Fri, 21 Oct 2005 15:51:17 +0200 debian/compat0000644000000000000000000000000211114237100010352 0ustar 5 debian/control0000644000000000000000000000450712263063072010600 0ustar Source: logilab-astng Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Python Modules Team Uploaders: Alexandre Fayolle , Sandro Tosi Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.6.6-3~), python3-all, python-logilab-common, python3-logilab-common, python-unittest2 X-Python-Version: all X-Python3-Version: >= 3.2 Standards-Version: 3.9.5 Homepage: http://www.logilab.org/project/logilab-astng Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/logilab-astng/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/logilab-astng/trunk/ Package: python-logilab-astng Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-logilab-common (>= 0.53.0) Description: rebuild a new abstract syntax tree (AST) from Python's ast The aim of this module is to provide a common base representation of Python source code for projects such as pychecker, pyreverse, pylint. . It provides a compatible representation which comes from the `_ast` module. . It rebuilds the generated tree by recursively walking down the AST and building an extended ast (let's call it astng ;). The new node classes have additional methods and attributes for different usages. They include some support for static inference and local name scopes. Furthermore, astng builds partial trees by inspecting living objects. Package: python3-logilab-astng Architecture: all Depends: ${python3:Depends}, ${misc:Depends}, python3-logilab-common (>= 0.53.0) Description: rebuild a new abstract syntax tree (AST) from Python's ast (Python3) The aim of this module is to provide a common base representation of Python source code for projects such as pychecker, pyreverse, pylint. . It provides a compatible representation which comes from the `_ast` module. . It rebuilds the generated tree by recursively walking down the AST and building an extended ast (let's call it astng ;). The new node classes have additional methods and attributes for different usages. They include some support for static inference and local name scopes. Furthermore, astng builds partial trees by inspecting living objects. . This package contains the Python 3 version of logilab.astng. debian/rules0000755000000000000000000001004412263063072010246 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 PYTHON2 := $(shell pyversions -s) PYTHON3 := $(shell py3versions -s) LIB2 := $(shell python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print b.build_platlib") LOGILAB_COMMON_DIR := $(shell dirname `python -c "import logilab.common as lc ; print lc.__file__" 2>/dev/null`) %: dh $@ --with python2,python3 override_dh_auto_build: set -e; \ for python in $(PYTHON2) $(PYTHON3) ; do \ NO_SETUPTOOLS=1 $$python setup.py build ; \ done override_dh_auto_test: ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) #set -e ;\ for python in $(PYTHON2) ; do \ LIB2=$$($$python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print b.build_platlib") ;\ LOGILAB_COMMON_DIR=$$(dirname `$$python -c "import logilab.common as lc ; print lc.__file__" 2>/dev/null`) ;\ # we need this hack because we have to initialize the namespace ;\ touch $(CURDIR)/$(LIB2)/logilab/__init__.py ;\ # even bigger hack: we symlink the common module in our temp build/ ;\ # because it has to be in the same namespace as astng ;\ ln -s $(LOGILAB_COMMON_DIR) $(CURDIR)/$(LIB2)/logilab/ ;\ # we can now run the test, at last... ;\ PYTHONPATH=$(CURDIR)/$(LIB2) $$python `which pytest` ;\ # and cleanup the mess ;\ rm -rf $(CURDIR)/$(LIB2)/logilab/__init__.py $(CURDIR)/$(LIB2)/logilab/common ;\ done for python in $(PYTHON3) ; do \ LIB3=$$($$python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print (b.build_purelib)") ;\ LOGILAB_COMMON_DIR3=$$(dirname `$$python -c "import logilab.common as lc ; print (lc.__file__)" 2>/dev/null`) ;\ # we need this hack because we have to initialize the namespace ;\ touch $(CURDIR)/$$LIB3/logilab/__init__.py ;\ # even bigger hack: we symlink the common module in our temp build/ ;\ # because it has to be in the same namespace as astng ;\ ln -s $$LOGILAB_COMMON_DIR3 $(CURDIR)/$$LIB3/logilab/ ;\ # we can now run the test, at last... ;\ PYTHONPATH=$(CURDIR)/$$LIB3 $$python `which pytest` ;\ # and cleanup the mess ;\ rm -rf $(CURDIR)/$$LIB3/logilab/__init__.py $(CURDIR)/$$LIB3/logilab/common ;\ done endif override_dh_auto_clean: NO_SETUPTOOLS=1 python setup.py clean NO_SETUPTOOLS=1 python3 setup.py clean find . -name "*.pyc" -delete rm -rf build dh_clean override_dh_auto_install: NO_SETUPTOOLS=1 python setup.py install --no-compile \ --root=$(CURDIR)/debian/python-logilab-astng/ \ --install-layout=deb NO_SETUPTOOLS=1 python3 setup.py install --no-compile \ --root=$(CURDIR)/debian/python3-logilab-astng/ \ --install-layout=deb # remove sub-package __init__ file (created in postinst) rm debian/python-logilab-astng/usr/lib/python*/*-packages/logilab/__init__.py rm debian/python3-logilab-astng/usr/lib/python*/*-packages/logilab/__init__.py # remove test directory (installed in a separated package) rm -rf debian/python-logilab-astng/usr/lib/python*/*-packages/logilab/astng/test rm -rf debian/python3-logilab-astng/usr/lib/python*/*-packages/logilab/astng/test # install tests (cd test && find . -type f -not \( -path '*/CVS/*' -or -name '*.pyc' -or -name '*.pyo' -or -name '*.egg' \) -exec install -D --mode=644 {} ../debian/python-logilab-astng/usr/share/doc/python-logilab-astng/test/{} \;) (cd test && find . -type f -not \( -path '*/CVS/*' -or -name '*.pyc' -or -name '*.pyo' -or -name '*.egg' \) -exec install -D --mode=644 {} ../debian/python3-logilab-astng/usr/share/doc/python3-logilab-astng/test/{} \;) # clean up __pycache__ dirs, generated when running tests on the build dir find $(CURDIR)/debian/python3-logilab-astng -type d -name "__pycache__" | xargs rm -rf override_dh_installchangelogs: dh_installchangelogs -i ChangeLog override_dh_installdocs: dh_installdocs -i README override_dh_compress: dh_compress -i -X.py -X.ini -X.xml -Xtest debian/source/0000755000000000000000000000000012262026542010467 5ustar debian/source/format0000644000000000000000000000001412020412666011673 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000011312132606050010205 0ustar version=3 http://download.logilab.org/pub/astng/logilab-astng-(.*)\.tar.gz debian/python-logilab-astng.preinst0000644000000000000000000000152711216255015014641 0ustar #!/bin/sh # TODO: remove this file after releasing Squeeze set -e PYCENTRAL=/usr/bin/pycentral if [ "$1" = upgrade ] then if dpkg --compare-versions "$2" lt 0.17.4-2 ; then if [ -x $PYCENTRAL ]; then # explicitly remove old python-central files pycentral pkgremove python-logilab-astng fi fi # be really sure also removing left-over files and dirs # we do outside the previous 'if' since first pysupport # release was already distributed for pyversion in 2.4 2.5; do if [ -d /usr/lib/python$pyversion/site-packages/logilab/astng/ ]; then rm -f /usr/lib/python$pyversion/site-packages/logilab/astng/* rmdir --ignore-fail-on-non-empty /usr/lib/python$pyversion/site-packages/logilab/astng/ fi done fi #DEBHELPER#