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

Sven-Hendrik Haase svenstaro at archlinux.org
Mon May 27 19:12:38 UTC 2019


    Date: Monday, May 27, 2019 @ 19:12:38
  Author: svenstaro
Revision: 471845

archrelease: copy trunk to community-any

Added:
  dstat/repos/community-any/PKGBUILD
    (from rev 471844, dstat/trunk/PKGBUILD)
Deleted:
  dstat/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   46 +++++++++++++++++++++++++---------------------
 1 file changed, 25 insertions(+), 21 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-27 19:12:32 UTC (rev 471844)
+++ PKGBUILD	2019-05-27 19:12:38 UTC (rev 471845)
@@ -1,21 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Schnouki <thomas.jost at gmail.com>
-# Contributor: devon <admin at patched.biz>
-
-pkgname=dstat
-pkgver=0.7.4
-pkgrel=1
-pkgdesc="A versatile resource statistics tool"
-arch=('any')
-url="http://dag.wieers.com/home-made/dstat/"
-license=('GPL')
-depends=('python')
-source=(https://github.com/dagwieers/dstat/archive/v${pkgver}.tar.gz)
-md5sums=('9d6a11d1f8cff1e4bf953958c824c798')
-
-package() {
-  cd $pkgname-$pkgver
-
-  make DESTDIR=$pkgdir install
-  make DESTDIR=$pkgdir docs
-}

Copied: dstat/repos/community-any/PKGBUILD (from rev 471844, dstat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-27 19:12:38 UTC (rev 471845)
@@ -0,0 +1,25 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Schnouki <thomas.jost at gmail.com>
+# Contributor: devon <admin at patched.biz>
+
+pkgname=dstat
+pkgver=0.7.4
+pkgrel=2
+pkgdesc="A versatile resource statistics tool"
+arch=('any')
+url="http://dag.wieers.com/home-made/dstat/"
+license=('GPL')
+depends=('python')
+source=(https://github.com/dagwieers/dstat/archive/v${pkgver}.tar.gz)
+sha512sums=('d100223887ebd83d0fd1259436f39419a85df9002556abcfc8e4195aa63be73d85707dcd5c4fb56a979b29131485dce6e97c177fbfca08dc50bd0f92b15cc6f5')
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" docs
+
+  # Get rid of deprecation warning.
+  sed -i "s/import collections/import collections.abc/g" -i "$pkgdir"/usr/bin/dstat
+  sed -i "s/collections.Sequence/collections.abc.Sequence/g" -i "$pkgdir"/usr/bin/dstat
+}



More information about the arch-commits mailing list