mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 22:00:09 +02:00
bottle, bump version, drop python2.7, add python3.10, fixes CVE-2022-31799 (#7194)
This commit is contained in:
@@ -12,16 +12,15 @@ and other HTTP-related metadata.
|
||||
* Server: Built-in HTTP development server and support for paste, fapws3, \
|
||||
bjoern, gae, cherrypy or any other WSGI capable HTTP server."
|
||||
HOMEPAGE="https://bottlepy.org"
|
||||
COPYRIGHT="2009-2017 Marcel Hellkamp"
|
||||
COPYRIGHT="2012 Marcel Hellkamp"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.io/packages/source/b/bottle/bottle-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="a9d73ffcbc6a1345ca2d7949638db46349f5b2b77dac65d6494d45c23628da2c"
|
||||
CHECKSUM_SHA256="683de3aa399fb26e87b274dbcf70b1a651385d459131716387abdc3792e04167"
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
$portName = $portVersion
|
||||
cmd:bottle.py
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
@@ -37,7 +36,8 @@ for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
eval "PROVIDES_${pythonPackage}=\"\
|
||||
${portName}_$pythonPackage = $portVersion\
|
||||
${portName}_$pythonPackage = $portVersion\n\
|
||||
cmd:bottle.py\n\
|
||||
\"; \
|
||||
REQUIRES_$pythonPackage=\"\
|
||||
haiku\n\
|
||||
@@ -64,7 +64,8 @@ INSTALL()
|
||||
--root=/ --prefix=$prefix
|
||||
|
||||
packageEntries $pythonPackage \
|
||||
$prefix/lib/python*
|
||||
$prefix/lib/python* \
|
||||
$prefix/bin
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user