From nobody Tue Mar 21 19:29:55 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 4Ph1s11NKRz40jNM; Tue, 21 Mar 2023 19:29:57 +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 4Ph1s00fLPz4TlY; Tue, 21 Mar 2023 19:29:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426996; 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=CjGtFrGYAgCnmGD0FADSmfG9eksDSxoQv8srqgCy6wk=; b=lxRrhWdf7x8d2kyFEVZE9fmHLL1UsV42iFCEua4p/uBPWMGEDTXHq86sKFpIwF4hdW8pPP BsOJwiw4MUOk1Omz/zapd4zi+qrZifK3KKTqis/6dt2wAj+v7Hlo8Xge/zRCvu5ioqrRR/ ITFGBZiBRRtC73bX0A0GMPn6E/q3CXZc83jVALH7P17uglu875VSazIiK0fAYI9K0SZdpK aWETDLRRJp8Mi4Eraa7gQiGzSPRMV1Gq/Dk04hhpqgDzX1oBuC8WJCIDHg+yx+Ukq/Cr4X R4hG/q9Sz8HP8Bw9TSMt1wjtNcpE6y2gX/Eq11I6uUmUT3X5xXccpR7z3XNHIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426996; 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=CjGtFrGYAgCnmGD0FADSmfG9eksDSxoQv8srqgCy6wk=; b=Ejo3cbKamLR0aGMoB7LQP7tlQ4fSCJtz/POEZt9keHOH6i3mqhP+Bq947chki9nbBTclIG iEpmoS2oLNT6L5WWxbcKURuUPJBSfwONZCXgDdvNnZu/6VUaEqsLT7YW0zgYdbD59rtQ6+ C1RxPetdO6l33RTC/vx9YgDdUX8e21tfz+eDZ0wW2T083UmEd+PVkz0ZLSi64kC7sgxO4k 65ePEQ01GKRflC45YKEm5Nn+8voIHUUnssdDPOWxUNhupSDDcS/Y8uoWWyaRENCOZB5DVi 9bt3qKdnj2EyvtjS0gHxqx/qxBk2805VJyCiTbzOFlvB4CuGqjTTJqbYFjDL5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679426996; a=rsa-sha256; cv=none; b=hXCggLDxjwbVuxZCNCUCyX9w59XdLF22KZbVjzlVJwGYXvEHlv1tTMnb75D4f3Nj9N9Fht NMtIWjWrRYfIFBSQvrrnV5kT+GLV26RqvxY9WC+cr+ASz1RcAkO5iMr21RnIcAawXcVA9N pTCKiHiO+Zd3wv1+o7wVMPiqfVxrCkSg3LHxdj1oEyM2e5pzXSTZ/0f3LrO1BFVGZrwlbR AztpK0zkSgZoceA/ezL0dqADKkcPfa0wzA3UQ4EzCEZ1vxePDTQLVW46JllRPn1igCqfNa Lub/FtRrhIixsmy07w1jC7vCAncqKC5LFPZjwEOSpgGxub/AO1C/TnXSqLAm7A== 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 4Ph1rz4pJrzPhB; Tue, 21 Mar 2023 19:29:55 +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 32LJTtmC033732; Tue, 21 Mar 2023 19:29:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJTto8033731; Tue, 21 Mar 2023 19:29:55 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:29:55 GMT Message-Id: <202303211929.32LJTto8033731@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: 750a08a13b68 - main - security/py-argon2-cffi: Convert to USE_PYTHON=pep517 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 750a08a13b681edf61ae9ed6ac7a1a138ebcad78 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=750a08a13b681edf61ae9ed6ac7a1a138ebcad78 commit 750a08a13b681edf61ae9ed6ac7a1a138ebcad78 Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:47:34 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:21:16 +0000 security/py-argon2-cffi: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- security/py-argon2-cffi/Makefile | 7 +++--- security/py-argon2-cffi/files/setup.py | 45 ---------------------------------- 2 files changed, 3 insertions(+), 49 deletions(-) diff --git a/security/py-argon2-cffi/Makefile b/security/py-argon2-cffi/Makefile index 9427a5c1752d..5adfc1ff8f41 100644 --- a/security/py-argon2-cffi/Makefile +++ b/security/py-argon2-cffi/Makefile @@ -1,5 +1,6 @@ PORTNAME= argon2-cffi PORTVERSION= 21.3.0 +PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,12 +12,13 @@ WWW= https://argon2-cffi.readthedocs.io/en/stable/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.4<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argon2-cffi-bindings>=0:security/py-argon2-cffi-bindings@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=5.0.2:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} USES= python:3.6+ -USE_PYTHON= autoplist concurrent distutils pytest +USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} @@ -27,7 +29,4 @@ TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} .endif -post-patch: - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py - .include diff --git a/security/py-argon2-cffi/files/setup.py b/security/py-argon2-cffi/files/setup.py deleted file mode 100644 index a804b1fcb68e..000000000000 --- a/security/py-argon2-cffi/files/setup.py +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env python -# setup.py generated by flit for tools that don't yet use PEP 517 - -from distutils.core import setup - -packages = \ -['argon2'] - -package_data = \ -{'': ['*']} - -package_dir = \ -{'': 'src'} - -install_requires = \ -['argon2-cffi-bindings'] - -extras_require = \ -{":python_version < '3.7'": ['dataclasses'], - ":python_version < '3.8'": ['typing-extensions'], - 'dev': ['pre-commit', - 'cogapp', - 'tomli', - 'coverage[toml]>=5.0.2', - 'hypothesis', - 'pytest', - 'sphinx', - 'sphinx-notfound-page', - 'furo'], - 'docs': ['sphinx', 'sphinx-notfound-page', 'furo'], - 'tests': ['coverage[toml]>=5.0.2', 'hypothesis', 'pytest']} - -setup(name='argon2-cffi', - version='%%PORTVERSION%%', - description='The secure Argon2 password hashing algorithm.', - author=None, - author_email='Hynek Schlawack ', - url=None, - packages=packages, - package_data=package_data, - package_dir=package_dir, - install_requires=install_requires, - extras_require=extras_require, - python_requires='>=3.6', - )