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.

56 lines
1.4 KiB

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:=vobject
  5. PKG_VERSION:=0.9.6.1
  6. PKG_RELEASE:=1
  7. PKG_LICENSE:=Apache-2.0
  8. PYPI_NAME:=$(PKG_NAME)
  9. PKG_HASH:=96512aec74b90abb71f6b53898dd7fe47300cc940104c4f79148f0671f790101
  10. include ../pypi.mk
  11. include $(INCLUDE_DIR)/package.mk
  12. include ../python-package.mk
  13. include ../python3-package.mk
  14. define Package/python-vobject/Default
  15. SUBMENU:=Python
  16. SECTION:=lang
  17. CATEGORY:=Languages
  18. MAINTAINER:=Daniel Dickinson <cshored@thecshore.com>
  19. TITLE:=VObject
  20. URL:=http://eventable.github.io/vobject/
  21. endef
  22. define Package/python-vobject
  23. $(call Package/python-vobject/Default)
  24. DEPENDS:=+PACKAGE_python-vobject:python +PACKAGE_python-vobject:python-dateutil
  25. VARIANT:=python
  26. endef
  27. define Package/python3-vobject
  28. $(call Package/python-vobject/Default)
  29. DEPENDS:=+PACKAGE_python3-vobject:python3 +PACKAGE_python3-vobject:python3-dateutil
  30. VARIANT:=python3
  31. endef
  32. define Package/python-vobject/description
  33. vCard and vCalendar support for Python
  34. endef
  35. define Package/python3-vobject/description
  36. $(call Package/python-vobject/description)
  37. .
  38. (Variant for Python3)
  39. endef
  40. $(eval $(call PyPackage,python-vobject))
  41. $(eval $(call BuildPackage,python-vobject))
  42. $(eval $(call BuildPackage,python-vobject-src))
  43. $(eval $(call Py3Package,python3-vobject))
  44. $(eval $(call BuildPackage,python3-vobject))
  45. $(eval $(call BuildPackage,python3-vobject-src))