diff --git a/sysutils/py-pywatchman/Makefile b/sysutils/py-pywatchman/Makefile index 0dd7eae7382e..61e28db1d043 100644 --- a/sysutils/py-pywatchman/Makefile +++ b/sysutils/py-pywatchman/Makefile @@ -1,34 +1,34 @@ PORTNAME= pywatchman DISTVERSIONPREFIX=v -DISTVERSION= 2023.05.01.00 +DISTVERSION= 2024.03.25.00 CATEGORIES= sysutils python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= p.mousavizadeh@protonmail.com COMMENT= Watchman client for Python WWW= https://pypi.org/project/pywatchman/ LICENSE= BSD3CLAUSE MIT LICENSE_COMB= multi BROKEN_mips= depends on watchman, which needs c++11-libs BROKEN_mips64= depends on watchman, which needs c++11-libs RUN_DEPENDS= watchman>=4:sysutils/watchman USES= python USE_GITHUB= yes GH_ACCOUNT= facebook GH_PROJECT= watchman USE_PYTHON= autoplist concurrent distutils WRKSRC_SUBDIR= watchman/python post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name "*.so" \ -exec ${STRIP_CMD} {} + do-test: cd ${WRKSRC} ; ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include diff --git a/sysutils/py-pywatchman/distinfo b/sysutils/py-pywatchman/distinfo index 28fa34285730..6a401bb53110 100644 --- a/sysutils/py-pywatchman/distinfo +++ b/sysutils/py-pywatchman/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1683050917 -SHA256 (facebook-watchman-v2023.05.01.00_GH0.tar.gz) = 2310431903afc8f8d034ef6664366e362f5beb8fccf15e4355ad61c63596c4b1 -SIZE (facebook-watchman-v2023.05.01.00_GH0.tar.gz) = 3963267 +TIMESTAMP = 1711553373 +SHA256 (facebook-watchman-v2024.03.25.00_GH0.tar.gz) = 8cc7b3e67156a503c508e209ebca8126d561fcfe7a1923f17b216a1f6b667369 +SIZE (facebook-watchman-v2024.03.25.00_GH0.tar.gz) = 3969681 diff --git a/sysutils/py-pywatchman/files/patch-setup.py b/sysutils/py-pywatchman/files/patch-setup.py deleted file mode 100644 index 0d9c752979a4..000000000000 --- a/sysutils/py-pywatchman/files/patch-setup.py +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig 2023-04-24 22:23:26 UTC -+++ setup.py -@@ -22,7 +22,7 @@ if watchman_src_dir is None: - # files. Otherwise it is impossible to obtain a relative path across different - # drives. However this has an implication that we will not be able to build this - # package outside the repository. Not great but it works. --py_dir = os.path.join(watchman_src_dir, "watchman", "python") -+py_dir = os.path.join(watchman_src_dir, "python") - if os.name == "nt": - os.chdir(py_dir) - py_dir = os.path.relpath(py_dir) diff --git a/sysutils/py-pywatchman/pkg-descr b/sysutils/py-pywatchman/pkg-descr index 0352ef194e08..520d33e96018 100644 --- a/sysutils/py-pywatchman/pkg-descr +++ b/sysutils/py-pywatchman/pkg-descr @@ -1,2 +1,3 @@ +This is Watchman client for Python. Watchman exists to watch files and record when they actually change. It can also trigger actions when matching files change.