summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD18
3 files changed, 12 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 84bdb9377b7..ab2532f40de 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,13 @@
pkgbase = python-mechanicalsoup
pkgdesc = A Python library for automating interaction with websites
- pkgver = 0.12.0
+ pkgver = 1.1.0
pkgrel = 1
url = https://github.com/hickford/MechanicalSoup
arch = any
license = MIT
- makedepends = python2-setuptools
makedepends = python-setuptools
- source = https://github.com/hickford/MechanicalSoup/archive/v0.12.0.tar.gz
- sha512sums = dcbbe50d59b1314ea6c8ee17a5fa9b2dafc50b2a73f015de191a08d6c1ea367be329d9e9822e4da97f38fb7a5907d0a7ee5e24b43421bd14dae9950d6fed9cbd
+ source = https://github.com/hickford/MechanicalSoup/archive/v1.1.0.tar.gz
+ sha512sums = 57f4120f9d6e0e5435d3d20330678fa9dc80215bd8a8009e7873c48b208b28ebe930baacb420f29a7caddd8df7d8e87c6452ba2b26514c6b5d386a1f1df46ae8
pkgname = python-mechanicalsoup
depends = python
@@ -16,11 +15,3 @@ pkgname = python-mechanicalsoup
depends = python-requests
depends = python-six
depends = python-lxml
-
-pkgname = python2-mechanicalsoup
- depends = python2
- depends = python2-beautifulsoup4
- depends = python2-requests
- depends = python2-six
- depends = python2-lxml
-
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..f71c635dafd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!PKGBUILD
+!.SRCINFO
diff --git a/PKGBUILD b/PKGBUILD
index d58f46f8362..c26504f8325 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,14 @@
# Contributer: Jonathan Arnold <jdarnold@archlinux.us>
# Contributor: Zhang Hai <dreaming.in.code.zh@gmail.com>
-pkgbase=python-mechanicalsoup
-pkgname=(python-mechanicalsoup python2-mechanicalsoup)
-pkgver=0.12.0
+pkgname=python-mechanicalsoup
+pkgver=1.1.0
pkgrel=1
pkgdesc="A Python library for automating interaction with websites"
arch=('any')
url="https://github.com/hickford/MechanicalSoup"
license=('MIT')
-makedepends=('python2-setuptools' 'python-setuptools')
+makedepends=('python-setuptools')
source=("https://github.com/hickford/MechanicalSoup/archive/v${pkgver}.tar.gz")
check() {
@@ -18,18 +17,11 @@ check() {
python3 setup.py check
}
-package_python2-mechanicalsoup() {
- depends=('python2' 'python2-beautifulsoup4' 'python2-requests' 'python2-six' 'python2-lxml')
- cd $srcdir/MechanicalSoup-$pkgver
-
- python2 setup.py install --root="$pkgdir/" --optimize=1
-}
-
-package_python-mechanicalsoup() {
+package() {
depends=('python' 'python-beautifulsoup4' 'python-requests' 'python-six' 'python-lxml')
cd $srcdir/MechanicalSoup-$pkgver
python setup.py install --root="$pkgdir/" --optimize=1
}
-sha512sums=('dcbbe50d59b1314ea6c8ee17a5fa9b2dafc50b2a73f015de191a08d6c1ea367be329d9e9822e4da97f38fb7a5907d0a7ee5e24b43421bd14dae9950d6fed9cbd')
+sha512sums=('57f4120f9d6e0e5435d3d20330678fa9dc80215bd8a8009e7873c48b208b28ebe930baacb420f29a7caddd8df7d8e87c6452ba2b26514c6b5d386a1f1df46ae8')