seafile-seahub: move all prefix-ed python packages to var
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Mon, 3 Jun 2019 10:58:39 +0000 (13:58 +0300)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Tue, 22 Oct 2019 23:45:06 +0000 (01:45 +0200)
The change is mostly organizational.
More packages will be moved to have python- or python3- prefixes.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry-picked from commit 1c5f5b61d3c8515177c6a81be2806a0afd848fe4)

net/seafile-seahub/Makefile

index 0666d4944c41e5aed28854b5159c8de0c7dbd478..04b6cb39de2e02ef571671cdfa6e14a15f4530e3 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=seafile-seahub
 PKG_VERSION:=6.3.4
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 PKG_LICENSE:=Apache-2.0
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -22,17 +22,20 @@ PKG_BUILD_DEPENDS:=python-pytz/host
 include $(INCLUDE_DIR)/package.mk
 include ../../lang/python/python-package.mk
 
+SEAFILE_PYTHON_DEPENDS:= \
+       simplejson chardet dateutil mysql pytz qrcode requests requests-oauthlib
+
 define Package/seafile-seahub
     SECTION:=net
     CATEGORY:=Network
     TITLE:=Seafile server - seahub component
     URL:=https://seafile.com/
-    DEPENDS:=+python-simplejson +python +pillow +python-chardet +django +django-appconf \
+    DEPENDS:=+python +pillow +django +django-appconf \
                +django-compressor +django-constance +django-formtools +django-jsonfield \
                +django-picklefield +django-postoffice +django-restframework \
                +django-simple-captcha +django-statici18n +django-webpack-loader \
-               +flup +gunicorn +openpyxl +python-dateutil +python-mysql \
-               +python-qrcode +python-requests +python-requests-oauthlib +python-pytz
+               +flup +gunicorn +openpyxl \
+               $(foreach dep,$(SEAFILE_PYTHON_DEPENDS),+python-$(dep))
 endef
 
 define Build/Configure