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.

44 lines
1.1 KiB

  1. #
  2. # Copyright (C) 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-apipkg
  9. PKG_VERSION:=1.5
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=apipkg
  12. PKG_HASH:=37228cda29411948b422fae072f57e31d3396d2ee1c9783775980ee9c9990af6
  13. PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
  14. PKG_LICENSE:=MIT
  15. PKG_LICENSE_FILES:=LICENSE
  16. PKG_BUILD_PARALLEL:=0
  17. HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools-scm
  18. include ../pypi.mk
  19. include $(INCLUDE_DIR)/package.mk
  20. include ../python3-package.mk
  21. define Package/python3-apipkg
  22. SUBMENU:=Python
  23. SECTION:=lang
  24. CATEGORY:=Languages
  25. TITLE:= Controler for exported namespace of a Python package a
  26. URL:=https://github.com/pytest-dev/apipkg
  27. DEPENDS:= +python3-light
  28. endef
  29. define Package/python3-apipkg/description
  30. apipkg is used to control the exported namespace of a Python package and greatly reduce
  31. the number of imports for users.
  32. endef
  33. $(eval $(call Py3Package,python3-apipkg))
  34. $(eval $(call BuildPackage,python3-apipkg))
  35. $(eval $(call BuildPackage,python3-apipkg-src))