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

Alexander Rødseth arodseth at archlinux.org
Fri Apr 21 12:53:06 UTC 2017


    Date: Friday, April 21, 2017 @ 12:53:05
  Author: arodseth
Revision: 224115

archrelease: copy trunk to community-any

Added:
  python2-sensors/repos/community-any/PKGBUILD
    (from rev 224114, python2-sensors/trunk/PKGBUILD)
Deleted:
  python2-sensors/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   62 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 34 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-21 12:52:56 UTC (rev 224114)
+++ PKGBUILD	2017-04-21 12:53:05 UTC (rev 224115)
@@ -1,28 +0,0 @@
-# $Id$
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Nuno Araujo <nuno.araujo at russo79.com>
-
-pkgname=python2-sensors
-_pkgname=PySensors
-pkgver=0.0.3
-pkgrel=1
-pkgdesc='Python bindings to libsensors'
-arch=('any')
-url='http://pypi.python.org/pypi/PySensors/'
-license=('GPL')
-depends=('python2' 'lm_sensors')
-source=(http://pypi.python.org/packages/source/P/${_pkgname}/${_pkgname}-${pkgver}.tar.gz)
-md5sums=('ff15240b5918a9f5aa1bb7b2a75c7b07')
-
-build() {
-  cd "${srcdir}"/${_pkgname}-${pkgver}
-  sed -i 's/env python/env python2/' sensors/*.py
-  python2 setup.py build
-}
-
-package() {
-  cd "${srcdir}"/${_pkgname}-${pkgver}
-  python2 setup.py install -O1 --prefix='/usr' --root=${pkgdir}
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python2-sensors/repos/community-any/PKGBUILD (from rev 224114, python2-sensors/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-04-21 12:53:05 UTC (rev 224115)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Nuno Araujo <nuno.araujo at russo79.com>
+
+pkgname=python2-sensors
+_pkgname=PySensors
+pkgver=0.0.3
+pkgrel=2
+pkgdesc='Python bindings to libsensors'
+arch=('any')
+url='http://pypi.python.org/pypi/PySensors/'
+license=('GPL')
+depends=('python2' 'lm_sensors')
+source=(https://pypi.python.org/packages/source/P/$_pkgname/$_pkgname-$pkgver.tar.gz)
+sha256sums=('b735dada5318ce50f2d141d29b102e7a116a5934509583f86302d4b59399e961')
+
+prepare() {
+  sed -i 's/env python/env python2/' "$srcdir/$_pkgname-$pkgver/sensors/"*.py
+}
+
+build() {
+  cd "$srcdir/$_pkgname-$pkgver"
+
+  python2 setup.py build
+}
+
+package() {
+  cd "$srcdir/$_pkgname-$pkgver"
+
+  python2 setup.py install -O1 --prefix='/usr' --root="$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list