[arch-commits] Commit in python-calmjs.parse/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue Mar 17 10:22:11 UTC 2020
Date: Tuesday, March 17, 2020 @ 10:22:10
Author: dvzrv
Revision: 600139
archrelease: copy trunk to community-any
Added:
python-calmjs.parse/repos/community-any/PKGBUILD
(from rev 600138, python-calmjs.parse/trunk/PKGBUILD)
Deleted:
python-calmjs.parse/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-17 10:22:01 UTC (rev 600138)
+++ PKGBUILD 2020-03-17 10:22:10 UTC (rev 600139)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=calmjs.parse
-pkgname=python-calmjs.parse
-pkgver=1.2.2
-pkgrel=1
-pkgdesc="Various parsers for ECMA standards"
-arch=('any')
-url="https://github.com/calmjs/calmjs.parse"
-license=('MIT')
-depends=('python-ply')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.zip")
-sha512sums=('9c709aeb17520872910401148f0321c8847681a9fa9fa4661fdc885c319ea77a9f510647c0eede9c4924b6adc38bc3d498fe13b6f3c0e43dfb31a6ce53f3383c')
-
-prepare() {
- mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- export PYTHONPATH="build:${PYTHONPATH}"
- pytest -v
-}
-
-package() {
- cd "$pkgname-$pkgver"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --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-any/PKGBUILD (from rev 600138, python-calmjs.parse/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-17 10:22:10 UTC (rev 600139)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=calmjs.parse
+pkgname=python-calmjs.parse
+pkgver=1.2.3
+pkgrel=1
+pkgdesc="Various parsers for ECMA standards"
+arch=('any')
+url="https://github.com/calmjs/calmjs.parse"
+license=('MIT')
+depends=('python-ply')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.zip")
+sha512sums=('b4de67e3b57bec4c4bddaa901d29dd127a79a60a235f0e8b7fb56295b68c803c647182e617d363aa17e4d40c7d2bfb60a29723fc41a5f06d561aafbf30c792e3')
+
+prepare() {
+ mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ export PYTHONPATH="build:${PYTHONPATH}"
+ pytest -v
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --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