[arch-commits] Commit in python-antlr4/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat Jun 30 16:37:07 UTC 2018


    Date: Saturday, June 30, 2018 @ 16:37:07
  Author: felixonmars
Revision: 348456

archrelease: copy trunk to community-staging-any

Added:
  python-antlr4/repos/community-staging-any/
  python-antlr4/repos/community-staging-any/PKGBUILD
    (from rev 348455, python-antlr4/trunk/PKGBUILD)

----------+
 PKGBUILD |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Copied: python-antlr4/repos/community-staging-any/PKGBUILD (from rev 348455, python-antlr4/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-06-30 16:37:07 UTC (rev 348456)
@@ -0,0 +1,23 @@
+# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
+
+pkgname=python-antlr4
+pkgver=4.7.1
+pkgrel=2
+pkgdesc="ANTLR4 runtime for Python"
+arch=('any')
+url="http://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=('1b26b72c4492cef310542da10bf6b2ab4aa1775618fc6003f75b55ae9eaa3fd3')
+
+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