[antlr] 28/87: * Added proper python support. Thanks to Bernd Zeimitz. Closes: #414847.
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Oct 24 14:49:18 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository antlr.
commit 663e46c933e1babba0c3d10ec63b2b0652f0f4e4
Author: Michael Koch <konqueror at gmx.de>
Date: Sat Apr 21 10:02:22 2007 +0000
* Added proper python support. Thanks to Bernd Zeimitz.
Closes: #414847.
---
debian/antlr.dirs | 3 +--
debian/changelog | 4 +++-
debian/control | 3 ++-
debian/pyversions | 1 +
debian/rules | 5 ++---
5 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/debian/antlr.dirs b/debian/antlr.dirs
index a8e2f03..27499d7 100644
--- a/debian/antlr.dirs
+++ b/debian/antlr.dirs
@@ -1,4 +1,3 @@
usr/bin
-usr/lib/python2.3/site-packages
-usr/lib/python2.4/site-packages
usr/share/java
+usr/share/python-support/antlr
diff --git a/debian/changelog b/debian/changelog
index 03d970c..c22c337 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,12 +1,14 @@
antlr (2.7.6-8) unstable; urgency=low
+ * Added proper python support. Thanks to Bernd Zeimitz.
+ Closes: #414847.
* Put documentation into antlr-doc package. Thanks to Bernd Zeimetz.
* Build with java-gcj-compat-dev.
* Don't Build-Depends on autotools-dev twice.
* Introduce debian/compat instead of DH_COMPAT var in debian/rules.
* Fixed older changelog entries to fix lintian warnings.
- -- Michael Koch <konqueror at gmx.de> Sat, 21 Apr 2007 11:07:26 +0200
+ -- Michael Koch <konqueror at gmx.de> Sat, 21 Apr 2007 11:16:03 +0200
antlr (2.7.6-7) unstable; urgency=high
diff --git a/debian/control b/debian/control
index 1841fcd..56d9dd9 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,8 @@ Section: devel
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Arnaud Vandyck <avdyk at debian.org>, John Leuner <jewel at debian.org>, Michael Koch <konqueror at gmx.de>, Barry Hawkins <barry at bytemason.org>
-Build-Depends: debhelper (>= 4), java-gcj-compat-dev, gcj, libgcj-dev, python, autotools-dev
+Build-Depends: debhelper (>= 4), java-gcj-compat-dev, gcj, libgcj-dev, python, autotools-dev, python-all-dev (>= 2.3.5-11)
+Build-Depends-Indep: python-support (>= 0.3)
Build-Conflicts: mono-jit
Standards-Version: 3.7.2
diff --git a/debian/pyversions b/debian/pyversions
new file mode 100644
index 0000000..57a7586
--- /dev/null
+++ b/debian/pyversions
@@ -0,0 +1 @@
+2.3-
diff --git a/debian/rules b/debian/rules
index 15f60c7..695547f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -54,8 +54,7 @@ install-indep: build-indep
dh_clean -k
dh_installdirs
$(MAKE) -f debian/Makefile.debian install DESTDIR=`pwd`/debian/antlr
- install -m644 lib/python/antlr/antlr.py debian/antlr/usr/lib/python2.3/site-packages
- install -m644 lib/python/antlr/antlr.py debian/antlr/usr/lib/python2.4/site-packages
+ install -m644 lib/python/antlr/antlr.py debian/antlr/usr/share/python-support/antlr
install: build
dh_testdir
@@ -92,6 +91,7 @@ binary-indep: build-indep install-indep
dh_installdocs -pantlr
dh_installchangelogs -pantlr
dh_link -pantlr usr/share/java/antlr.jar usr/share/java/antlr.debug.jar usr/share/java/antlr.jar usr/share/java/antlrall.jar
+ dh_pysupport -pantlr
dh_strip
dh_compress -pantlr
dh_fixperms -pantlr
@@ -120,7 +120,6 @@ binary-arch: build install
dh_makeshlibs -plibantlr-dev -pcantlr
dh_installdeb -plibantlr-dev -pcantlr
# dh_perl
- dh_python
dh_shlibdeps -plibantlr-dev -pcantlr
dh_gencontrol -plibantlr-dev -pcantlr
dh_md5sums -plibantlr-dev -pcantlr
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/antlr.git
More information about the pkg-java-commits
mailing list