New package: python-watchman-1.4.1
This commit is contained in:
parent
61e4b239a1
commit
e4a13b8593
2 changed files with 40 additions and 0 deletions
39
srcpkgs/python-watchman/template
Normal file
39
srcpkgs/python-watchman/template
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Template file for 'python-watchman'
|
||||
pkgname=python-watchman
|
||||
version=1.4.1
|
||||
revision=1
|
||||
wrksrc="pywatchman-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="pywatchman"
|
||||
hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools"
|
||||
makedepends="python-devel python3-devel"
|
||||
depends="watchman"
|
||||
short_desc="Connect and query Watchman to discover file changes (Python2)"
|
||||
maintainer="Hoang Nguyen <hoang@wetrust.io>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="https://facebook.github.io/watchman/"
|
||||
distfiles="${PYPI_SITE}/p/pywatchman/pywatchman-${version}.tar.gz
|
||||
https://raw.githubusercontent.com/facebook/watchman/master/python/LICENSE>LICENSE.txt"
|
||||
checksum="d0047eb275deafb0011eda0a1a815fbd9742478c3d2b5ad6956d300e447dc2f9
|
||||
d96f8d0b74d194c021f153c562307697128da61143515c947580b2489a341980"
|
||||
alternatives="
|
||||
watchman-make:watchman-make:/usr/bin/watchman-make2
|
||||
watchman-wait:watchman-wait:/usr/bin/watchman-wait2"
|
||||
|
||||
post_install() {
|
||||
vlicense ../LICENSE.txt
|
||||
}
|
||||
|
||||
python3-watchman_package() {
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pycompile_module="pywatchman"
|
||||
depends="watchman"
|
||||
alternatives="
|
||||
watchman-make:watchman-make:/usr/bin/watchman-make3
|
||||
watchman-wait:watchman-wait:/usr/bin/watchman-wait3"
|
||||
pkg_install() {
|
||||
vmove usr/bin/watchman-make3
|
||||
vmove usr/bin/watchman-wait3
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
1
srcpkgs/python3-watchman
Symbolic link
1
srcpkgs/python3-watchman
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-watchman
|
Loading…
Reference in a new issue