[arch-commits] Commit in python-calmjs.parse/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Fri Jan 24 16:57:14 UTC 2020
Date: Friday, January 24, 2020 @ 16:57:12
Author: dvzrv
Revision: 555343
upgpkg: python-calmjs.parse 1.2.2-1: Upgrading to 1.2.2. Removing separately downloaded LICENSE from source array (now included in pypi sdist).
Modified:
python-calmjs.parse/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-24 16:49:08 UTC (rev 555342)
+++ PKGBUILD 2020-01-24 16:57:12 UTC (rev 555343)
@@ -2,7 +2,7 @@
_name=calmjs.parse
pkgname=python-calmjs.parse
-pkgver=1.2.1
+pkgver=1.2.2
pkgrel=1
pkgdesc="Various parsers for ECMA standards"
arch=('any')
@@ -11,12 +11,8 @@
depends=('python-ply')
makedepends=('python-setuptools')
checkdepends=('python-pytest')
-# LICENSE missing in pypi sdist:
-# https://github.com/calmjs/calmjs.parse/issues/27
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.zip"
- "https://raw.githubusercontent.com/calmjs/calmjs.parse/d4b19c417b35dcb2c184aca0428e26ddabf4f7b2/LICENSE")
-sha512sums=('353861a0d08e0eb4de768556730c83def9af246a2ba31842a77599899bd4138073aac32317c2e1fdb623121349e4600e28b64ca0000959089888b133a460ef06'
- '6009d8a9c57655f9c678b8614a284cd1f3a63a67c557aaed4d362ac4022974a4019ddf7bbf92e8fea8adf1b20374cd2916f00319fc0b895ca27e11d20276cfd7')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.zip")
+sha512sums=('9c709aeb17520872910401148f0321c8847681a9fa9fa4661fdc885c319ea77a9f510647c0eede9c4924b6adc38bc3d498fe13b6f3c0e43dfb31a6ce53f3383c')
prepare() {
mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
@@ -40,5 +36,5 @@
--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}"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
More information about the arch-commits
mailing list