seafile-ccnet: Remove Python 2 bindings
authorJeffery To <jeffery.to@gmail.com>
Tue, 31 Mar 2020 18:08:15 +0000 (02:08 +0800)
committerJeffery To <jeffery.to@gmail.com>
Tue, 31 Mar 2020 18:08:15 +0000 (02:08 +0800)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
net/seafile-ccnet/Makefile

index 623855a9c2b8c3bfe6bbf0ec76316a8204af42d5..6615f0efa2e5febb0dd10ca2f0b036b51936469a 100644 (file)
@@ -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