summaryrefslogtreecommitdiff
path: root/pcr/python-pywikibot
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-12-18 04:09:13 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-12-18 04:10:02 +0100
commit7845c150f6f5d3b6543407e5703e4b6b55b52caf (patch)
tree6430590e0510b5076881b84c7d1fb826ce46a4c5 /pcr/python-pywikibot
parentd94bb564b00986448c29e6de518206804d1fe05a (diff)
downloadabslibre-7845c150f6f5d3b6543407e5703e4b6b55b52caf.tar.gz
abslibre-7845c150f6f5d3b6543407e5703e4b6b55b52caf.tar.bz2
abslibre-7845c150f6f5d3b6543407e5703e4b6b55b52caf.zip
pcr: Add python-pywikibot from Aur
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
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')