From: Jeffery To Date: Tue, 31 Mar 2020 18:08:15 +0000 (+0800) Subject: seafile-ccnet: Remove Python 2 bindings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=155eb27036f49098f63fd67c7656b55edacd638a;p=feed%2Fpackages.git seafile-ccnet: Remove Python 2 bindings Signed-off-by: Jeffery To --- diff --git a/net/seafile-ccnet/Makefile b/net/seafile-ccnet/Makefile index 623855a9c2..6615f0efa2 100644 --- a/net/seafile-ccnet/Makefile +++ b/net/seafile-ccnet/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=seafile-ccnet PKG_VERSION:=7.1.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/haiwen/ccnet-server/tar.gz/v$(PKG_VERSION)-server? @@ -28,7 +28,6 @@ PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/nls.mk -include ../../lang/python/python-package.mk include ../../lang/python/python3-package.mk define Package/seafile-ccnet @@ -74,12 +73,9 @@ CONFIGURE_ARGS += \ --enable-python \ --with-mysql="$(STAGING_DIR)/usr/bin/mysql_config" -# Include Python 2 bindings in this package to maintain compatibility with previous versions define Package/seafile-ccnet/install $(INSTALL_DIR) $(1)/usr/{lib,libexec} - $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/ccnet $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/libexec/ - $(INSTALL_DATA) $(PKG_BUILD_DIR)/python/ccnet/*.py $(1)$(PYTHON_PKG_DIR)/ccnet/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libccnet.so* $(1)/usr/lib/ endef