summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGI_Jack2021-02-24 09:41:36 -0500
committerGI_Jack2021-02-24 09:41:36 -0500
commit04564ceb5eaa08c554030c10b2a270bbea111a7e (patch)
treee92fb8f7680cb02f86971ac70010c9e96638f53d
downloadaur-04564ceb5eaa08c554030c10b2a270bbea111a7e.tar.gz
initial commit: version 1.6
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD19
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d846094094d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo(replacement shim) v8
+# Wed Feb 24 09:41:27 AM EST 2021
+pkgbase = python-cherrypy-cors
+ pkgdesc = CORS support for CherryPy
+ pkgver = 1.6
+ pkgrel = 1
+ url = https://pypi.org/project/cherrypy-cors/
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ makedepends = python-setuptools-scm
+ depends = python
+ depends = python-cherrypy
+ depends = python-httpagentparser
+ source = https://files.pythonhosted.org/packages/source/c/cherrypy-cors/cherrypy-cors-1.6.tar.gz
+ sha256sums = f7fb75f6e617ce29c9ec3fdd8b1ff6ec64fec2c56371182525e22bcf4c180513
+
+pkgname = python-cherrypy-cors
+
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
+}