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

David Runge dvzrv at archlinux.org
Tue Jan 12 21:55:06 UTC 2021


    Date: Tuesday, January 12, 2021 @ 21:55:06
  Author: dvzrv
Revision: 820274

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-12 21:54:58 UTC (rev 820273)
+++ PKGBUILD	2021-01-12 21:55:06 UTC (rev 820274)
@@ -1,40 +0,0 @@
-# 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=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=('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}/"
-}

Copied: python-linux-procfs/repos/community-any/PKGBUILD (from rev 820273, python-linux-procfs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-12 21:55:06 UTC (rev 820274)
@@ -0,0 +1,34 @@
+# 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.3
+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=('fd6bdb75258bdf2ff53e865e520d9deba2167e592bc81dccd870e53fb514330c63e7e781c461273be3b12f1d0b47785bce45e24aeeffdc9996b0197c956b4823')
+b2sums=('7f993d5501d33b380728d7fd5af5416c650642624dd11b00e8e143b73b7e4f83e70a1148c36bfebf34f19de46a69021fb4366058649cc823ed3f2a9f44fe5f94')
+
+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 \
+    --root="${pkgdir}/"
+}



More information about the arch-commits mailing list