e05e274148
Signed-off-by: Asaf Kahlon <asafka7@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
21 lines
887 B
Makefile
21 lines
887 B
Makefile
################################################################################
|
|
#
|
|
# python-psycopg2
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_PSYCOPG2_VERSION = 2.7.7
|
|
PYTHON_PSYCOPG2_SOURCE = psycopg2-$(PYTHON_PSYCOPG2_VERSION).tar.gz
|
|
PYTHON_PSYCOPG2_SITE = https://files.pythonhosted.org/packages/63/54/c039eb0f46f9a9406b59a638415c2012ad7be9b4b97bfddb1f48c280df3a
|
|
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))
|