python_watchdog: bump version.

This commit is contained in:
Jerome Duval
2016-04-14 22:32:19 +00:00
parent 51122b0ebb
commit 984fdc144e

View File

@@ -5,19 +5,19 @@ COPYRIGHT="2011 Yesudeep Mangalapilly
2012 Google, Inc."
LICENSE="Apache v2"
REVISION="1"
SOURCE_URI="https://pypi.python.org/packages/source/w/watchdog/watchdog-0.8.2.tar.gz"
CHECKSUM_SHA256="33a9ab3ce2e6b1aca4d2a50752231668d69bdba4ab096d9742195ccfbef1e023"
SOURCE_URI="https://pypi.python.org/packages/source/w/watchdog/watchdog-$portVersion.tar.gz"
CHECKSUM_SHA256="7e65882adb7746039b6f3876ee174952f8eaaa34491ba34333ddf1fe35de4162"
SOURCE_DIR="watchdog-$portVersion"
ARCHITECTURES="x86 x86_gcc2 x86_64"
PROVIDES="
watchdog = $portVersion
python_watchdog = $portVersion
cmd:watchmedo
"
REQUIRES="
haiku
cmd:python
cmd:python2
argh
pathtools
pyyaml
@@ -28,19 +28,19 @@ BUILD_REQUIRES="
python_setuptools
"
BUILD_PREREQUIRES="
cmd:python
cmd:python2
cmd:gcc
"
BUILD()
{
$portPackageLinksDir/cmd~python/bin/python setup.py build
$portPackageLinksDir/cmd~python2/bin/python2 setup.py build
}
INSTALL()
{
# GENERIC: all python_setuptools-based installs need this
python=$portPackageLinksDir/cmd~python/bin/python
python=$portPackageLinksDir/cmd~python2/bin/python2
pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c3)
installLocation=$prefix/lib/python$pythonVersion/vendor-packages/
export PYTHONPATH=$installLocation:$PYTHONPATH