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.

43 lines
1017 B

  1. #
  2. # Copyright (C) 2019-2020 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=python-py
  9. PKG_VERSION:=1.8.1
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=py
  12. PKG_HASH:=5e27081401262157467ad6e7f851b7aa402c5852dbcb3dae06768434de5752aa
  13. PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
  14. PKG_LICENSE:=MIT
  15. PKG_LICENSE_FILES:=LICENSE
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools-scm
  20. define Package/python3-py
  21. SUBMENU:=Python
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. TITLE:=py
  25. URL:=https://github.com/pytest-dev/py
  26. DEPENDS:=+python3-light
  27. VARIANT:=python3
  28. endef
  29. define Package/python3-py/description
  30. Library with cross-python path, ini-parsing, io, code, log facilities
  31. endef
  32. $(eval $(call Py3Package,python3-py))
  33. $(eval $(call BuildPackage,python3-py))
  34. $(eval $(call BuildPackage,python3-py-src))