[arch-commits] Commit in python-commentjson/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 17:49:23 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:49:22
  Author: felixonmars
Revision: 752828

archrelease: copy trunk to community-staging-any

Added:
  python-commentjson/repos/community-staging-any/PKGBUILD
    (from rev 752826, python-commentjson/trunk/PKGBUILD)
Deleted:
  python-commentjson/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 17:49:19 UTC (rev 752827)
+++ PKGBUILD	2020-11-12 17:49:22 UTC (rev 752828)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-commentjson
-pkgver=0.9.0
-pkgrel=2
-pkgdesc="Add Python and JavaScript style comments in your JSON files"
-url="https://github.com/vaidik/commentjson"
-license=('MIT')
-arch=('any')
-depends=('python-lark-parser')
-makedepends=('python-setuptools')
-checkdepends=('python-tests')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/vaidik/commentjson/archive/v$pkgver.tar.gz")
-sha512sums=('cd3d28adecbc445ed3faed7847c65a23829f408cf8aa3fa85544a0f0cf9fa5544b8aff560725cf51921f249123daf9ce9953069e99ca64a312bb4bff652512fe')
-
-prepare() {
-  cd commentjson-$pkgver
-  sed -i 's/,<0/,<1/' setup.py
-}
-
-build() {
-  cd commentjson-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd commentjson-$pkgver
-  python setup.py test
-}
-
-package() {
-  cd commentjson-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE.rst -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-commentjson/repos/community-staging-any/PKGBUILD (from rev 752826, python-commentjson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 17:49:22 UTC (rev 752828)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-commentjson
+pkgver=0.9.0
+pkgrel=3
+pkgdesc="Add Python and JavaScript style comments in your JSON files"
+url="https://github.com/vaidik/commentjson"
+license=('MIT')
+arch=('any')
+depends=('python-lark-parser')
+makedepends=('python-setuptools')
+checkdepends=('python-tests')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/vaidik/commentjson/archive/v$pkgver.tar.gz")
+sha512sums=('cd3d28adecbc445ed3faed7847c65a23829f408cf8aa3fa85544a0f0cf9fa5544b8aff560725cf51921f249123daf9ce9953069e99ca64a312bb4bff652512fe')
+
+prepare() {
+  cd commentjson-$pkgver
+  sed -i 's/,<0/,<1/' setup.py
+}
+
+build() {
+  cd commentjson-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd commentjson-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd commentjson-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE.rst -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list