From ac20c4fdfef38b4c75f1cd157bfff172eacf824b Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Tue, 13 Sep 2022 12:10:49 +0200 Subject: [PATCH] bottle, bump version, drop python2.7, add python3.10, fixes CVE-2022-31799 (#7194) --- .../{bottle-0.12.19.recipe => bottle-0.12.23.recipe} | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) rename dev-python/bottle/{bottle-0.12.19.recipe => bottle-0.12.23.recipe} (89%) diff --git a/dev-python/bottle/bottle-0.12.19.recipe b/dev-python/bottle/bottle-0.12.23.recipe similarity index 89% rename from dev-python/bottle/bottle-0.12.19.recipe rename to dev-python/bottle/bottle-0.12.23.recipe index f217974ba..822e7eca0 100644 --- a/dev-python/bottle/bottle-0.12.19.recipe +++ b/dev-python/bottle/bottle-0.12.23.recipe @@ -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 }