From nobody Wed Oct 26 13:07:42 2022 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 4My8HL65DPz4g4XH; Wed, 26 Oct 2022 13:07:42 +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 4My8HL5hZvz487R; Wed, 26 Oct 2022 13:07:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666789662; 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=MgL/mOXA3oIulOpxXJmyobUMQe8MWKjAcqdNL/n0YI4=; b=OCRDOslVm2hPgY5MoDKFSJp/8giq5Wu/XpNsrSS1vv6womRZd9Wz64mbzxFCkYaHugxc+0 i0XAZK4saozzL3HFfpT2m3Fm1iH43nf+w2G0ebKDdV0oGDNu4Par6V9Lx7lmGNvALFSGRE R+RylaeWsXXwYzxVVV7yeBRtVCXi8EnWZWXYwYftfRDBcTln3iqeMpLpwRnCEt7G3HZFtG A6xraw6FakYK2cFk/SO+cGZBqbXdXX5djNJmzA6T2CDHlqZHOnZXG1HSL2yWIIu0CNGnmN Gh2WhhRWVkwN/unzbjxv6kKJyEjoNudmyr+12MeAIr7/k746IsWfRFL9ve9RZw== 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 4My8HL4pY3zJLZ; Wed, 26 Oct 2022 13:07:42 +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 29QD7gml073339; Wed, 26 Oct 2022 13:07:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29QD7gQx073338; Wed, 26 Oct 2022 13:07:42 GMT (envelope-from git) Date: Wed, 26 Oct 2022 13:07:42 GMT Message-Id: <202210261307.29QD7gQx073338@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: a16d8f14ce3b - main - security/py-keyrings.alt: Update to 4.2.0 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: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a16d8f14ce3bbcae7b17b690069593b5b0c7fb9e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666789662; 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=MgL/mOXA3oIulOpxXJmyobUMQe8MWKjAcqdNL/n0YI4=; b=nZZiRn55mOyXGikA7VnPba8Uef9C0fwpocxK9zIl+srTOEvdc/7iGC42rlww/Z/ZOZLLac wgTflibcAJ7ZAVQyDAHqsLDf8Wc82uv10YXRRf0Mq/trzkngCfaIoizsXNm+ObCI7uBJIU BfS+slaTRAJMgcLedeIV/Oy+xxOOEwBvgisyX1XrSowI/uIjL/cjFviXYDZlmwudTiFrwN pG91zBViK0hLWjE+JrQ2FkV2xtfz5qrYwO+LESYqUUL0NE6kgGWKzAwWqOwT+1qS5mDC2w YrgtvOUEHNjdq8WBosyUfIGZ3sUN7FgPRxqmVtkwywXc6mxtr779MOxpQTA9Xw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666789662; a=rsa-sha256; cv=none; b=vgqjj2lC6veRaBxA+3HwYKCkpuqSYNyJ1ybfLtpWf1EaH9bhyy/eA0NjjqZczD17UCj8VC 0SSpCJlxe7NbJ/DyWSB/AJF9lZ94aT/Kiq6KXSPT3eOd68XfsPQpsbcDm+MJEbfNc/iH/b KdFgpYvRxxSCgkUQpGtwFFQ5ZgFIXkiJNZuxUbzMSUhrK/51/GjSb5fIvuaCsx0ZPxeObp SPGZeZqV4tY4+0Rj3pjDjdayCSID1NlRwHPg3TnByMOIr7FWcywGcAzu0eelp6HewynD4G xKj30PMwqfoFXmbwG9NuMfBNAT2wevMeGCDnXxFn8+hxe25sEjp9t1IovgrIgw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=a16d8f14ce3bbcae7b17b690069593b5b0c7fb9e commit a16d8f14ce3bbcae7b17b690069593b5b0c7fb9e Author: Dan Langille AuthorDate: 2022-10-26 13:05:55 +0000 Commit: Dan Langille CommitDate: 2022-10-26 13:05:55 +0000 security/py-keyrings.alt: Update to 4.2.0 This undeprecates the prot by moving from the deprecated security/py-pycrypto to security/py-pycryptodome and security/py-pycryptodomex (both are needed for `make test`). PR: 267340 --- security/py-keyrings.alt/Makefile | 10 ++++------ security/py-keyrings.alt/distinfo | 6 +++--- security/py-keyrings.alt/files/patch-setup.py | 9 +++++++++ security/py-keyrings.alt/files/patch-tests_test__crypto.py | 6 +++--- security/py-keyrings.alt/files/patch-tests_test__file.py | 10 +++++----- 5 files changed, 24 insertions(+), 17 deletions(-) diff --git a/security/py-keyrings.alt/Makefile b/security/py-keyrings.alt/Makefile index ae367d6b6ec3..a864a42c133a 100644 --- a/security/py-keyrings.alt/Makefile +++ b/security/py-keyrings.alt/Makefile @@ -1,5 +1,5 @@ PORTNAME= keyrings.alt -PORTVERSION= 3.1.1 +PORTVERSION= 4.2.0 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,14 +11,12 @@ WWW= https://pypi.org/project/keyrings.alt/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -DEPRECATED= Depends on expired security/py-pycrypto -EXPIRATION_DATE=2022-09-30 - BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jaraco.classes>0:devel/py-jaraco.classes@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}keyring>=10.3.1:security/py-keyring@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycryptodomex>0:security/py-pycryptodomex@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fs>=0.5:devel/py-fs@${PY_FLAVOR} USES= python:3.6+ pytest diff --git a/security/py-keyrings.alt/distinfo b/security/py-keyrings.alt/distinfo index fc308241f164..9cb90d65c9b6 100644 --- a/security/py-keyrings.alt/distinfo +++ b/security/py-keyrings.alt/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1547319605 -SHA256 (keyrings.alt-3.1.1.tar.gz) = 0bc7b75c7e710a3dd7bc4c3841c71467b24ccbce1b85efb2586bdf0c4713f751 -SIZE (keyrings.alt-3.1.1.tar.gz) = 28193 +TIMESTAMP = 1666637575 +SHA256 (keyrings.alt-4.2.0.tar.gz) = 2ba3d56441ba0637f5f9c096068f67010ac0453f9d0b626de2aa3019353b6431 +SIZE (keyrings.alt-4.2.0.tar.gz) = 29855 diff --git a/security/py-keyrings.alt/files/patch-setup.py b/security/py-keyrings.alt/files/patch-setup.py new file mode 100644 index 000000000000..4c888842fa8b --- /dev/null +++ b/security/py-keyrings.alt/files/patch-setup.py @@ -0,0 +1,9 @@ +--- setup.py.orig 2022-10-24 19:25:10 UTC ++++ setup.py +@@ -0,0 +1,6 @@ ++#!/usr/bin/env python ++ ++import setuptools ++ ++if __name__ == "__main__": ++ setuptools.setup() diff --git a/security/py-keyrings.alt/files/patch-tests_test__crypto.py b/security/py-keyrings.alt/files/patch-tests_test__crypto.py index c990d71647b7..c40de57ea426 100644 --- a/security/py-keyrings.alt/files/patch-tests_test__crypto.py +++ b/security/py-keyrings.alt/files/patch-tests_test__crypto.py @@ -2,12 +2,12 @@ # but this package doesn't exist in the ports tree yet, so adjust the import # here to import 'mock' proper. TODO ---- tests/test_crypto.py.orig 2019-01-04 05:26:47 UTC +--- tests/test_crypto.py.orig 2022-10-24 18:56:47 UTC +++ tests/test_crypto.py @@ -1,5 +1,5 @@ - import unittest + import getpass -from unittest import mock +import mock - from .test_file import FileKeyringTests + import pytest diff --git a/security/py-keyrings.alt/files/patch-tests_test__file.py b/security/py-keyrings.alt/files/patch-tests_test__file.py index 01a402ea0cd0..09e1fb8089ab 100644 --- a/security/py-keyrings.alt/files/patch-tests_test__file.py +++ b/security/py-keyrings.alt/files/patch-tests_test__file.py @@ -2,14 +2,14 @@ # but this package doesn't exist in the ports tree yet, so adjust the import # here to import 'mock' proper. TODO ---- tests/test_file.py.orig 2019-01-04 05:24:38 UTC +--- tests/test_file.py.orig 2022-09-05 01:38:48 UTC +++ tests/test_file.py -@@ -7,7 +7,7 @@ import unittest - from six.moves import configparser +@@ -6,7 +6,7 @@ import getpass + import configparser import pytest -from unittest import mock +import mock - from keyring.tests.test_backend import BackendBasicTests - from keyring.tests.util import random_string + from keyring.testing.backend import BackendBasicTests + from keyring.testing.util import random_string