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

Alexander Rødseth arodseth at archlinux.org
Fri Jul 25 12:31:21 UTC 2014


    Date: Friday, July 25, 2014 @ 14:31:20
  Author: arodseth
Revision: 116333

upgpkg: python-mechanize 0.2.5-4

Modified:
  python-mechanize/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-07-25 12:21:41 UTC (rev 116332)
+++ PKGBUILD	2014-07-25 12:31:20 UTC (rev 116333)
@@ -6,20 +6,18 @@
 pkgbase=python-mechanize
 pkgname=python2-mechanize
 pkgver=0.2.5
-pkgrel=3
-pkgdesc="Stateful programmatic web browsing in Python"
+pkgrel=4
+pkgdesc='Stateful programmatic web browsing in Python'
 arch=('any')
 url="http://wwwsearch.sourceforge.net/mechanize/"
 license=('BSD' 'ZPL')
 depends=('python2')
 makedepends=('python2-distribute')
-conflicts=('python-mechanize<=0.2.5-2')
-replaces=('python-mechanize<=0.2.5-2')
-source=(http://wwwsearch.sourceforge.net/mechanize/src/mechanize-$pkgver.tar.gz)
-md5sums=('32657f139fc2fb75bcf193b63b8c60b2')
+source=("http://wwwsearch.sourceforge.net/mechanize/src/mechanize-$pkgver.tar.gz")
+sha256sums=('2e67b20d107b30c00ad814891a095048c35d9d8cb9541801cebe85684cc84766')
 
 package_python2-mechanize() {
-    cd "$srcdir/mechanize-$pkgver"
-    python2 setup.py install --root="$pkgdir" --optimize=1
-    install -D -m644 "$srcdir/mechanize-$pkgver/COPYING.txt" "$pkgdir/usr/share/licenses/$pkgname/COPYING.txt"
+  cd "mechanize-$pkgver"
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/COPYING.txt"
 }




More information about the arch-commits mailing list