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
888 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=python-distro
  3. PKG_VERSION:=1.6.0
  4. PKG_RELEASE:=1
  5. PYPI_NAME:=distro
  6. PKG_HASH:=83f5e5a09f9c5f68f60173de572930effbcc0287bb84fdc4426cb4168c088424
  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/python-distro/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))