From 7845c150f6f5d3b6543407e5703e4b6b55b52caf Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Fri, 18 Dec 2020 04:09:13 +0100 Subject: pcr: Add python-pywikibot from Aur Signed-off-by: Denis 'GNUtoo' Carikli --- pcr/python-pywikibot/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pcr/python-pywikibot/PKGBUILD (limited to 'pcr/python-pywikibot') 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 +# 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') -- cgit v1.2.3