Files
packages/lang/python/python-psycopg2/Makefile
T
Alexandru Ardelean 29c7547b2e python-psycopg2: bump to 2.9.12
Refresh sha256 from PyPI sdist.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-06-09 09:28:03 +03:00

50 lines
1.1 KiB
Makefile

#
# 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.9.12
PKG_RELEASE:=1
PYPI_NAME:=psycopg2
PKG_HASH:=1dedb1c7a1d8552c4a6044c6b1c41a52e6a8e2d144af83eccac758076b1b7c15
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=LGPL-3.0-or-later
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:= \
python-setuptools/host
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-light \
+python3-decimal \
+python3-logging \
+python3-uuid \
+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))
$(eval $(call BuildPackage,python3-psycopg2-src))