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

Antonio Rojas arojas at archlinux.org
Fri Jan 31 09:10:51 UTC 2020


    Date: Friday, January 31, 2020 @ 09:10:51
  Author: arojas
Revision: 560578

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-31 09:10:31 UTC (rev 560577)
+++ PKGBUILD	2020-01-31 09:10:51 UTC (rev 560578)
@@ -1,26 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=python-json5
-pkgver=0.8.5
-pkgrel=4
-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=('b6fccabcdc609899b0eb69a1c8d790b722c054b4aae0fc4b95cc63fd9a72ceb6')
-
-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/{README.md,tests} # Don't ship tests
-}

Copied: python-json5/repos/community-any/PKGBUILD (from rev 560577, python-json5/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-31 09:10:51 UTC (rev 560578)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=python-json5
+pkgver=0.9.0
+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=('170a0cc78ebe35475397ec9d4f29beb6a304de581774506cc0562b557618e7c7')
+
+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