diff options
| author | Daniel Danzberger <daniel@dd-wrt.com> | 2021-02-06 07:58:38 +0100 |
|---|---|---|
| committer | Daniel Danzberger <daniel@dd-wrt.com> | 2021-02-23 16:03:51 +0100 |
| commit | 7cfb9a04af856b3d09a9768bb104f77dbb1acb68 (patch) | |
| tree | d61fc5fc03e119290a116f75c56ea73d63eb3d87 /lang/python/python-psycopg2/Makefile | |
| parent | 25eeb625ff876a63f51fef306cfbfc829c84e4e0 (diff) | |
python-psycopg2: Add new package
Psycopg is the most popular PostgreSQL adapter for the Python programming language
It's used by the python-sqlalchemy for postgresql
This package was removed by this commit for lacking python3 support:
c37b15e1c49cf27de8f34f43e93a7a5c184be9e0
Version 2.8.6 used in this package now supports pyhton3
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
Diffstat (limited to 'lang/python/python-psycopg2/Makefile')
| -rw-r--r-- | lang/python/python-psycopg2/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/lang/python/python-psycopg2/Makefile b/lang/python/python-psycopg2/Makefile new file mode 100644 index 000000000..32d83a58d --- /dev/null +++ b/lang/python/python-psycopg2/Makefile @@ -0,0 +1,40 @@ +# +# Copyright (C) 2016 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-psycopg2 +PKG_VERSION:=2.8.6 +PKG_RELEASE:=1 + +PYPI_NAME:=psycopg2 +PKG_HASH:=fb23f6c71107c37fd667cb4ea363ddeb936b348bbd6449278eb92c189699f543 + +PKG_MAINTAINER:=Daniel Danzberger <daniel@dd-wrt.com> +PKG_LICENSE:=LGPL-3.0-or-later +PKG_LICENSE_FILES:=LICENSE + +include ../pypi.mk +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-psycopg2 + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=PostgreSQL database adapter + URL:=https://www.psycopg.org/ + DEPENDS:=+python3 +libpq +endef + +define Package/python3-psycopg2/description + Psycopg is the most popular PostgreSQL adapter for the Python programming language +endef + +$(eval $(call Py3Package,python3-psycopg2)) +$(eval $(call BuildPackage,python3-psycopg2)) + |
