From nobody Fri Apr 28 16:17:53 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q7Hns4jhgz48f6B; Fri, 28 Apr 2023 16:17:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q7Hns4716z49jS; Fri, 28 Apr 2023 16:17:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682698673; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Tba5GoNpEEc9Is+1fQOd9rObJjQsOL2QgceJ6qtRhcE=; b=wEo/hOiqrST1Rm7pNF+001E5CTly9GiDSQuwvAYQyzMrokCxDmeXWkAlW9sO7JpB0/bWDq 5WP0L6qArDjJrSytTctg2maz0NAl8YnHv9JDPaqmL6KYriPKvJB6O0qquhkecFjBPN7N8z Zy3oDTn4bw2dHGDXh/aFJRf72ZTUs1l6AEWv4B6wmdEtMO+C1pn1rdtsW+QHayHYu4K0Pj L3TZG/crR3vUMHACdsNZfvqaHoqDS7KL3PxMIDkdqcdeMvHq658UE+JKaqijpjgOMuYA0K UXuQWanTi4Dn2zsQWCJZofhULyEpGmirxhA+NGtenqrsDm7ZTOQ6MpawFOhDZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682698673; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Tba5GoNpEEc9Is+1fQOd9rObJjQsOL2QgceJ6qtRhcE=; b=un7ApB9fobJYRZWTk2zGvu5rPfImwZJ8SKz0gJhHAAFlISyIcFu/TpKtPYCAjaJb1BU9H1 mKwP2zA+xbCwQAn0awc1rFxrDFM0iTpGDyvT/k16KYbofOqao+RBimoMlV/YHkxbxJ+nhM aOk4nZTatgGPUgh8pLxZ808ZhQ4Ca7cC5SWoVp/ZZhh9Cte5U351YUm3eejpJWgUYlE+aa sKZ2X6RfJQfRTdqcOOfhQjXn/gewkKBo9cQ/c5NT9EXUlgMsjQmzcslh0zo87sPEOy11sn gu8ePlHXXznnZPbBKuVryKP5aBc5UlrSmZGT6PNR339i2uqnGSocKQuwVQSxmw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682698673; a=rsa-sha256; cv=none; b=F2dOpOgVfLWprCItUXFhb4OnbHnaW2qggj7d0Xv3VnDijIazazLsrqU43548kdSeQczUso kuzEA1AxxvtWd9GrcDUhdFZT+dc5TCDZNNuDE9v+/5Kj6S/4E9JtCoIPUUcKZt5gMM9+AJ WpjewO7ALizzIfTOQGJzZm4MW0HMIx2MZMPVcnbwaz19rRB3/5LgLwlh51yPn6kC+u1TRA MrSg87/prs+dKWgVSetQg6QtxZGhNfjMAOsFi1oNtBLTpvKrJiahIZBqzLvjlSh1B2KfE9 nD5M/DbmQwDKJOYKiuOyc5vvgWfsikzwcsYkfp08ip0dGPMS/XinI4MsrE0nhQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q7Hns38kLz15Z1; Fri, 28 Apr 2023 16:17:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33SGHr1d044421; Fri, 28 Apr 2023 16:17:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33SGHrQ5044420; Fri, 28 Apr 2023 16:17:53 GMT (envelope-from git) Date: Fri, 28 Apr 2023 16:17:53 GMT Message-Id: <202304281617.33SGHrQ5044420@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 7ca933a2d979 - main - sysutils/py-pywatchman: Update to v2023.04.24.00 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7ca933a2d9794f6a988993d4311b8e36d54684bb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=7ca933a2d9794f6a988993d4311b8e36d54684bb commit 7ca933a2d9794f6a988993d4311b8e36d54684bb Author: Seyed Pouria Mousavizadeh Tehrani AuthorDate: 2023-04-24 22:54:10 +0000 Commit: Robert Clausecker CommitDate: 2023-04-28 16:13:37 +0000 sysutils/py-pywatchman: Update to v2023.04.24.00 Reordering done for portclippy. Add more description from upstream repo to pkg-descr for portlint. Lowering the first character of BROKEN message to portlint. Replacing the PORTVERSION with DISTVERSION. testing their weird versioning schema with pkg version. Also replaced the USES= python:3.6+ with USES= python. Patch setup.py file. Add watchman directory in WRKSRC_SUBDIR Submitter becomes maintainer. Already maintainer of other ports. Changelog: https://github.com/facebook/watchman/releases/tag/v2023.04.24.00 PR: 271056 --- sysutils/py-pywatchman/Makefile | 18 ++++++++---------- sysutils/py-pywatchman/distinfo | 6 +++--- sysutils/py-pywatchman/files/patch-setup.py | 11 +++++++++++ sysutils/py-pywatchman/pkg-descr | 3 ++- 4 files changed, 24 insertions(+), 14 deletions(-) diff --git a/sysutils/py-pywatchman/Makefile b/sysutils/py-pywatchman/Makefile index a5d41e099a7e..116a1e10ca73 100644 --- a/sysutils/py-pywatchman/Makefile +++ b/sysutils/py-pywatchman/Makefile @@ -1,30 +1,28 @@ PORTNAME= pywatchman -PORTVERSION= 4.9.0 -PORTREVISION= 1 DISTVERSIONPREFIX=v +DISTVERSION= 2023.04.24.00 CATEGORIES= sysutils python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= p.mousavizadeh@protonmail.com COMMENT= Watchman client for Python WWW= https://pypi.org/project/pywatchman/ LICENSE= BSD3CLAUSE MIT LICENSE_COMB= multi -RUN_DEPENDS= watchman>=4:sysutils/watchman +BROKEN_mips= depends on watchman, which needs c++11-libs +BROKEN_mips64= depends on watchman, which needs c++11-libs -USES= python:3.6+ -USE_PYTHON= autoplist concurrent distutils +RUN_DEPENDS= watchman>=4:sysutils/watchman +USES= python USE_GITHUB= yes GH_ACCOUNT= facebook GH_PROJECT= watchman +USE_PYTHON= autoplist concurrent distutils -BROKEN_mips= Depends on watchman, which needs c++11-libs -BROKEN_mips64= Depends on watchman, which needs c++11-libs - -WRKSRC_SUBDIR= python +WRKSRC_SUBDIR= watchman/python post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name "*.so" \ diff --git a/sysutils/py-pywatchman/distinfo b/sysutils/py-pywatchman/distinfo index 8a778969e3ea..9f0f1b53b3bb 100644 --- a/sysutils/py-pywatchman/distinfo +++ b/sysutils/py-pywatchman/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1536195383 -SHA256 (facebook-watchman-v4.9.0_GH0.tar.gz) = 1f6402dc70b1d056fffc3748f2fdcecff730d8843bb6936de395b3443ce05322 -SIZE (facebook-watchman-v4.9.0_GH0.tar.gz) = 3507999 +TIMESTAMP = 1682368791 +SHA256 (facebook-watchman-v2023.04.24.00_GH0.tar.gz) = 46633adc0eec8870e0cde420cc5b17834e196bdd760c1c977efc6d1eeb104b13 +SIZE (facebook-watchman-v2023.04.24.00_GH0.tar.gz) = 3963110 diff --git a/sysutils/py-pywatchman/files/patch-setup.py b/sysutils/py-pywatchman/files/patch-setup.py new file mode 100644 index 000000000000..0d9c752979a4 --- /dev/null +++ b/sysutils/py-pywatchman/files/patch-setup.py @@ -0,0 +1,11 @@ +--- 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 f2cc507bbfbd..0352ef194e08 100644 --- a/sysutils/py-pywatchman/pkg-descr +++ b/sysutils/py-pywatchman/pkg-descr @@ -1 +1,2 @@ -Connect and query Watchman to discover file changes. +Watchman exists to watch files and record when they actually change. +It can also trigger actions when matching files change.