From nobody Thu Sep 05 06:19:33 2024 X-Original-To: dev-commits-ports-main@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 4Wzq2Y3kp8z5VH2y; Thu, 05 Sep 2024 06:19:33 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wzq2Y2Kmdz40vX; Thu, 5 Sep 2024 06:19:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725517173; 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=EopgGORWgZqd9SJ6wGl3sV/ONZYpfEhyl8gkuDu0Ulg=; b=MVINUBBzTM//sWKVMIsS14y+YM4rLknk7yk77Czohbzzc6YiOALbpx3x/i/4cFNTAmyFOW Kdkc1+j3R8j9MDjDQ7/6ZDKF3i56evA6gYVqTu1NBOJESpxd7cGRUdoP+DzjXMmJk6kIY9 UPPfNmoPSKhKxnj5q2qgRayqmBLAs6BoF9E/tuWnkcdTo/LzpNRTVY9upKX/1fjQVd6wWo DXSKeUtptVFdQS3xio2R9NJjA5WgW//dvtEf/j73CTlE5iGliXzBhb0CfS6ggO8hMHNPy+ XZ3VKr4AW8gjLzyWTTfKnAfsSVtl2ecFBWUg4DeDjng6xflUmr1OJlls661amw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725517173; a=rsa-sha256; cv=none; b=Syp560OUcpMa5a+8hUw2bI6jfGRIvANn2EGT3O6tXswnSUEo7Lb937cFaEb2xdW6nvv0zq ch0q8pqC+yBwzvS7zO0/ABSzx4i1pv2sjCiHFMxLKYjhDyxrsPFmitK3eMxXXm/LyaXnDw JcBImMMqJkLrgQFhCe4GmWjxsEw0NvQgFer1OPftl1qjFCfEmbqbnNVDzL6MCFCDmGJZ4i dN5GN3cuUayMm/bgRcnM9mYl534qntJQqtUWBR5nJe9YqpHg2+b5xRue6+msN+NlX5LTLs hCP8H+7kh4AWcJCwjaNYuvxQIrUzhqNyH5ay+ubx4bgPdguW94cUd2qyYWL27A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725517173; 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=EopgGORWgZqd9SJ6wGl3sV/ONZYpfEhyl8gkuDu0Ulg=; b=hY2/ek0m5BWlhJR5c7BWF4ffZ9iACpAQrcF9cqUN7RNS1253V1diZkPc2CzLmkD+V10X4I 1dOxYxdMDJ7JzPtmoDO1E2le7wihc5Y81SmliT741F/0lU88pLgJmbNGoeRmuTQfeauAue RA0WhugzwN0w1wGpXlYNHGfhBJxSJN+o9dB4iZCFukEG7Fm7BydsuO7WneRstZV1pU9wwK 5Z12TqOn0dFmNMqq2LveYL+PyfbijiLbpDjRVRW0eIzwGayTFikw06H5ely7CFVt7FR06E sp12qrglBgnJb/z0s/XjPOhE/xk+RFWVsggw1IhTw5YlQ4F0ZHLpp46E2saGpw== 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 4Wzq2Y1xYpzxFm; Thu, 5 Sep 2024 06:19:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4856JXC0091705; Thu, 5 Sep 2024 06:19:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4856JXFk091702; Thu, 5 Sep 2024 06:19:33 GMT (envelope-from git) Date: Thu, 5 Sep 2024 06:19:33 GMT Message-Id: <202409050619.4856JXFk091702@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: b1caefe448b9 - main - devel/py-shpyx: Add py-shpyx 0.0.29 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b1caefe448b93ce97166b22de7301d54fcb38437 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b1caefe448b93ce97166b22de7301d54fcb38437 commit b1caefe448b93ce97166b22de7301d54fcb38437 Author: Po-Chuan Hsieh AuthorDate: 2024-09-05 05:14:05 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-09-05 06:11:19 +0000 devel/py-shpyx: Add py-shpyx 0.0.29 shpyx is a simple, lightweight and typed library for running shell commands in Python. Use shpyx.run to run a shell command in a subprocess. --- devel/Makefile | 1 + devel/py-shpyx/Makefile | 21 +++++++++++++++++++++ devel/py-shpyx/distinfo | 3 +++ devel/py-shpyx/files/patch-pyproject.toml | 11 +++++++++++ devel/py-shpyx/pkg-descr | 4 ++++ 5 files changed, 40 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 60915f1857a4..48bbe136778e 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5812,6 +5812,7 @@ SUBDIR += py-sh SUBDIR += py-shapely SUBDIR += py-shellingham + SUBDIR += py-shpyx SUBDIR += py-shtab SUBDIR += py-signalr-client-aio SUBDIR += py-simple-parsing diff --git a/devel/py-shpyx/Makefile b/devel/py-shpyx/Makefile new file mode 100644 index 000000000000..982d5029681a --- /dev/null +++ b/devel/py-shpyx/Makefile @@ -0,0 +1,21 @@ +PORTNAME= shpyx +PORTVERSION= 0.0.29 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Run shell commands in Python +WWW= https://github.com/Apakottur/shpyx + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.9.0:devel/py-poetry-core@${PY_FLAVOR} + +USES= python:3.9+ +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-shpyx/distinfo b/devel/py-shpyx/distinfo new file mode 100644 index 000000000000..4a14d8621e34 --- /dev/null +++ b/devel/py-shpyx/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724084482 +SHA256 (shpyx-0.0.29.tar.gz) = b8fd641ab01560bb2abf9c5a94db6f51979e7b4849674533c4644e9ee335258e +SIZE (shpyx-0.0.29.tar.gz) = 10462 diff --git a/devel/py-shpyx/files/patch-pyproject.toml b/devel/py-shpyx/files/patch-pyproject.toml new file mode 100644 index 000000000000..6a444d491f96 --- /dev/null +++ b/devel/py-shpyx/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2024-08-12 10:34:34 UTC ++++ pyproject.toml +@@ -1,6 +1,6 @@ + [build-system] +-requires = ["poetry==1.8.3"] +-build-backend = "poetry.masonry.api" ++requires = ["poetry-core>=1.9.0"] ++build-backend = "poetry.core.masonry.api" + + [tool.poetry] + name = "shpyx" diff --git a/devel/py-shpyx/pkg-descr b/devel/py-shpyx/pkg-descr new file mode 100644 index 000000000000..aca486ff9806 --- /dev/null +++ b/devel/py-shpyx/pkg-descr @@ -0,0 +1,4 @@ +shpyx is a simple, lightweight and typed library for running shell commands in +Python. + +Use shpyx.run to run a shell command in a subprocess.