From 155eb27036f49098f63fd67c7656b55edacd638a Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Wed, 1 Apr 2020 02:08:15 +0800 Subject: [PATCH] seafile-ccnet: Remove Python 2 bindings Signed-off-by: Jeffery To --- net/seafile-ccnet/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/net/seafile-ccnet/Makefile b/net/seafile-ccnet/Makefile index 623855a9c..6615f0efa 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