summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 13a85e9296c0616edfbfb0ecbc22629230a68d2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: GI Jack <GI_Jack@hackermail.com>

pkgname=python-cherrypy-cors
_pkgname=cherrypy-cors
pkgver=1.6
pkgrel=1
pkgdesc="CORS support for CherryPy"
arch=('any')
url="https://pypi.org/project/cherrypy-cors/"
license=('MIT')
depends=('python' 'python-cherrypy' 'python-httpagentparser')
makedepends=('python-setuptools' 'python-setuptools-scm')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('f7fb75f6e617ce29c9ec3fdd8b1ff6ec64fec2c56371182525e22bcf4c180513')

package() {
  cd ${_pkgname}-${pkgver}
  python setup.py install -O1 --root="${pkgdir}" --prefix=/usr
}