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

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


Branch: CURRENT, Version: 1.6.0nb2, Package name: py39-distro-1.6.0nb2, Maintainer: root

Distro - an OS platform information API.


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

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 52.264 KB

Version history: (Expand)


CVS history: (Expand)


   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.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-08-05 12:09:48 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-distro: updated to 1.6.0

1.6.0 (2021.7.30)

BACKWARDS COMPATIBILITY:
* Deprecated the `distro.linux_distribution()` function. Use
  `distro.id()`, `distro.version()` and `distro.name()` instead
* Deprecated Python 2.7, 3.4 and 3.5 support. Further releases
  will only support Python 3.6+

ENHANCEMENTS:
* Added type hints to `distro` module
* Added `__version__` for checking `distro` version
* Added support for arbitrary rootfs via the `root_dir` parameter
* Added the `--root-dir` option to CLI
* Added fallback to `/usr/lib/os-release` when `/etc/os-release` isn't available

BUG FIXES:
* Fixed `subprocess.CalledProcessError` when running `lsb_release`
* Ignore `/etc/iredmail-release` file while parsing distribution
* Use a binary file for `/dev/null` to avoid `TextIOWrapper` overhead

RELEASE:
* Moved repository from `nir0s/distro` to
  [`python-distro/distro`](https://github.com/python-distro/distro) on GitHub.
   2020-05-16 11:10:42 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
pytest from versioned depends
   2020-04-06 11:14:03 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-distro: update to 1.5.0.

## 1.5.0 (2020.3.30)

BACKWARD COMPATIBILITY:
* Keep output as native string so we can compatible with python2 interface \ 
[[#248](https://github.com/nir0s/distro/pull/248)]

ENHANCEMENTS:

BUG FIXES:
* Fix detection of RHEL 6 ComputeNode \ 
[[#255](https://github.com/nir0s/distro/issues/255)]
* Fix Oracle 4/5 lsb_release id and names \ 
[[#250](https://github.com/nir0s/distro/pull/250)]
* Ignore /etc/plesk-release file while parsing distribution \ 
[[#246](https://github.com/nir0s/distro/pull/246)]

TESTS:
* Test on MidnightBSD [[#254](https://github.com/nir0s/distro/issues/254)]

RELEASE:
* Remove build testing on Python 3.3 and add pypy 3.5 and Python 3.7 and 3.8 \ 
[[#244](https://github.com/nir0s/distro/pull/244)]
* Fix Windows build due to Appveyor not supporting builds on Python 2.7 anymore \ 
[[#257](https://github.com/nir0s/distro/pull/257)]

Additionally, The Python2.6 branch was fixed to support distro version 1.4.0. It \ 
is now passing all tests. Thanks [abadger](https://github.com/abadger)!
   2019-10-02 12:04:59 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
py-distro: cleanup