[arch-commits] Commit in python-iwscan/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Sun Oct 14 20:19:27 UTC 2012
Date: Sunday, October 14, 2012 @ 16:19:27
Author: eric
Revision: 168714
upgpkg: python-iwscan 20090609-4
Rename package, Add package function
Modified:
python-iwscan/trunk/PKGBUILD (contents, properties)
----------+
PKGBUILD | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-10-14 19:47:10 UTC (rev 168713)
+++ PKGBUILD 2012-10-14 20:19:27 UTC (rev 168714)
@@ -1,18 +1,26 @@
+# $Id$
# Maintainer: Daniel Isenmann <daniel at archlinux.org>
-pkgname=python-iwscan
+pkgbase=python-iwscan
+pkgname=python2-iwscan
pkgver=20090609
-pkgrel=3
+pkgrel=4
pkgdesc="A Python interface to iwlist, using the iwlib library"
arch=('i686' 'x86_64')
url="http://projects.otaku42.de/browser/python-iwscan"
license=('LGPL')
depends=('python2' 'wireless_tools')
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-20090609.tar.gz)
+conflicts=('python-iwscan<=20090609-3')
+replaces=('python-iwscan<=20090609-3')
+source=(ftp://ftp.archlinux.org/other/${pkgbase}/${pkgbase}-20090609.tar.gz)
md5sums=('30fbe8ad3b07e67c1c35db2de16077d8')
build() {
- cd ${srcdir}/${pkgname}
+ cd "${srcdir}/${pkgbase}"
python2 setup.py build
- python2 setup.py install --root=${pkgdir}
}
+
+package_python2-iwscan() {
+ cd "${srcdir}/${pkgbase}"
+ python2 setup.py install --root="${pkgdir}"
+}
Property changes on: python-iwscan/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list