./devel/py-distro, OS platform information API

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.9.0, Package name: py312-distro-1.9.0, Maintainer: root

Distro - an OS platform information API.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 59.299 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2023-12-31 22:22:57 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-distro: update to 1.9.0.

## 1.9.0 (2023.12.19)

ENHANCEMENTS:
* Refactor distro.info() method to return an InfoDict [#360]
* Ignore the file '/etc/board-release' [#353]
* Ignore the file '/etc/ec2_version' [#359]

RELEASE:
* Run Python 3.6 on Ubuntu 20.04 for CI and bump isort [#355]

TESTS:
* Test on modern versions of CPython and PyPy and macOS [#362]
* Add support for ALT Linux Server 10.1 distribution [#354]
* Add Debian Testing to the tests [#356]
* Update archlinux resource for tests [#352]
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-06-06 14:42:56 by Taylor R Campbell | Files touched by this commit (1319)
Log message:
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
   2022-11-01 19:29:31 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-distro: add missing build dependency on py-wheel
   2022-10-31 14:57:36 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-distro: updated to 1.8.0

1.8.0 (2022.10.10)

BACKWARD COMPATIBILITY:
* Replace `setup.py` with `build`

ENHANCEMENTS:
* Lowered `LinuxDistribution._distro_release_info` method complexity
* Added official support for Buildroot distribution
* Added official support for Guix distribution
* Added support for `/etc/debian_version`
* Fixed a typography in CONTRIBUTING.md
* Improved README.md "Usage" code block

RELEASE:
* Bumped black to v22.3.0 in pre-commit.ci configuration
* Enabled GitHub Dependabot to keep GitHub Actions up to date
   2022-09-29 12:08:14 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-distro: updated to 1.7.0

1.7.0 (2022.02.15)

BACKWARD COMPATIBILITY:
* Dropped support for EOL Pythons 2.7, 3.4 and 3.5
* Dropped support for LSB and `uname` back-ends when `--root-dir` is specified
* Moved `distro.py` to `src/distro/distro.py`

ENHANCEMENTS:
* Documented that `distro.version()` can return an empty string on rolling releases
* Documented support for Python 3.10
* Added official support for Rocky Linux distribution
* Added a shebang to `distro.py` to allow standalone execution
* Added support for AIX platforms
* Added compliance for PEP-561

BUG FIXES:
* Fixed `include_uname` parameter oversight
* Fixed crash when `uname -rs` output is empty
* Fixed Amazon Linux identifier in `distro.id()` documentation
* Fixed OpenSuse >= 15 support
* Fixed encoding issues when opening distro release files
* Fixed `linux_distribution` regression
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.