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.

40 lines
951 B

  1. #
  2. # Copyright (C) 2016 OpenWrt.org
  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-psycopg2
  9. PKG_VERSION:=2.8.6
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=psycopg2
  12. PKG_HASH:=fb23f6c71107c37fd667cb4ea363ddeb936b348bbd6449278eb92c189699f543
  13. PKG_MAINTAINER:=Daniel Danzberger <daniel@dd-wrt.com>
  14. PKG_LICENSE:=LGPL-3.0-or-later
  15. PKG_LICENSE_FILES:=LICENSE
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. define Package/python3-psycopg2
  20. SUBMENU:=Python
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. TITLE:=PostgreSQL database adapter
  24. URL:=https://www.psycopg.org/
  25. DEPENDS:=+python3 +libpq
  26. endef
  27. define Package/python3-psycopg2/description
  28. Psycopg is the most popular PostgreSQL adapter for the Python programming language
  29. endef
  30. $(eval $(call Py3Package,python3-psycopg2))
  31. $(eval $(call BuildPackage,python3-psycopg2))