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

Jelle van der Waa jelle at archlinux.org
Tue Dec 17 14:04:11 UTC 2019


    Date: Tuesday, December 17, 2019 @ 14:04:10
  Author: jelle
Revision: 537925

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   75 ++++++++++++++++++++++---------------------------------------
 1 file changed, 28 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-17 14:04:00 UTC (rev 537924)
+++ PKGBUILD	2019-12-17 14:04:10 UTC (rev 537925)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-harparser
-pkgname=('python-harparser' 'python2-harparser')
-pkgver=0.4
-pkgrel=4
-pkgdesc="Python HAR Parser Utility"
-arch=('any')
-license=('MIT')
-url="https://github.com/JustusW/harparser"
-makedepends=('python' 'python2')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/JustusW/harparser/archive/$pkgver.tar.gz")
-sha512sums=('1aef9ae75b9446d487310a2e4ae4ee8a2aff10c022f68c316307335a5df4346defd73e0d12d0bd4d1a08eeabc90ade9f8d043ee981467bb4fe633184e9f815d9')
-
-prepare() {
-  cp -a harparser-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/harparser-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/harparser-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/harparser-$pkgver
-  python -m unittest test.log
-
-  cd "$srcdir"/harparser-$pkgver-py2
-  python2 -m unittest test.log
-}
-
-package_python-harparser() {
-  depends=('python')
-
-  cd harparser-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-harparser() {
-  depends=('python2')
-
-  cd harparser-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-harparser/repos/community-any/PKGBUILD (from rev 537924, python-harparser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-17 14:04:10 UTC (rev 537925)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-harparser
+pkgver=0.4
+pkgrel=5
+pkgdesc="Python HAR Parser Utility"
+arch=('any')
+license=('MIT')
+url="https://github.com/JustusW/harparser"
+depends=('python')
+makedepends=('python')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/JustusW/harparser/archive/$pkgver.tar.gz")
+sha512sums=('1aef9ae75b9446d487310a2e4ae4ee8a2aff10c022f68c316307335a5df4346defd73e0d12d0bd4d1a08eeabc90ade9f8d043ee981467bb4fe633184e9f815d9')
+
+build() {
+  cd "$srcdir"/harparser-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/harparser-$pkgver
+  python -m unittest test.log
+}
+
+package_python-harparser() {
+  cd harparser-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list