summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-01-11 09:13:39 +0000
committerwiz <wiz@pkgsrc.org>2022-01-11 09:13:39 +0000
commitc78d4695246a0cf331acec23fb8b5b7e0b50fe6f (patch)
tree321019b97f6d7db75b05b1249017aa7bf9c5943e /lang
parent14a886e6c3577295742ba2aed7045c09bc5c2fc6 (diff)
downloadpkgsrc-c78d4695246a0cf331acec23fb8b5b7e0b50fe6f.tar.gz
python: remove distutils.mk
pkgsrc does not use it any longer; wip has its own copy in wip/python, until the packages there are converted to egg.mk as well
Diffstat (limited to 'lang')
-rw-r--r--lang/python/distutils.mk34
1 files changed, 0 insertions, 34 deletions
diff --git a/lang/python/distutils.mk b/lang/python/distutils.mk
deleted file mode 100644
index aa8199ec165..00000000000
--- a/lang/python/distutils.mk
+++ /dev/null
@@ -1,34 +0,0 @@
-# $NetBSD: distutils.mk,v 1.8 2016/08/28 09:40:35 richard Exp $
-#
-# Common logic for python distributions that use distutils.
-#
-.include "../../mk/bsd.fast.prefs.mk"
-
-.include "../../lang/python/pyversion.mk"
-
-# This file should be included to package python "distributions" which
-# use distutils. See egg.mk for distributions that use setuptools and
-# extensions.mk for ad hoc cases.
-
-# Some day, hoist the PYDISTUTILSPKG code in extension.mk to here,
-# after all distutils-using packages use this.
-PYDISTUTILSPKG= yes
-
-# We expect distutils to create an egg-info file if Python distutils
-# can do so, and provide support for a PLIST entry that represents
-# this norm and will work with all python versions.
-
-# Set the egg file basename.
-EGG_NAME?= ${DISTNAME:C/-([^0-9])/_\1/g}
-
-# Python distutils will create an eggfile.
-PY_NO_EGG?= no
-
-# Egg files have the version encoded, so generalize in PLIST.
-PLIST_SUBST+= EGG_FILE=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info
-PRINT_PLIST_AWK+= { gsub("${EGG_NAME}-py${PYVERSSUFFIX}.egg-info", \
- "$${EGG_FILE}") }
-PRINT_PLIST_AWK+= { gsub(/${PYVERSSUFFIX}/, \
- "$${PYVERSSUFFIX}") }
-
-.include "../../lang/python/extension.mk"