From nobody Wed Jul 27 11:42:58 2022 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 4LtBjZ2QK5z4XH6Z; Wed, 27 Jul 2022 11:42:58 +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 4LtBjZ21qmz3MlR; Wed, 27 Jul 2022 11:42:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658922178; 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=fxCEcxoY3/SsuS/0IQcMXG54bUDow0AIYmLx2SzDjNc=; b=IgbAG4CwUXuyb60iXVdLxtH5km/KT6CHfYRhwxwQot+uZ36wAOp62mPViu1yDa3U4xcx8M ryt5V1+KDH38eDgx/oZzZyEOQIHimQKzr/dR7GJUinhiyJXMZHV2isqNozu5N/535xZgpx 1hyXxGjnmuS0F/itCR2nxqloEhnBZ4epsIcpRveQntCyl6dT5c5g8RXzomvyMFFvMdbCI/ /t1/11yo8dMkH+J/i6fMyGTsTxsc5La3FpW+tip6BNT+fTmW0uavYVFDblwXSvtX1HDpdp 9SUtEKg+y6tidPvLHYE4WVNrS9n7/hHGC/PzX7Wl5mzSlggiiEYJrnJsYR6gkA== 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 4LtBjZ14SWzG3d; Wed, 27 Jul 2022 11:42:58 +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 26RBgwXw047405; Wed, 27 Jul 2022 11:42:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26RBgwap047404; Wed, 27 Jul 2022 11:42:58 GMT (envelope-from git) Date: Wed, 27 Jul 2022 11:42:58 GMT Message-Id: <202207271142.26RBgwap047404@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hiroki Tagato Subject: git: cd9ad4e75b50 - main - x11/py-caffeine-ng: update to 4.0.2 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: tagattie X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cd9ad4e75b5090cb7a8049576108ad6e7e8e4058 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658922178; 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=fxCEcxoY3/SsuS/0IQcMXG54bUDow0AIYmLx2SzDjNc=; b=flNWZgTa+zBmI1ikq0KELPCqeUHjoQpQF0RNZh1fVnXkSQZBtiagnVzJKZkZsveVzXwtvL l/CD6tNrJJ2hSEOoeXWLsv3UldZ9Y/m+PndG46uA3tdLWOxfgdjK+O9uFsipHsQDvn2tdm 40Iw5nOD6PIfkcsSA5ATO+omfeWPaEVz/crftvA07bl9TJf9PEffFP3Crj08h4E7Jilh9m mYazahAyoYNGjOwcNwasQ+92pu3zgVKNUaYNMv2hQuja+qWofAsR+1LsiJdRwvsU9tVcvu DqVx671EroKU0C79P5I+cW67/0CyyO4yyd2ntCIl25FfHn+fFsCR4BAwBHuoLw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658922178; a=rsa-sha256; cv=none; b=uSPRJFUYlipYOY/fjWg7Il7N7WzfYMSzfgy8RC98WGkeqlLS9uZQC8cVNg8epOic93Zzwp nUZacxrNez/+jpotcWZl5ZoM503j3yTcZ179AF1SPMkOcvtD4mYANKWOXHS5xTZCJi76e6 Hsk7E5srXtvhL/nyakNYwLLbhYc0wgjiGAUYqiJpqPRdF07C32S9dBpYwMBLXon6Y2RkTP rr6+ehY/+IoJTJgdS+2NuFI/2CoJueaZ4/WLG8Tx0pNz41R4BE9QopqW9zb63IMiccczA2 75ubo8EjfCv6eU0DWPputYemaZ31zDVCv+aP2iCxT4rkXzPJK9R29pNMVQnP3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=cd9ad4e75b5090cb7a8049576108ad6e7e8e4058 commit cd9ad4e75b5090cb7a8049576108ad6e7e8e4058 Author: Hiroki Tagato AuthorDate: 2022-07-27 11:41:06 +0000 Commit: Hiroki Tagato CommitDate: 2022-07-27 11:42:51 +0000 x11/py-caffeine-ng: update to 4.0.2 While here, update WWW. Changelog: https://codeberg.org/WhyNotHugo/caffeine-ng/src/tag/v4.0.2/CHANGELOG.rst Reported by: portscout --- x11/py-caffeine-ng/Makefile | 10 ++++------ x11/py-caffeine-ng/distinfo | 6 +++--- x11/py-caffeine-ng/files/patch-caffeine_cli.py | 19 +++++++++++++++++++ x11/py-caffeine-ng/files/patch-caffeine_main.py | 22 ---------------------- x11/py-caffeine-ng/pkg-descr | 2 +- 5 files changed, 27 insertions(+), 32 deletions(-) diff --git a/x11/py-caffeine-ng/Makefile b/x11/py-caffeine-ng/Makefile index 0ae01e4b21b7..01a73f9698f7 100644 --- a/x11/py-caffeine-ng/Makefile +++ b/x11/py-caffeine-ng/Makefile @@ -1,6 +1,5 @@ PORTNAME= caffeine-ng -DISTVERSION= 3.5.1 -PORTREVISION= 1 +DISTVERSION= 4.0.2 CATEGORIES= x11 python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,7 +15,7 @@ LICENSE_FILE_LGPL3+ = ${WRKSRC}/LGPL BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} LIB_DEPENDS= libappindicator3.so:devel/libappindicator \ libnotify.so:devel/libnotify -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docopt>=0.6.2:devel/py-docopt@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click7>=7.1:devel/py-click7@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ewmh>=0.1.4:devel/py-ewmh@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xdg>=0.25:devel/py-xdg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setproctitle>=1.1.10:devel/py-setproctitle@${PY_FLAVOR} \ @@ -28,7 +27,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flake8-bugbear>0:devel/py-flake8-bugbear@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flake8-import-order>0:devel/py-flake8-import-order@${PY_FLAVOR} -USES= desktop-file-utils gettext-tools gnome python:3.6+ +USES= desktop-file-utils gettext-tools gnome python:3.6-3.9 USE_GNOME= gdkpixbuf2 gtk30 pygobject3 USE_PYTHON= autoplist distutils @@ -46,8 +45,7 @@ SCHEMASDIR= share/glib-2.0/schemas post-patch: ${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g; s|/etc|${LOCALBASE}/etc|g' \ - ${WRKSRC}/setup.py \ - ${WRKSRC}/share/applications/*.desktop + ${WRKSRC}/setup.py post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${SCHEMASDIR} diff --git a/x11/py-caffeine-ng/distinfo b/x11/py-caffeine-ng/distinfo index dc9aafb751ca..54adb79da374 100644 --- a/x11/py-caffeine-ng/distinfo +++ b/x11/py-caffeine-ng/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1611918197 -SHA256 (caffeine-ng-3.5.1.tar.gz) = 7549c09b527be98d7313df4801aae308b2231fbcc21b1de47d16dbbe71a37f2a -SIZE (caffeine-ng-3.5.1.tar.gz) = 155382 +TIMESTAMP = 1658886222 +SHA256 (caffeine-ng-4.0.2.tar.gz) = ba62235c9d1eb7a3e2e448e3f7a43e66188a4beca3edbb206f8b905ba626eab5 +SIZE (caffeine-ng-4.0.2.tar.gz) = 163529 diff --git a/x11/py-caffeine-ng/files/patch-caffeine_cli.py b/x11/py-caffeine-ng/files/patch-caffeine_cli.py new file mode 100644 index 000000000000..e6c094fd8474 --- /dev/null +++ b/x11/py-caffeine-ng/files/patch-caffeine_cli.py @@ -0,0 +1,19 @@ +--- caffeine/cli.py.orig 2022-07-27 02:03:53 UTC ++++ caffeine/cli.py +@@ -1,4 +1,4 @@ +-import ctypes ++# import ctypes + import logging + import signal + +@@ -20,8 +20,8 @@ def cli(ctx, verbose): + signal.signal(signal.SIGINT, signal.SIG_DFL) + + # register the process id as 'caffeine' +- libc = ctypes.cdll.LoadLibrary("libc.so.6") +- libc.prctl(15, "caffeine", 0, 0, 0) ++ # libc = ctypes.cdll.LoadLibrary("libc.so.6") ++ # libc.prctl(15, "caffeine", 0, 0, 0) + + if verbose: + logging.basicConfig(level=logging.DEBUG) diff --git a/x11/py-caffeine-ng/files/patch-caffeine_main.py b/x11/py-caffeine-ng/files/patch-caffeine_main.py deleted file mode 100644 index 8c1ec158c7a4..000000000000 --- a/x11/py-caffeine-ng/files/patch-caffeine_main.py +++ /dev/null @@ -1,22 +0,0 @@ ---- caffeine/main.py.orig 2021-01-01 14:03:23 UTC -+++ caffeine/main.py -@@ -30,7 +30,7 @@ Options: - -p --preferences Start with the Preferences dialog open. - """ - # TODO: add a -v --verbosity flag. --import ctypes -+# import ctypes - import logging - import os - import signal -@@ -429,8 +429,8 @@ def main(): - GObject.threads_init() - - # register the process id as 'caffeine' -- libc = ctypes.cdll.LoadLibrary("libc.so.6") -- libc.prctl(15, "caffeine", 0, 0, 0) -+ # libc = ctypes.cdll.LoadLibrary("libc.so.6") -+ # libc.prctl(15, "caffeine", 0, 0, 0) - - arguments = docopt(__doc__, version=__version__) - diff --git a/x11/py-caffeine-ng/pkg-descr b/x11/py-caffeine-ng/pkg-descr index a5eef4fc2eb7..f3b44531a20f 100644 --- a/x11/py-caffeine-ng/pkg-descr +++ b/x11/py-caffeine-ng/pkg-descr @@ -3,4 +3,4 @@ the screensaver from showing up, or the system from going to sleep. It does so when an application is fullscreened (eg: youtube), or when you click on the systray icon (which you can do, when, eg: reading). -WWW: https://github.com/caffeine-ng/caffeine-ng +WWW: https://codeberg.org/WhyNotHugo/caffeine-ng