You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
880 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=python-distro
  3. PKG_VERSION:=1.5.0
  4. PKG_RELEASE:=3
  5. PYPI_NAME:=distro
  6. PKG_HASH:=0e58756ae38fbd8fc3020d54badb8eae17c5b9dcbed388b17bb55b8a5928df92
  7. PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
  8. PKG_LICENSE:=Apache-2.0
  9. PKG_LICENSE_FILES:=LICENSE
  10. include ../pypi.mk
  11. include $(INCLUDE_DIR)/package.mk
  12. include ../python3-package.mk
  13. define Package/python3-distro
  14. SECTION:=lang
  15. CATEGORY:=Languages
  16. SUBMENU:=Python
  17. TITLE:=Distro - an OS platform information API
  18. URL:=https://github.com/nir0s/distro
  19. DEPENDS:=+python3-light +python3-logging
  20. endef
  21. define Package/python3-distro/description
  22. A much more elaborate, renewed alternative implementation for Python's
  23. platform.linux_distribution()
  24. endef
  25. $(eval $(call Py3Package,python3-distro))
  26. $(eval $(call BuildPackage,python3-distro))
  27. $(eval $(call BuildPackage,python3-distro-src))