From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 4/4] python-distutils-extra: Removal of this python2 module Date: Sat, 15 May 2021 23:50:34 +0200 Message-ID: <20210515215034.4133612-4-adolf.belka@ipfire.org> In-Reply-To: <20210515215034.4133612-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2687002761577728513==" List-Id: --===============2687002761577728513== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - 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 --- .../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 diff --git a/config/rootfiles/packages/python-distutils-extra b/config/rootfi= les/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 = # -# = # -# 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 . = # -# = # -############################################################################= ### - -############################################################################= ### -# Definitions -############################################################################= ### - -include Config - -VER =3D 2.25 - -THISAPP =3D python-distutils-extra-$(VER) -DL_FILE =3D $(THISAPP).tar.gz -DL_FROM =3D $(URL_IPFIRE) -DIR_APP =3D $(DIR_SRC)/$(THISAPP) -TARGET =3D $(DIR_INFO)/$(THISAPP) -PROG =3D python-distutils-extra -PAK_VER =3D 1 - -DEPS =3D python-distutils - -############################################################################= ### -# Top-level Rules -############################################################################= ### - -objects =3D $(DL_FILE) - -$(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) - -$(DL_FILE)_MD5 =3D 76d298db8d6d4fcdbf5d190046f70362 - -install : $(TARGET) - -check : $(patsubst %,$(DIR_CHK)/%,$(objects)) - -download :$(patsubst %,$(DIR_DL)/%,$(objects)) - -md5 : $(subst %,%_MD5,$(objects)) - -dist:=20 - @$(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) --=20 2.31.1 --===============2687002761577728513==--