First commit of Shredos v2021.08.2_19_x86-64_0.32.014

This commit is contained in:
PartialVolume
2021-11-23 23:01:30 +00:00
commit 49625f0571
12651 changed files with 532695 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
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 c232ff3e3bfee35e1a0e15bc089cb294 psycopg2-2.8.5.tar.gz
sha256 f7d46240f7a1ae1dd95aab38bd74f7428d46531f69219954266d669da60c0818 psycopg2-2.8.5.tar.gz
# Locally computed sha256 checksums
sha256 9614b85dfc9a72c5b2ca33144c1d7e1ed3b1c297459d9fb28a6a5762c2e8d71b LICENSE

View File

@@ -0,0 +1,19 @@
################################################################################
#
# python-psycopg2
#
################################################################################
PYTHON_PSYCOPG2_VERSION = 2.8.5
PYTHON_PSYCOPG2_SOURCE = psycopg2-$(PYTHON_PSYCOPG2_VERSION).tar.gz
PYTHON_PSYCOPG2_SITE = https://files.pythonhosted.org/packages/a8/8f/1c5690eebf148d1d1554fc00ccf9101e134636553dbb75bdfef4f85d7647
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))