Browse Source

Merge pull request #14782 from dddaniel/master

python-psycopg2: Add new package
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
6420152225
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 40 additions and 0 deletions
  1. +40
    -0
      lang/python/python-psycopg2/Makefile

+ 40
- 0
lang/python/python-psycopg2/Makefile View File

@ -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))

Loading…
Cancel
Save