# Maintainer: Dario Giovannetti pkgname='wiki-monkey' # Don't use "-" in pkgver pkgver='5.5.0' pkgrel=1 pkgdesc="Wiki Monkey - MediaWiki (ArchWiki-optimized) bot and editor-assistant user script (server-enabled version)." arch=('any') url="https://github.com/kynikos/wiki-monkey/wiki" license=('GPL3') # Keep in sync with setup.py's install_requires option and requirements.txt depends=('python-configfile' 'python-pyxdg' 'python-flask-restinpeace' # implies 'python-flask-marshmallow', 'python-apispec' and 'python-apispec-webframeworks' 'python-flask-cors' 'python-flask-migrate' # implies 'python-flask-sqlalchemy' 'python-marshmallow-sqlalchemy') optdepends=("gunicorn: serve the application with a proper WSGI server instead of Flask's local development server" "python-pyopenssl: make Flask's local development server use ad-hoc SSL certificates instead of a permanent one") makedepends=('python-setuptools') source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz") sha256sums=('65434a6f3a15264b4fe705acac39549a0c39df1adbd569ad3092f2906518827f') package() { cd "${srcdir}/${pkgname}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 }