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

David Runge dvzrv at archlinux.org
Tue Jun 23 09:33:44 UTC 2020


    Date: Tuesday, June 23, 2020 @ 09:33:43
  Author: dvzrv
Revision: 650958

archrelease: copy trunk to community-any

Added:
  python-linux-procfs/repos/community-any/PKGBUILD
    (from rev 650957, python-linux-procfs/trunk/PKGBUILD)
Deleted:
  python-linux-procfs/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   74 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 40 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-23 09:33:23 UTC (rev 650957)
+++ PKGBUILD	2020-06-23 09:33:43 UTC (rev 650958)
@@ -1,34 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Joakim Hernberg <jhernberg at alchemy.lu>
-# Contributor: Ninez <triplesquarednine at gmail.com>
-
-pkgname=python-linux-procfs
-pkgver=0.6.1
-pkgrel=3
-pkgdesc="Linux /proc abstraction classes for python"
-arch=('any')
-url="https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git/"
-license=('GPL2')
-depends=('python-six')
-makedepends=('python-setuptools')
-source=("https://git.kernel.org/pub/scm/libs/python/${pkgname}/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('d4dbfcbd76013c8f3008019156aa48d6d1ad082b51ee4f8b3d60f32ba9fb6f9d1f840819f725a6bcf525ce5b3742c3e8af32b2ad06bcf9af7329315685868b50')
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py build
-}
-
-check() {
-  cd "${pkgname}-${pkgver}"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  python bitmasklist_test.py
-}
-
-package() {
-  cd "${pkgname[0]}-${pkgver}"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}/"
-}

Copied: python-linux-procfs/repos/community-any/PKGBUILD (from rev 650957, python-linux-procfs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-06-23 09:33:43 UTC (rev 650958)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Joakim Hernberg <jhernberg at alchemy.lu>
+# Contributor: Ninez <triplesquarednine at gmail.com>
+
+pkgname=python-linux-procfs
+pkgver=0.6.2
+pkgrel=1
+pkgdesc="Linux /proc abstraction classes for python"
+arch=('any')
+url="https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git/"
+license=('GPL2')
+depends=('python-six')
+makedepends=('python-setuptools')
+source=("https://git.kernel.org/pub/scm/libs/python/${pkgname}/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('8af4ce0fcee8e2a9df234f8a73b8c33716bc378d0ae4f4cd991bd453f420f64024b3c085f2c63b9e6447988e4175c6e4b252567bb5576c7232f77c20301072b6')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # fix broken import (notified upstream about issue on mailing list)
+  sed -e 's/utilist/.utilist/g' -i procfs/procfs.py
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  export PYTHONPATH="build/:${PYTHONPATH}"
+  python bitmasklist_test.py
+}
+
+package() {
+  cd "${pkgname[0]}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}/"
+}



More information about the arch-commits mailing list