summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Arnott2016-09-19 13:34:16 +0000
committerColin Arnott2016-09-19 13:34:16 +0000
commit59137017d98bbfd45d7150e10041280c0f699b2a (patch)
treeee6f3bc5e525b86715bd755512b5cdfe8e9f0f9f
parent6e203bd9d688d8104a7d55e5bfd6f48945c69df9 (diff)
downloadaur-59137017d98bbfd45d7150e10041280c0f699b2a.tar.gz
bump to v0.4.0-1
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD10
2 files changed, 12 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 042c87a66f8..6c16cef0860 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
+# Generated by mksrcinfo v8
+# Mon Sep 19 13:34:07 UTC 2016
pkgbase = python-mechanicalsoup
pkgdesc = A Python library for automating interaction with websites
- pkgver = 0.3.1
- pkgrel = 5
+ pkgver = 0.4.0
+ pkgrel = 1
url = https://github.com/hickford/MechanicalSoup
arch = any
license = MIT
- makedepends = python-setuptools
- source = https://github.com/hickford/MechanicalSoup/archive/v0.3.1.tar.gz
- md5sums = fe5855a6a8b8e07691e29e25e4f0ef0d
+ source = https://github.com/hickford/MechanicalSoup/archive/v0.4.0.tar.gz
+ sha512sums = a07e9bda18944c9a5ff1bee4444b53324b99861fe3003c57e933c33bca29bfb6343fdea8a27c70c02d866e478e654016e2f246adb29c0a1536515c5dbf3f6d25
pkgname = python2-mechanicalsoup
depends = python2
diff --git a/PKGBUILD b/PKGBUILD
index 34b2f06fbd0..25107a0ff1c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,16 +4,16 @@
_pkgname="MechanicalSoup"
pkgbase=python-mechanicalsoup
pkgname=('python2-mechanicalsoup' 'python-mechanicalsoup')
-pkgver=0.3.1
-pkgrel=5
+pkgver=0.4.0
+pkgrel=1
pkgdesc="A Python library for automating interaction with websites"
arch=('any')
url="https://github.com/hickford/MechanicalSoup"
license=('MIT')
depends=( )
-makedepends=('python-setuptools')
+makedepends=( )
source=("https://github.com/hickford/MechanicalSoup/archive/v${pkgver}.tar.gz")
-md5sums=('fe5855a6a8b8e07691e29e25e4f0ef0d')
+sha512sums=('a07e9bda18944c9a5ff1bee4444b53324b99861fe3003c57e933c33bca29bfb6343fdea8a27c70c02d866e478e654016e2f246adb29c0a1536515c5dbf3f6d25')
build() {
cd $srcdir
@@ -30,12 +30,14 @@ check() {
package_python-mechanicalsoup() {
depends=('python' 'python-beautifulsoup4' 'python-requests' 'python-six')
+ makedepends=('python-setuptools')
cd $srcdir/${_pkgname}-$pkgver
python3 setup.py install --root "${pkgdir}" --optimize=1
}
package_python2-mechanicalsoup() {
depends=('python2' 'python2-beautifulsoup4' 'python2-requests' 'python2-six')
+ makedepends=('python2-setuptools')
cd $srcdir/${_pkgname}2-$pkgver
python2 setup.py install --root "${pkgdir}" --optimize=1
}