Date: Thu, 12 Feb 2026 09:34:55 +0000 From: Charlie Li <vishwin@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9403dc66eaf3 - main - devel/py-setuptools-scm8: copy from devel/py-setuptools-scm Message-ID: <698d9ebf.18c91.2ece00fc@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by vishwin: URL: https://cgit.FreeBSD.org/ports/commit/?id=9403dc66eaf3a5a7b623354afe867d1e77d8f869 commit 9403dc66eaf3a5a7b623354afe867d1e77d8f869 Author: Charlie Li <vishwin@FreeBSD.org> AuthorDate: 2026-02-12 08:14:36 +0000 Commit: Charlie Li <vishwin@FreeBSD.org> CommitDate: 2026-02-12 09:32:02 +0000 devel/py-setuptools-scm8: copy from devel/py-setuptools-scm PR: 286779 --- devel/Makefile | 1 + devel/py-setuptools-scm8/Makefile | 51 ++++++++++++++++++++++++++++++++++++++ devel/py-setuptools-scm8/distinfo | 3 +++ devel/py-setuptools-scm8/pkg-descr | 2 ++ 4 files changed, 57 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 9e8037bcf2e0..6ba35ef81ad1 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6005,6 +6005,7 @@ SUBDIR += py-setuptools-pkg SUBDIR += py-setuptools-rust SUBDIR += py-setuptools-scm + SUBDIR += py-setuptools-scm8 SUBDIR += py-setuptools44 SUBDIR += py-setuptools58 SUBDIR += py-setuptools_git_ls_files diff --git a/devel/py-setuptools-scm8/Makefile b/devel/py-setuptools-scm8/Makefile new file mode 100644 index 000000000000..9578ac45ca95 --- /dev/null +++ b/devel/py-setuptools-scm8/Makefile @@ -0,0 +1,51 @@ +PORTNAME= setuptools-scm +PORTVERSION= 8.0.4 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 8 + +MAINTAINER= python@FreeBSD.org +COMMENT= Setuptools plugin to manage your versions by scm tags +WWW= https://setuptools-scm.readthedocs.io/en/latest/ \ + https://github.com/pypa/setuptools-scm + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ + ${PY_TOMLI} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=20:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PY_TOMLI} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} +TEST_DEPENDS= git:devel/git \ + gpg2:security/gnupg \ + ${PY_MERCURIAL} \ + ${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mypy>=0:devel/py-mypy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rich>=0:textproc/py-rich@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=0:devel/py-setuptools_scm_git_archive@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 pytest + +NO_ARCH= yes +PORTSCOUT= ignore:1 + +# test_git_worktree_support sometimes relative path results +# test_dump_version_on_old_python python 3.7 not available +# test_not_owner requires passwordless sudo access +# test_case_mismatch_on_windows_git we're not on Windows +PYTEST_BROKEN_TESTS= test_git_worktree_support +PYTEST_IGNORED_TESTS= test_dump_version_on_old_python \ + test_not_owner \ + test_case_mismatch_on_windows_git + +post-patch: + @${REINPLACE_CMD} -e '497,521s|"gpg|"gpg2|' ${WRKSRC}/testing/test_git.py + @${REINPLACE_CMD} -e 's/"GIT_SSH", "GIT_SSH_COMMAND"/"GIT_SSH", "GIT_SSH_COMMAND", "GIT_CEILING_DIRECTORIES"/' ${WRKSRC}/src/setuptools_scm/_run_cmd.py + +.include <bsd.port.mk> diff --git a/devel/py-setuptools-scm8/distinfo b/devel/py-setuptools-scm8/distinfo new file mode 100644 index 000000000000..1d68fd7ef35e --- /dev/null +++ b/devel/py-setuptools-scm8/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1696540413 +SHA256 (setuptools-scm-8.0.4.tar.gz) = b5f43ff6800669595193fd09891564ee9d1d7dcb196cab4b2506d53a2e1c95c7 +SIZE (setuptools-scm-8.0.4.tar.gz) = 74280 diff --git a/devel/py-setuptools-scm8/pkg-descr b/devel/py-setuptools-scm8/pkg-descr new file mode 100644 index 000000000000..552a33774a26 --- /dev/null +++ b/devel/py-setuptools-scm8/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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?698d9ebf.18c91.2ece00fc>
