2018-03-12 11:12:31 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# python-psycopg2
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-07-16 17:37:09 +02:00
|
|
|
PYTHON_PSYCOPG2_VERSION = 2.8.3
|
2018-03-12 11:12:31 +01:00
|
|
|
PYTHON_PSYCOPG2_SOURCE = psycopg2-$(PYTHON_PSYCOPG2_VERSION).tar.gz
|
2019-07-16 17:37:09 +02:00
|
|
|
PYTHON_PSYCOPG2_SITE = https://files.pythonhosted.org/packages/5c/1c/6997288da181277a0c29bc39a5f9143ff20b8c99f2a7d059cfb55163e165
|
2018-03-12 11:12:31 +01:00
|
|
|
PYTHON_PSYCOPG2_SETUP_TYPE = setuptools
|
|
|
|
PYTHON_PSYCOPG2_LICENSE = LGPL-3.0+
|
|
|
|
PYTHON_PSYCOPG2_LICENSE_FILES = LICENSE
|
|
|
|
PYTHON_PSYCOPG2_DEPENDENCIES = postgresql
|
|
|
|
# Force psycopg2 to use the Buildroot provided postgresql version
|
|
|
|
# instead of the one from the host machine
|
|
|
|
PYTHON_PSYCOPG2_BUILD_OPTS = build_ext --pg-config=$(STAGING_DIR)/usr/bin/pg_config
|
|
|
|
PYTHON_PSYCOPG2_INSTALL_TARGET_OPTS = build_ext --pg-config=$(STAGING_DIR)/usr/bin/pg_config
|
|
|
|
|
|
|
|
$(eval $(python-package))
|