From nobody Mon Aug 21 17:12:56 2023 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 4RTzZJ2nY1z4r2qV; Mon, 21 Aug 2023 17:12:56 +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 4RTzZJ2HMpz4V4Y; Mon, 21 Aug 2023 17:12:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692637976; 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=m6oyUG6ZaBTKHl3QrIrF/TMnpnbgCfE+iBLmnCdOsYA=; b=fhdmDnCBbHsW3ht9knVZHXXHstPWjq7G9tMeC/EhiMq72nPqbBYs79RjIuf8itsWuaMx58 zFqjSIhZbbxoVsgrdfYsHJZxjMBEb5UAjXN9DaPhs5VvJn5skAEuMK1bIkXFFtcZZrUwnL KLWfV2KLyDE2w+N82+6D/JGSWw3W4akbfw2totYaxZvjBH9o06POpZWxKEjF7SeveXbgdV AsEIZBAwhuV+9zdBNz+jvdy6y38KTGuMi40enaLztgphgADyNpBXE9GKLuhO9ZxSbWSgUB 8iR9+VtkjigwE1GtOqO4FItBwhz7eoehK5TkwiTmOk5iOtV+OYBpOwXBzQACfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692637976; 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=m6oyUG6ZaBTKHl3QrIrF/TMnpnbgCfE+iBLmnCdOsYA=; b=IJe55PdlTZpx+30pk7gJF+9mCRKG72p/nqtFbEaETbOceUHbCHb1Xz/Unam/6Bf3Cjs1jc GC2+lf5EUZWJezKrJHQrbvRK6Gve5YyewPpcf/YiOCMZKK1oLv9wnDgWJkJAlocghxfHAR tzOld1B5i09qlzW2QAiTz/cAaQQaLQgd/nTKoq/rDWVffCJJebhTgRjEhdeVMFWsuaolHU MJjOzKTtVgignfQ8Qm7m5zwCcfLHzMY57hZcID+mnHgCRmQzuTgCcuMpuvexMV1rubRSma IIdqgeUIAuUSemILgl/y6xMONPgK9CIeptT/q/jRZspy93lrTvrKpMGvGPnmGw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692637976; a=rsa-sha256; cv=none; b=lNrzz3rIuFhfeUByl1aPDvXTqJ+XplvID+XFt4px3WXyPx51OCbfR+1aVcVZTC2HZPmelB Iefg9hT6R+RuyHeoxOBRpSswKhmVOeiubPuv/sGSiSjskmQOOMVnTHHvJJcIoBTxr/mU6l 6by4fOEpr7w0J79pM4/ZwkP+aO38aoioYfwv65zHex5clJVcW/uavIUdlAeJqHi121zHd2 HNF8UvGk8c3Mt1KQ9ao2Eutfxxtw7uUh/RKC+2G+YYh5BNyZHg8//WGGi7s2HJfTqHovBX XAHUpaAJflXuIUuRZ25Wjat9CpuSaCmVBw+esclCqLW5faFoRVrPfJG0WQuUXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RTzZJ1NGzzTY5; Mon, 21 Aug 2023 17:12:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37LHCudt097351; Mon, 21 Aug 2023 17:12:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37LHCuON097348; Mon, 21 Aug 2023 17:12:56 GMT (envelope-from git) Date: Mon, 21 Aug 2023 17:12:56 GMT Message-Id: <202308211712.37LHCuON097348@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: 664ad19ced52 - main - devel/py-contextlib-chdir: Add py-contextlib-chdir 1.0.2 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: 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: 664ad19ced52ff61f57992d6e661a807e60b6a69 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=664ad19ced52ff61f57992d6e661a807e60b6a69 commit 664ad19ced52ff61f57992d6e661a807e60b6a69 Author: Po-Chuan Hsieh AuthorDate: 2023-08-21 16:51:53 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-08-21 17:01:57 +0000 devel/py-contextlib-chdir: Add py-contextlib-chdir 1.0.2 contextlib-chdir provides the backport of contextlib.chdir stdlib class added in Python 3.11. --- devel/Makefile | 1 + devel/py-contextlib-chdir/Makefile | 20 ++++++++++++++++++++ devel/py-contextlib-chdir/distinfo | 3 +++ devel/py-contextlib-chdir/files/patch-pyproject.toml | 10 ++++++++++ devel/py-contextlib-chdir/pkg-descr | 2 ++ 5 files changed, 36 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 4cad503a7af9..998961787754 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4503,6 +4503,7 @@ SUBDIR += py-constantly SUBDIR += py-construct SUBDIR += py-construct-classes + SUBDIR += py-contextlib-chdir SUBDIR += py-contextlib2 SUBDIR += py-convertdate SUBDIR += py-cookiecutter diff --git a/devel/py-contextlib-chdir/Makefile b/devel/py-contextlib-chdir/Makefile new file mode 100644 index 000000000000..2de37d0d1c66 --- /dev/null +++ b/devel/py-contextlib-chdir/Makefile @@ -0,0 +1,20 @@ +PORTNAME= contextlib-chdir +PORTVERSION= 1.0.2 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Backport of contextlib.chdir stdlib class added in Python 3.11 +WWW= https://github.com/mondeja/contextlib-chdir + +LICENSE= BSD3CLAUSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-contextlib-chdir/distinfo b/devel/py-contextlib-chdir/distinfo new file mode 100644 index 000000000000..a8d93346186b --- /dev/null +++ b/devel/py-contextlib-chdir/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1692211613 +SHA256 (contextlib-chdir-1.0.2.tar.gz) = 58406a71db00647fcccfc7e52e9e04e44d29eacf30400e7c0ba3b15f09d5f3fa +SIZE (contextlib-chdir-1.0.2.tar.gz) = 1863 diff --git a/devel/py-contextlib-chdir/files/patch-pyproject.toml b/devel/py-contextlib-chdir/files/patch-pyproject.toml new file mode 100644 index 000000000000..859972f0a53e --- /dev/null +++ b/devel/py-contextlib-chdir/files/patch-pyproject.toml @@ -0,0 +1,10 @@ +--- pyproject.toml.orig 2022-06-08 17:54:37 UTC ++++ pyproject.toml +@@ -9,3 +9,7 @@ packages = [{ include = "contextlib_chdir.*" }, { incl + + [tool.poetry.dependencies] + python = "^3.6" ++ ++[build-system] ++requires = ["poetry-core>=1.0.0"] ++build-backend = "poetry.core.masonry.api" diff --git a/devel/py-contextlib-chdir/pkg-descr b/devel/py-contextlib-chdir/pkg-descr new file mode 100644 index 000000000000..b18784e79fcb --- /dev/null +++ b/devel/py-contextlib-chdir/pkg-descr @@ -0,0 +1,2 @@ +contextlib-chdir provides the backport of contextlib.chdir stdlib class added in +Python 3.11.