[arch-commits] Commit in python-linux-procfs/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Mon Jan 10 20:46:47 UTC 2022


    Date: Monday, January 10, 2022 @ 20:46:46
  Author: dvzrv
Revision: 1099990

upgpkg: python-linux-procfs 0.7.0-1: Upgrade to 0.7.0.

Simplify installation in package() to comply with python package guidelines.

Modified:
  python-linux-procfs/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-10 20:46:17 UTC (rev 1099989)
+++ PKGBUILD	2022-01-10 20:46:46 UTC (rev 1099990)
@@ -3,17 +3,17 @@
 # Contributor: Ninez <triplesquarednine at gmail.com>
 
 pkgname=python-linux-procfs
-pkgver=0.6.3
-pkgrel=3
+pkgver=0.7.0
+pkgrel=1
 pkgdesc="Linux /proc abstraction classes for python"
-arch=('any')
+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')
+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')
+sha512sums=('b0681ddeddbf415acfe8e53f8067d7a87d4ae515609c47fb7943a651acdf07621a2a0b9ddc378ffede8cdb02e6863c439aec6ab8a5b29d82acd0f3073fc95fc4')
+b2sums=('c4e8b9776deed4a53425035873f33070b28e2e76b56dacf3311f8069dd7c1adf5999221934bef7e62702444825d7c25a2964cf716f47b953b45bc27241036bd8')
 
 build() {
   cd "${pkgname}-${pkgver}"
@@ -27,8 +27,6 @@
 }
 
 package() {
-  cd "${pkgname[0]}-${pkgver}"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --root="${pkgdir}/"
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --optimize=1 --root="${pkgdir}/"
 }



More information about the arch-commits mailing list