mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 22:00:09 +02:00
watchdog: bump version.
This commit is contained in:
@@ -6,7 +6,7 @@ COPYRIGHT="2011 Yesudeep Mangalapilly
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pypi.python.org/packages/source/w/watchdog/watchdog-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7e65882adb7746039b6f3876ee174952f8eaaa34491ba34333ddf1fe35de4162"
|
||||
CHECKSUM_SHA256="965f658d0732de3188211932aeb0bb457587f04f63ab4c1e33eab878e9de961d"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
@@ -24,8 +24,8 @@ BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python python3)
|
||||
PYTHON_VERSIONS=(2.7 3.6)
|
||||
PYTHON_PACKAGES=(python python36 python3)
|
||||
PYTHON_VERSIONS=(2.7 3.6 3.7)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -49,7 +49,10 @@ PROVIDES_python="$PROVIDES_python
|
||||
cmd:watchmedo = $portVersion
|
||||
"
|
||||
PROVIDES_python3="$PROVIDES_python3
|
||||
cmd:watchmedo3 = $portVersion
|
||||
cmd:watchmedo3.7 = $portVersion
|
||||
"
|
||||
PROVIDES_python36="$PROVIDES_python36
|
||||
cmd:watchmedo3.6 = $portVersion
|
||||
"
|
||||
INSTALL()
|
||||
{
|
||||
@@ -68,7 +71,7 @@ INSTALL()
|
||||
--root=/ --prefix=$prefix
|
||||
|
||||
if [ $pythonPackage != python ]; then
|
||||
mv $binDir/watchmedo $binDir/watchmedo3
|
||||
mv $binDir/watchmedo $binDir/watchmedo$pythonVersion
|
||||
fi
|
||||
packageEntries $pythonPackage \
|
||||
$prefix/lib/python* \
|
||||
Reference in New Issue
Block a user