From nobody Wed Feb 1 02:43:00 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 4P65nJ4scYz3bnsq; Wed, 1 Feb 2023 02:43:00 +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 4P65nJ47Ksz4Jj3; Wed, 1 Feb 2023 02:43:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675219380; 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=AAC+SEHAyqVANHuFEE87kSDb9PjhsoY5wHKNtnUBcAM=; b=unbqNNlSy2NE309NPYnC4drgWhTQasgdD2hkczH1+sO7W8/dr4XRY1AaXvpAVM6wnFzM5U 3eKmAzN0N26/MaEBzRCcZoBEmEU8jD9LRpJSsiYGQkOsGKtNcww1vmyfF9zzOdfp+CX8b1 wEwsObSin52YV3zPGtvUO9K2zr6+CSuI8fx0AU49W8L40/6DhuiH73SbDrpGjV+jjNR6dm ccunfZ7+fzfyDnZux0wu74sWggKDSeC5m0fqwQYt4dVYDWSCYenKgZjR42Pl9V+fSy1vtS wlmldr3C9VQx9dU6t9nlLSoVsZDriChmPQ43AfF5PspdjZHzCnLAfYy2poGSFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675219380; 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=AAC+SEHAyqVANHuFEE87kSDb9PjhsoY5wHKNtnUBcAM=; b=x9N7iGy2n3ulBPdp825apq1lnyd5ABdSuEpOCVEvElNxZeAVQk8B26QR/d1MCvODDVdNIu ghgd5R6qgRE/uiqy9OtjmbCTseAyfPqV449zk3aKMrMOycXktclgnNxLNbKIBlOXT+IbjU dCNxNtBD7lV3LyoDLV3q8NgnEbzJA6tgjmcRtErBOqxUiY5HI7YSAid/R4nbkXybYLPP2k Q09H25l6D4aK6vQOsz9U/0RjQ/XNsoh+sXvUsxXJzvJ9lEcjUewitmIwo73l+K2Ez1h9g6 D8hN+7Xm4D/Iyd8E1Fjz3nc1Bb1zjUrgoZH966W6pO0wdG9EiYk8pF8cZOob4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675219380; a=rsa-sha256; cv=none; b=flx4w1m1CNr3mInG3IX4FITj7n/4dBNeHMAp4cj+PVOMvTnrgxXTd8esvKaE1RO88/GAGH 5v2nqMBwbB5oIWpxGxPbOyRF1z0fsb3x8BR0RJrD8UvcjOCpYDOoz1vP+w6LhtOamE7jT3 4SigmfFJvncrp5FXV4fWQMlY7CqrU0l9/7pdoKZHr6EjSLhwKnCHtBdViGOGXcjmrf47nh g/rliEjejNx7OwOwnzD9+2SJUxBjprDSYoJndKHqqlA1XKNoJGXSSobRa4JpeQskh3dri8 yonz+fQskLGMDKZIC2Q0XyaZSN9cYWJuJPS8v6zVnGTMqD+o9ahDypDj3V7PTA== 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 4P65nJ3BsHz1ByH; Wed, 1 Feb 2023 02:43:00 +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 3112h01m092006; Wed, 1 Feb 2023 02:43:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3112h0JL092005; Wed, 1 Feb 2023 02:43:00 GMT (envelope-from git) Date: Wed, 1 Feb 2023 02:43:00 GMT Message-Id: <202302010243.3112h0JL092005@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 8a7fe2313295 - main - x11/py-pynput: New port: Send virtual input commands 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8a7fe231329504803c7068da657f659ce6db6680 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=8a7fe231329504803c7068da657f659ce6db6680 commit 8a7fe231329504803c7068da657f659ce6db6680 Author: Yuri Victorovich AuthorDate: 2023-01-31 16:01:01 +0000 Commit: Yuri Victorovich CommitDate: 2023-02-01 02:42:57 +0000 x11/py-pynput: New port: Send virtual input commands --- x11/Makefile | 1 + x11/py-pynput/Makefile | 26 ++++++++++++++++++++++++++ x11/py-pynput/distinfo | 3 +++ x11/py-pynput/files/patch-setup.py | 13 +++++++++++++ x11/py-pynput/pkg-descr | 3 +++ 5 files changed, 46 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index 7e81497365b7..72debe1a0ad2 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -308,6 +308,7 @@ SUBDIR += py-caffeine-ng SUBDIR += py-i3-quickterm SUBDIR += py-i3ipc + SUBDIR += py-pynput SUBDIR += py-pyscreenshot SUBDIR += py-python-xapp SUBDIR += py-pyvirtualdisplay diff --git a/x11/py-pynput/Makefile b/x11/py-pynput/Makefile new file mode 100644 index 000000000000..ded00786224e --- /dev/null +++ b/x11/py-pynput/Makefile @@ -0,0 +1,26 @@ +PORTNAME= pynput +DISTVERSION= 1.7.6 +CATEGORIES= x11 +MASTER_SITES= PYPI # no tests on PYPI, but GitHub tarball doesn't bui;d +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Send virtual input commands +WWW= https://github.com/moses-palmer/pynput + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING.LGPL + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.3.1:textproc/py-sphinx@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-xlib>0:x11-toolkits/py-python-xlib@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_WRKSRC= ${WRKSRC}/tests + +.include diff --git a/x11/py-pynput/distinfo b/x11/py-pynput/distinfo new file mode 100644 index 000000000000..28f824a43120 --- /dev/null +++ b/x11/py-pynput/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1675195033 +SHA256 (pynput-1.7.6.tar.gz) = 3a5726546da54116b687785d38b1db56997ce1d28e53e8d22fc656d8b92e533c +SIZE (pynput-1.7.6.tar.gz) = 79501 diff --git a/x11/py-pynput/files/patch-setup.py b/x11/py-pynput/files/patch-setup.py new file mode 100644 index 000000000000..e87d2cf77536 --- /dev/null +++ b/x11/py-pynput/files/patch-setup.py @@ -0,0 +1,13 @@ +- setuptools-lint isn't really needed during build + +--- setup.py.orig 2023-01-31 20:21:18 UTC ++++ setup.py +@@ -23,7 +23,7 @@ RUNTIME_PACKAGES = [ + + #: Additional requirements used during setup + SETUP_PACKAGES = [ +- 'setuptools-lint >=0.5', ++ #'setuptools-lint >=0.5', + 'sphinx >=1.3.1'] + + #: Packages requires for different environments diff --git a/x11/py-pynput/pkg-descr b/x11/py-pynput/pkg-descr new file mode 100644 index 000000000000..c70387df548c --- /dev/null +++ b/x11/py-pynput/pkg-descr @@ -0,0 +1,3 @@ +pynput is the library allows you to control and monitor input devices. + +Currently, mouse and keyboard input and monitoring are supported.