mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
watchdog, drop python3.9 (#12668)
This commit is contained in:
@@ -4,7 +4,7 @@ HOMEPAGE="https://pypi.python.org/pypi/watchdog"
|
|||||||
COPYRIGHT="2011 Yesudeep Mangalapilly
|
COPYRIGHT="2011 Yesudeep Mangalapilly
|
||||||
2012 Google, Inc."
|
2012 Google, Inc."
|
||||||
LICENSE="Apache v2"
|
LICENSE="Apache v2"
|
||||||
REVISION="1"
|
REVISION="2"
|
||||||
SOURCE_URI="https://pypi.python.org/packages/source/w/watchdog/watchdog-$portVersion.tar.gz"
|
SOURCE_URI="https://pypi.python.org/packages/source/w/watchdog/watchdog-$portVersion.tar.gz"
|
||||||
CHECKSUM_SHA256="4d98a320595da7a7c5a18fc48cb633c2e73cda78f93cac2ef42d42bf609a33f9"
|
CHECKSUM_SHA256="4d98a320595da7a7c5a18fc48cb633c2e73cda78f93cac2ef42d42bf609a33f9"
|
||||||
|
|
||||||
@@ -24,14 +24,12 @@ BUILD_PREREQUIRES="
|
|||||||
cmd:gcc
|
cmd:gcc
|
||||||
"
|
"
|
||||||
|
|
||||||
PYTHON_PACKAGES=(python39 python310)
|
PYTHON_VERSIONS=(3.10)
|
||||||
PYTHON_VERSIONS=(3.9 3.10)
|
|
||||||
defaultVersion=3.10
|
defaultVersion=3.10
|
||||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
|
||||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
pythonPackage=python${pythonVersion//.}
|
||||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
|
||||||
|
|
||||||
eval "PROVIDES_${pythonPackage}=\"
|
eval "PROVIDES_$pythonPackage=\"
|
||||||
${portName}_$pythonPackage = $portVersion
|
${portName}_$pythonPackage = $portVersion
|
||||||
cmd:watchmedo_$pythonVersion = $portVersion
|
cmd:watchmedo_$pythonVersion = $portVersion
|
||||||
\""
|
\""
|
||||||
@@ -59,9 +57,8 @@ done
|
|||||||
|
|
||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
|
||||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
pythonPackage=python${pythonVersion//.}
|
||||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
|
||||||
|
|
||||||
python=python$pythonVersion
|
python=python$pythonVersion
|
||||||
installLocation=$prefix/lib/python$pythonVersion/vendor-packages/
|
installLocation=$prefix/lib/python$pythonVersion/vendor-packages/
|
||||||
|
|||||||
Reference in New Issue
Block a user