From nobody Sat Apr 22 10:01:49 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 4Q3Rkl3cY5z46WMV; Sat, 22 Apr 2023 10:01:51 +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 4Q3Rkk1SVQz3wl8; Sat, 22 Apr 2023 10:01:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682157710; 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=rjjLUQYlQxc8u2J71DYGuVCNHpMqMVW75WlHd8mm1Ns=; b=HNbe+W4tHTncMH2vWA7wsQpMYp/D8LJRyh3RcWAUWXk/UKQQGrYwKnAbbnK4O+lDHOBoBg auHm/87N+aFpgoVa3ZdhhWd2QkwDAy4jNglKicRgOfbfjd9Mr9BICQe9IQJRkgCKklzDnN 7UAM7sBG+usqoB/kgiYySZeDTLCj4SfbiFw6wgfIPuPFIDUUKjrqytGk73xAGgZj842Nvh pCnus+whUxfvJ9DC6w4WjnlsYMOnDLjVWsvkj2Wfu3S7MZBihdMniMXta/EVodVSXCYaDt C0MirmHI/4bQO2QRgtkYlDY3cBajkKcsTOHu33+b0dkNqX8rhD4D/4kVM8Q7fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682157710; 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=rjjLUQYlQxc8u2J71DYGuVCNHpMqMVW75WlHd8mm1Ns=; b=qPNmikkBryG2HeT2nijXBxcTy020OSvnsTNT83/I35MFughCMyZ0M/UfOFUTfxpHhK4nZB QymyyYmNGXICcWYk6auanAqiOHmOVWKWbSQgmyi1dvXleZ3QSiqdEVTPG4EbD7isKDXi20 34IfJJkL5l9CDfZkZLQRJQzVn+lg5mQCMJdGy0xNVayW4FEYuh1iYvytfkzBm1unBOXpNU mDIzc3LtOLK0/J02Pd/3AbF23tAWkOYkSyIFIELVp7PDwya9J7dY0fc4JlCwH24c6dvue9 6cDl/EFmZCQX0dH1/Q/61GyIDT875IqPdWsVQrPKnT4hEYNMCIt2k2Kbga94SQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682157710; a=rsa-sha256; cv=none; b=s/XuNuen1kuKQHs8HOCdu1Zh6INakAWBGQwo5x1o/n2QeSAcOxKg8EpsTJikRsPGWs0Puc dN+6LI4k3/WFypEAI4vo9T8QIAFh17w79mjvwKjLQtJFtilQGmYhSitU13izarLbJ+S/r8 gcRjwjm7l+RTAJC2lYyqz0egbu65sEL4J6GIFj7VHuo1R4l5ZvmkCVzbTgYnfDDvkDFwTg Tvh/+zHXK9AAC3FsQYmsv5nRB374psjrBTYEkmgNwHfegz5NnRI/seq3S6o2bYFJ8T+4uA hT6fExLj5nqYI+HWozBzvsJS/aGqoLURC4oQ8DFkDQMH1FnlA7wZ9mRB6KBymw== 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 4Q3Rkj5y6YzxYV; Sat, 22 Apr 2023 10:01:49 +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 33MA1nki077227; Sat, 22 Apr 2023 10:01:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33MA1nbc077226; Sat, 22 Apr 2023 10:01:49 GMT (envelope-from git) Date: Sat, 22 Apr 2023 10:01:49 GMT Message-Id: <202304221001.33MA1nbc077226@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthew Seaman Subject: git: 94b3a73692ec - main - devel/py-setuptools_scm7: New port 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: matthew X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 94b3a73692ec399524fedd2407a2a454bad0db00 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by matthew: URL: https://cgit.FreeBSD.org/ports/commit/?id=94b3a73692ec399524fedd2407a2a454bad0db00 commit 94b3a73692ec399524fedd2407a2a454bad0db00 Author: Matthew Seaman AuthorDate: 2023-04-22 09:34:38 +0000 Commit: Matthew Seaman CommitDate: 2023-04-22 10:01:36 +0000 devel/py-setuptools_scm7: New port Copied from devel/py-setuptools_scm --- devel/Makefile | 1 + devel/py-setuptools_scm7/Makefile | 61 ++++++++++++++++++++++++++++++++++++++ devel/py-setuptools_scm7/distinfo | 3 ++ devel/py-setuptools_scm7/pkg-descr | 2 ++ 4 files changed, 67 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 46e636c8a1c0..00e994fbadc6 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5467,6 +5467,7 @@ SUBDIR += py-setuptools_git_ls_files SUBDIR += py-setuptools_hg SUBDIR += py-setuptools_scm + SUBDIR += py-setuptools_scm7 SUBDIR += py-setuptools_scm_git_archive SUBDIR += py-sexpdata SUBDIR += py-sgmllib3k diff --git a/devel/py-setuptools_scm7/Makefile b/devel/py-setuptools_scm7/Makefile new file mode 100644 index 000000000000..9cc28a3a09f7 --- /dev/null +++ b/devel/py-setuptools_scm7/Makefile @@ -0,0 +1,61 @@ +PORTNAME= setuptools_scm +PORTVERSION= 7.1.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 7 + +MAINTAINER= matthew@FreeBSD.org +COMMENT= Setuptools plugin to manage your versions by scm tags +WWW= https://pypi.org/project/setuptools-scm/ \ + https://github.com/pypa/setuptools_scm + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=20.0:devel/py-packaging@${PY_FLAVOR} \ + ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=20.0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}virtualenv>=0:devel/py-virtualenv@${PY_FLAVOR} \ + git:devel/git \ + ${PY_MERCURIAL} \ + gpg:security/gnupg + +USES= python:3.7+ +USE_PYTHON= autoplist pep517 pytest + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}-${PORTNAME} + +NO_ARCH= yes + +TEST_ENV+= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} + +# Optional tests that depend on `dir` (windows) and `hg_git` (no longer in ports) will be skipped + +# test_case_mismatch_on_windows_git we're not on windows... +# test_on_old_setuptools devel/py-setuptools is newer than the versions tested here +# test_not_owner requires passwordless sudo access +PYTEST_IGNORED_TESTS= test_case_mismatch_on_windows_git \ + test_on_old_setuptools \ + test_not_owner + +# https://github.com/pypa/setuptools_scm/issues/449 +PYTEST_BROKEN_TESTS= test_non_dotted_version + +.include + +.if ${PYTHON_REL} < 31100 +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.0.0:textproc/py-tomli@${PY_FLAVOR} +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.0.0:textproc/py-tomli@${PY_FLAVOR} +.endif + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.include diff --git a/devel/py-setuptools_scm7/distinfo b/devel/py-setuptools_scm7/distinfo new file mode 100644 index 000000000000..1d15e06471d2 --- /dev/null +++ b/devel/py-setuptools_scm7/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1679907456 +SHA256 (setuptools_scm-7.1.0.tar.gz) = 6c508345a771aad7d56ebff0e70628bf2b0ec7573762be9960214730de278f27 +SIZE (setuptools_scm-7.1.0.tar.gz) = 71904 diff --git a/devel/py-setuptools_scm7/pkg-descr b/devel/py-setuptools_scm7/pkg-descr new file mode 100644 index 000000000000..552a33774a26 --- /dev/null +++ b/devel/py-setuptools_scm7/pkg-descr @@ -0,0 +1,2 @@ +Handles managing your python package versions in scm metadata instead of +declaring them as the version argument or in a scm managed file.