summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-10 16:17:03 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-23 21:54:14 +0200
commite3a9318b15c701b5dfa69605e89393cdf7fcbce4 (patch)
treeabccc41e57d27eff4aac38ef07a96be075142a06
parenta82c18c456c8ad234fa007a5bea46417d34f1897 (diff)
downloadastroid-git-e3a9318b15c701b5dfa69605e89393cdf7fcbce4.tar.gz
Remove unused debian build files and upgrade changelog
-rw-r--r--ChangeLog2
-rw-r--r--debian.sid/control40
-rwxr-xr-xdebian.sid/rules41
-rw-r--r--debian.sid/source/format1
-rw-r--r--debian/changelog29
-rw-r--r--debian/compat1
-rw-r--r--debian/control29
-rw-r--r--debian/copyright36
-rw-r--r--debian/python-astroid.dirs1
-rwxr-xr-xdebian/rules66
-rw-r--r--debian/watch2
11 files changed, 2 insertions, 246 deletions
diff --git a/ChangeLog b/ChangeLog
index ddc609be..899a6ae8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,8 @@ What's New in astroid 2.5.4?
============================
Release Date: TBA
+* Debian packaging is now (officially) done in https://salsa.debian.org/python-team/packages/astroid.
+
* Added inference tip for ``typing.Tuple`` alias
* Fix crash when evaluating ``typing.NamedTuple``
diff --git a/debian.sid/control b/debian.sid/control
deleted file mode 100644
index a488f71b..00000000
--- a/debian.sid/control
+++ /dev/null
@@ -1,40 +0,0 @@
-Source: astroid
-Section: python
-Priority: optional
-Maintainer: Logilab S.A. <contact@logilab.fr>
-Uploaders: Sylvain Thénault <sylvain.thenault@logilab.fr>,
- Alexandre Fayolle <afayolle@debian.org>,
- Sandro Tosi <morph@debian.org>
-Build-Depends: debhelper (>= 7.0.50~), python-all, python3-all
-Standards-Version: 3.9.2
-Homepage: http://bitbucket/logilab/astroid
-Vcs-Hg: https://bitbucket.org/logilab/astroid
-Vcs-Browser: https://bitbucket.org/logilab/astroid/src
-
-Package: python-astroid
-Architecture: all
-Depends: ${python:Depends},
- ${misc:Depends},
- python-logilab-common,
-Description: rebuild a new abstract syntax tree from Python's ast
- The aim of this module is to provide a common base representation of
- Python source code for projects such as pyreverse or pylint.
- .
- It rebuilds the tree generated by the _ast module by recursively walking down
- the AST and building an extended ast. The new node
- classes have additional methods and attributes for different usages.
- Furthermore, astroid builds partial trees by inspecting living objects.
-
-Package: python3-astroid
-Architecture: all
-Depends: ${python3:Depends},
- ${misc:Depends},
- python3-logilab-common,
-Description: rebuild a new abstract syntax tree from Python's ast
- The aim of this module is to provide a common base representation of
- Python source code for projects such as pyreverse or pylint.
- .
- It rebuilds the tree generated by the _ast module by recursively walking down
- the AST and building an extended ast. The new node
- classes have additional methods and attributes for different usages.
- Furthermore, astroid builds partial trees by inspecting living objects.
diff --git a/debian.sid/rules b/debian.sid/rules
deleted file mode 100755
index a29f82c5..00000000
--- a/debian.sid/rules
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-#
-# adapted by Logilab for automatic generation by debianize
-# (part of the devtools project, http://www.logilab.org/projects/devtools)
-#
-# Copyright (c) 2003-2011 LOGILAB S.A. (Paris, FRANCE).
-# http://www.logilab.fr/ -- mailto:contact@logilab.fr
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-include /usr/share/python/python.mk
-
-PACKAGE:=$(call py_pkgname,python-astroid,python)
-PACKAGE3:=$(call py_pkgname,python-astroid,python3.)
-
-%:
- dh $@ --with python2,python3
-
-override_dh_install:
- NO_SETUPTOOLS=1 python setup.py -q install --no-compile \
- --root=$(CURDIR)/debian/$(PACKAGE)/ \
- ${py_setup_install_args}
- NO_SETUPTOOLS=1 python3 setup.py -q install --no-compile \
- --root=$(CURDIR)/debian/$(PACKAGE3)/ \
- ${py_setup_install_args}
- rm -rf debian/*/usr/lib/python*/*-packages/astroid/test
-
-override_dh_installdocs:
- dh_installdocs -i README*
- dh_installchangelogs -i ChangeLog
-
-override_dh_compress:
- dh_compress -i -X.py -X.ini -X.xml -Xtest/
-
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- # PYTHON 2.X + PYTHON 3.2
-endif
diff --git a/debian.sid/source/format b/debian.sid/source/format
deleted file mode 100644
index 163aaf8d..00000000
--- a/debian.sid/source/format
+++ /dev/null
@@ -1 +0,0 @@
-3.0 (quilt)
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index f5ddc001..00000000
--- a/debian/changelog
+++ /dev/null
@@ -1,29 +0,0 @@
-astroid (1.3.4-1) precise; urgency=low
-
- * new upstream release
-
- -- Ionel Cristian Maries <contact@ionelmc.ro> Sun, 15 Feb 2015 23:55:27 +0200
-
-astroid (1.1.1-1) unstable; urgency=low
-
- * new upstream release
-
- -- Sylvain Thénault <sylvain.thenault@logilab.fr> Wed, 30 Apr 2014 17:57:52 +0200
-
-astroid (1.1.0-1) unstable; urgency=low
-
- * new upstream release
-
- -- Sylvain Thénault <sylvain.thenault@logilab.fr> Fri, 18 Apr 2014 15:39:05 +0200
-
-astroid (1.0.1-1) unstable; urgency=low
-
- * new upstream release
-
- -- Sylvain Thénault <sylvain.thenault@logilab.fr> Fri, 18 Oct 2013 17:33:33 +0200
-
-astroid (1.0.0-1) unstable; urgency=low
-
- * new upstream release, project renamed to astroid instead of logilab-astng
-
- -- Sylvain Thénault <sylvain.thenault@logilab.fr> Mon, 29 Jul 2013 16:32:51 +0200
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 7ed6ff82..00000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-5
diff --git a/debian/control b/debian/control
deleted file mode 100644
index bc22ab72..00000000
--- a/debian/control
+++ /dev/null
@@ -1,29 +0,0 @@
-Source: astroid
-Section: python
-Priority: optional
-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.5)
-Build-Depends-Indep: python-support
-XS-Python-Version: >= 2.5
-Standards-Version: 3.8.2
-Homepage: http://bitbucket/logilab/astroid
-Vcs-Hg: https://bitbucket.org/logilab/astroid
-Vcs-Browser: https://bitbucket.org/logilab/astroid/src
-
-Package: python-astroid
-Architecture: all
-Depends: ${python:Depends},
- ${misc:Depends},
- python-logilab-common (>= 0.60.0-1),
-XB-Python-Version: ${python:Versions}
-Description: rebuild a new abstract syntax tree from Python's ast
- The aim of this module is to provide a common base representation of
- Python source code for projects such as pyreverse or pylint.
- .
- It rebuilds the tree generated by the _ast module by recursively walking down the
- AST and building an extended ast. The new node classes
- have additional methods and attributes for different usages.
- Furthermore, astroid builds partial trees by inspecting living objects.
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index fa24ec99..00000000
--- a/debian/copyright
+++ /dev/null
@@ -1,36 +0,0 @@
-This package was debianized by Sylvain Thenault <sylvain.thenault@logilab.fr> Sat, 13 Apr 2002 19:05:23 +0200.
-
-It was downloaded from http://bitbucket.org/logilab/astroid
-
-Upstream Author:
-
- Sylvain Thenault <sylvain.thenault@logilab.fr>
- Logilab <contact@logilab.fr>
-
-Copyright:
-
- Copyright (c) 2003-2013 LOGILAB S.A. (Paris, FRANCE).
- http://www.logilab.fr/ -- mailto:contact@logilab.fr
- Copyright (C) 2003-2013 Sylvain Thenault
-
-License:
-
- This program is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as published by the
- Free Software Foundation; either version 2.1 of the License, or (at your
- option) any later version.
-
- 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 Lesser General Public License
- for more details.
-
- You should have received a copy of the GNU Lessser 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 Lesser General Public License
-may be found in '/usr/share/common-licenses/LGPL-2.1'.
-
-The Debian packaging is Copyright (C) 2008-2009, Sandro Tosi <morph@debian.org>
-and is licensed under the same terms as upstream code (see above).
diff --git a/debian/python-astroid.dirs b/debian/python-astroid.dirs
deleted file mode 100644
index 64b5569b..00000000
--- a/debian/python-astroid.dirs
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/doc/python-astroid/test
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index 02c7bf81..00000000
--- a/debian/rules
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-#
-# adapted by Logilab for automatic generation by debianize
-# (part of the devtools project, http://www.logilab.org/projects/devtools)
-#
-# Copyright (c) 2003-2013 LOGILAB S.A. (Paris, FRANCE).
-# http://www.logilab.fr/ -- mailto:contact@logilab.fr
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-build: build-stamp
-build-stamp:
- dh_testdir
-
- NO_SETUPTOOLS=1 python setup.py -q build
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
-
- NO_SETUPTOOLS=1 python setup.py clean
-
- find . -name "*.pyc" -delete
-
- rm -rf build
- dh_clean build-stamp
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- NO_SETUPTOOLS=1 python setup.py -q install --no-compile \
- --root=$(CURDIR)/debian/python-astroid/ \
- --install-layout=deb
-
- # remove test directory from *-packages and install them in /usr/share/doc/
- rm -rf debian/python-astroid/usr/lib/python*/*-packages/astroid/test
- (cd astroid/tests && find . -type f -not \( -name '*.pyc' \) -exec install -D --mode=644 {} ../debian/python-astroid/usr/share/doc/python-astroid/test/{} \;)
-
-# Build architecture-independent files here.
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_install -i
- dh_pysupport -i
- dh_installchangelogs -i ChangeLog
- dh_installexamples -i
- dh_installdocs -i README
- dh_compress -i -X.py -X.ini -X.xml -Xtest
- dh_fixperms -i
- dh_installdeb -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
-
-binary-arch:
-
-binary: binary-indep
-.PHONY: build clean binary binary-indep binary-arch
diff --git a/debian/watch b/debian/watch
deleted file mode 100644
index 85bc9006..00000000
--- a/debian/watch
+++ /dev/null
@@ -1,2 +0,0 @@
-version=3
-https://bitbucket.org/logilab/astroid/downloads /logilab/astroid/get/astroid-version-(.*).tar.gz