blob: 7e73f15eb4cd45d1d1ab669452eb179fea80d120 (
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: Dario Giovannetti <dev at dariogiovannetti dot net>
pkgname='wiki-monkey'
# Don't use "-" in pkgver
pkgver='5.5.3'
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=('f4622b68a0c367981bcbd701db884d15650b903b22bc851a74cf350532735f96')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1
}
|