[4/4] python-distutils-extra: Removal of this python2 module

Message ID 20210515215034.4133612-4-adolf.belka@ipfire.org
State Accepted
Commit 3a533f70a0c5e46b3ed26f9127d9c95be59dda44
Headers
Series [1/4] make.sh: Removal of three python2 modules |

Commit Message

Adolf Belka May 15, 2021, 9:50 p.m. UTC
  - python-distutils-extra is linked to python-distutils which is no longer
   used as it has been replaced by setuptools.
- python-distutils-extra is currently from 2011 and the latest version
   is from 2016. No development occurring on this.
- No problem on a clean build with this module being removed.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 .../rootfiles/packages/python-distutils-extra | 20 -----
 lfs/python-distutils-extra                    | 85 -------------------
 2 files changed, 105 deletions(-)
 delete mode 100644 config/rootfiles/packages/python-distutils-extra
 delete mode 100644 lfs/python-distutils-extra
  

Patch

diff --git a/config/rootfiles/packages/python-distutils-extra b/config/rootfiles/packages/python-distutils-extra
deleted file mode 100644
index 1f0ddbe46..000000000
--- a/config/rootfiles/packages/python-distutils-extra
+++ /dev/null
@@ -1,20 +0,0 @@ 
-#usr/lib/python2.7/site-packages/DistUtilsExtra
-usr/lib/python2.7/site-packages/DistUtilsExtra/__init__.py
-usr/lib/python2.7/site-packages/DistUtilsExtra/__init__.pyc
-usr/lib/python2.7/site-packages/DistUtilsExtra/auto.py
-usr/lib/python2.7/site-packages/DistUtilsExtra/auto.pyc
-#usr/lib/python2.7/site-packages/DistUtilsExtra/command
-usr/lib/python2.7/site-packages/DistUtilsExtra/command/__init__.py
-usr/lib/python2.7/site-packages/DistUtilsExtra/command/__init__.pyc
-usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_extra.py
-usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_extra.pyc
-usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_help.py
-usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_help.pyc
-usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_i18n.py
-usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_i18n.pyc
-usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_icons.py
-usr/lib/python2.7/site-packages/DistUtilsExtra/command/build_icons.pyc
-usr/lib/python2.7/site-packages/DistUtilsExtra/command/clean_i18n.py
-usr/lib/python2.7/site-packages/DistUtilsExtra/command/clean_i18n.pyc
-usr/lib/python2.7/site-packages/DistUtilsExtra/command/pylint.py
-usr/lib/python2.7/site-packages/DistUtilsExtra/command/pylint.pyc
diff --git a/lfs/python-distutils-extra b/lfs/python-distutils-extra
deleted file mode 100644
index 5ca5a31b2..000000000
--- a/lfs/python-distutils-extra
+++ /dev/null
@@ -1,85 +0,0 @@ 
-###############################################################################
-#                                                                             #
-# IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
-#                                                                             #
-# This program is free software: you can redistribute it and/or modify        #
-# it under the terms of the GNU General Public License as published by        #
-# the Free Software Foundation, either version 3 of the License, or           #
-# (at your option) any later version.                                         #
-#                                                                             #
-# This program is distributed in the hope that it will be useful,             #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
-# GNU General Public License for more details.                                #
-#                                                                             #
-# You should have received a copy of the GNU General Public License           #
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
-#                                                                             #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-VER        = 2.25
-
-THISAPP    = python-distutils-extra-$(VER)
-DL_FILE    = $(THISAPP).tar.gz
-DL_FROM    = $(URL_IPFIRE)
-DIR_APP    = $(DIR_SRC)/$(THISAPP)
-TARGET     = $(DIR_INFO)/$(THISAPP)
-PROG       = python-distutils-extra
-PAK_VER    = 1
-
-DEPS       = python-distutils
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE)
-
-$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-
-$(DL_FILE)_MD5 = 76d298db8d6d4fcdbf5d190046f70362
-
-install : $(TARGET)
-
-check : $(patsubst %,$(DIR_CHK)/%,$(objects))
-
-download :$(patsubst %,$(DIR_DL)/%,$(objects))
-
-md5 : $(subst %,%_MD5,$(objects))
-
-dist: 
-	@$(PAK)
-
-###############################################################################
-# Downloading, checking, md5sum
-###############################################################################
-
-$(patsubst %,$(DIR_CHK)/%,$(objects)) :
-	@$(CHECK)
-
-$(patsubst %,$(DIR_DL)/%,$(objects)) :
-	@$(LOAD)
-
-$(subst %,%_MD5,$(objects)) :
-	@$(MD5)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
-	@$(PREBUILD)
-	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-	cd $(DIR_APP) && python setup.py install
-	mv -f /usr/lib/python2.7/site-packages/python_distutils_extra-$(VER)-py2.7.egg/DistUtilsExtra \
-		/usr/lib/python2.7/site-packages/
-	rm -rf 	/usr/lib/python2.7/site-packages/python_distutils_extra-$(VER)-py2.7.egg
-	@rm -rf $(DIR_APP)
-	@$(POSTBUILD)