mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Drop python 3.7 (and 2.7) for recipes under dev-python/
Recipes with only 3.7 are left alone. Help with #8025.
This commit is contained in:
@@ -4,7 +4,7 @@ HOMEPAGE="https://pypi.python.org/pypi/watchdog"
|
||||
COPYRIGHT="2011 Yesudeep Mangalapilly
|
||||
2012 Google, Inc."
|
||||
LICENSE="Apache v2"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
SOURCE_URI="https://pypi.python.org/packages/source/w/watchdog/watchdog-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="965f658d0732de3188211932aeb0bb457587f04f63ab4c1e33eab878e9de961d"
|
||||
|
||||
@@ -24,8 +24,8 @@ BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python python3 python38 python39)
|
||||
PYTHON_VERSIONS=(2.7 3.7 3.8 3.9)
|
||||
PYTHON_PACKAGES=(python38 python39)
|
||||
PYTHON_VERSIONS=(3.8 3.9)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -45,17 +45,11 @@ BUILD_PREREQUIRES="$BUILD_PREREQUIRES
|
||||
cmd:python$pythonVersion"
|
||||
done
|
||||
|
||||
PROVIDES_python="$PROVIDES_python
|
||||
cmd:watchmedo = $portVersion
|
||||
"
|
||||
PROVIDES_python3="$PROVIDES_python3
|
||||
cmd:watchmedo3.7 = $portVersion
|
||||
"
|
||||
PROVIDES_python38="$PROVIDES_python38
|
||||
cmd:watchmedo3.8 = $portVersion
|
||||
"
|
||||
PROVIDES_python39="$PROVIDES_python39
|
||||
cmd:watchmedo3.9 = $portVersion
|
||||
cmd:watchmedo = $portVersion
|
||||
"
|
||||
INSTALL()
|
||||
{
|
||||
@@ -73,7 +67,7 @@ INSTALL()
|
||||
$python setup.py build install \
|
||||
--root=/ --prefix=$prefix
|
||||
|
||||
if [ $pythonPackage != python ]; then
|
||||
if [ $pythonPackage != python39 ]; then
|
||||
mv $binDir/watchmedo $binDir/watchmedo$pythonVersion
|
||||
fi
|
||||
packageEntries $pythonPackage \
|
||||
|
||||
Reference in New Issue
Block a user