[arch-commits] Commit in python-calmjs.parse/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 11 15:17:42 UTC 2020
Date: Wednesday, November 11, 2020 @ 15:17:42
Author: foutrelis
Revision: 751067
archrelease: copy trunk to community-staging-any
Added:
python-calmjs.parse/repos/community-staging-any/PKGBUILD
(from rev 751066, python-calmjs.parse/trunk/PKGBUILD)
Deleted:
python-calmjs.parse/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 15:17:40 UTC (rev 751066)
+++ PKGBUILD 2020-11-11 15:17:42 UTC (rev 751067)
@@ -1,46 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=calmjs.parse
-pkgname=python-calmjs.parse
-pkgver=1.2.5
-pkgrel=4
-pkgdesc="Various parsers for ECMA standards"
-arch=('any')
-url="https://github.com/calmjs/calmjs.parse"
-license=('MIT')
-depends=('python-ply=3.11')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.zip")
-sha512sums=('3614c1f495fa1ca746a8dd0813629da14115f4ef401176e389515239700849770b7c408d2ebdf55c8286dbde0b8f1b711f7ec4e4f3858f0477b39455a50bbe5a')
-b2sums=('9e3f81a99cf346b4ff61fa8f97bc3fa4c667d7dece38c47c512931508d5592b82143b0507e8e5190f2dd07f3596b6d146a90e59bad1a1c44d8f398a51ff0fb48')
-
-prepare() {
- mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
- cd "$pkgname-$pkgver"
- # generate symbol tables required for lex and yacc
- # this requires version pinning towards python-ply!
- PYTHONPATH="src:${PYTHONPATH}" \
- python -m calmjs.parse.parsers.optimize
-}
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- export PYTHONPATH="build:${PYTHONPATH}"
- PYTHONDONTWRITEBYTECODE=1 pytest -v
-}
-
-package() {
- cd "$pkgname-$pkgver"
- export PYTHONHASHSEED=0
- python setup.py install --skip-build \
- --optimize=1 \
- --root="${pkgdir}"
- install -vDm 644 {CHANGES,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
Copied: python-calmjs.parse/repos/community-staging-any/PKGBUILD (from rev 751066, python-calmjs.parse/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 15:17:42 UTC (rev 751067)
@@ -0,0 +1,46 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=calmjs.parse
+pkgname=python-calmjs.parse
+pkgver=1.2.5
+pkgrel=5
+pkgdesc="Various parsers for ECMA standards"
+arch=('any')
+url="https://github.com/calmjs/calmjs.parse"
+license=('MIT')
+depends=('python-ply=3.11')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.zip")
+sha512sums=('3614c1f495fa1ca746a8dd0813629da14115f4ef401176e389515239700849770b7c408d2ebdf55c8286dbde0b8f1b711f7ec4e4f3858f0477b39455a50bbe5a')
+b2sums=('9e3f81a99cf346b4ff61fa8f97bc3fa4c667d7dece38c47c512931508d5592b82143b0507e8e5190f2dd07f3596b6d146a90e59bad1a1c44d8f398a51ff0fb48')
+
+prepare() {
+ mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
+ # generate symbol tables required for lex and yacc
+ # this requires version pinning towards python-ply!
+ PYTHONPATH="src:${PYTHONPATH}" \
+ python -m calmjs.parse.parsers.optimize
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ export PYTHONPATH="build:${PYTHONPATH}"
+ PYTHONDONTWRITEBYTECODE=1 pytest -v
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ export PYTHONHASHSEED=0
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --root="${pkgdir}"
+ install -vDm 644 {CHANGES,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
More information about the arch-commits
mailing list