b41ed2283603385e4fcb0e4645e76ed50616d8fb
[feed/packages.git] / lang / python / python-distro / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=python-distro
4 PKG_VERSION:=1.8.0
5 PKG_RELEASE:=1
6
7 PYPI_NAME:=distro
8 PKG_HASH:=02e111d1dc6a50abb8eed6bf31c3e48ed8b0830d1ea2a1b78c61765c2513fdd8
9
10 PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
11 PKG_LICENSE:=Apache-2.0
12 PKG_LICENSE_FILES:=LICENSE
13
14 include ../pypi.mk
15 include $(INCLUDE_DIR)/package.mk
16 include ../python3-package.mk
17
18 define 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
25 endef
26
27 define Package/python3-distro/description
28 distro provides information about the OS distribution it runs on, such
29 as a reliable machine-readable ID, or version information.
30 endef
31
32 $(eval $(call Py3Package,python3-distro))
33 $(eval $(call BuildPackage,python3-distro))
34 $(eval $(call BuildPackage,python3-distro-src))