blob: 9312ba7d57b9954c433927242bd35d4441e61661 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001include $(TOPDIR)/rules.mk
2
3PKG_NAME:=python-distro
4PKG_VERSION:=1.9.0
5PKG_RELEASE:=1
6
7PYPI_NAME:=distro
8PKG_HASH:=2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed
9
10PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
11PKG_LICENSE:=Apache-2.0
12PKG_LICENSE_FILES:=LICENSE
13
14include ../pypi.mk
15include $(INCLUDE_DIR)/package.mk
16include ../python3-package.mk
17
18define Package/python3-distro
19 SECTION:=lang
20 CATEGORY:=Languages
21 SUBMENU:=Python
22 TITLE:=OS platform information API
23 URL:=https://github.com/python-distro/distro
24 DEPENDS:=+python3-light +python3-logging
25endef
26
27define Package/python3-distro/description
28distro provides information about the OS distribution it runs on, such
29as a reliable machine-readable ID, or version information.
30endef
31
32$(eval $(call Py3Package,python3-distro))
33$(eval $(call BuildPackage,python3-distro))
34$(eval $(call BuildPackage,python3-distro-src))