public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Bart Vanbrabant <zoeloelip@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/antlr3] epel10: - Update to version 3.1.1
Date: Wed, 22 Jul 2026 19:36:58 GMT	[thread overview]
Message-ID: <178474901820.1.8025862395449264664.rpms-antlr3-4eb01e771dcb@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/antlr3
            Branch : epel10
            Commit : 4eb01e771dcb4748483b6965e17545ed8d548589
            Author : Bart Vanbrabant <zoeloelip@fedoraproject.org>
            Date   : 2008-11-06T10:53:46+00:00
            Stats  : +37/-7 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/antlr3/c/4eb01e771dcb4748483b6965e17545ed8d548589?branch=epel10

            Log:
            - Update to version 3.1.1
- Add python runtime subpackage

---
diff --git a/.cvsignore b/.cvsignore
index 9094dc5..0427ccc 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-antlr-3.0.1.tar.gz
+antlr-3.1.1.tar.gz

diff --git a/antlr3.spec b/antlr3.spec
index 65e92b8..5011fbd 100644
--- a/antlr3.spec
+++ b/antlr3.spec
@@ -1,9 +1,11 @@
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
 Summary: ANother Tool for Language Recognition
 Name: antlr3
-Version: 3.0.1
-Release: 2%{?dist}
+Version: 3.1.1
+Release: 1%{?dist}
 URL: http://www.antlr.org/
-Source0: http://www.antlr.org/download/antlr-3.0.1.tar.gz
+Source0: http://www.antlr.org/download/antlr-3.1.1.tar.gz
 # Utility file, in conversation with upstream about this
 Source1: antlr-clean-generated
 License: BSD
@@ -23,6 +25,16 @@ that provides a framework for constructing recognizers,
 interpreters, compilers, and translators from grammatical 
 descriptions containing actions in a variety of target languages.
 
+%package        python
+Group:          Development/Libraries
+Summary:        Python runtime support for ANTLR-generated parsers
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools-devel
+BuildArch:      noarch
+
+%description    python
+Python runtime support for ANTLR-generated parsers
+
 %prep
 %setup -q -n antlr-%{version}
 
@@ -30,13 +42,22 @@ descriptions containing actions in a variety of target languages.
 rm -f lib/*.jar
 build-jar-repository -s -p lib stringtemplate
 # Clean out generated files upstream includes
-python %{SOURCE1} .
+%{__python} %{SOURCE1} .
 # Build
 ant
 
+# Build the python runtime
+cd runtime/Python
+%{__python} setup.py build
+cd ../..
+
 %install
 rm -rf $RPM_BUILD_ROOT
-install -D build/antlr.jar $RPM_BUILD_ROOT%{_datadir}/java/antlr3.jar
+install -D build/antlr-%{version}.jar $RPM_BUILD_ROOT%{_datadir}/java/antlr3.jar
+
+cd runtime/Python
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+cd ../..
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -46,7 +67,16 @@ rm -rf $RPM_BUILD_ROOT
 %doc README.txt LICENSE.txt
 %{_datadir}/java/*.jar
 
+%files python
+%defattr(0644,root,root,0755)
+%{python_sitelib}/antlr3/*
+%{python_sitelib}/antlr_python_runtime-*
+
 %changelog
+* Mon Nov  3 2008 Bart Vanbrabant <bart.vanbrabant@zoeloelip.be> - 3.1.1-1
+- Update to version 3.1.1
+- Add python runtime subpackage
+
 * Fri Jun 27 2008 Colin Walters <walters@redhat.com> - 3.0.1-2
 - Fix some BRs
 

diff --git a/sources b/sources
index 0a0d063..b1de651 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3368332e3ecec632db667cb5cdfdbf6f  antlr-3.0.1.tar.gz
+c9fb696a18126a4d633aedcd96d9822a  antlr-3.1.1.tar.gz

                 reply	other threads:[~2026-07-22 19:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178474901820.1.8025862395449264664.rpms-antlr3-4eb01e771dcb@fedoraproject.org \
    --to=zoeloelip@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox