notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
There is a known issue with processing of security/vuxml data. As a results, the "Lastest Vulnerabilities" box is out of date and new entries after 2025-Sep-02 are not shown.
Port details on branch 2025Q3
py-setuptools-scm Setuptools plugin to manage your versions by scm tags
8.0.4_2 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 8.0.4_2Version of this port present on the latest quarterly branch.
Maintainer: python@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-09-03 14:15:06
Last Update: 2025-09-03 14:07:10
Commit Hash: 17cf32c
Also Listed In: python
License: MIT
WWW:
https://setuptools-scm.readthedocs.io/en/latest/
https://github.com/pypa/setuptools-scm
Description:
Handles managing your python package versions in scm metadata instead of declaring them as the version argument or in a scm managed file.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-setuptools-scm/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-setuptools-scm
  • pkg install py311-setuptools-scm
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-setuptools-scm listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-setuptools-scm
Package flavors (<flavor>: <package>)
  • py311: py311-setuptools-scm
distinfo:
TIMESTAMP = 1696540413 SHA256 (setuptools-scm-8.0.4.tar.gz) = b5f43ff6800669595193fd09891564ee9d1d7dcb196cab4b2506d53a2e1c95c7 SIZE (setuptools-scm-8.0.4.tar.gz) = 74280

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=61 : devel/py-setuptools@py311
  2. py311-wheel>=0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. git : devel/git
  2. gpg2 : security/gnupg
  3. mercurial>=5.9 : devel/mercurial@py311
  4. py311-flake8>=0 : devel/py-flake8@py311
  5. py311-mypy>=0 : devel/py-mypy@py311
  6. py311-pip>=0 : devel/py-pip@py311
  7. py311-rich>=0 : textproc/py-rich@py311
  8. py311-setuptools_scm_git_archive>=0 : devel/py-setuptools_scm_git_archive@py311
  9. py311-pytest>=7,1 : devel/py-pytest@py311
  10. python3.11 : lang/python311
Runtime dependencies:
  1. py311-packaging>=20 : devel/py-packaging@py311
  2. py311-setuptools>=0 : devel/py-setuptools@py311
  3. py311-typing-extensions>=0 : devel/py-typing-extensions@py311
  4. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_py-setuptools-scm
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/s/setuptools-scm/
  2. https://pypi.org/packages/source/s/setuptools-scm/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
8.0.4_2
03 Sep 2025 14:07:10
commit hash: 17cf32c577055899a1827b3aea248c6d71a949b4commit hash: 17cf32c577055899a1827b3aea248c6d71a949b4commit hash: 17cf32c577055899a1827b3aea248c6d71a949b4commit hash: 17cf32c577055899a1827b3aea248c6d71a949b4 files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
devel/py-setuptools-scm: Heed GIT_CEILING_DIRECTORIES

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283098
introduced GIT_CEILING_DIRECTORIES=${WRKDIR} so that Python port builds
do not ascend up and start looking at our entire ports tree, which is
usually unrelated.

The upstream setuptools-scm package as of 8.0.4 deliberately breaks this
and strips all GIT_* environment variables except three, and
this will lead to "git archive" that it calls when looking up extra
requisites for building a wheel in the entire ports tree again.

Note the bug will not be observed if either WRKDIR is outside
of PORTSDIR's hierarchy (in poudriere, say), or for builds of
ports if py-setuptools-scm aren't installed.
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 1