From nobody Fri Jun 03 14:00:26 2022 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 4E5761B5AED1; Fri, 3 Jun 2022 14:00:28 +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 4LF4K76YcQz3F5g; Fri, 3 Jun 2022 14:00:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654264828; 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=T49hhQnW+NlT0DyNJsbgsJ2+vGjTbYRpc7+pfIVfh7s=; b=LTj7Bm8oa2IIecMmnbuphkWM6addIOhfvT917jcXThk12A0wNPRKqlY8voH2juXOydV5SB nvwjL82SWgcimBhTVwru6hOfyBPFpJto9+v20ai9S6JjN/ljoAc4Liy68cWtVdO0Ud05oo OnHsqlX3F6vh3OU32AP2Q7O/Ud6izlKmMPlnAxnNORTVFgdkv7IxcE2tZx+BAaZyp07lb6 IuMofX1Paf1QEJYgto4FNFXhvOGVqb22NPOk3LlLemfT6rcgT2Ucn1uksfv0KY8MdDpjHx lf+O7vk/z+WemWO7M9xZ+Cyhs3Ja24xNQXWWvCrS6pFXi2iS/olTXt/bV43rUA== 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 00C212445; Fri, 3 Jun 2022 14:00:27 +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 253E0Qud098525; Fri, 3 Jun 2022 14:00:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 253E0Q7d098524; Fri, 3 Jun 2022 14:00:26 GMT (envelope-from git) Date: Fri, 3 Jun 2022 14:00:26 GMT Message-Id: <202206031400.253E0Q7d098524@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: b41d7996cdb2 - main - devel/py-zope.browserresource: Fix build with setuptools 58.0.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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b41d7996cdb248cd014877486b51e09cc68373f4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654264828; 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=T49hhQnW+NlT0DyNJsbgsJ2+vGjTbYRpc7+pfIVfh7s=; b=ymL0XefGa4tuqFIldU9Rf1c7w6sfnPlP1bDYH1qWEqiJ/WiSrBZ9kdxTcD0MpWAf8XQ0fO pKfSu7409ourm5O49z4v5yNJdk15km/qIn3J2CQtUU6xMtjy5981e0DQUrA7cXo/9w1ehQ 34cRkr4lyv+4AFCTkL0hm0eJeqvXRwa73QuwDJdcS656ShfeoaJGxG/NIi84UmxKyS9xi7 cwuw+Wk/cs7G3jBdPxCJApIHea7LiwIWiNd7XRV4H6LwCuGr6kSJpedi7Q5l9M+cr4q7sc NAoLq8ZNlowfVq5ShEdieVkOUidronU6tibkJJzW6I6Liq9Q0dB7/lx1wyvOWA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654264828; a=rsa-sha256; cv=none; b=e9+RYJR2tE0we3GjvBFKt36XI1J/Yi/39uf+FeLS7gKXeDAGR/n1cFLUZKpZKl3Usqsche JqBl3U9iMo5pqOvDZ4RZuZbSBnyKr3N9hzKTXRtdVxJgZoSFk9rQ6UApije4s/0l2vFzlz GM9qbol/Rvw21eKxt0pJLVMY+7seoF5D9PKGSoBSddKTE8TtXiiYjMZImhYispqC9wN5Yt K8X0N2A7JMMElSdn96Te8TNuBthHCAaw3SttQ1XBzAO19v8bZ+c5i7nm6OkT6QxLbQzBf3 thHrxd3DTa9fMZVJ5OLn0yFUUHp4Vkcj5UeLAuAqPEOQFNRX9cxSAc+oT6mNzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b41d7996cdb248cd014877486b51e09cc68373f4 commit b41d7996cdb248cd014877486b51e09cc68373f4 Author: Po-Chuan Hsieh AuthorDate: 2022-06-03 13:56:24 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-03 13:59:05 +0000 devel/py-zope.browserresource: Fix build with setuptools 58.0.0+ With hat: python --- devel/py-zope.browserresource/files/patch-2to3 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/devel/py-zope.browserresource/files/patch-2to3 b/devel/py-zope.browserresource/files/patch-2to3 new file mode 100644 index 000000000000..9c237afe883f --- /dev/null +++ b/devel/py-zope.browserresource/files/patch-2to3 @@ -0,0 +1,20 @@ +--- src/zope/browserresource/file.py.orig 2009-08-25 05:54:46 UTC ++++ src/zope/browserresource/file.py +@@ -164,14 +164,14 @@ class FileResource(BrowserView, Resource): + # understand the screwy date string as a lucky side effect + # of the way they parse it). + try: +- mod_since = long(mktime_tz(parsedate_tz(header))) ++ mod_since = int(mktime_tz(parsedate_tz(header))) + except: + mod_since = None + if mod_since is not None: + if getattr(file, 'lmt', None): +- last_mod = long(file.lmt) ++ last_mod = int(file.lmt) + else: +- last_mod = 0L ++ last_mod = 0 + if last_mod > 0 and last_mod <= mod_since: + response.setStatus(304) + return ''