summaryrefslogtreecommitdiff
path: root/pcr/python-pywikibot
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/python-pywikibot')
-rw-r--r--pcr/python-pywikibot/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/pcr/python-pywikibot/PKGBUILD b/pcr/python-pywikibot/PKGBUILD
new file mode 100644
index 000000000..5331d8089
--- /dev/null
+++ b/pcr/python-pywikibot/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer (AUR): Simon Legner <Simon.Legner@gmail.com>
+# parabola changes and rationale:
+# no changes.
+
+pkgname=python-pywikibot
+_module='pywikibot'
+pkgver=5.2.0
+pkgrel=1
+pkgdesc="Python MediaWiki Bot Framework"
+url="https://www.mediawiki.org/wiki/Pywikibot"
+depends=('python' 'python-requests')
+makedepends=('python-setuptools')
+license=('MIT')
+arch=('any')
+source=("https://files.pythonhosted.org/packages/source/p/pywikibot/pywikibot-$pkgver.tar.gz")
+
+build() {
+ cd "$srcdir/$_module-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$_module-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+sha256sums=('549b7bd45e9673201f48c881a734f62cc2912700d14ba7aaf7ea440abef447ac')