[arch-commits] Commit in python-linux-procfs/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 15:15:41 UTC 2019
Date: Friday, October 25, 2019 @ 15:15:40
Author: felixonmars
Revision: 518947
archrelease: copy trunk to community-staging-any
Added:
python-linux-procfs/repos/community-staging-any/
python-linux-procfs/repos/community-staging-any/PKGBUILD
(from rev 518944, python-linux-procfs/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-linux-procfs/repos/community-staging-any/PKGBUILD (from rev 518944, python-linux-procfs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 15:15:40 UTC (rev 518947)
@@ -0,0 +1,34 @@
+# 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=2
+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}/"
+}
More information about the arch-commits
mailing list