From nobody Wed Jan 19 06:37:21 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 7889919650EA; Wed, 19 Jan 2022 06:37:21 +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 4Jdwt92z63z3LDB; Wed, 19 Jan 2022 06:37:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642574241; 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=67iq5XTZYmL14wKn3SlsTD0SgpE8Z7gWBnMHm+45Exk=; b=Wq9xp57MQ0IPBNjU/dbI8KnzyZ9IUVkdykUriT/y5jZR/cSJiczoGzaoakZRMXM7upuXbs 4hC6lq2/d+XXRqRcLEESSxu8YcsB53DhS9Muj9+lwIWpfhhAoBPsJV40OawMyZ7Vd7oDIn +vVLpaTfkaMQyokgeBQarPBy4aK+5u72hyglUV5M9Ie4xXADF+5FtSyo6WTu4vvoeVGz/K WrDQLPnamsWS24Z1rVlrN7X3mzNYSt5mKkBT7VV2yi/DhZmmd6oXuOm8W9+6aGGHBXuQpT ijrcwFss++TPraNrON108JldGe1qg+f7Pk+dbnV4Lw6DSOeCvluXOyShdULLTA== 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 4296B1053C; Wed, 19 Jan 2022 06:37:21 +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 20J6bLbn081885; Wed, 19 Jan 2022 06:37:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20J6bL73081884; Wed, 19 Jan 2022 06:37:21 GMT (envelope-from git) Date: Wed, 19 Jan 2022 06:37:21 GMT Message-Id: <202201190637.20J6bL73081884@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yasuhiro Kimura Subject: git: 7fc16dab8458 - main - dns/py-dnspython: Update to 2.1.0 for Python 3 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: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7fc16dab8458ce6df36c53fd1139da2475c57d1d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642574241; 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=67iq5XTZYmL14wKn3SlsTD0SgpE8Z7gWBnMHm+45Exk=; b=NBLaELGbKo2DpVRjOGwcNL6+i12eGhaa5Mk6jwONCJStH1Wz/ApxOlSCIn+vFhNIj0rZks kQGKjoXhAFELS+bmaeUwnVdzKZm/aPFHTArePENJZI8kYwyL7d+vQXtnAJ6HLXAL4Fqn0H IlSY7PFI1f/mgiDP8xJiLp5BVwzUnM8T//cmerfTdk0sdVGlGDPXP0NkGnsvSdj+6+vsiC tVzXkkTORuCmPrrEqQWGOewc7L0HfTrCdOMZx54NPNImXLi4EAfary0b7+3vfnbXdJXf5W qYBQKjOw5InQlwnriDE+ayTnHslTPfKi4utyuhoRnUXA4s4taCIiBJroUbdMzA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642574241; a=rsa-sha256; cv=none; b=npNPXMrzRArZzWOOfzrfDxZoqght2QLEMHjutdRiByIFiUUh6RobvrKoPvkeT7TCa3rnrU QD0E4hC5iJ0nDusjbF+9i9hHZfMQKcYegkbMlMqm/EsJ28y/2virYXMbpBkOwZNlfgvR86 DknnUNlP/r4dkqmqoqlsxYV+Cxb0sz3aryPMYLRI0oPQK9Hz4TElDn//fo/K1EfrTl1JUt 4T6lgipMJlYDCUD7dR1x1qn9qjHbn7IO/TDYnsKQI0gWwHIPALQ/HY+JXdWpyExYzxKj2w q4U9g8ghTMdV3RvOcsiRrRgCegIy6Q6NMyM2jCPy0I+grQFT3j+wL5lSk2KLVA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=7fc16dab8458ce6df36c53fd1139da2475c57d1d commit 7fc16dab8458ce6df36c53fd1139da2475c57d1d Author: Yasuhiro Kimura AuthorDate: 2020-10-23 20:41:56 +0000 Commit: Yasuhiro Kimura CommitDate: 2022-01-19 06:36:06 +0000 dns/py-dnspython: Update to 2.1.0 for Python 3 While updating this port to 2.1.0 fixes runtime error "AttributeError: module 'base64' has no attribute 'decodestring'" with python 3.9 or later, it isn't compatible with Python 2.7. So update to 2.1.0 only for Python 3. ChangeLog: https://github.com/rthalley/dnspython/blob/v2.1.0/doc/whatsnew.rst PR: 260475 Approved by: maintainer timeout (> 1 month) --- dns/py-dnspython/Makefile | 8 +++++++- dns/py-dnspython/distinfo | 4 +++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dns/py-dnspython/Makefile b/dns/py-dnspython/Makefile index ed72b3ffa45a..ba52900816d1 100644 --- a/dns/py-dnspython/Makefile +++ b/dns/py-dnspython/Makefile @@ -24,9 +24,15 @@ PYCRYPTODOME_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pyc PORTEXAMPLES= ddns.py e164.py mx.py name.py reverse.py reverse_name.py \ xfr.py zonediff.py +.include + +.if ${PYTHON_MAJOR_VER} == 3 +PORTVERSION= 2.1.0 +.endif + post-install-EXAMPLES-on: # examples @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR} -.include +.include diff --git a/dns/py-dnspython/distinfo b/dns/py-dnspython/distinfo index 811b8c0e68c1..a4ae58940da3 100644 --- a/dns/py-dnspython/distinfo +++ b/dns/py-dnspython/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1547728483 +TIMESTAMP = 1613064959 SHA256 (dnspython-1.16.0.zip) = 36c5e8e38d4369a08b6780b7f27d790a292b2b08eea01607865bf0936c558e01 SIZE (dnspython-1.16.0.zip) = 266364 +SHA256 (dnspython-2.1.0.zip) = e4a87f0b573201a0f3727fa18a516b055fd1107e0e5477cded4a2de497df1dd4 +SIZE (dnspython-2.1.0.zip) = 389021