watchdog, drop python3.9 (#12668)

This commit is contained in:
Schrijvers Luc
2025-08-04 15:27:20 +02:00
committed by GitHub
parent 35afdc6a3a
commit 9b9c2666b0

View File

@@ -4,7 +4,7 @@ HOMEPAGE="https://pypi.python.org/pypi/watchdog"
COPYRIGHT="2011 Yesudeep Mangalapilly
2012 Google, Inc."
LICENSE="Apache v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://pypi.python.org/packages/source/w/watchdog/watchdog-$portVersion.tar.gz"
CHECKSUM_SHA256="4d98a320595da7a7c5a18fc48cb633c2e73cda78f93cac2ef42d42bf609a33f9"
@@ -24,14 +24,12 @@ BUILD_PREREQUIRES="
cmd:gcc
"
PYTHON_PACKAGES=(python39 python310)
PYTHON_VERSIONS=(3.9 3.10)
PYTHON_VERSIONS=(3.10)
defaultVersion=3.10
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
pythonPackage=python${pythonVersion//.}
eval "PROVIDES_${pythonPackage}=\"
eval "PROVIDES_$pythonPackage=\"
${portName}_$pythonPackage = $portVersion
cmd:watchmedo_$pythonVersion = $portVersion
\""
@@ -59,9 +57,8 @@ done
INSTALL()
{
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
pythonPackage=python${pythonVersion//.}
python=python$pythonVersion
installLocation=$prefix/lib/python$pythonVersion/vendor-packages/