From nobody Sun Aug 13 09:41:31 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 4RNsx85Pj7z4qJZr; Sun, 13 Aug 2023 09:41:32 +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 4RNsx76tnyz4bbV; Sun, 13 Aug 2023 09:41:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691919692; 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=tHxNQ5kXL+SGi5Xl1cO5JdgxZz4fqWNgjdBvnCx+MSA=; b=h+Zm2jMUI6QafARI2vOiBKaR/NFtDVnm4ZokYZWL5nigOr8ItZ+hUNgWRzSHeDdRdICgfj 9WKdnySfklqvpPUew9DMoeytu44yGbc1TF/xFX1YtG31zrH5kwwEL9c8tPEDfTm6jHeLH5 tTCOG0aB4alCewdOm8nlHge2oyGXQ3CZxuUIjNS169kuBaQK22gKcvz2XiTH1KbVcALKYF Uf5JTDzrcvUcIdLUH2YjRveYwEIkTDc/IJeHI0QD50UGiI5tjiPpinji68XqpiAa0VZeMG /umUILWlAdzfXOFJdYRXzVNU57P3KDSDolYQUl9ykFDoQnDCjxJM4tdnAkYzxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691919692; 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=tHxNQ5kXL+SGi5Xl1cO5JdgxZz4fqWNgjdBvnCx+MSA=; b=Kv5A3IujumH8IjQ9pGd9TOYohfsAz51th93cpfEq5zPXGQzxlkTwniV/L1ZgeUBpC9CZdQ AJwsXiUZu3A9cmE+M4AOpWglQ97n60EJCQ1oXyskuI26vTbI0Ei0E229IoFZorkReOYVbP SrzGwUCIod+mGS4wuHzcw1NgZSy/tGhJFSuJYs5pLJpvyWrXMioByPnbsiXBpE96xdr187 hlEC3+b0NxnCE6/XFU+Bc5Uslas6IeZfox1NhxLfxfxeOycm5j2Jte8CsoY4fO/s4YD32g GfrTG/ZSjrS7uGDldEwnKAjSn5ZUq+ebIX18zjrOMDmbDgp1fOxuqxzImdce6g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691919692; a=rsa-sha256; cv=none; b=Vm74QfU1fX0TxQRatA8ebdYaD99416tkhcdmQ8MZgEcQq/Mt+NLdAsNrxpi+HyWKIKR1Ab 4T78TrcusfEK8D9giwOTD7bxCN5Wxya5h9r14NmA77w2MFXeB3OE9rUjyoFy7qMkvfA33U eCXrvg4ufeSgw+BoYkG1qW3FcCSWUdx8+kpqVuJHj1pXE7ARo5MbdyuCtZ9/SVW3Zfm1uU Ef+IXyQds/6dd/zf9Llw4StCQ6ztWET84iV8Jmc49ko1cSDIUfjtAoDUSjiHqSyxtrWvY5 xZyCOX1ubKll15aedHilhLHaGddzhz3zDfsS+J6WQcU3sn59T9+Y6az6QKgUtA== 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 4RNsx748shzxDQ; Sun, 13 Aug 2023 09:41:31 +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 37D9fVQD045930; Sun, 13 Aug 2023 09:41:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37D9fVTw045927; Sun, 13 Aug 2023 09:41:31 GMT (envelope-from git) Date: Sun, 13 Aug 2023 09:41:31 GMT Message-Id: <202308130941.37D9fVTw045927@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 7dbdc9f4bfb9 - main - net/py-anonfile: Update to 1.0.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: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7dbdc9f4bfb9b1f28fb868ce4417cc76e2fdb52b Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=7dbdc9f4bfb9b1f28fb868ce4417cc76e2fdb52b commit 7dbdc9f4bfb9b1f28fb868ce4417cc76e2fdb52b Author: Jesús Daniel Colmenares Oviedo AuthorDate: 2023-08-10 06:27:30 +0000 Commit: Robert Clausecker CommitDate: 2023-08-13 09:32:55 +0000 net/py-anonfile: Update to 1.0.0 ChangeLog: https://github.com/nstrydom2/anonfile-api/blob/v1.0.0/CHANGELOG.md * drops support for Python 3.7 and makes 3.8 the new baseline for further development * updates all dependencies * adds size_readable property to ParseResponse * improves the testing methodology of the library * fixes a bug in which the config directory was set incorrectly on FreeBSD * refactors and future proofs CLI code PR: 273038 --- net/py-anonfile/Makefile | 4 ++-- net/py-anonfile/distinfo | 6 +++--- net/py-anonfile/files/patch-setup.py | 9 ++++----- net/py-anonfile/files/patch-src_anonfile_anonfile.py | 12 ------------ 4 files changed, 9 insertions(+), 22 deletions(-) diff --git a/net/py-anonfile/Makefile b/net/py-anonfile/Makefile index bfbb6655b116..2850f96004f0 100644 --- a/net/py-anonfile/Makefile +++ b/net/py-anonfile/Makefile @@ -1,5 +1,5 @@ PORTNAME= anonfile -DISTVERSION= 0.2.7 +DISTVERSION= 1.0.0 CATEGORIES= net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,7 +15,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-meta ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} -USES= python:3.9+ +USES= dos2unix python:3.9+ USE_PYTHON= autoplist distutils NO_ARCH= yes diff --git a/net/py-anonfile/distinfo b/net/py-anonfile/distinfo index 0126184fde4d..d6c93b761591 100644 --- a/net/py-anonfile/distinfo +++ b/net/py-anonfile/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1686877067 -SHA256 (anonfile-0.2.7.tar.gz) = 25357970d0e567208f4b07f6ebf036c4934b78f04f991b271bf89fe13252359d -SIZE (anonfile-0.2.7.tar.gz) = 12086 +TIMESTAMP = 1691647723 +SHA256 (anonfile-1.0.0.tar.gz) = d64f5180d6d400098ae32eeb62a0b82b7095f1cdcda0bcacfe71d91ac3bc03ec +SIZE (anonfile-1.0.0.tar.gz) = 14082 diff --git a/net/py-anonfile/files/patch-setup.py b/net/py-anonfile/files/patch-setup.py index 91358e0d20c5..41fb788e12e2 100644 --- a/net/py-anonfile/files/patch-setup.py +++ b/net/py-anonfile/files/patch-setup.py @@ -1,4 +1,4 @@ ---- setup.py.orig 2023-06-16 04:37:29 UTC +--- setup.py.orig 2023-08-10 06:12:11 UTC +++ setup.py @@ -9,14 +9,6 @@ with open("src/anonfile/anonfile.py", encoding='utf-8' python_major = int(re.search(r'python_major = "(.*?)"', lines).group(1)) @@ -15,16 +15,15 @@ print("reading readme file") with open("README.md", "r") as fh: -@@ -37,9 +29,13 @@ setup( +@@ -37,9 +29,12 @@ setup( 'Changelog': "https://github.com/nstrydom2/anonfile-api/blob/master/CHANGELOG.md" - }, + }, python_requires=">=%d.%d" % (python_major, python_minor), - install_requires=packages, + install_requires=[ + "requests", + "requests-toolbelt", -+ "tqdm", -+ "importlib-metadata" ++ "tqdm" + ], extra_requires={ - 'dev': dev_packages[1:], diff --git a/net/py-anonfile/files/patch-src_anonfile_anonfile.py b/net/py-anonfile/files/patch-src_anonfile_anonfile.py deleted file mode 100644 index 235d7c3aa0ff..000000000000 --- a/net/py-anonfile/files/patch-src_anonfile_anonfile.py +++ /dev/null @@ -1,12 +0,0 @@ ---- src/anonfile/anonfile.py.orig 2023-06-16 05:34:29 UTC -+++ src/anonfile/anonfile.py -@@ -65,7 +65,8 @@ def get_config_dir() -> Path: - return { - 'Windows': Path(os.path.expandvars('%LOCALAPPDATA%')), - 'Darwin': Path.home().joinpath('Library').joinpath('Application Support'), -- 'Linux': Path.home().joinpath('.config') -+ 'Linux': Path.home().joinpath('.config'), -+ 'FreeBSD': Path.home().joinpath('.config') - }[platform.system()].joinpath(package_name) - - def get_logfile_path() -> Path: