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.

59 lines
1.7 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. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  9. PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/v/vobject
  10. PKG_HASH:=96512aec74b90abb71f6b53898dd7fe47300cc940104c4f79148f0671f790101
  11. PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-vobject-$(PKG_VERSION)
  12. include $(INCLUDE_DIR)/package.mk
  13. include ../python-package.mk
  14. include ../python3-package.mk
  15. PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
  16. define Package/python-vobject/Default
  17. SUBMENU:=Python
  18. SECTION:=lang
  19. CATEGORY:=Languages
  20. MAINTAINER:=Daniel Dickinson <cshored@thecshore.com>
  21. TITLE:=VObject
  22. URL:=http://eventable.github.io/vobject/
  23. endef
  24. define Package/python-vobject
  25. $(call Package/python-vobject/Default)
  26. DEPENDS:=+PACKAGE_python-vobject:python +PACKAGE_python-vobject:python-dateutil
  27. VARIANT:=python
  28. endef
  29. define Package/python3-vobject
  30. $(call Package/python-vobject/Default)
  31. DEPENDS:=+PACKAGE_python3-vobject:python3 +PACKAGE_python3-vobject:python3-dateutil
  32. VARIANT:=python3
  33. endef
  34. define Package/python-vobject/description
  35. vCard and vCalendar support for Python
  36. endef
  37. define Package/python3-vobject/description
  38. $(call Package/python-vobject/description)
  39. .
  40. (Variant for Python3)
  41. endef
  42. $(eval $(call PyPackage,python-vobject))
  43. $(eval $(call BuildPackage,python-vobject))
  44. $(eval $(call BuildPackage,python-vobject-src))
  45. $(eval $(call Py3Package,python3-vobject))
  46. $(eval $(call BuildPackage,python3-vobject))
  47. $(eval $(call BuildPackage,python3-vobject-src))