Skip to content
Commits on Source (4)
antlr (2.7.7+dfsg-10) UNRELEASED; urgency=medium
* Team upload.
* Drop Python 2 package. Closes: #936121.
* Point VCS URIs at the Salsa repository.
* Use secure URIs throughout.
* Switch to debhelper compatibility level 12.
-- Stephen Kitt <skitt@debian.org> Wed, 04 Sep 2019 08:48:25 +0200
antlr (2.7.7+dfsg-9.2) unstable; urgency=medium
* Non-maintainer upload.
......
......@@ -5,19 +5,17 @@ Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.or
Uploaders:
Torsten Werner <twerner@debian.org>,
Build-Depends:
debhelper (>= 10),
debhelper-compat (= 12),
default-jdk,
dh-python,
python-all-dev,
python-setuptools,
python3-all-dev,
python3-setuptools,
sharutils,
maven-repo-helper,
Standards-Version: 4.1.1
Vcs-Git: https://anonscm.debian.org/git/pkg-java/antlr.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/antlr.git
Homepage: http://www.antlr2.org
Vcs-Git: https://salsa.debian.org/java-team/antlr.git
Vcs-Browser: https://salsa.debian.org/java-team/antlr
Homepage: https://www.antlr2.org
Package: antlr
Architecture: all
......@@ -80,19 +78,6 @@ Description: language tool for constructing recognizers, compilers etc (java lib
compilers, and translators from grammatical descriptions containing C++
or Java actions [You can use PCCTS 1.xx to generate C-based parsers].
Package: python-antlr
Section: python
Architecture: all
Depends:
python-six,
${misc:Depends},
${python:Depends},
Description: language tool for constructing recognizers, compilers etc - Python 2.7
This package contains the Python 2.7 version of antlr. ANTLR stands for
ANother Tool for Language Recognition, (formerly PCCTS).
.
See antlr package for a complete description.
Package: python3-antlr
Section: python
Architecture: all
......
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ANTLRv2
Upstream-Contact: Terence Parr <parrt@antlr.org>
Source: http://www.antlr2.org
Source: https://www.antlr2.org
Files: *
Copyright: 1989-2011 Terence Parr <parrt@antlr.org>
......
......@@ -5,7 +5,7 @@ PYTHON3S:=$(shell py3versions -vr 2>/dev/null)
include /usr/share/dpkg/pkg-info.mk
%:
dh $@ --with maven-repo-helper --with python2,python3
dh $@ --with maven-repo-helper --with python3
override_dh_auto_configure:
cp /usr/share/misc/config.* scripts
......@@ -28,7 +28,6 @@ override_dh_auto_build-arch:
override_dh_auto_test:
override_dh_auto_install-indep:
set -e && cd lib/python && python setup.py install --install-layout=deb --root $(CURDIR)/debian/python-antlr && cd ..
set -e && cd lib/python && for pyvers in $(PYTHON3S); do \
python$$pyvers setup.py install --install-layout=deb --root $(CURDIR)/debian/python3-antlr ; \
done && cd ..
......
version=3
opts=dversionmangle=s/(\d)[\+\.\-~](?:dfsg|debian|ds|repack)\.?\d*$/$1/ \
http://www.antlr2.org/download.html \
https://www.antlr2.org/download.html \
(?:.*/|.*=|)antlr[\-\._](\d\S*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)(?:/\S*)?