Bump buildroot to 2019.02

This commit is contained in:
2019-03-28 22:49:48 +01:00
parent 5598b1b762
commit 920d307141
5121 changed files with 78550 additions and 46132 deletions

View File

@@ -0,0 +1,31 @@
From 46c50849584d254b81ad058e1a53adcef1eb4c53 Mon Sep 17 00:00:00 2001
From: Asaf Kahlon <asafka7@gmail.com>
Date: Fri, 12 Oct 2018 07:57:23 +0300
Subject: [PATCH 1/1] setup.py: avoid installing tests to site-packages
This patch update only setup.py from upstream patch
(389f6c08d9536060184bfd5c8ea2491a4a91c2fb).
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
---
setup.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/setup.py b/setup.py
index b521290..3f309fc 100644
--- a/setup.py
+++ b/setup.py
@@ -674,8 +674,8 @@ setup(name="psycopg2",
long_description="\n".join(readme.split("\n")[2:]).lstrip(),
classifiers=[x for x in classifiers.split("\n") if x],
data_files=data_files,
- package_dir={'psycopg2': 'lib', 'psycopg2.tests': 'tests'},
- packages=['psycopg2', 'psycopg2.tests'],
+ package_dir={'psycopg2': 'lib'},
+ packages=['psycopg2'],
cmdclass={
'build_ext': psycopg_build_ext,
'build_py': build_py, },
--
2.17.1

View File

@@ -0,0 +1,26 @@
config BR2_PACKAGE_PYTHON_PSYCOPG2
bool "python-psycopg2"
depends on BR2_USE_WCHAR # postgresql
select BR2_PACKAGE_POSTGRESQL
help
Psycopg is the most popular PostgreSQL database adapter for
the Python programming language. Its main features are the
complete implementation of the Python DB API 2.0 specification
and the thread safety (several threads can share the same
connection). It was designed for heavily multi-threaded
applications that create and destroy lots of cursors and make
a large number of concurrent INSERTs or UPDATEs.
Psycopg 2 is mostly implemented in C as a libpq wrapper,
resulting in being both efficient and secure. It features
client-side and server-side cursors, asynchronous
communication and notifications, COPY support. Many Python
types are supported out-of-the-box and adapted to matching
PostgreSQL data types; adaptation can be extended and
customized thanks to a flexible objects adaptation system.
Psycopg 2 is both Unicode and Python 3 friendly.
http://initd.org/psycopg/
comment "python-psycopg2 needs a toolchain w/ wchar"
depends on !BR2_USE_WCHAR

View File

@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/psycopg2/json
md5 598e2f43c1b26361ae2d3a3254dae414 psycopg2-2.7.7.tar.gz
sha256 f4526d078aedd5187d0508aa5f9a01eae6a48a470ed678406da94b4cd6524b7e psycopg2-2.7.7.tar.gz
# Locally computed sha256 checksums
sha256 3c2b037df24cb85ca1a48739dcab60a5037644b436f87173f6db0d101636b525 LICENSE

View File

@@ -0,0 +1,20 @@
################################################################################
#
# 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))