python-watchman: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-28 23:12:46 +07:00
parent 6d6c7e75af
commit 71eb4266c1
3 changed files with 26 additions and 39 deletions

View file

@ -1,38 +0,0 @@
# Template file for 'python-watchman'
pkgname=python-watchman
version=1.4.1
revision=4
create_wrksrc=yes
build_wrksrc="pywatchman-${version}"
build_style=python-module
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}"
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*
}
}

View file

@ -1 +0,0 @@
python-watchman

View file

@ -0,0 +1,26 @@
# Template file for 'python3-watchman'
pkgname=python3-watchman
version=1.4.1
revision=5
create_wrksrc=yes
build_wrksrc="pywatchman-${version}"
build_style=python3-module
hostmakedepends="python3-devel python3-setuptools"
makedepends="python3-devel"
depends="watchman"
short_desc="Connect and query Watchman to discover file changes (Python3)"
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"
conflicts="python-watchman>=0"
do_check() {
:
}
post_install() {
vlicense ../LICENSE.txt
}