notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Some details on the 2023-01-16 website outage.
We just rebooted with several updates: * new HMTLify code * no port maintainer is now highly visible (e.g. https://freshports.org/security/sssd/) * fixed search logic error when using plain/ text details at https://github.com/FreshPorts/freshports/releases/tag/2.2.34
Port details
py-distro Linux OS platform information API
1.8.0 sysutils on this many watch lists=8 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 Version 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-01-11 15:58:34
Commit Hash: 77d6847
People watching this port, also watch:: p5-Error, py39-parsedatetime, pcre, py39-pycparser, py39-configobj
Also Listed In: python
License: APACHE20
Description:
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
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:

Packages (timestamps in pop-ups are UTC):
py27-distro
ABIlatestquarterly
FreeBSD:11:aarch641.2.01.4.0_1
FreeBSD:11:amd64pkg-falloutpkg-fallout
FreeBSD:11:armv6pkg-fallout1.4.0_1
FreeBSD:11:i386pkg-falloutpkg-fallout
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-fallout1.4.0_1
FreeBSD:12:aarch641.2.0pkg-fallout
FreeBSD:12:amd64pkg-falloutpkg-fallout
FreeBSD:12:armv61.2.01.5.0
FreeBSD:12:armv71.2.01.5.0
FreeBSD:12:i386pkg-falloutpkg-fallout
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips641.2.01.4.0_1
FreeBSD:12:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:aarch64pkg-falloutpkg-fallout
FreeBSD:13:amd64pkg-falloutpkg-fallout
FreeBSD:13:armv6pkg-falloutpkg-fallout
FreeBSD:13:armv7pkg-falloutpkg-fallout
FreeBSD:13:i386pkg-falloutpkg-fallout
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:riscv64pkg-falloutpkg-fallout
FreeBSD:14:aarch64pkg-falloutpkg-fallout
FreeBSD:14:amd64pkg-falloutpkg-fallout
FreeBSD:14:armv6pkg-falloutpkg-fallout
FreeBSD:14:armv7pkg-falloutpkg-fallout
FreeBSD:14:i386pkg-falloutpkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc64pkg-falloutpkg-fallout
FreeBSD:14:riscv64pkg-falloutpkg-fallout
 
py36-distro
ABIlatestquarterly
FreeBSD:11:aarch641.2.0pkg-fallout
FreeBSD:11:amd64pkg-falloutpkg-fallout
FreeBSD:11:armv6pkg-falloutpkg-fallout
FreeBSD:11:i386pkg-falloutpkg-fallout
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-falloutpkg-fallout
FreeBSD:12:aarch641.2.0pkg-fallout
FreeBSD:12:amd64pkg-falloutpkg-fallout
FreeBSD:12:armv61.2.0pkg-fallout
FreeBSD:12:armv71.2.0pkg-fallout
FreeBSD:12:i386pkg-falloutpkg-fallout
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips641.2.0pkg-fallout
FreeBSD:12:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:aarch64pkg-falloutpkg-fallout
FreeBSD:13:amd64pkg-falloutpkg-fallout
FreeBSD:13:armv6pkg-falloutpkg-fallout
FreeBSD:13:armv7pkg-falloutpkg-fallout
FreeBSD:13:i386pkg-falloutpkg-fallout
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:riscv64pkg-falloutpkg-fallout
FreeBSD:14:aarch64pkg-falloutpkg-fallout
FreeBSD:14:amd64pkg-falloutpkg-fallout
FreeBSD:14:armv6pkg-falloutpkg-fallout
FreeBSD:14:armv7pkg-falloutpkg-fallout
FreeBSD:14:i386pkg-falloutpkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc64pkg-falloutpkg-fallout
FreeBSD:14:riscv64pkg-falloutpkg-fallout
 
py37-distro
ABIlatestquarterly
FreeBSD:11:aarch64pkg-fallout1.4.0_1
FreeBSD:11:amd64pkg-falloutpkg-fallout
FreeBSD:11:armv6pkg-fallout1.4.0_1
FreeBSD:11:i386pkg-falloutpkg-fallout
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-fallout1.4.0_1
FreeBSD:12:aarch64pkg-falloutpkg-fallout
FreeBSD:12:amd64pkg-falloutpkg-fallout
FreeBSD:12:armv6pkg-fallout1.5.0
FreeBSD:12:armv7pkg-fallout1.5.0
FreeBSD:12:i386pkg-falloutpkg-fallout
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips64pkg-fallout1.4.0_1
FreeBSD:12:powerpc64pkg-fallout1.5.0
FreeBSD:13:aarch64pkg-falloutpkg-fallout
FreeBSD:13:amd64pkg-falloutpkg-fallout
FreeBSD:13:armv61.5.0pkg-fallout
FreeBSD:13:armv7pkg-falloutpkg-fallout
FreeBSD:13:i386pkg-falloutpkg-fallout
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc641.5.0pkg-fallout
FreeBSD:13:riscv64pkg-falloutpkg-fallout
FreeBSD:14:aarch64pkg-falloutpkg-fallout
FreeBSD:14:amd64pkg-falloutpkg-fallout
FreeBSD:14:armv6pkg-falloutpkg-fallout
FreeBSD:14:armv7pkg-falloutpkg-fallout
FreeBSD:14:i386pkg-falloutpkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc64pkg-falloutpkg-fallout
FreeBSD:14:riscv64pkg-falloutpkg-fallout
 
py38-distro
ABIlatestquarterly
FreeBSD:11:aarch64pkg-falloutpkg-fallout
FreeBSD:11:amd641.6.01.5.0
FreeBSD:11:armv6pkg-falloutpkg-fallout
FreeBSD:11:i3861.6.01.5.0
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-falloutpkg-fallout
FreeBSD:12:aarch64pkg-falloutpkg-fallout
FreeBSD:12:amd64pkg-falloutpkg-fallout
FreeBSD:12:armv6pkg-falloutpkg-fallout
FreeBSD:12:armv7pkg-falloutpkg-fallout
FreeBSD:12:i386pkg-falloutpkg-fallout
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips64pkg-falloutpkg-fallout
FreeBSD:12:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:aarch64pkg-falloutpkg-fallout
FreeBSD:13:amd64pkg-falloutpkg-fallout
FreeBSD:13:armv6pkg-falloutpkg-fallout
FreeBSD:13:armv7pkg-falloutpkg-fallout
FreeBSD:13:i386pkg-falloutpkg-fallout
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:riscv64pkg-falloutpkg-fallout
FreeBSD:14:aarch64pkg-falloutpkg-fallout
FreeBSD:14:amd64pkg-falloutpkg-fallout
FreeBSD:14:armv6pkg-falloutpkg-fallout
FreeBSD:14:armv7pkg-falloutpkg-fallout
FreeBSD:14:i386pkg-falloutpkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc64pkg-falloutpkg-fallout
FreeBSD:14:riscv641.6.0pkg-fallout
 
py39-distro
ABIlatestquarterly
FreeBSD:11:aarch64pkg-falloutpkg-fallout
FreeBSD:11:amd64pkg-falloutpkg-fallout
FreeBSD:11:armv6pkg-falloutpkg-fallout
FreeBSD:11:i386pkg-falloutpkg-fallout
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips64pkg-falloutpkg-fallout
FreeBSD:12:aarch64pkg-fallout1.8.0
FreeBSD:12:amd641.8.01.8.0
FreeBSD:12:armv6pkg-falloutpkg-fallout
FreeBSD:12:armv7pkg-falloutpkg-fallout
FreeBSD:12:i3861.8.01.8.0
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips64pkg-falloutpkg-fallout
FreeBSD:12:powerpc64pkg-falloutpkg-fallout
FreeBSD:13:aarch641.8.01.8.0
FreeBSD:13:amd641.8.01.8.0
FreeBSD:13:armv6pkg-fallout1.7.0
FreeBSD:13:armv71.8.01.8.0
FreeBSD:13:i3861.8.01.8.0
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc64pkg-fallout1.8.0
FreeBSD:13:riscv64pkg-fallout1.7.0
FreeBSD:14:aarch641.8.0pkg-fallout
FreeBSD:14:amd641.8.0pkg-fallout
FreeBSD:14:armv61.8.0pkg-fallout
FreeBSD:14:armv71.8.0pkg-fallout
FreeBSD:14:i3861.8.0pkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc641.8.0pkg-fallout
FreeBSD:14:riscv64pkg-falloutpkg-fallout
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
This port is required by:
for Build
  1. games/anki
  2. mail/py-offlineimap3
  3. multimedia/openshot
  4. science/py-segyio
  5. security/py-certbot
  6. sysutils/conan
for Run
  1. devel/py-lazr.restfulclient
  2. devel/py-scikit-build
  3. games/anki
  4. mail/py-offlineimap3
  5. misc/py-openpaperwork-core
  6. multimedia/openshot
  7. net-p2p/deluge-cli
Expand this list (16 items / 9 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. print/hplip
  3. science/dvc
  4. security/py-certbot
  5. sysutils/archey4
  6. sysutils/conan
  7. sysutils/py-google-compute-engine
  8. sysutils/py-salt
  9. x11/cinnamon
  10. x11/mate-dock-applet
  11. Collapse this list.

Configuration Options:
Options name:
USES:
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.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2017-11-30
    Affects: */py*
    Author: mat@FreeBSD.org
    Reason: 
      Ports using Python via USES=python are now flavored.  All the py3-* ports
      have been removed and folded into their py-* master ports.
    
      People using Poudriere 3.2+ and binary packages do not have to do anything.
    
      For other people, to build the Python 3.6 version of, for example,
      databases/py-gdbm, you need to run:
    
        # make FLAVOR=py36 install
    
    

Number of commits found: 16

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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: 16