pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python python: remove distutils.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d5caa36eaf13
branches:  trunk
changeset: 371645:d5caa36eaf13
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jan 11 09:13:39 2022 +0000

description:
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:

 lang/python/distutils.mk |  34 ----------------------------------
 1 files changed, 0 insertions(+), 34 deletions(-)

diffs (38 lines):

diff -r 7294d5a47e5c -r d5caa36eaf13 lang/python/distutils.mk
--- a/lang/python/distutils.mk  Tue Jan 11 09:13:29 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index