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

Jelle van der Waa jelle at archlinux.org
Sun May 28 11:57:15 UTC 2017


    Date: Sunday, May 28, 2017 @ 11:57:15
  Author: jelle
Revision: 230581

upgpkg: python-mechanize 1:0.3.3-1

Modified:
  python-mechanize/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-28 11:45:02 UTC (rev 230580)
+++ PKGBUILD	2017-05-28 11:57:15 UTC (rev 230581)
@@ -6,17 +6,17 @@
 
 pkgbase=python-mechanize
 pkgname=python2-mechanize
-pkgver=0.3.1
+pkgver=0.3.3
 pkgrel=1
 epoch=1
 pkgdesc='Stateful programmatic web browsing in Python'
 arch=('any')
 url="https://github.com/python-mechanize/mechanize"
-license=('BSD' 'ZPL')
-depends=('python2')
+license=('BSD')
+depends=('python2' 'python2-html5lib')
 makedepends=('python2-distribute')
 source=("https://github.com/python-mechanize/mechanize/archive/v$pkgver.tar.gz")
-sha256sums=('0f14880646fc96da91440712546fd136896b151228366cdc0604534e0687036c')
+sha256sums=('cf51c7c61ba11ed51490412d3f19bb2b0d8ab3ffce76a4c3250f4d97c4902f05')
 
 package_python2-mechanize() {
   cd "mechanize-$pkgver"
@@ -25,4 +25,9 @@
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
+check() {
+  cd "mechanize-$pkgver"
+  python2 run_tests.py
+}
+
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list