summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGI_Jack2021-02-24 09:41:36 -0500
committerGI_Jack2021-02-24 09:41:36 -0500
commit04564ceb5eaa08c554030c10b2a270bbea111a7e (patch)
treee92fb8f7680cb02f86971ac70010c9e96638f53d /PKGBUILD
downloadaur-python-cherrypy-cors.tar.gz
initial commit: version 1.6
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..13a85e9296c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}