From nobody Sat Jul 08 06:29:51 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 4QygNc2213z4lyvs; Sat, 8 Jul 2023 06:29:52 +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 4QygNb70tPz3kpl; Sat, 8 Jul 2023 06:29:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688797792; 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=d2obKBqqMscqH5AlZ7/JUyy67GScMDjMW+8C5tISf3A=; b=QpXOjKqHmpftRu5JN1W2gVdGaZx1FvbeP9sXXdIPNwr0dOev7Jf67G536aWwzpVr2WrLLE XfbQw4yBvM8zmTYh1UYkqQ9NpWlzgNDd1WB42+befoA7rmBqoN5SH9/GkkgodxXcfmIko7 4ERZ7/qw+2SsWQIP9UYdZcdtkiG5fdAWhrTbkj3Gietap40ut+RFcSIG6dGTYen0za2rTA OCfWlcihlhGai8fxH+G1NroMzvRcUv0tpKKCPr7keG+RF8Gvhzcum+/YtfxGroj7+lotQm 0jGw+5hAWxT9s6+lH01pb6P3vdlVBWChBlgdhr2x8ry3WkJ6zOpX8m2E7rACGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688797792; 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=d2obKBqqMscqH5AlZ7/JUyy67GScMDjMW+8C5tISf3A=; b=oppJTc8w3mhLyEK5oOlb1izwo5bAWPl847xKkNdg5MfZFTc/Dry3bgR9mnN5avJnxoEKcY GAbRVIbYT9aQJtSsbEJj8xtBBYeS0InqVYL4vGButY/eO5Fe290I1Jup+1FeP7jFKCSYgV 3INhW15B/Nmn7DtFn+I4ongINT2K7+MNqXEpClcHpvRqaI/tiWlF2z0cVZ1OTq55Sd4fGn EDCCE0SqQvosXEsQ1hUFaXlt9DVjnurEcp56+u8I4oplul5WO8WqXXKtKccvzvXKl9tWFC GsWsttKUCIsyjiExOSuk4b6uBmN1inaUzd0fSEG1H2ij4q7oqeckldzMiXc1jg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688797792; a=rsa-sha256; cv=none; b=GKL41NTaaZH9dlyDQ1afQix+5rC4FlyvZg7iElEd7Ycobnxbc6yVViJwXPn6KD6SnPi916 OGKjNhp+lv5DBTfWF4uLH2Sc7astnZlTJAbAIJlWESBlv89hmR4w5p48pOIFilpMmaO9x/ sXuV8BBce05iIva+LlI1qF6ufQm/LlZAxOtzDKnkVSs5M9Ub2FevRTE5Ot17tppdo16Hwb hcDr6fjJu56gAt6mVaChsPU/QkhtZ2z6Zkq39oOpq3W0v+nTHJIRA18ogbJgGIyZDJ06eI CVAOjtsw0h4hOiEUjqjsQLsk7nuIqpwubkqL1NTAI5M2aVrd7Ea8vymy+QKZcQ== 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 4QygNb6699z19Qx; Sat, 8 Jul 2023 06:29:51 +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 3686TpbY057005; Sat, 8 Jul 2023 06:29:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3686TpCT057004; Sat, 8 Jul 2023 06:29:51 GMT (envelope-from git) Date: Sat, 8 Jul 2023 06:29:51 GMT Message-Id: <202307080629.3686TpCT057004@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthew Seaman Subject: git: 4de68f18b8bc - main - devel/py-cookiecutter: update to 2.2.0 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: matthew X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4de68f18b8bc43534a30b4a1a2cd35457b3a7476 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by matthew: URL: https://cgit.FreeBSD.org/ports/commit/?id=4de68f18b8bc43534a30b4a1a2cd35457b3a7476 commit 4de68f18b8bc43534a30b4a1a2cd35457b3a7476 Author: Matthew Seaman AuthorDate: 2023-07-08 06:27:34 +0000 Commit: Matthew Seaman CommitDate: 2023-07-08 06:29:46 +0000 devel/py-cookiecutter: update to 2.2.0 Changes: https://github.com/cookiecutter/cookiecutter/blob/2.2.0/HISTORY.md Reported by: portscout, repology --- devel/py-cookiecutter/Makefile | 6 +++--- devel/py-cookiecutter/distinfo | 6 +++--- devel/py-cookiecutter/files/patch-tests_test__hooks.py | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/devel/py-cookiecutter/Makefile b/devel/py-cookiecutter/Makefile index fb578f82c8fa..d15f642b5a10 100644 --- a/devel/py-cookiecutter/Makefile +++ b/devel/py-cookiecutter/Makefile @@ -1,5 +1,5 @@ PORTNAME= cookiecutter -PORTVERSION= 2.1.1 +PORTVERSION= 2.2.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,12 +13,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}binaryornot>=0.4.4:devel/py-binaryornot@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=7.0<9.0.0:devel/py-click@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}jinja2-time>=0.2.0:devel/py-jinja2-time@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.7:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}poyo>=0:devel/py-poyo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-slugify>=4.0.0:textproc/py-python-slugify@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.23.0:www/py-requests@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}yaml>=5.3.1:devel/py-yaml@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}yaml>=5.3.1:devel/py-yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}arrow>=0:devel/py-arrow@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}freezegun>0:devel/py-freezegun@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \ diff --git a/devel/py-cookiecutter/distinfo b/devel/py-cookiecutter/distinfo index c924d566da28..37d9f4bf5b64 100644 --- a/devel/py-cookiecutter/distinfo +++ b/devel/py-cookiecutter/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1664107091 -SHA256 (cookiecutter-2.1.1.tar.gz) = f3982be8d9c53dac1261864013fdec7f83afd2e42ede6f6dd069c5e149c540d5 -SIZE (cookiecutter-2.1.1.tar.gz) = 146973 +TIMESTAMP = 1688765904 +SHA256 (cookiecutter-2.2.0.tar.gz) = b3437f49d04d359a200b03b63fb9e51be9eb0e751372c318a712a868d72c4f82 +SIZE (cookiecutter-2.2.0.tar.gz) = 155852 diff --git a/devel/py-cookiecutter/files/patch-tests_test__hooks.py b/devel/py-cookiecutter/files/patch-tests_test__hooks.py index ff6757438157..6c73dc8a8161 100644 --- a/devel/py-cookiecutter/files/patch-tests_test__hooks.py +++ b/devel/py-cookiecutter/files/patch-tests_test__hooks.py @@ -1,9 +1,9 @@ ---- tests/test_hooks.py.orig 2022-06-01 17:00:44 UTC +--- tests/test_hooks.py.orig 2023-06-13 08:07:06 UTC +++ tests/test_hooks.py @@ -41,7 +41,7 @@ def make_test_repo(name, multiple_hooks=False): post = 'post_gen_project.sh' filename = os.path.join(hook_dir, post) - with open(filename, 'w') as f: + with Path(filename).open('w') as f: - f.write("#!/bin/bash\n") + f.write("#!/bin/sh\n") f.write("\n") @@ -12,7 +12,7 @@ @@ -61,7 +61,7 @@ def make_test_repo(name, multiple_hooks=False): pre = 'pre_gen_project.sh' filename = os.path.join(hook_dir, pre) - with open(filename, 'w') as f: + with Path(filename).open('w') as f: - f.write("#!/bin/bash\n") + f.write("#!/bin/sh\n") f.write("\n") @@ -21,7 +21,7 @@ @@ -189,7 +189,7 @@ class TestExternalHooks: f.write("echo. >{{cookiecutter.file}}\n") else: - with open(hook_path, 'w') as fh: + with Path(hook_path).open('w') as fh: - fh.write("#!/bin/bash\n") + fh.write("#!/bin/sh\n") fh.write("\n")