mirror of
https://github.com/openwrt/packages.git
synced 2025-02-12 04:38:06 +00:00
- ENHANCEMENTS: - Refactor distro.info() method to return an InfoDict - Ignore the file '/etc/board-release' - Ignore the file '/etc/ec2_version' - RELEASE: - Run Python 3.6 on Ubuntu 20.04 for CI and bump isort - TESTS: - Test on modern versions of CPython and PyPy and macOS - Add support for ALT Linux Server 10.1 distribution - Add Debian Testing to the tests - Update archlinux resource for tests Signed-off-by: Javier Marcet <javier@marcet.info>
35 lines
901 B
Makefile
35 lines
901 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-distro
|
|
PKG_VERSION:=1.9.0
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=distro
|
|
PKG_HASH:=2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed
|
|
|
|
PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
|
|
PKG_LICENSE:=Apache-2.0
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-distro
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=OS platform information API
|
|
URL:=https://github.com/python-distro/distro
|
|
DEPENDS:=+python3-light +python3-logging
|
|
endef
|
|
|
|
define Package/python3-distro/description
|
|
distro provides information about the OS distribution it runs on, such
|
|
as a reliable machine-readable ID, or version information.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-distro))
|
|
$(eval $(call BuildPackage,python3-distro))
|
|
$(eval $(call BuildPackage,python3-distro-src))
|