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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
py-distro Linux OS platform information API
1.9.0 sysutils on this many watch lists=10 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 1.9.0Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-12-31 05:52:35
Last Update: 2023-12-25 16:10:55
Commit Hash: bb71b8f
People watching this port, also watch:: libunistring, py39-idna, p5-Error, py39-pycparser, py39-pysocks
Also Listed In: python
License: APACHE20
WWW:
https://github.com/python-distro/distro
Description:
distro provides information about the OS distribution it runs on, such as a reliable machine-readable ID, or version information. It is the recommended replacement for Python's original platform.linux_distribution function. It also provides much more functionality which isn't necessarily Python bound, like a command-line interface.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}distro>0:sysutils/py-distro@${PY_FLAVOR}
To install the port:
cd /usr/ports/sysutils/py-distro/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/py-distro
  • pkg install py39-distro
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 py39-distro listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-distro
Package flavors (<flavor>: <package>)
  • py39: py39-distro
distinfo:
TIMESTAMP = 1703495825 SHA256 (distro-1.9.0.tar.gz) = 2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed SIZE (distro-1.9.0.tar.gz) = 60722

Packages (timestamps in pop-ups are UTC):
py37-distro
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--1.5.0---1.5.0-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
 

py39-distro
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.9.01.9.0-1.9.01.9.0---
FreeBSD:13:quarterly1.9.01.9.01.8.0_21.9.01.9.01.9.01.9.01.9.0
FreeBSD:14:latest1.9.01.9.01.8.01.9.01.9.01.8.0_2-1.8.0_2
FreeBSD:14:quarterly1.9.01.9.0-1.9.01.9.01.9.01.9.01.9.0
FreeBSD:15:latest1.9.01.9.0n/a1.9.0n/a1.9.01.9.01.9.0
FreeBSD:15:quarterly--n/a-n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=0 : devel/py-setuptools@py39
  2. py39-wheel>=0 : devel/py-wheel@py39
  3. python3.9 : lang/python39
  4. py39-build>=0 : devel/py-build@py39
  5. py39-installer>=0 : devel/py-installer@py39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. python3.9 : lang/python39
This port is required by:
for Build
  1. mail/py-offlineimap3
  2. multimedia/openshot
  3. science/py-segyio
  4. security/py-certbot
  5. sysutils/conan
for Run
  1. devel/py-lazr.restfulclient
  2. devel/py-scikit-build
  3. games/anki
  4. mail/py-offlineimap3
  5. misc/py-openai
  6. misc/py-openpaperwork-core
  7. misc/py-shell-gpt
Expand this list (19 items / 12 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. multimedia/openshot
  3. net-p2p/deluge-cli
  4. print/hplip
  5. science/dvc
  6. security/py-certbot
  7. security/ssh-import-id
  8. sysutils/archey4
  9. sysutils/conan
  10. sysutils/py-google-compute-engine
  11. sysutils/py-salt
  12. x11/cinnamon
  13. x11/mate-dock-applet
  14. Collapse this list.

Configuration Options:
No options to configure
Options name:
sysutils_py-distro
USES:
python shebangfix
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/d/distro/
  2. https://pypi.org/packages/source/d/distro/
Collapse this list.

Number of commits found: 21

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.9.0
25 Dec 2023 16:10:55
commit hash: bb71b8fa9a4629e7d1151951a677085456fdbe89commit hash: bb71b8fa9a4629e7d1151951a677085456fdbe89commit hash: bb71b8fa9a4629e7d1151951a677085456fdbe89commit hash: bb71b8fa9a4629e7d1151951a677085456fdbe89 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
sysutils/py-distro: Update to 1.9.0

Changes:	https://github.com/python-distro/distro/releases
		https://github.com/python-distro/distro/blob/master/CHANGELOG.md
1.8.0_2
18 Jul 2023 00:53:09
commit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0acommit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0acommit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0acommit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0a files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}

Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.

With hat: python
PR: 270510, 270358
1.8.0_2
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
1.8.0_2
04 Apr 2023 18:29:11
commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123 files touched by this commit
Antoine Brodin (antoine) search for other commits by this committer
USE_PYTHON=pep517: bump PORTREVISION
1.8.0_1
21 Mar 2023 19:21:18
commit hash: 583d999133906b5363a0c2294358d447edc7d054commit hash: 583d999133906b5363a0c2294358d447edc7d054commit hash: 583d999133906b5363a0c2294358d447edc7d054commit hash: 583d999133906b5363a0c2294358d447edc7d054 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
sysutils/py-distro: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for dependency and package change
1.8.0
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
1.8.0
19 Nov 2022 08:12:38
commit hash: 637c5f3b1acfee405b20dacec999000e9c9714c1commit hash: 637c5f3b1acfee405b20dacec999000e9c9714c1commit hash: 637c5f3b1acfee405b20dacec999000e9c9714c1commit hash: 637c5f3b1acfee405b20dacec999000e9c9714c1 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
sysutils/py-distro: Update to 1.8.0

Changes:	https://github.com/python-distro/distro/releases
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.7.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.7.0
20 Jul 2022 14:23:05
commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
sysutils: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <jsmith@resonatingmedia.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Landwehr <aaron@snaphat.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Adrian Chadd
  *  Adrian Chadd <adrian@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan Eldridge <alane@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Deiter <alex.deiter@gmail.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.7.0
07 Mar 2022 18:11:28
commit hash: 99d39f29e940c964a28bffbaf0130394d3e9a8d5commit hash: 99d39f29e940c964a28bffbaf0130394d3e9a8d5commit hash: 99d39f29e940c964a28bffbaf0130394d3e9a8d5commit hash: 99d39f29e940c964a28bffbaf0130394d3e9a8d5 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
sysutils/py-distro: Update to 1.7.0

Changes:	https://github.com/python-distro/distro/releases
1.6.0
08 Aug 2021 14:54:11
commit hash: 2d0e02294c575c32e3f45ec8194993ef50f8b5a3commit hash: 2d0e02294c575c32e3f45ec8194993ef50f8b5a3commit hash: 2d0e02294c575c32e3f45ec8194993ef50f8b5a3commit hash: 2d0e02294c575c32e3f45ec8194993ef50f8b5a3 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
sysutils/py-distro: Update to 1.6.0

- Update WWW

Changes:	https://github.com/python-distro/distro/releases
1.5.0
26 May 2021 12:55:27
commit hash: eaf91b9790f4563c9749d404a4e550fcc3b748c3commit hash: eaf91b9790f4563c9749d404a4e550fcc3b748c3commit hash: eaf91b9790f4563c9749d404a4e550fcc3b748c3commit hash: eaf91b9790f4563c9749d404a4e550fcc3b748c3 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
sysutils/py-distro: Update pkg-descr

- Take maintainership
1.5.0
22 May 2021 02:13:01
commit hash: 95d52e52fb64ed8c6ccb6906a38dbede128a64c3commit hash: 95d52e52fb64ed8c6ccb6906a38dbede128a64c3commit hash: 95d52e52fb64ed8c6ccb6906a38dbede128a64c3commit hash: 95d52e52fb64ed8c6ccb6906a38dbede128a64c3 files touched by this commit
Ben Woods (woodsb02) search for other commits by this committer
*/*: Fix ENOTIME: return my ports to the pool

Reset maintainership of my ports to ports@FreeBSD.org so others can
step in to help where I haven't been able to find the time.
1.5.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.5.0
28 Dec 2020 23:02:15
Revision:559531Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
1.5.0
22 Oct 2020 14:52:59
Revision:552983Original commit files touched by this commit
krion search for other commits by this committer
Update to 1.5.0
1.4.0_1
10 Apr 2019 06:18:32
Revision:498530Original commit files touched by this commit
antoine search for other commits by this committer
Bump a few PORTREVISIONs after r498529

With hat:	portmgr
1.4.0
04 Feb 2019 14:08:01
Revision:492135Original commit files touched by this commit
woodsb02 search for other commits by this committer
sysutils/py-distro: Update to 1.4.0

Changes this release:
  https://github.com/nir0s/distro/releases/tag/v1.3.0
  https://github.com/nir0s/distro/releases/tag/v1.4.0
1.2.0
03 Jan 2018 12:31:27
Revision:457960Original commit files touched by this commit
woodsb02 search for other commits by this committer
sysutils/py-distro: Replace USES=python:2.7+ with USES=python

This aligns with the change made by antoine@ in r457499.

Reported by:	jbeich
1.2.0
31 Dec 2017 03:46:09
Revision:457667Original commit files touched by this commit
woodsb02 search for other commits by this committer
Add new port sysutils/py-distro

distro (for: Linux Distribution) provides information about the Linux
distribution it runs on, such as a reliable machine-readable ID, or version
information.

It is a renewed alternative implementation for Python's original
platform.linux_distribution function, but it also provides much more
functionality which isn't necessarily Python bound like a command-line
interface.

WWW: https://github.com/nir0s/distro

Number of commits found: 21