[arch-commits] Commit in python-antlr4/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 06:16:51 UTC 2019
Date: Monday, November 4, 2019 @ 06:16:51
Author: felixonmars
Revision: 523351
archrelease: copy trunk to community-staging-any
Added:
python-antlr4/repos/community-staging-any/
python-antlr4/repos/community-staging-any/PKGBUILD
(from rev 523348, python-antlr4/trunk/PKGBUILD)
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Copied: python-antlr4/repos/community-staging-any/PKGBUILD (from rev 523348, python-antlr4/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 06:16:51 UTC (rev 523351)
@@ -0,0 +1,23 @@
+# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
+
+pkgname=python-antlr4
+pkgver=4.7.2
+pkgrel=2
+pkgdesc="ANTLR4 runtime for Python"
+arch=('any')
+url="https://www.antlr.org/"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/a/antlr4-python3-runtime/antlr4-python3-runtime-$pkgver.tar.gz")
+sha256sums=('168cdcec8fb9152e84a87ca6fd261b3d54c8f6358f42ab3b813b14a7193bb50b')
+
+build() {
+ cd "$srcdir/antlr4-python3-runtime-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/antlr4-python3-runtime-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list