Imported Debian patch 1.0.1-1
Sandro Tosi
10 years ago
0 | astroid (1.0.1-1) unstable; urgency=low | |
1 | ||
2 | * Initial release (Closes: #734075) | |
3 | ||
4 | -- Sandro Tosi <morph@debian.org> Sat, 04 Jan 2014 12:14:12 +0100 |
0 | 9 |
0 | Source: astroid | |
1 | Section: python | |
2 | Priority: optional | |
3 | Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org> | |
4 | Uploaders: Sandro Tosi <morph@debian.org> | |
5 | Build-Depends: debhelper (>= 9.0.0), python, python3 | |
6 | Standards-Version: 3.9.5 | |
7 | Homepage: http://www.astroid.org/ | |
8 | Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/astroid/trunk/ | |
9 | Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/astroid/trunk/ | |
10 | ||
11 | Package: python-astroid | |
12 | Architecture: all | |
13 | Depends: ${python:Depends}, ${misc:Depends}, python-logilab-common (>= 0.60.0) | |
14 | Description: rebuild a new abstract syntax tree from Python's AST | |
15 | The aim of this module is to provide a common base representation of | |
16 | Python source code for projects such as pychecker, pyreverse, | |
17 | pylint... Well, actually the development of this library is essentially | |
18 | governed by pylint's needs. It used to be called logilab-astng. | |
19 | . | |
20 | It provides a compatible representation which comes from the `_ast` | |
21 | module. It rebuilds the tree generated by the builtin _ast module by | |
22 | recursively walking down the AST and building an extended ast. The new | |
23 | node classes have additional methods and attributes for different | |
24 | usages. They include some support for static inference and local name | |
25 | scopes. Furthermore, astroid builds partial trees by inspecting living | |
26 | objects. | |
27 | . | |
28 | Main modules are: | |
29 | . | |
30 | * `bases`, `node_classses` and `scoped_nodes` contain the classes for the | |
31 | different type of nodes of the tree. | |
32 | . | |
33 | * the `manager` contains a high level object to get astroid trees from | |
34 | source files and living objects. It maintains a cache of previously | |
35 | constructed tree for quick access. | |
36 | . | |
37 | python-astroid is the new name of former python-logilab-astng library. | |
38 | ||
39 | Package: python3-astroid | |
40 | Architecture: all | |
41 | Depends: ${python3:Depends}, ${misc:Depends}, python3-logilab-common (>= 0.60.0) | |
42 | Description: rebuild a new abstract syntax tree from Python's AST (Python3) | |
43 | The aim of this module is to provide a common base representation of | |
44 | Python source code for projects such as pychecker, pyreverse, | |
45 | pylint... Well, actually the development of this library is essentially | |
46 | governed by pylint's needs. It used to be called logilab-astng. | |
47 | . | |
48 | It provides a compatible representation which comes from the `_ast` | |
49 | module. It rebuilds the tree generated by the builtin _ast module by | |
50 | recursively walking down the AST and building an extended ast. The new | |
51 | node classes have additional methods and attributes for different | |
52 | usages. They include some support for static inference and local name | |
53 | scopes. Furthermore, astroid builds partial trees by inspecting living | |
54 | objects. | |
55 | . | |
56 | Main modules are: | |
57 | . | |
58 | * `bases`, `node_classses` and `scoped_nodes` contain the classes for the | |
59 | different type of nodes of the tree. | |
60 | . | |
61 | * the `manager` contains a high level object to get astroid trees from | |
62 | source files and living objects. It maintains a cache of previously | |
63 | constructed tree for quick access. | |
64 | . | |
65 | python3-astroid is the new name of former python3-logilab-astng library. |
0 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: astroid | |
2 | Source: http://www.astroid.org/ | |
3 | ||
4 | Files: * | |
5 | Copyright: 2003-2013 Logilab <python-projects@lists.logilab.org> | |
6 | License: LGPL-2.1+ | |
7 | astroid is free software: you can redistribute it and/or modify it | |
8 | under the terms of the GNU Lesser General Public License as published by the | |
9 | Free Software Foundation, either version 2.1 of the License, or (at your | |
10 | option) any later version. | |
11 | . | |
12 | astroid is distributed in the hope that it will be useful, but | |
13 | WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License | |
15 | for more details. | |
16 | . | |
17 | You should have received a copy of the GNU Lesser General Public License along | |
18 | with astroid. If not, see <http://www.gnu.org/licenses/>. | |
19 | . | |
20 | On Debian systems, the complete text of the GNU Lesser General Public | |
21 | License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". | |
22 | ||
23 | Files: debian/* | |
24 | Copyright: 2014 Sandro Tosi <morph@debian.org> | |
25 | License: LGPL-2.1+ | |
26 | astroid is free software: you can redistribute it and/or modify it | |
27 | under the terms of the GNU Lesser General Public License as published by the | |
28 | Free Software Foundation, either version 2.1 of the License, or (at your | |
29 | option) any later version. | |
30 | . | |
31 | astroid is distributed in the hope that it will be useful, but | |
32 | WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
33 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License | |
34 | for more details. | |
35 | . | |
36 | You should have received a copy of the GNU Lesser General Public License along | |
37 | with astroid. If not, see <http://www.gnu.org/licenses/>. | |
38 | . | |
39 | On Debian systems, the complete text of the GNU Lesser General Public | |
40 | License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". | |
41 | ||
42 | Files: test/unittest_brain.py | |
43 | Copyright: Copyright 2013 Google Inc. All Rights Reserved. | |
44 | License: LGPL-2.1+ | |
45 | astroid is free software: you can redistribute it and/or modify it | |
46 | under the terms of the GNU Lesser General Public License as published by the | |
47 | Free Software Foundation, either version 2.1 of the License, or (at your | |
48 | option) any later version. | |
49 | . | |
50 | astroid is distributed in the hope that it will be useful, but | |
51 | WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
52 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License | |
53 | for more details. | |
54 | . | |
55 | You should have received a copy of the GNU Lesser General Public License along | |
56 | with astroid. If not, see <http://www.gnu.org/licenses/>. | |
57 | . | |
58 | On Debian systems, the complete text of the GNU Lesser General Public | |
59 | License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". | |
60 |
0 | #!/usr/bin/make -f | |
1 | # -*- makefile -*- | |
2 | ||
3 | # Uncomment this to turn on verbose mode. | |
4 | #export DH_VERBOSE=1 | |
5 | ||
6 | PKG2=python-astroid | |
7 | PKG3=python3-astroid | |
8 | ||
9 | %: | |
10 | dh $@ --with python2,python3 | |
11 | ||
12 | override_dh_install: | |
13 | NO_SETUPTOOLS=1 python setup.py install --no-compile \ | |
14 | --root=$(CURDIR)/debian/$(PKG2)/ \ | |
15 | --install-layout=deb | |
16 | NO_SETUPTOOLS=1 python3 setup.py install --no-compile \ | |
17 | --root=$(CURDIR)/debian/$(PKG3)/ \ | |
18 | --install-layout=deb | |
19 | # remove tests files | |
20 | rm -rf debian/*/usr/lib/python*/*-packages/astroid/test | |
21 | ||
22 | override_dh_installdocs: | |
23 | dh_installdocs -i README |
0 | 3.0 (quilt) |