mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
python_watchdog: bump version.
This commit is contained in:
52
dev-python/watchdog/python_watchdog-0.8.3.recipe
Normal file
52
dev-python/watchdog/python_watchdog-0.8.3.recipe
Normal file
@@ -0,0 +1,52 @@
|
||||
SUMMARY="Filesystem events monitoring"
|
||||
DESCRIPTION="Python API and shell utilities to monitor file system events."
|
||||
HOMEPAGE="https://pypi.python.org/pypi/watchdog"
|
||||
COPYRIGHT="2011 Yesudeep Mangalapilly
|
||||
2012 Google, Inc."
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
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="
|
||||
python_watchdog = $portVersion
|
||||
cmd:watchmedo
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
cmd:python2
|
||||
argh
|
||||
pathtools
|
||||
pyyaml
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
python_setuptools
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:python2
|
||||
cmd:gcc
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
$portPackageLinksDir/cmd~python2/bin/python2 setup.py build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
# GENERIC: all python_setuptools-based installs need this
|
||||
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
|
||||
mkdir -p $installLocation
|
||||
|
||||
$python setup.py install \
|
||||
--single-version-externally-managed \
|
||||
--root=/ --prefix=$prefix
|
||||
}
|
||||
Reference in New Issue
Block a user