[arch-commits] Commit in python2-pylorcon/trunk (PKGBUILD)

Alexander Rødseth arodseth at nymeria.archlinux.org
Thu Jan 24 23:50:25 UTC 2013


    Date: Friday, January 25, 2013 @ 00:50:24
  Author: arodseth
Revision: 82840

Fix for FS#33510

Modified:
  python2-pylorcon/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-01-24 23:13:20 UTC (rev 82839)
+++ PKGBUILD	2013-01-24 23:50:24 UTC (rev 82840)
@@ -5,12 +5,13 @@
 
 pkgname=python2-pylorcon
 pkgver=2
-pkgrel=2
-pkgdesc="Python wrapper for the LORCON (Loss Of Radio CONnectivity) library"
+pkgrel=3
+_pyver=2.7
+pkgdesc='Wrapper for the LORCON (Loss Of Radio CONnectivity) library'
 arch=('any')
-url="https://github.com/tom5760/pylorcon2"
+url='https://github.com/tom5760/pylorcon2'
 license=('GPL2')
-depends=('python2>=2.7' 'lorcon')
+depends=("python2>=$pyver" 'lorcon')
 replaces=('pylorcon')
 source=("pylorcon2.zip::https://github.com/tom5760/pylorcon$pkgver/zipball/master")
 sha256sums=('194bf213b67823f657e22c025fce6664c66ac0cb8be7b4a497584c01fa6deaec')
@@ -24,7 +25,8 @@
 package() {
   cd "$srcdir/tom5760-pylorcon2-aeb74d1/"
 
-  install -Dm644 lorcon.py "$pkgdir/usr/lib/python2.7/site-packages/lorcon.py"
+  install -Dm644 lorcon.py \
+    "$pkgdir/usr/lib/python2.7/site-packages/PyLorcon2.py"
 }
 
 # vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list