[arch-commits] Commit in python-json5/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Jun 29 08:31:18 UTC 2019


    Date: Saturday, June 29, 2019 @ 08:31:17
  Author: arojas
Revision: 485723

archrelease: copy trunk to community-any

Added:
  python-json5/repos/community-any/PKGBUILD
    (from rev 485722, python-json5/trunk/PKGBUILD)
Deleted:
  python-json5/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   51 ++++++++++++++++++++++++++-------------------------
 1 file changed, 26 insertions(+), 25 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-29 08:30:18 UTC (rev 485722)
+++ PKGBUILD	2019-06-29 08:31:17 UTC (rev 485723)
@@ -1,25 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=python-json5
-pkgver=0.8.4
-pkgrel=1
-pkgdesc="A Python implementation of the JSON5 data format"
-arch=(any)
-url="https://pypi.org/project/json5/"
-license=(MPL GPL LGPL)
-depends=(python)
-makedepends=(python-setuptools)
-source=($pkgname-$pkgver::"https://github.com/dpranke/pyjson5/archive/v$pkgver.tar.gz")
-sha256sums=('6dde0c13f8db8c1c6271b39adddceeada684926b5720a78ca744e25e30bd223f')
-
-build() {
-  cd pyjson5-$pkgver
-  
-  python setup.py build
-}
-
-package() {
-  cd pyjson5-$pkgver
-
-  python setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1
-}

Copied: python-json5/repos/community-any/PKGBUILD (from rev 485722, python-json5/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-29 08:31:17 UTC (rev 485723)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=python-json5
+pkgver=0.8.4
+pkgrel=2
+pkgdesc="A Python implementation of the JSON5 data format"
+arch=(any)
+url="https://pypi.org/project/json5/"
+license=(MPL GPL LGPL)
+depends=(python)
+makedepends=(python-setuptools)
+source=($pkgname-$pkgver::"https://github.com/dpranke/pyjson5/archive/v$pkgver.tar.gz")
+sha256sums=('6dde0c13f8db8c1c6271b39adddceeada684926b5720a78ca744e25e30bd223f')
+
+build() {
+  cd pyjson5-$pkgver
+  
+  python setup.py build
+}
+
+package() {
+  cd pyjson5-$pkgver
+
+  python setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1
+  rm -r "$pkgdir"/usr/lib/*/site-packages/tests/ # Don't ship tests
+}



More information about the arch-commits mailing list