public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
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	[thread overview]
Message-ID: <20210515215034.4133612-4-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20210515215034.4133612-1-adolf.belka@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 6019 bytes --]

- 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(a)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

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(a)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)
-- 
2.31.1


      parent reply	other threads:[~2021-05-15 21:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-15 21:50 [PATCH 1/4] make.sh: Removal of three python2 modules Adolf Belka
2021-05-15 21:50 ` [PATCH 2/4] python-optional-src: Removal of this python2 module Adolf Belka
2021-05-15 21:50 ` [PATCH 3/4] python-distutils: " Adolf Belka
2021-05-15 21:50 ` Adolf Belka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210515215034.4133612-4-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox