mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 09:35:26 +00:00
Upgrade ShredOS to buildroot v24.11
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
config BR2_PACKAGE_PYTHON_PSYCOPG2
|
||||
bool "python-psycopg2"
|
||||
depends on BR2_USE_MMU # postgresql
|
||||
depends on BR2_USE_WCHAR # postgresql
|
||||
depends on !BR2_STATIC_LIBS # postgresql
|
||||
depends on !BR2_OPTIMIZE_FAST # postgresql
|
||||
select BR2_PACKAGE_POSTGRESQL
|
||||
help
|
||||
@@ -21,10 +23,11 @@ config BR2_PACKAGE_PYTHON_PSYCOPG2
|
||||
customized thanks to a flexible objects adaptation system.
|
||||
Psycopg 2 is both Unicode and Python 3 friendly.
|
||||
|
||||
http://initd.org/psycopg/
|
||||
https://github.com/psycopg/psycopg2/
|
||||
|
||||
comment "python-psycopg2 needs a toolchain w/ wchar"
|
||||
depends on !BR2_USE_WCHAR
|
||||
comment "python-psycopg2 needs a toolchain w/ dynamic library, wchar"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
|
||||
|
||||
comment "python-psycopg2 can't be built with Optimize for fast"
|
||||
depends on BR2_OPTIMIZE_FAST
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/psycopg2/json
|
||||
md5 eae35fa97cdc92b910b706c720a257c7 psycopg2-2.9.9.tar.gz
|
||||
sha256 d1454bde93fb1e224166811694d600e746430c006fbb031ea06ecc2ea41bf156 psycopg2-2.9.9.tar.gz
|
||||
md5 3a1ed36b492a74789563577edc0b0689 psycopg2-2.9.10.tar.gz
|
||||
sha256 12ec0b40b0273f95296233e8750441339298e6a572f7039da5b260e3c8b60e11 psycopg2-2.9.10.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 9614b85dfc9a72c5b2ca33144c1d7e1ed3b1c297459d9fb28a6a5762c2e8d71b LICENSE
|
||||
|
||||
@@ -4,16 +4,19 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_PSYCOPG2_VERSION = 2.9.9
|
||||
PYTHON_PSYCOPG2_VERSION = 2.9.10
|
||||
PYTHON_PSYCOPG2_SOURCE = psycopg2-$(PYTHON_PSYCOPG2_VERSION).tar.gz
|
||||
PYTHON_PSYCOPG2_SITE = https://files.pythonhosted.org/packages/c9/5e/dc6acaf46d78979d6b03458b7a1618a68e152a6776fce95daac5e0f0301b
|
||||
PYTHON_PSYCOPG2_SITE = https://files.pythonhosted.org/packages/62/51/2007ea29e605957a17ac6357115d0c1a1b60c8c984951c19419b3474cdfd
|
||||
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
|
||||
define PYTHON_PSYCOPG2_CREATE_SETUP_CFG
|
||||
printf "[build_ext]\ndefine=\npg_config=$(STAGING_DIR)/usr/bin/pg_config\n" > $(@D)/setup.cfg
|
||||
endef
|
||||
PYTHON_PSYCOPG2_PRE_CONFIGURE_HOOKS += PYTHON_PSYCOPG2_CREATE_SETUP_CFG
|
||||
|
||||
$(eval $(python-package))
|
||||
|
||||
Reference in New Issue
Block a user