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

Alexander Rødseth arodseth at archlinux.org
Sat Mar 18 09:45:50 UTC 2017


    Date: Saturday, March 18, 2017 @ 09:45:49
  Author: arodseth
Revision: 217070

upgpkg: python-mechanize 0.2.5-1

Modified:
  python-mechanize/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-18 09:00:50 UTC (rev 217069)
+++ PKGBUILD	2017-03-18 09:45:49 UTC (rev 217070)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer: Chris Brannon <cmbrannon79 at gmail.com>
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
 # Contributor: Douglas Soares de Andrade
 # Contributor: Roberto Alsina <ralsina at kde.org>
 
@@ -6,7 +7,7 @@
 pkgbase=python-mechanize
 pkgname=python2-mechanize
 pkgver=0.2.5
-pkgrel=4
+pkgrel=1
 pkgdesc='Stateful programmatic web browsing in Python'
 arch=('any')
 url="http://wwwsearch.sourceforge.net/mechanize/"
@@ -13,11 +14,14 @@
 license=('BSD' 'ZPL')
 depends=('python2')
 makedepends=('python2-distribute')
-source=("http://wwwsearch.sourceforge.net/mechanize/src/mechanize-$pkgver.tar.gz")
-sha256sums=('2e67b20d107b30c00ad814891a095048c35d9d8cb9541801cebe85684cc84766')
+source=("https://github.com/jjlee/mechanize/archive/$pkgver.tar.gz")
+sha256sums=('8f16a5f1832a0497d427bdb6a169e02b3cedc299b6331cba844c21cefc074929')
 
 package_python2-mechanize() {
   cd "mechanize-$pkgver"
+
   python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/COPYING.txt"
+  install -Dm644 COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/COPYING"
 }
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list