borgbackup: add missing dependencies

The initial package submission was missing
some required and optional dependencies
due to lack of testing on a system without any python
related packages pre-installed.

Some optional but highly recommended dependencies
were discovered with the stdlib module as described in:
392a68e247/lang/python/README.md

Fixes #20441

Signed-off-by: Julien Malik <julien.malik@paraiso.me>
This commit is contained in:
Julien Malik 2023-02-07 23:34:10 +01:00 committed by Josef Schlehofer
parent 6b1df72e64
commit 1f25be97b6

View file

@ -1,5 +1,5 @@
# #
# Copyright (C) 2022 Julien Malik <julien.malik@paraiso.me> # Copyright (C) 2023 Julien Malik <julien.malik@paraiso.me>
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=borgbackup PKG_NAME:=borgbackup
PKG_VERSION:=1.2.3 PKG_VERSION:=1.2.3
PKG_RELEASE:=1 PKG_RELEASE:=2
PYPI_NAME:=borgbackup PYPI_NAME:=borgbackup
PKG_HASH:=e32418f8633c96fa9681352a56eb63b98e294203472c114a5242709d36966785 PKG_HASH:=e32418f8633c96fa9681352a56eb63b98e294203472c114a5242709d36966785
@ -22,6 +22,7 @@ include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk include ../python3-package.mk
# see #20462 and #12942: email and urllib shall come with python3-light
define Package/borgbackup define Package/borgbackup
SECTION:=lang SECTION:=lang
CATEGORY:=Languages CATEGORY:=Languages
@ -30,8 +31,17 @@ define Package/borgbackup
URL:=https://github.com/borgbackup/borg URL:=https://github.com/borgbackup/borg
DEPENDS:= \ DEPENDS:= \
+python3-light \ +python3-light \
+python3-codecs \
+python3-email \
+python3-logging \
+python3-lzma \
+python3-msgpack \ +python3-msgpack \
+python3-packaging \
+python3-pyfuse3 \ +python3-pyfuse3 \
+python3-readline \
+python3-unittest \
+python3-urllib \
+python3-uuid \
+libacl \ +libacl \
+libopenssl \ +libopenssl \
+liblz4 \ +liblz4 \