summaryrefslogtreecommitdiff
path: root/pcr/python-pywikibot/PKGBUILD
blob: 5331d808952ed4a62cf51b62d190a6126dd4d569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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')