pkgsrc-WIP-changes archive

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

python: add distutils.mk from lang/python



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Tue Jan 11 10:12:17 2022 +0100
Changeset:	25684a7cd5145fb216fb33eef94d0b1739b9cbc9

Modified Files:
	bkchem/Makefile
	bleachbit/Makefile
	blink/Makefile
	catfish/Makefile
	ditz-commander/Makefile
	exabgp4/Makefile
	flowblade/Makefile
	ldtp/Makefile
	mat/Makefile
	openerp-server/Makefile
	plover-git/Makefile
	plover-wxgtk/Makefile
	printrun/Makefile
	py-CalDAVClientLibrary/Makefile
	py-aigo/Makefile
	py-amqpipe/Makefile
	py-ana/Makefile
	py-ase/Makefile
	py-astroalign/Makefile
	py-astroquery/Makefile
	py-autokey/Makefile
	py-awesome-slugify/Makefile
	py-beautysh/Makefile
	py-bicho/Makefile
	py-biskit/Makefile
	py-bloscpack/Makefile
	py-blurb/Makefile
	py-carbon/Makefile
	py-cf-python/Makefile
	py-chainmap/Makefile
	py-chebfun/Makefile
	py-clid/Makefile
	py-coala/Makefile
	py-coala_utils/Makefile
	py-conda-env/Makefile
	py-crossbar/Makefile
	py-cython-blis/Makefile
	py-cythongsl/Makefile
	py-dash-bootstrap-components/Makefile
	py-decimalfp/Makefile
	py-delay/Makefile
	py-dependency_management/Makefile
	py-distlib/Makefile
	py-divmod-epsilon/Makefile
	py-djvulibre/Makefile
	py-dpath/Makefile
	py-dpkt-fix/Makefile
	py-einsteinpy-geodesics/Makefile
	py-epipy/Makefile
	py-fastapi/Makefile
	py-firehose/Makefile
	py-fluids/Makefile
	py-folium/Makefile
	py-forthon/Makefile
	py-gato/Makefile
	py-gatspy/Makefile
	py-geoip/Makefile
	py-ginga/Makefile
	py-gmpy2/Makefile
	py-gogo/Makefile
	py-gosam/Makefile
	py-goulib/Makefile
	py-gpaw/Makefile
	py-gpkit/Makefile
	py-gsl/Makefile
	py-gslodeiv2/Makefile
	py-gtrie/Makefile
	py-gwsurrogate/Makefile
	py-hamnonlineng/Makefile
	py-hamopy/Makefile
	py-hidapi-git/Makefile
	py-htseq/Makefile
	py-hugo/Makefile
	py-hyperspy/Makefile
	py-idalink/Makefile
	py-imexam/Makefile
	py-inspyred/Makefile
	py-jabber-palaver/Makefile
	py-jabber-proxy65/Makefile
	py-jabber-punjab/Makefile
	py-jabberbot/Makefile
	py-jeepney/Makefile
	py-jswebkit/Makefile
	py-jtextfsm/Makefile
	py-kineticlib/Makefile
	py-ld/Makefile
	py-libclang-py3/Makefile
	py-libvirt/Makefile
	py-lxmlproc/Makefile
	py-magnitude/Makefile
	py-mailq/Makefile
	py-markovchain/Makefile
	py-meshio/Makefile
	py-metrics/Makefile
	py-minecraft/Makefile
	py-minepy/Makefile
	py-minidb/Makefile
	py-namedlist/Makefile
	py-napalm-base/Makefile
	py-napalm-eos/Makefile
	py-napalm-ios/Makefile
	py-napalm-iosxr/Makefile
	py-napalm-junos/Makefile
	py-napalm-nxos/Makefile
	py-napalm/Makefile
	py-neqsys/Makefile
	py-nibabel/Makefile
	py-nosh/Makefile
	py-notify2/Makefile
	py-nuitka/Makefile
	py-nxos/Makefile
	py-oasa/Makefile
	py-ocrodjvu/Makefile
	py-operators/Makefile
	py-p4/Makefile
	py-patch/Makefile
	py-patool/Makefile
	py-pattyrn/Makefile
	py-percol/Makefile
	py-pickleDB/Makefile
	py-polygon3/Makefile
	py-pp/Makefile
	py-preshed/Makefile
	py-print/Makefile
	py-ptrace/Makefile
	py-pyflation/Makefile
	py-pygit/Makefile
	py-pynfo/Makefile
	py-pyslha/Makefile
	py-python-application/Makefile
	py-python-gnutls/Makefile
	py-python-igraph/Makefile
	py-qexpy/Makefile
	py-ranger/Makefile
	py-rebound3/Makefile
	py-recluse/Makefile
	py-recommonmark/Makefile
	py-report/Makefile
	py-rst2html5/Makefile
	py-scanless/Makefile
	py-scitools/Makefile
	py-sdnotify/Makefile
	py-seeds/Makefile
	py-shedskin/Makefile
	py-shtoom/Makefile
	py-sima/Makefile
	py-spacy/Makefile
	py-spams/Makefile
	py-stringcase/Makefile
	py-tex2pix/Makefile
	py-thermistor/Makefile
	py-trie3/Makefile
	py-txZMQ/Makefile
	py-typedload/Makefile
	py-u2flib-server/Makefile
	py-visionegg/Makefile
	py-vtk/Makefile
	py-wahcade/Makefile
	py-websocket/Makefile
	py-weewx/Makefile
	py-whelk/Makefile
	py-wpull/Makefile
	py-xapp/Makefile
	py-xcal-raman/Makefile
	py-xpra/Makefile
	py-yapgvb/Makefile
	py-yellowhiggs/Makefile
	py-zbar/Makefile
	py-zenity/Makefile
	qiew/Makefile
	spyder/Makefile
	trelby/Makefile
	virt-manager/Makefile
	volctl/Makefile
	wicd/Makefile
	wp2md-git/Makefile
	zim/Makefile
Added Files:
	python/distutils.mk

Log Message:
python: add distutils.mk from lang/python

convert all distutils packages to use it

TODO: convert the packages to egg.mk and remove distutils.mk
completely

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=25684a7cd5145fb216fb33eef94d0b1739b9cbc9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 bkchem/Makefile                       |  2 +-
 bleachbit/Makefile                    |  2 +-
 blink/Makefile                        |  2 +-
 catfish/Makefile                      |  2 +-
 ditz-commander/Makefile               |  2 +-
 exabgp4/Makefile                      |  2 +-
 flowblade/Makefile                    |  2 +-
 ldtp/Makefile                         |  2 +-
 mat/Makefile                          |  2 +-
 openerp-server/Makefile               |  2 +-
 plover-git/Makefile                   |  2 +-
 plover-wxgtk/Makefile                 |  2 +-
 printrun/Makefile                     |  2 +-
 py-CalDAVClientLibrary/Makefile       |  2 +-
 py-aigo/Makefile                      |  2 +-
 py-amqpipe/Makefile                   |  2 +-
 py-ana/Makefile                       |  2 +-
 py-ase/Makefile                       |  2 +-
 py-astroalign/Makefile                |  2 +-
 py-astroquery/Makefile                |  2 +-
 py-autokey/Makefile                   |  2 +-
 py-awesome-slugify/Makefile           |  2 +-
 py-beautysh/Makefile                  |  2 +-
 py-bicho/Makefile                     |  2 +-
 py-biskit/Makefile                    |  2 +-
 py-bloscpack/Makefile                 |  2 +-
 py-blurb/Makefile                     |  2 +-
 py-carbon/Makefile                    |  2 +-
 py-cf-python/Makefile                 |  2 +-
 py-chainmap/Makefile                  |  2 +-
 py-chebfun/Makefile                   |  2 +-
 py-clid/Makefile                      |  2 +-
 py-coala/Makefile                     |  2 +-
 py-coala_utils/Makefile               |  2 +-
 py-conda-env/Makefile                 |  2 +-
 py-crossbar/Makefile                  |  2 +-
 py-cython-blis/Makefile               |  2 +-
 py-cythongsl/Makefile                 |  2 +-
 py-dash-bootstrap-components/Makefile |  2 +-
 py-decimalfp/Makefile                 |  2 +-
 py-delay/Makefile                     |  2 +-
 py-dependency_management/Makefile     |  2 +-
 py-distlib/Makefile                   |  2 +-
 py-divmod-epsilon/Makefile            |  2 +-
 py-djvulibre/Makefile                 |  2 +-
 py-dpath/Makefile                     |  2 +-
 py-dpkt-fix/Makefile                  |  2 +-
 py-einsteinpy-geodesics/Makefile      |  2 +-
 py-epipy/Makefile                     |  2 +-
 py-fastapi/Makefile                   |  2 +-
 py-firehose/Makefile                  |  2 +-
 py-fluids/Makefile                    |  2 +-
 py-folium/Makefile                    |  2 +-
 py-forthon/Makefile                   |  2 +-
 py-gato/Makefile                      |  2 +-
 py-gatspy/Makefile                    |  2 +-
 py-geoip/Makefile                     |  2 +-
 py-ginga/Makefile                     |  2 +-
 py-gmpy2/Makefile                     |  2 +-
 py-gogo/Makefile                      |  2 +-
 py-gosam/Makefile                     |  2 +-
 py-goulib/Makefile                    |  2 +-
 py-gpaw/Makefile                      |  2 +-
 py-gpkit/Makefile                     |  2 +-
 py-gsl/Makefile                       |  2 +-
 py-gslodeiv2/Makefile                 |  2 +-
 py-gtrie/Makefile                     |  2 +-
 py-gwsurrogate/Makefile               |  2 +-
 py-hamnonlineng/Makefile              |  2 +-
 py-hamopy/Makefile                    |  2 +-
 py-hidapi-git/Makefile                |  2 +-
 py-htseq/Makefile                     |  2 +-
 py-hugo/Makefile                      |  2 +-
 py-hyperspy/Makefile                  |  2 +-
 py-idalink/Makefile                   |  2 +-
 py-imexam/Makefile                    |  2 +-
 py-inspyred/Makefile                  |  2 +-
 py-jabber-palaver/Makefile            |  2 +-
 py-jabber-proxy65/Makefile            |  2 +-
 py-jabber-punjab/Makefile             |  2 +-
 py-jabberbot/Makefile                 |  2 +-
 py-jeepney/Makefile                   |  2 +-
 py-jswebkit/Makefile                  |  2 +-
 py-jtextfsm/Makefile                  |  2 +-
 py-kineticlib/Makefile                |  2 +-
 py-ld/Makefile                        |  2 +-
 py-libclang-py3/Makefile              |  2 +-
 py-libvirt/Makefile                   |  2 +-
 py-lxmlproc/Makefile                  |  2 +-
 py-magnitude/Makefile                 |  2 +-
 py-mailq/Makefile                     |  2 +-
 py-markovchain/Makefile               |  2 +-
 py-meshio/Makefile                    |  2 +-
 py-metrics/Makefile                   |  2 +-
 py-minecraft/Makefile                 |  2 +-
 py-minepy/Makefile                    |  2 +-
 py-minidb/Makefile                    |  2 +-
 py-namedlist/Makefile                 |  2 +-
 py-napalm-base/Makefile               |  2 +-
 py-napalm-eos/Makefile                |  2 +-
 py-napalm-ios/Makefile                |  2 +-
 py-napalm-iosxr/Makefile              |  2 +-
 py-napalm-junos/Makefile              |  2 +-
 py-napalm-nxos/Makefile               |  2 +-
 py-napalm/Makefile                    |  2 +-
 py-neqsys/Makefile                    |  2 +-
 py-nibabel/Makefile                   |  2 +-
 py-nosh/Makefile                      |  2 +-
 py-notify2/Makefile                   |  2 +-
 py-nuitka/Makefile                    |  2 +-
 py-nxos/Makefile                      |  2 +-
 py-oasa/Makefile                      |  2 +-
 py-ocrodjvu/Makefile                  |  2 +-
 py-operators/Makefile                 |  2 +-
 py-p4/Makefile                        |  2 +-
 py-patch/Makefile                     |  2 +-
 py-patool/Makefile                    |  2 +-
 py-pattyrn/Makefile                   |  2 +-
 py-percol/Makefile                    |  2 +-
 py-pickleDB/Makefile                  |  2 +-
 py-polygon3/Makefile                  |  2 +-
 py-pp/Makefile                        |  2 +-
 py-preshed/Makefile                   |  2 +-
 py-print/Makefile                     |  2 +-
 py-ptrace/Makefile                    |  2 +-
 py-pyflation/Makefile                 |  2 +-
 py-pygit/Makefile                     |  2 +-
 py-pynfo/Makefile                     |  2 +-
 py-pyslha/Makefile                    |  2 +-
 py-python-application/Makefile        |  2 +-
 py-python-gnutls/Makefile             |  2 +-
 py-python-igraph/Makefile             |  2 +-
 py-qexpy/Makefile                     |  2 +-
 py-ranger/Makefile                    |  2 +-
 py-rebound3/Makefile                  |  2 +-
 py-recluse/Makefile                   |  2 +-
 py-recommonmark/Makefile              |  2 +-
 py-report/Makefile                    |  2 +-
 py-rst2html5/Makefile                 |  2 +-
 py-scanless/Makefile                  |  2 +-
 py-scitools/Makefile                  |  2 +-
 py-sdnotify/Makefile                  |  2 +-
 py-seeds/Makefile                     |  2 +-
 py-shedskin/Makefile                  |  2 +-
 py-shtoom/Makefile                    |  2 +-
 py-sima/Makefile                      |  2 +-
 py-spacy/Makefile                     |  2 +-
 py-spams/Makefile                     |  2 +-
 py-stringcase/Makefile                |  2 +-
 py-tex2pix/Makefile                   |  2 +-
 py-thermistor/Makefile                |  2 +-
 py-trie3/Makefile                     |  2 +-
 py-txZMQ/Makefile                     |  2 +-
 py-typedload/Makefile                 |  2 +-
 py-u2flib-server/Makefile             |  2 +-
 py-visionegg/Makefile                 |  2 +-
 py-vtk/Makefile                       |  2 +-
 py-wahcade/Makefile                   |  2 +-
 py-websocket/Makefile                 |  2 +-
 py-weewx/Makefile                     |  2 +-
 py-whelk/Makefile                     |  2 +-
 py-wpull/Makefile                     |  2 +-
 py-xapp/Makefile                      |  2 +-
 py-xcal-raman/Makefile                |  2 +-
 py-xpra/Makefile                      |  2 +-
 py-yapgvb/Makefile                    |  2 +-
 py-yellowhiggs/Makefile               |  2 +-
 py-zbar/Makefile                      |  2 +-
 py-zenity/Makefile                    |  2 +-
 python/distutils.mk                   | 34 ++++++++++++++++++++++++++++++++++
 qiew/Makefile                         |  2 +-
 spyder/Makefile                       |  2 +-
 trelby/Makefile                       |  2 +-
 virt-manager/Makefile                 |  2 +-
 volctl/Makefile                       |  2 +-
 wicd/Makefile                         |  2 +-
 wp2md-git/Makefile                    |  2 +-
 zim/Makefile                          |  2 +-
 178 files changed, 211 insertions(+), 177 deletions(-)

diffs:
diff --git a/bkchem/Makefile b/bkchem/Makefile
index 8c04813b5b..18477bc6e4 100644
--- a/bkchem/Makefile
+++ b/bkchem/Makefile
@@ -30,7 +30,7 @@ post-extract:
 	    ${ECHO} exec ${PY_EXEC} -OO  ${PY_APPAPATH} >> ${WRKSRC}/bkchem${PYVERSSUFFIX}
 
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../lang/python/versioned_dependencies.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/bleachbit/Makefile b/bleachbit/Makefile
index 6b48f95419..0b91223f24 100644
--- a/bleachbit/Makefile
+++ b/bleachbit/Makefile
@@ -32,7 +32,7 @@ post-install:
 
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../x11/py-gtk2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/blink/Makefile b/blink/Makefile
index 189bd8b59d..772403610b 100644
--- a/blink/Makefile
+++ b/blink/Makefile
@@ -36,5 +36,5 @@ post-install:
 .include "../../net/libvncserver/buildlink3.mk"
 .include "../../x11/py-sip/buildlink3.mk"
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/catfish/Makefile b/catfish/Makefile
index 7a205f121a..6e4d256785 100644
--- a/catfish/Makefile
+++ b/catfish/Makefile
@@ -23,6 +23,6 @@ REPLACE_PYTHON+=	setup.py
 
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/ditz-commander/Makefile b/ditz-commander/Makefile
index 88d036af22..e2ad42bd8b 100644
--- a/ditz-commander/Makefile
+++ b/ditz-commander/Makefile
@@ -18,7 +18,7 @@ PYTHON_VERSIONS_ACCEPTED=	27 # py-ORBit via py-gnome2, py-gtk2, py-gobject
 
 .include "../../devel/py-gobject/buildlink3.mk"
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../lang/ruby/rubyversion.mk"
 .include "../../x11/py-gnome2-extras/buildlink3.mk"
 .include "../../x11/py-gtk2/buildlink3.mk"
diff --git a/exabgp4/Makefile b/exabgp4/Makefile
index 5a82326c9c..fbaa56d36a 100644
--- a/exabgp4/Makefile
+++ b/exabgp4/Makefile
@@ -83,7 +83,7 @@ post-install:
 		${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
 	${INSTALL_DATA} ${FILESDIR}/exabgp.env ${DESTDIR}${PREFIX}/share/examples/exabgp/
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../lang/python/application.mk"
 .include "../../lang/python/pyversion.mk"
 .include "../../lang/python/versioned_dependencies.mk"
diff --git a/flowblade/Makefile b/flowblade/Makefile
index 59799dcb7b..114dc77854 100644
--- a/flowblade/Makefile
+++ b/flowblade/Makefile
@@ -35,7 +35,7 @@ SUBST_VARS.py=		FLOWBLADE_PATH
 # https://github.com/jliljebl/flowblade/issues/597
 PYTHON_VERSIONS_ACCEPTED=	27
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../multimedia/frei0r/buildlink3.mk"
 .include "../../wip/mlt/buildlink3.mk"
diff --git a/ldtp/Makefile b/ldtp/Makefile
index fd7774bae9..5c5d2aa139 100644
--- a/ldtp/Makefile
+++ b/ldtp/Makefile
@@ -20,5 +20,5 @@ PYTHON_VERSIONS_ACCEPTED=	27 # py-ORBit and py-gnome2 via py-at-spi, py-gobject
 
 .include "../../devel/py-gobject/buildlink3.mk"
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/mat/Makefile b/mat/Makefile
index 9b15c2fb44..9669d63310 100644
--- a/mat/Makefile
+++ b/mat/Makefile
@@ -29,6 +29,6 @@ SUBST_FILES.setup=	setup.py
 SUBST_SED.setup+=	-e 's,share/man,${PKGMANDIR},g'
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/openerp-server/Makefile b/openerp-server/Makefile
index bcc0a36194..3ef2fcb9fa 100644
--- a/openerp-server/Makefile
+++ b/openerp-server/Makefile
@@ -47,7 +47,7 @@ post-build:
 	${SED} -e "s#@PYSITELIB@#${PREFIX}/${PYSITELIB}#g" < \
 		${FILESDIR}/openerp-server.conf.in > ${PREFIX}/etc/openerp-server.conf.sample
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../graphics/py-imaging/buildlink3.mk"
 .include "../../textproc/py-libxml2/buildlink3.mk"
 .include "../../textproc/py-xml/buildlink3.mk"
diff --git a/plover-git/Makefile b/plover-git/Makefile
index 0ae83fa2dc..e76f356ed7 100644
--- a/plover-git/Makefile
+++ b/plover-git/Makefile
@@ -22,6 +22,6 @@ DEPENDS+=	${PYPKGPREFIX}-Xlib>=0.15:../../x11/py-Xlib
 #TODO: Should the following line be a DEPENDS line? yes
 #.include "../../wip/py-wxWidgets/buildlink3.mk"
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../wip/mk/git-package.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/plover-wxgtk/Makefile b/plover-wxgtk/Makefile
index 2110cdeb96..a65b27a01c 100644
--- a/plover-wxgtk/Makefile
+++ b/plover-wxgtk/Makefile
@@ -21,5 +21,5 @@ DEPENDS+=	${PYPKGPREFIX}-serial-[0-9]*:../../comms/py-serial
 DEPENDS+=	${PYPKGPREFIX}-Xlib>=0.16:../../x11/py-Xlib
 DEPENDS+=	${PYPKGPREFIX}-wxWidgets-[0-9]*:../../x11/py-wxWidgets
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/printrun/Makefile b/printrun/Makefile
index fca1457704..fabddb4bf6 100644
--- a/printrun/Makefile
+++ b/printrun/Makefile
@@ -37,7 +37,7 @@ PYTHON_VERSIONED_DEPENDENCIES+=	setuptools
 .include "../../x11/py-wxWidgets/buildlink3.mk"
 .include "../../devel/py-cython/buildlink3.mk"
 #.include "../../lang/python/egg.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 #.include "../../lang/python/application.mk"
 .include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-CalDAVClientLibrary/Makefile b/py-CalDAVClientLibrary/Makefile
index e2eda68971..82a415354b 100644
--- a/py-CalDAVClientLibrary/Makefile
+++ b/py-CalDAVClientLibrary/Makefile
@@ -16,5 +16,5 @@ EGG_NAME=	UNKNOWN-0.0.0
 
 PYTHON_VERSIONS_ACCEPTED=	27 # not yet ported as of 13824
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-aigo/Makefile b/py-aigo/Makefile
index 614ede9a3c..0065dac808 100644
--- a/py-aigo/Makefile
+++ b/py-aigo/Makefile
@@ -22,7 +22,7 @@ post-extract:
 do-test:
 	${RUN} cd ${WRKSRC}/tests; ${SETENV} ${TEST_ENV} ${PYTHONBIN} testAIGO.py
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../x11/py-wxWidgets/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-amqpipe/Makefile b/py-amqpipe/Makefile
index 2f246dd0e5..4567156c96 100644
--- a/py-amqpipe/Makefile
+++ b/py-amqpipe/Makefile
@@ -12,5 +12,5 @@ LICENSE=	mit
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-ana/Makefile b/py-ana/Makefile
index 32f8b8fdc4..52d63de966 100644
--- a/py-ana/Makefile
+++ b/py-ana/Makefile
@@ -11,5 +11,5 @@ COMMENT=	ana
 
 PYTHON_VERSIONS_ACCEPTED=	37
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-ase/Makefile b/py-ase/Makefile
index 4cc551f609..80aa793e27 100644
--- a/py-ase/Makefile
+++ b/py-ase/Makefile
@@ -30,6 +30,6 @@ post-extract:
 .include "../../x11/py-gtk2/buildlink3.mk"
 
 ##required for basic ASE functionality
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-astroalign/Makefile b/py-astroalign/Makefile
index 2c9a379600..3cdfdfb8fb 100644
--- a/py-astroalign/Makefile
+++ b/py-astroalign/Makefile
@@ -13,5 +13,5 @@ LICENSE=	mit
 DEPENDS+=	${PYPKGPREFIX}-setuptools>=50.3.2:../../devel/py-setuptools
 DEPENDS+=	${PYPKGPREFIX}-setuptools_scm>=4.1.2:../../devel/py-setuptools_scm
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-astroquery/Makefile b/py-astroquery/Makefile
index 4b60facbdd..1ebf318295 100644
--- a/py-astroquery/Makefile
+++ b/py-astroquery/Makefile
@@ -22,5 +22,5 @@ DEPENDS+=	${PYPKGPREFIX}-astropy-helpers>=4.0.1:../../wip/py-astropy-helpers
 post-extract:
 	${CHMOD} -R go-w ${WRKSRC}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-autokey/Makefile b/py-autokey/Makefile
index 9d3721cb5a..990c5f342f 100644
--- a/py-autokey/Makefile
+++ b/py-autokey/Makefile
@@ -20,5 +20,5 @@ SUBST_FILES.man+=	setup.py
 SUBST_STAGE.man=	pre-configure
 SUBST_MESSAGE.man=	Fixing man page installation path.
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-awesome-slugify/Makefile b/py-awesome-slugify/Makefile
index 17c264426f..be0aaec701 100644
--- a/py-awesome-slugify/Makefile
+++ b/py-awesome-slugify/Makefile
@@ -15,5 +15,5 @@ USE_LANGUAGES=	# none
 DEPENDS+=	${PYPKGPREFIX}-Unidecode>=0.04.14:../../textproc/py-Unidecode
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-beautysh/Makefile b/py-beautysh/Makefile
index 94e279fcd7..c1a7c2f1a8 100644
--- a/py-beautysh/Makefile
+++ b/py-beautysh/Makefile
@@ -18,6 +18,6 @@ PYTHON_VERSIONED_DEPENDENCIES+=	setuptools
 REPLACE_PYTHON+=	beautysh/beautysh.py
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-bicho/Makefile b/py-bicho/Makefile
index 2440f88991..a09a662b93 100644
--- a/py-bicho/Makefile
+++ b/py-bicho/Makefile
@@ -20,5 +20,5 @@ WRKSRC=		${WRKDIR}/${DISTNAME:S/_/-/}
 post-extract:
 	${MV} ${WRKSRC}/bin/bicho ${WRKSRC}/bin/bicho${PYVERSSUFFIX}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-biskit/Makefile b/py-biskit/Makefile
index cdfdef7803..e7ec2ee045 100644
--- a/py-biskit/Makefile
+++ b/py-biskit/Makefile
@@ -28,7 +28,7 @@ post-extract:
 	${MV} ${WRKSRC}/scripts/Biskit/bis.py ${WRKSRC}/scripts/Biskit/bis${PYVERSSUFFIX}
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-Numeric/buildlink3.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-bloscpack/Makefile b/py-bloscpack/Makefile
index 3e7ce6e4db..375d79bd4f 100644
--- a/py-bloscpack/Makefile
+++ b/py-bloscpack/Makefile
@@ -19,6 +19,6 @@ USE_LANGUAGES=	# none
 post-extract:
 	${MV} ${WRKSRC}/blpk ${WRKSRC}/blpk${PYVERSSUFFIX}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-blurb/Makefile b/py-blurb/Makefile
index 0f9b1d7d86..e2d092d74d 100644
--- a/py-blurb/Makefile
+++ b/py-blurb/Makefile
@@ -10,5 +10,5 @@ HOMEPAGE=	https://pypi.org/project/blurb/
 COMMENT=	Command-line tool to manage CPython Misc/NEWS.d entries
 LICENSE=	modified-bsd
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-carbon/Makefile b/py-carbon/Makefile
index e8f346cf46..9de3acc681 100644
--- a/py-carbon/Makefile
+++ b/py-carbon/Makefile
@@ -70,5 +70,5 @@ PYSETUPINSTALLARGS=	--prefix=${PREFIX} \
 INSTALLATION_DIRS+=	share/examples/graphite
 
 .include "../../databases/py-carbon/Makefile.common"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-cf-python/Makefile b/py-cf-python/Makefile
index 6050906b42..d8af50c4f3 100644
--- a/py-cf-python/Makefile
+++ b/py-cf-python/Makefile
@@ -17,6 +17,6 @@ DEPENDS+=	${PYPKGPREFIX}-scipy>=0.15.1:../../math/py-scipy
 DEPENDS+=	${PYPKGPREFIX}-psutil-2.1.3:../../sysutils/py-psutil
 DEPENDS+=	${PYPKGPREFIX}-netCDF4>=1.1.8:../../math/py-netCDF4
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-chainmap/Makefile b/py-chainmap/Makefile
index 399e180ef4..1ad5f26b90 100644
--- a/py-chainmap/Makefile
+++ b/py-chainmap/Makefile
@@ -13,5 +13,5 @@ LICENSE=	python-software-foundation
 USE_LANGUAGES=	# none
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-chebfun/Makefile b/py-chebfun/Makefile
index 832b57fa9e..3420e05b6f 100644
--- a/py-chebfun/Makefile
+++ b/py-chebfun/Makefile
@@ -12,5 +12,5 @@ LICENSE=	gnu-gpl-v3
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-clid/Makefile b/py-clid/Makefile
index d512f4e2ec..a830f79c6a 100644
--- a/py-clid/Makefile
+++ b/py-clid/Makefile
@@ -12,5 +12,5 @@ LICENSE=	mit
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-coala/Makefile b/py-coala/Makefile
index 4a180bbdfe..4dd8279af8 100644
--- a/py-coala/Makefile
+++ b/py-coala/Makefile
@@ -34,5 +34,5 @@ post-install:
 		 ${DESTDIR}${PREFIX}/${PKGMANDIR}/coala.1
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-coala_utils/Makefile b/py-coala_utils/Makefile
index 71665442fd..be70284ddb 100644
--- a/py-coala_utils/Makefile
+++ b/py-coala_utils/Makefile
@@ -18,5 +18,5 @@ DEPENDS+=	${PYPKGPREFIX}-appdirs-[0-9]*:../../devel/py-appdirs
 DEPENDS+=	${PYPKGPREFIX}-print-[0-9]*:../../wip/py-print
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-conda-env/Makefile b/py-conda-env/Makefile
index fb708ba619..f4f026e0b0 100644
--- a/py-conda-env/Makefile
+++ b/py-conda-env/Makefile
@@ -20,5 +20,5 @@ post-extract:
 	${MV} ${WRKSRC}/bin/conda-env ${WRKSRC}/bin/conda-env${PYVERSSUFFIX}
 	${MV} ${WRKSRC}/bin/deactivate ${WRKSRC}/bin/deactivate${PYVERSSUFFIX}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-crossbar/Makefile b/py-crossbar/Makefile
index 8c9b7d750b..4f79ff4ab2 100644
--- a/py-crossbar/Makefile
+++ b/py-crossbar/Makefile
@@ -55,5 +55,5 @@ DEPENDS+=	${PYPKGPREFIX}-werkzeug>=1.0.1:../../www/py-werkzeug
 
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../security/libsodium/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-cython-blis/Makefile b/py-cython-blis/Makefile
index d03845dfdb..99a04e4dac 100644
--- a/py-cython-blis/Makefile
+++ b/py-cython-blis/Makefile
@@ -15,5 +15,5 @@ LICENSE=	modified-bsd
 WRKSRC=	${WRKDIR}/${PKGNAME_NOREV:S/v//1}
 
 # url2pkg-marker (please do not remove this line.)
-.include	"../../lang/python/distutils.mk"
+.include	"../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-cythongsl/Makefile b/py-cythongsl/Makefile
index 956cfe4eec..12a28a1d03 100644
--- a/py-cythongsl/Makefile
+++ b/py-cythongsl/Makefile
@@ -17,5 +17,5 @@ do-test:
 	
 BUILDLINK_API_DEPENDS.${PYPKGPREFIX}-cython+=	${PYPKGPREFIX}-cython>=0.12.1
 .include "../../devel/py-cython/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-dash-bootstrap-components/Makefile b/py-dash-bootstrap-components/Makefile
index ed258a78e7..aaceddeb1b 100644
--- a/py-dash-bootstrap-components/Makefile
+++ b/py-dash-bootstrap-components/Makefile
@@ -14,5 +14,5 @@ DEPENDS+=	${PYPKGPREFIX}-dash>=1.9.0:../../devel/py-dash
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-decimalfp/Makefile b/py-decimalfp/Makefile
index a0f551f987..d6b7c82e51 100644
--- a/py-decimalfp/Makefile
+++ b/py-decimalfp/Makefile
@@ -10,5 +10,5 @@ HOMEPAGE=	https://pypi.python.org/pypi/decimalfp
 COMMENT=	Decimal fixed-point arithmetic
 LICENSE=	modified-bsd
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-delay/Makefile b/py-delay/Makefile
index 763aadc4e3..72c09fd970 100644
--- a/py-delay/Makefile
+++ b/py-delay/Makefile
@@ -14,6 +14,6 @@ DEPENDS+=	${PYPKGPREFIX}-scipy>=0.12.0:../../math/py-scipy
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-dependency_management/Makefile b/py-dependency_management/Makefile
index ab5695d0c9..134f6e7a08 100644
--- a/py-dependency_management/Makefile
+++ b/py-dependency_management/Makefile
@@ -18,5 +18,5 @@ DEPENDS+=	${PYPKGPREFIX}-coala_utils-[0-9]*:../../wip/py-coala_utils
 DEPENDS+=	${PYPKGPREFIX}-sarge-[0-9]*:../../wip/py-sarge
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-distlib/Makefile b/py-distlib/Makefile
index a783f36896..4f9daca14d 100644
--- a/py-distlib/Makefile
+++ b/py-distlib/Makefile
@@ -13,5 +13,5 @@ LICENSE=	python-software-foundation
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-divmod-epsilon/Makefile b/py-divmod-epsilon/Makefile
index 1958b9d599..1d792301ba 100644
--- a/py-divmod-epsilon/Makefile
+++ b/py-divmod-epsilon/Makefile
@@ -16,5 +16,5 @@ DEPENDS+=	${PYPKGPREFIX}-twisted>=2.4.0:../../net/py-twisted
 PYTHON_VERSIONS_ACCEPTED=	27 # as of 0.5.12
 EGG_NAME=	${DISTNAME}_r17222
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-djvulibre/Makefile b/py-djvulibre/Makefile
index cb32ad14ba..8576bf2cb7 100644
--- a/py-djvulibre/Makefile
+++ b/py-djvulibre/Makefile
@@ -22,7 +22,7 @@ pre-build:
 	mkdir -p ${BUILDLINK_DIR}/bin
 	ln -s ${PYTHONBIN} ${BUILDLINK_DIR}/bin/python
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 BUILDLINK_API_DEPENDS.py-cython+=	${PYPKGPREFIX}-cython>=0.20
 .include "../../devel/py-cython/buildlink3.mk"
 .include "../../graphics/djvulibre-lib/buildlink3.mk"
diff --git a/py-dpath/Makefile b/py-dpath/Makefile
index c0ac72ec29..2022f804e9 100644
--- a/py-dpath/Makefile
+++ b/py-dpath/Makefile
@@ -12,5 +12,5 @@ LICENSE=	mit
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-dpkt-fix/Makefile b/py-dpkt-fix/Makefile
index 932f2949e6..f8cd4fa41e 100644
--- a/py-dpkt-fix/Makefile
+++ b/py-dpkt-fix/Makefile
@@ -11,5 +11,5 @@ COMMENT=	Dumb packet module
 
 PYTHON_VERSIONS_ACCEPTED=	27
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-einsteinpy-geodesics/Makefile b/py-einsteinpy-geodesics/Makefile
index fce58a5c60..96955ffb9e 100644
--- a/py-einsteinpy-geodesics/Makefile
+++ b/py-einsteinpy-geodesics/Makefile
@@ -33,5 +33,5 @@ USE_LANGUAGES=	# none
 
 BUILDLINK_API_DEPENDS.${PYPKGPREFIX}-numpy+=	${PYPKGPREFIX}-numpy>=0
 .include "../../math/py-numpy/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-epipy/Makefile b/py-epipy/Makefile
index f7a1a6cb78..0ea1c528dc 100644
--- a/py-epipy/Makefile
+++ b/py-epipy/Makefile
@@ -19,6 +19,6 @@ USE_LANGUAGES=	# none
 
 PYTHON_VERSIONS_ACCEPTED=	27 # as of 0.0.2.1
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-fastapi/Makefile b/py-fastapi/Makefile
index 161b3d6155..052df61440 100644
--- a/py-fastapi/Makefile
+++ b/py-fastapi/Makefile
@@ -42,5 +42,5 @@ TEST_ENV+=	PYTHONPATH=${WRKSRC}/build/lib
 do-test:
 	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-firehose/Makefile b/py-firehose/Makefile
index 3873072eb2..88883b4195 100644
--- a/py-firehose/Makefile
+++ b/py-firehose/Makefile
@@ -24,5 +24,5 @@ SUBST_FILES.python=		Makefile
 SUBST_SED.python=		-e 's,python ,${PYTHONBIN} ,g'
 
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-fluids/Makefile b/py-fluids/Makefile
index 23ba16d4f3..439780049b 100644
--- a/py-fluids/Makefile
+++ b/py-fluids/Makefile
@@ -14,6 +14,6 @@ DEPENDS+=	${PYPKGPREFIX}-scipy>=0.18.0:../../math/py-scipy
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-folium/Makefile b/py-folium/Makefile
index 7d07ad3fd2..9381c22cc3 100644
--- a/py-folium/Makefile
+++ b/py-folium/Makefile
@@ -15,5 +15,5 @@ DEPENDS+=	${PYPKGPREFIX}-jinja2>=2.9:../../textproc/py-jinja2
 DEPENDS+=	${PYPKGPREFIX}-requests>=0:../../devel/py-requests
 TEST_DEPENDS+=	${PYPKGPREFIX}-pytest>=0:../../devel/py-test
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-forthon/Makefile b/py-forthon/Makefile
index 0f7b71895c..82cf3ca7e9 100644
--- a/py-forthon/Makefile
+++ b/py-forthon/Makefile
@@ -17,6 +17,6 @@ USE_LANGUAGES=	c fortran
 post-extract:
 	${MV} ${WRKSRC}/Forthon ${WRKSRC}/Forthon${PYVERSSUFFIX}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-gato/Makefile b/py-gato/Makefile
index e3eab833f1..c26daf4521 100644
--- a/py-gato/Makefile
+++ b/py-gato/Makefile
@@ -22,5 +22,5 @@ post-extract:
 	${MV} ${WRKSRC}/scripts/Gred ${WRKSRC}/scripts/Gred${PYVERSSUFFIX}
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-gatspy/Makefile b/py-gatspy/Makefile
index 3d4b7a2599..5c178942b7 100644
--- a/py-gatspy/Makefile
+++ b/py-gatspy/Makefile
@@ -12,6 +12,6 @@ LICENSE=	2-clause-bsd
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-geoip/Makefile b/py-geoip/Makefile
index 4347717344..9157e7462e 100644
--- a/py-geoip/Makefile
+++ b/py-geoip/Makefile
@@ -10,5 +10,5 @@ HOMEPAGE=	https://github.com/appliedsec/pygeoip
 COMMENT=	Pure Python GeoIP API
 LICENSE=	gnu-lgpl-v3
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-ginga/Makefile b/py-ginga/Makefile
index db131a2fe9..7195baa5fd 100644
--- a/py-ginga/Makefile
+++ b/py-ginga/Makefile
@@ -31,5 +31,5 @@ DEPENDS+=	${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado
 post-extract:
 	${CHMOD} -R go-w ${WRKSRC}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-gmpy2/Makefile b/py-gmpy2/Makefile
index cdac774a5e..82373e8bb1 100644
--- a/py-gmpy2/Makefile
+++ b/py-gmpy2/Makefile
@@ -15,7 +15,7 @@ BUILD_TARGET=	gmpy2.so
 
 BUILDLINK_API_DEPENDS.gmp+=		gmp>=4.2.1
 .include "../../devel/gmp/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 BUILDLINK_API_DEPENDS.mpcomplex+=       mpcomplex>=0.8.2
 .include "../../math/mpcomplex/buildlink3.mk"
 BUILDLINK_API_DEPENDS.mpfr+=    mpfr>=2.0.3
diff --git a/py-gogo/Makefile b/py-gogo/Makefile
index 0ad9578fab..a8d64772a8 100644
--- a/py-gogo/Makefile
+++ b/py-gogo/Makefile
@@ -12,5 +12,5 @@ COMMENT=	Golang package navigator
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-gosam/Makefile b/py-gosam/Makefile
index 5581e78dc6..ad34165a71 100644
--- a/py-gosam/Makefile
+++ b/py-gosam/Makefile
@@ -24,5 +24,5 @@ post-extract:
 	${MV} ${WRKSRC}/src/python/golem/gosam.py \
 			${WRKSRC}/src/python/golem/gosam.py${PYVERSSUFFIX}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-goulib/Makefile b/py-goulib/Makefile
index 9301afe445..eb7fec0bd3 100644
--- a/py-goulib/Makefile
+++ b/py-goulib/Makefile
@@ -24,6 +24,6 @@ USE_LANGUAGES=	# none
 
 PYTHON_VERSIONS_ACCEPTED=	27 # as of 1.9.11
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-gpaw/Makefile b/py-gpaw/Makefile
index eb93c53871..50edeb170c 100644
--- a/py-gpaw/Makefile
+++ b/py-gpaw/Makefile
@@ -25,6 +25,6 @@ post-extract:
 	${MV} ${WRKSRC}/tools/gpaw-setup ${WRKSRC}/tools/gpaw-setup${PYVERSSUFFIX}
 	${MV} ${WRKSRC}/tools/gpaw-test ${WRKSRC}/tools/gpaw-test${PYVERSSUFFIX}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-gpkit/Makefile b/py-gpkit/Makefile
index 351d3b91e3..5d37f68a0a 100644
--- a/py-gpkit/Makefile
+++ b/py-gpkit/Makefile
@@ -12,6 +12,6 @@ LICENSE=	mit
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-gsl/Makefile b/py-gsl/Makefile
index 9536fbf291..60252e2246 100644
--- a/py-gsl/Makefile
+++ b/py-gsl/Makefile
@@ -22,7 +22,7 @@ INSTALLATION_DIRS=	share/doc/py-gsl/ref
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/doc/html/ref/* ${DESTDIR}${PREFIX}/share/doc/py-gsl/ref
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 BUILDLINK_API_DEPENDS.gsl+=		gsl>=1.9
 .include "../../math/gsl/buildlink3.mk"
 # furur replace py-Numeric; py-numarray by py-numpy
diff --git a/py-gslodeiv2/Makefile b/py-gslodeiv2/Makefile
index c91fd2ee7f..84b8417c3f 100644
--- a/py-gslodeiv2/Makefile
+++ b/py-gslodeiv2/Makefile
@@ -13,7 +13,7 @@ LICENSE=	gnu-gpl-v3
 USE_LANGUAGES=	c c++
 
 .include "../../devel/py-cython/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/gsl/buildlink3.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-gtrie/Makefile b/py-gtrie/Makefile
index eeb89ce00a..59f16a4ce4 100644
--- a/py-gtrie/Makefile
+++ b/py-gtrie/Makefile
@@ -10,5 +10,5 @@ HOMEPAGE=	https://github.com/mina86/pygtrie
 COMMENT=	Pure Python trie data structure implementation
 LICENSE=	apache-2.0
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-gwsurrogate/Makefile b/py-gwsurrogate/Makefile
index 9da727c981..20b651f9a0 100644
--- a/py-gwsurrogate/Makefile
+++ b/py-gwsurrogate/Makefile
@@ -12,5 +12,5 @@ LICENSE=	mit
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-hamnonlineng/Makefile b/py-hamnonlineng/Makefile
index 5d308bf0f6..6a5be33181 100644
--- a/py-hamnonlineng/Makefile
+++ b/py-hamnonlineng/Makefile
@@ -14,5 +14,5 @@ DEPENDS+=	${PYPKGPREFIX}-future>=0.15.2:../../devel/py-future
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-hamopy/Makefile b/py-hamopy/Makefile
index 267c020607..751648d738 100644
--- a/py-hamopy/Makefile
+++ b/py-hamopy/Makefile
@@ -14,6 +14,6 @@ DEPENDS+=	${PYPKGPREFIX}-scipy>=0.15.0:../../math/py-scipy
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-hidapi-git/Makefile b/py-hidapi-git/Makefile
index edba95fcb9..e8630eff61 100644
--- a/py-hidapi-git/Makefile
+++ b/py-hidapi-git/Makefile
@@ -11,6 +11,6 @@ LICENSE=	gnu-gpl-v3 OR modified-bsd
 
 .include "../../devel/libusb1/buildlink3.mk"
 .include "../../devel/py-cython/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-htseq/Makefile b/py-htseq/Makefile
index bc0af780a4..80f688b88f 100644
--- a/py-htseq/Makefile
+++ b/py-htseq/Makefile
@@ -16,6 +16,6 @@ USE_LANGUAGES=	c c++
 
 PORTVERSION=	0.6.1p1
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-hugo/Makefile b/py-hugo/Makefile
index e54c73b0c1..c43d7349ee 100644
--- a/py-hugo/Makefile
+++ b/py-hugo/Makefile
@@ -14,5 +14,5 @@ DEPENDS+=	${PYPKGPREFIX}-discord.py>=0:../../wip/py-discord.py
 
 PYTHON_VERSIONS_INCOMPATIBLE=	27
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-hyperspy/Makefile b/py-hyperspy/Makefile
index a6aabeaaac..b87804f0c9 100644
--- a/py-hyperspy/Makefile
+++ b/py-hyperspy/Makefile
@@ -21,6 +21,6 @@ PYTHON_VERSIONS_ACCEPTED=	27 # as of 0.7.2
 post-extract:
 	${MV} ${WRKSRC}/bin/hyperspy ${WRKSRC}/bin/hyperspy${PYVERSSUFFIX}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-idalink/Makefile b/py-idalink/Makefile
index aa73a9764e..a3f62735a7 100644
--- a/py-idalink/Makefile
+++ b/py-idalink/Makefile
@@ -15,5 +15,5 @@ PYTHON_VERSIONS_ACCEPTED=	27
 
 DEPENDS+=	xterm-[0-9]*:../../x11/xterm
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-imexam/Makefile b/py-imexam/Makefile
index cbaab2518d..e62812d1aa 100644
--- a/py-imexam/Makefile
+++ b/py-imexam/Makefile
@@ -13,5 +13,5 @@ LICENSE=	modified-bsd
 DEPENDS+=	${PYPKGPREFIX}-photutils>=1.0.1:../../math/py-photutils
 DEPENDS+=	${PYPKGPREFIX}-ginga>=3.1.0:../../wip/py-ginga
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-inspyred/Makefile b/py-inspyred/Makefile
index fa6729a60a..7d3118135f 100644
--- a/py-inspyred/Makefile
+++ b/py-inspyred/Makefile
@@ -14,5 +14,5 @@ WRKSRC=		${WRKDIR}/inspyred-1.0.1
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-jabber-palaver/Makefile b/py-jabber-palaver/Makefile
index 3c851f1345..d183811b21 100644
--- a/py-jabber-palaver/Makefile
+++ b/py-jabber-palaver/Makefile
@@ -63,5 +63,5 @@ SUBST_VARS.paths+=	PKG_SYSCONFDIR
 SUBST_VARS.paths+=	PREFIX
 SUBST_VARS.paths+=	TRANSPORTDIR
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-jabber-proxy65/Makefile b/py-jabber-proxy65/Makefile
index d3399fbe0a..c0907b383e 100644
--- a/py-jabber-proxy65/Makefile
+++ b/py-jabber-proxy65/Makefile
@@ -46,5 +46,5 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}
 .endfor
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-jabber-punjab/Makefile b/py-jabber-punjab/Makefile
index 5ee3be6cad..0a0969a59d 100644
--- a/py-jabber-punjab/Makefile
+++ b/py-jabber-punjab/Makefile
@@ -61,5 +61,5 @@ SUBST_VARS.paths+=	PKG_SYSCONFDIR
 SUBST_VARS.paths+=	PREFIX
 SUBST_VARS.paths+=	TRANSPORTDIR
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-jabberbot/Makefile b/py-jabberbot/Makefile
index 4f0d9943b8..3ba46e2e8a 100644
--- a/py-jabberbot/Makefile
+++ b/py-jabberbot/Makefile
@@ -25,5 +25,5 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/examples/* \
 		${DESTDIR}${EXDIR}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-jeepney/Makefile b/py-jeepney/Makefile
index 62736af209..9720ddc922 100644
--- a/py-jeepney/Makefile
+++ b/py-jeepney/Makefile
@@ -21,5 +21,5 @@ PYTHON_VERSIONS_INCOMPATIBLE=	27
 do-test:
 	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-jswebkit/Makefile b/py-jswebkit/Makefile
index 4023e570de..5b4d1981e8 100644
--- a/py-jswebkit/Makefile
+++ b/py-jswebkit/Makefile
@@ -23,7 +23,7 @@ BUILDLINK_API_DEPENDS.pycython+= ${PYPKGPREFIX}-cython>=0.13
 
 # This most come before including wip/py-webkit/buildlink3.mk, because py-webkit
 # also sets PYTHON_VERSIONS_INCOMPATIBLE.
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 
 .include "../../wip/py-webkit/buildlink3.mk"
 
diff --git a/py-jtextfsm/Makefile b/py-jtextfsm/Makefile
index 837fada30b..e7120855dc 100644
--- a/py-jtextfsm/Makefile
+++ b/py-jtextfsm/Makefile
@@ -11,5 +11,5 @@ HOMEPAGE=	https://github.com/jonathanslenders/textfsm
 COMMENT=	Template based state machine for semi-formatted text
 LICENSE=	apache-2.0
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-kineticlib/Makefile b/py-kineticlib/Makefile
index 51717aa76a..09d91fe04a 100644
--- a/py-kineticlib/Makefile
+++ b/py-kineticlib/Makefile
@@ -16,5 +16,5 @@ USE_LANGUAGES=	# none
 
 BUILDLINK_API_DEPENDS.${PYPKGPREFIX}-numpy+=	${PYPKGPREFIX}-numpy>=1.0
 .include "../../math/py-numpy/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-ld/Makefile b/py-ld/Makefile
index 4ed7a0bb82..2842c4e4e7 100644
--- a/py-ld/Makefile
+++ b/py-ld/Makefile
@@ -16,5 +16,5 @@ DEPENDS+=	${PYPKGPREFIX}-lxml>=4.6.2:../../textproc/py-lxml
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-libclang-py3/Makefile b/py-libclang-py3/Makefile
index 6a8fc2480c..9850dfe5d4 100644
--- a/py-libclang-py3/Makefile
+++ b/py-libclang-py3/Makefile
@@ -15,5 +15,5 @@ USE_LANGUAGES=	# none
 PYTHON_VERSIONS_INCOMPATIBLE=	27
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-libvirt/Makefile b/py-libvirt/Makefile
index b4b2deaee9..c2dbc310df 100644
--- a/py-libvirt/Makefile
+++ b/py-libvirt/Makefile
@@ -15,5 +15,5 @@ BUILD_DEPENDS+=	${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
 USE_TOOLS+=	pkg-config
 
 .include "../../wip/libvirt/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-lxmlproc/Makefile b/py-lxmlproc/Makefile
index 8d43b5c8e9..9e4d06b75d 100644
--- a/py-lxmlproc/Makefile
+++ b/py-lxmlproc/Makefile
@@ -18,5 +18,5 @@ USE_LANGUAGES=	# none
 post-extract:
 	${MV} ${WRKSRC}/src/lxmlproc ${WRKSRC}/src/lxmlproc${PYVERSSUFFIX}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-magnitude/Makefile b/py-magnitude/Makefile
index 3e07dab32c..eeeb1e0c1b 100644
--- a/py-magnitude/Makefile
+++ b/py-magnitude/Makefile
@@ -31,5 +31,5 @@ post-install:
 	${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${DOCDIR}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-mailq/Makefile b/py-mailq/Makefile
index 1ad26b5e97..60b7d6b198 100644
--- a/py-mailq/Makefile
+++ b/py-mailq/Makefile
@@ -16,5 +16,5 @@ LICENSE=	gnu-gpl-v2
 USE_LANGUAGES=	# none
 PYTHON_VERSIONS_ACCEPTED=	27
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-markovchain/Makefile b/py-markovchain/Makefile
index 43a68c66f6..75a1cd5f52 100644
--- a/py-markovchain/Makefile
+++ b/py-markovchain/Makefile
@@ -14,5 +14,5 @@ COMMENT=	Simple markov chain implementation
 USE_LANGUAGES=	# none
 
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-meshio/Makefile b/py-meshio/Makefile
index 09af54b3a4..849a4c0ca1 100644
--- a/py-meshio/Makefile
+++ b/py-meshio/Makefile
@@ -18,5 +18,5 @@ USE_LANGUAGES=	# none
 do-test:
 	${RUN} cd ${WRKSRC}/test; ${SETENV} ${TEST_ENV} ${PYTHONBIN} test.py
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-metrics/Makefile b/py-metrics/Makefile
index 5fb02be88c..56d8cc30b3 100644
--- a/py-metrics/Makefile
+++ b/py-metrics/Makefile
@@ -17,5 +17,5 @@ PYTHON_VERSIONS_ACCEPTED=	27 # as of 0.8.1
 post-extract:
 	${MV} ${WRKSRC}/pymetrics ${WRKSRC}/pymetrics${PYVERSSUFFIX}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-minecraft/Makefile b/py-minecraft/Makefile
index 30a569023e..ebbeb8a5b9 100644
--- a/py-minecraft/Makefile
+++ b/py-minecraft/Makefile
@@ -16,5 +16,5 @@ DEPENDS+=	${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
 DEPENDS+=	${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
 DEPENDS+=	${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-minepy/Makefile b/py-minepy/Makefile
index 2358310543..0ac2293a94 100644
--- a/py-minepy/Makefile
+++ b/py-minepy/Makefile
@@ -15,6 +15,6 @@ USE_LANGUAGES=	c c++
 post-extract:
 	${MV} ${WRKSRC}/minepy/scripts/mine ${WRKSRC}/minepy/scripts/mine${PYVERSSUFFIX}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-minidb/Makefile b/py-minidb/Makefile
index 252d76e703..71df66ddfc 100644
--- a/py-minidb/Makefile
+++ b/py-minidb/Makefile
@@ -20,5 +20,5 @@ USE_LANGUAGES=	# none
 do-test:
 	cd ${WRKSRC}/test && PYTHONPATH=.. ${PYTHONBIN} test_minidb.py
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-namedlist/Makefile b/py-namedlist/Makefile
index 00fe656f7b..cfa51720d7 100644
--- a/py-namedlist/Makefile
+++ b/py-namedlist/Makefile
@@ -12,5 +12,5 @@ LICENSE=	apache-2.0
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-napalm-base/Makefile b/py-napalm-base/Makefile
index 9b28f53457..1d0eb6cb60 100644
--- a/py-napalm-base/Makefile
+++ b/py-napalm-base/Makefile
@@ -23,5 +23,5 @@ post-install:
 	rm -f ${DESTDIR}/${PREFIX}/${PYSITELIB}/test/__init__.*
 
 .include "../../lang/python/versioned_dependencies.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-napalm-eos/Makefile b/py-napalm-eos/Makefile
index 860e2e52e6..da2cca7ff0 100644
--- a/py-napalm-eos/Makefile
+++ b/py-napalm-eos/Makefile
@@ -16,5 +16,5 @@ EXTRACT_USING=	gtar
 DEPENDS+=	${PYPKGPREFIX}-napalm-base>=0.23.0:../../wip/py-napalm-base
 DEPENDS+=	${PYPKGPREFIX}-eapi-[0-9]*:../../wip/py-eapi
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-napalm-ios/Makefile b/py-napalm-ios/Makefile
index a56f137130..3e5a95cd65 100644
--- a/py-napalm-ios/Makefile
+++ b/py-napalm-ios/Makefile
@@ -14,5 +14,5 @@ LICENSE=	apache-2.0
 DEPENDS+=	${PYPKGPREFIX}-napalm-base>=0.23.2:../../wip/py-napalm-base
 DEPENDS+=	${PYPKGPREFIX}-netmiko>=1.4.0:../../wip/py-netmiko
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-napalm-iosxr/Makefile b/py-napalm-iosxr/Makefile
index 105e891f05..077b3c30ff 100644
--- a/py-napalm-iosxr/Makefile
+++ b/py-napalm-iosxr/Makefile
@@ -15,5 +15,5 @@ DEPENDS+=	${PYPKGPREFIX}-napalm-base>=0.18.0:../../wip/py-napalm-base
 DEPENDS+=	${PYPKGPREFIX}-IOSXR>=0.20:../../wip/py-IOSXR
 DEPENDS+=	${PYPKGPREFIX}-netaddr-[0-9]*:../../net/py-netaddr
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-napalm-junos/Makefile b/py-napalm-junos/Makefile
index 3ffa4f4077..9dc4e35ffa 100644
--- a/py-napalm-junos/Makefile
+++ b/py-napalm-junos/Makefile
@@ -14,5 +14,5 @@ LICENSE=	apache-2.0
 DEPENDS+=	${PYPKGPREFIX}-junos-eznc-[0-9]*:../../net/py-junos-eznc
 DEPENDS+=	${PYPKGPREFIX}-napalm-base>=0.23.0:../../wip/py-napalm-base
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-napalm-nxos/Makefile b/py-napalm-nxos/Makefile
index 1e716f68ff..713f3c5d2e 100644
--- a/py-napalm-nxos/Makefile
+++ b/py-napalm-nxos/Makefile
@@ -17,5 +17,5 @@ DEPENDS+=	${PYPKGPREFIX}-netaddr-[0-9]*:../../net/py-netaddr
 DEPENDS+=	${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
 DEPENDS+=	${PYPKGPREFIX}-scp-[0-9]*:../../net/py-scp
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-napalm/Makefile b/py-napalm/Makefile
index 043d0f1fa3..96322f7072 100644
--- a/py-napalm/Makefile
+++ b/py-napalm/Makefile
@@ -26,5 +26,5 @@ DEPENDS+=	${PYPKGPREFIX}-napalm-nxos-[0-9]*:../../wip/py-napalm-nxos
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-neqsys/Makefile b/py-neqsys/Makefile
index c4c2aac144..bec0f8f05a 100644
--- a/py-neqsys/Makefile
+++ b/py-neqsys/Makefile
@@ -15,6 +15,6 @@ DEPENDS+=	${PYPKGPREFIX}-sympy>=0.7.6.1:../../math/py-sympy
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-nibabel/Makefile b/py-nibabel/Makefile
index aefc8ae94c..a91d362ed3 100644
--- a/py-nibabel/Makefile
+++ b/py-nibabel/Makefile
@@ -19,7 +19,7 @@ USE_LANGUAGES=	c
 
 PYTHON_VERSIONS_ACCEPTED=	27 # py-fuse-bindings
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../filesystems/py-fuse-bindings/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-nosh/Makefile b/py-nosh/Makefile
index 1c4a815739..6c50b5eab6 100644
--- a/py-nosh/Makefile
+++ b/py-nosh/Makefile
@@ -14,5 +14,5 @@ DEPENDS+=	${PYPKGPREFIX}-krypy>=2.1.1:../../wip/py-krypy
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-notify2/Makefile b/py-notify2/Makefile
index 404338551d..8cb39f8148 100644
--- a/py-notify2/Makefile
+++ b/py-notify2/Makefile
@@ -14,5 +14,5 @@ USE_LANGUAGES=	# none
 
 PYDISTUTILSPKG=	yes
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-nuitka/Makefile b/py-nuitka/Makefile
index 2dd8e1154b..d543c4d995 100644
--- a/py-nuitka/Makefile
+++ b/py-nuitka/Makefile
@@ -18,5 +18,5 @@ post-extract:
 	${MV} ${WRKSRC}/bin/nuitka  ${WRKSRC}/bin/nuitka${PYVERSSUFFIX}
 
 .include "../../devel/py-cython/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-nxos/Makefile b/py-nxos/Makefile
index f28cc02ed6..c532c24957 100644
--- a/py-nxos/Makefile
+++ b/py-nxos/Makefile
@@ -14,5 +14,5 @@ LICENSE=	apache-2.0
 DEPENDS+=	${PYPKGPREFIX}-requests>=2.7.0:../../devel/py-requests
 DEPENDS+=	${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-oasa/Makefile b/py-oasa/Makefile
index 82e3ae2d3b..b75485cf9f 100644
--- a/py-oasa/Makefile
+++ b/py-oasa/Makefile
@@ -19,5 +19,5 @@ USE_LANGUAGES=	# none
 do-test:
 	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} test.py
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-ocrodjvu/Makefile b/py-ocrodjvu/Makefile
index 251c3580cc..06e165233a 100644
--- a/py-ocrodjvu/Makefile
+++ b/py-ocrodjvu/Makefile
@@ -16,5 +16,5 @@ DEPENDS+=	djvulibre-tools-[0-9]*:../../graphics/djvulibre-tools
 REPLACE_PYTHON+=	lib/logger.py
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-operators/Makefile b/py-operators/Makefile
index 15b22627d2..1de347d35e 100644
--- a/py-operators/Makefile
+++ b/py-operators/Makefile
@@ -19,5 +19,5 @@ EGG_NAME=	pyoperators-0.13
 
 .include "../../devel/py-cython/buildlink3.mk"
 .include "../../math/py-numpy/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-p4/Makefile b/py-p4/Makefile
index 6784124415..17fdb291df 100644
--- a/py-p4/Makefile
+++ b/py-p4/Makefile
@@ -15,5 +15,5 @@ PYSETUPARGS+=	--apidir ${BUILDLINK_DIR}/share/examples/p4
 EGG_NAME=	${DISTNAME}-${P4_VER}.${P4_VER_PL}
 
 .include "../../wip/p4api/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-patch/Makefile b/py-patch/Makefile
index 24e6a81b76..20895f8c5d 100644
--- a/py-patch/Makefile
+++ b/py-patch/Makefile
@@ -14,5 +14,5 @@ LICENSE=	mit
 WRKSRC=		${WRKDIR}/patch-1.16
 EXTRACT_DIR=	${WRKSRC}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-patool/Makefile b/py-patool/Makefile
index 0748ac4a31..d52fdc6ca4 100644
--- a/py-patool/Makefile
+++ b/py-patool/Makefile
@@ -17,5 +17,5 @@ SUBST_VARS.prefix=      PREFIX
 SUBST_SED.prefix+=      -e 's,share/man/man1,${PREFIX}/man/man1,g'
 SUBST_MESSAGE.paths=    Fixing header search paths.
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-pattyrn/Makefile b/py-pattyrn/Makefile
index fd373d03bb..f86b6743fa 100644
--- a/py-pattyrn/Makefile
+++ b/py-pattyrn/Makefile
@@ -14,5 +14,5 @@ LICENSE=	mit
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-percol/Makefile b/py-percol/Makefile
index 0a1501da68..321f1f53e7 100644
--- a/py-percol/Makefile
+++ b/py-percol/Makefile
@@ -27,6 +27,6 @@ DEPENDS+=	cmigemo-[0-9]*:../../textproc/cmigemo
 DEPENDS+=	${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
 DEPENDS+=	${PYPKGPREFIX}-pymigemo-[0-9]*:../../wip/py-pymigemo
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../wip/mk/git-package.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-pickleDB/Makefile b/py-pickleDB/Makefile
index b6f20d160f..04ab38675a 100644
--- a/py-pickleDB/Makefile
+++ b/py-pickleDB/Makefile
@@ -10,5 +10,5 @@ HOMEPAGE=	https://github.com/patx/pickledb
 COMMENT=	Lightweight and simple database using json
 LICENSE=	modified-bsd
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-polygon3/Makefile b/py-polygon3/Makefile
index 2195566743..7a16313391 100644
--- a/py-polygon3/Makefile
+++ b/py-polygon3/Makefile
@@ -16,5 +16,5 @@ PYTHON_VERSIONS_INCOMPATIBLE=	27
 
 BUILDLINK_API_DEPENDS.${PYPKGPREFIX}-numpy+=        ${PYPKGPREFIX}-numpy>=1.0
 .include "../../math/py-numpy/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-pp/Makefile b/py-pp/Makefile
index c937cb59cf..30f8318915 100644
--- a/py-pp/Makefile
+++ b/py-pp/Makefile
@@ -25,5 +25,5 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/doc/ppdoc.html\
 			${DESTDIR}${PREFIX}/share/doc/py-pp
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-preshed/Makefile b/py-preshed/Makefile
index 4e8625c5f8..4db25c3e06 100644
--- a/py-preshed/Makefile
+++ b/py-preshed/Makefile
@@ -18,6 +18,6 @@ WRKSRC=		${WRKDIR}/${DISTNAME:S/v//1}
 USE_LANGUAGES=	c c++
 
 
-#.include "../../lang/python/distutils.mk"
+#.include "../../wip/python/distutils.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-print/Makefile b/py-print/Makefile
index 312b75289b..023cc22b78 100644
--- a/py-print/Makefile
+++ b/py-print/Makefile
@@ -19,5 +19,5 @@ DEPENDS+=	${PYPKGPREFIX}-colorama-[0-9]*:../../comms/py-colorama
 DEPENDS+=	${PYPKGPREFIX}-termcolor-[0-9]*:../../devel/py-termcolor
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-ptrace/Makefile b/py-ptrace/Makefile
index 01ab441419..1e38bbaa61 100644
--- a/py-ptrace/Makefile
+++ b/py-ptrace/Makefile
@@ -19,5 +19,5 @@ post-extract:
 	${MV} ${WRKSRC}/strace.py ${WRKSRC}/strace.py${PYVERSSUFFIX}
 	${MV} ${WRKSRC}/gdb.py ${WRKSRC}/gdb.py${PYVERSSUFFIX}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-pyflation/Makefile b/py-pyflation/Makefile
index 4d084d6cce..caba82281b 100644
--- a/py-pyflation/Makefile
+++ b/py-pyflation/Makefile
@@ -25,6 +25,6 @@ post-extract:
 	${MV} ${WRKSRC}/bin/pyflation_srcmerge.py ${WRKSRC}/bin/pyflation_srcmerge.py${PYVERSSUFFIX}
 
 .include "../../devel/py-cython/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-pygit/Makefile b/py-pygit/Makefile
index 65ea8ade54..0403ab4df1 100644
--- a/py-pygit/Makefile
+++ b/py-pygit/Makefile
@@ -11,5 +11,5 @@ COMMENT=	Pythonic bindings for git
 
 LICENSE=	gnu-lgpl-v2
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-pynfo/Makefile b/py-pynfo/Makefile
index c2ac7debbb..b30f3614da 100644
--- a/py-pynfo/Makefile
+++ b/py-pynfo/Makefile
@@ -15,5 +15,5 @@ DEPENDS+=	${PYPKGPREFIX}-twisted>=1.1.1rc1:../../net/py-twisted
 
 PYTHON_VERSIONS_ACCEPTED=	27 # as of 0.6.3
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-pyslha/Makefile b/py-pyslha/Makefile
index f73bbfae17..e6afea0f93 100644
--- a/py-pyslha/Makefile
+++ b/py-pyslha/Makefile
@@ -17,5 +17,5 @@ post-extract:
 	${MV} ${WRKSRC}/slha2isawig ${WRKSRC}/slha2isawig${PYVERSSUFFIX}
 	${MV} ${WRKSRC}/isawig2slha ${WRKSRC}/isawig2slha${PYVERSSUFFIX}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-python-application/Makefile b/py-python-application/Makefile
index 6912a6b50e..1ad1ab094f 100644
--- a/py-python-application/Makefile
+++ b/py-python-application/Makefile
@@ -16,5 +16,5 @@ PYTHON_VERSIONS_ACCEPTED=	27 # not yet ported as of 1.4.1
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-python-gnutls/Makefile b/py-python-gnutls/Makefile
index ef677b30d3..41bc6ce6f2 100644
--- a/py-python-gnutls/Makefile
+++ b/py-python-gnutls/Makefile
@@ -21,5 +21,5 @@ PYTHON_VERSIONS_ACCEPTED=	27 # not yet ported as of 2.0.1
 
 BUILDLINK_API_DEPENDS.gnutls+=	gnutls>=3.1.4
 .include "../../security/gnutls/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-python-igraph/Makefile b/py-python-igraph/Makefile
index 4090002900..ef248379d5 100644
--- a/py-python-igraph/Makefile
+++ b/py-python-igraph/Makefile
@@ -11,5 +11,5 @@ COMMENT=	Library for creating and manipulating graphs
 LICENSE=	gnu-gpl-v2
 
 .include "../../wip/igraph/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-qexpy/Makefile b/py-qexpy/Makefile
index 3b614afe27..0eddb38bc4 100644
--- a/py-qexpy/Makefile
+++ b/py-qexpy/Makefile
@@ -16,6 +16,6 @@ DEPENDS+=	${PYPKGPREFIX}-scipy>=0.18.0:../../math/py-scipy
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-ranger/Makefile b/py-ranger/Makefile
index e093674515..4daaec6d7a 100644
--- a/py-ranger/Makefile
+++ b/py-ranger/Makefile
@@ -46,6 +46,6 @@ USE_LANGUAGES=	# none
 PKG_OPTIONS.libcaca+=	imlib2
 
 .include	"options.mk"
-.include	"../../lang/python/distutils.mk"
+.include	"../../wip/python/distutils.mk"
 .include	"../../lang/python/application.mk"
 .include	"../../mk/bsd.pkg.mk"
diff --git a/py-rebound3/Makefile b/py-rebound3/Makefile
index 552804ebee..9c6e5e2ef6 100644
--- a/py-rebound3/Makefile
+++ b/py-rebound3/Makefile
@@ -11,5 +11,5 @@ COMMENT=	Open-source multi-purpose N-body code
 LICENSE=	gnu-gpl-v3
 
 #.include "../../lang/python/egg.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-recluse/Makefile b/py-recluse/Makefile
index 3f23669d78..5cf067531f 100644
--- a/py-recluse/Makefile
+++ b/py-recluse/Makefile
@@ -18,5 +18,5 @@ USE_LANGUAGES=	# none
 post-extract:
 	${MV} ${WRKSRC}/scripts/nltkbasedsegmentertokeniserrunner ${WRKSRC}/scripts/nltkbasedsegmentertokeniserrunner${PYVERSSUFFIX}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-recommonmark/Makefile b/py-recommonmark/Makefile
index 7eb6921cfe..8b1fd4124a 100644
--- a/py-recommonmark/Makefile
+++ b/py-recommonmark/Makefile
@@ -15,5 +15,5 @@ DEPENDS+=	${PYPKGPREFIX}-commonmark>=0.7.2:../../textproc/py-commonmark
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-report/Makefile b/py-report/Makefile
index 145f8961ce..b1611562f2 100644
--- a/py-report/Makefile
+++ b/py-report/Makefile
@@ -16,5 +16,5 @@ DEPENDS+=	${PYPKGPREFIX}-matplotlib-[0-9]*:../../graphics/py-matplotlib
 USE_LANGUAGES=	# none
 PYTHON_VERSIONS_ACCEPTED=	27 # py-docutils
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-rst2html5/Makefile b/py-rst2html5/Makefile
index 14c73c1876..e8c2fe3462 100644
--- a/py-rst2html5/Makefile
+++ b/py-rst2html5/Makefile
@@ -18,5 +18,5 @@ DEPENDS+=	${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/rst2html5_.py ${DESTDIR}${PREFIX}/${PYSITELIB}
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-scanless/Makefile b/py-scanless/Makefile
index c70cb3d67c..407516c8ce 100644
--- a/py-scanless/Makefile
+++ b/py-scanless/Makefile
@@ -13,5 +13,5 @@ LICENSE=	unlicense
 DEPENDS+=	${PYPKGPREFIX}-beautifulsoup4>=4.6.0:../../www/py-beautifulsoup4
 DEPENDS+=	${PYPKGPREFIX}-requests>=2.14.2:../../devel/py-requests
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-scitools/Makefile b/py-scitools/Makefile
index 05a7d41570..e2b59ab227 100644
--- a/py-scitools/Makefile
+++ b/py-scitools/Makefile
@@ -38,5 +38,5 @@ post-extract:
 #.include "../../graphics/vtk/buildlink3.mk"
 
 .include "../../math/py-numpy/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-sdnotify/Makefile b/py-sdnotify/Makefile
index 3c50b5e64e..1940d4044b 100644
--- a/py-sdnotify/Makefile
+++ b/py-sdnotify/Makefile
@@ -12,5 +12,5 @@ LICENSE=	mit
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-seeds/Makefile b/py-seeds/Makefile
index 77921494de..d01d8ad448 100644
--- a/py-seeds/Makefile
+++ b/py-seeds/Makefile
@@ -14,5 +14,5 @@ DEPENDS+=	${PYPKGPREFIX}-networkx>=1.7:../../math/py-networkx
 
 USE_LANGUAGES=	c
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-shedskin/Makefile b/py-shedskin/Makefile
index e82062d827..4535226448 100644
--- a/py-shedskin/Makefile
+++ b/py-shedskin/Makefile
@@ -22,5 +22,5 @@ post-extract:
 do-test:
 	cd ${WRKSRC} && ${PYTHONBIN} test.py
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-shtoom/Makefile b/py-shtoom/Makefile
index 7515cbde45..511c391621 100644
--- a/py-shtoom/Makefile
+++ b/py-shtoom/Makefile
@@ -19,5 +19,5 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/shtoom/ui/gnomeui/shtoom.glade \
 		${DESTDIR}${PREFIX}/${PYSITELIB}/shtoom/ui/gnomeui/shtoom.glade
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-sima/Makefile b/py-sima/Makefile
index 310432515e..8c2fb755c8 100644
--- a/py-sima/Makefile
+++ b/py-sima/Makefile
@@ -10,6 +10,6 @@ HOMEPAGE=	http://www.losonczylab.org/sima/
 COMMENT=	Software for analysis of sequential imaging data
 LICENSE=	gnu-gpl-v2
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-spacy/Makefile b/py-spacy/Makefile
index 50a213573a..2c775bff33 100644
--- a/py-spacy/Makefile
+++ b/py-spacy/Makefile
@@ -21,6 +21,6 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 .include "../../wip/py-cymem/buildlink3.mk"
 .include "../../wip/py-preshed/buildlink3.mk"
 .include "../../devel/py-cython/buildlink3.mk"
-#.include "../../lang/python/distutils.mk"
+#.include "../../wip/python/distutils.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-spams/Makefile b/py-spams/Makefile
index a46e19eadb..5b2e39445d 100644
--- a/py-spams/Makefile
+++ b/py-spams/Makefile
@@ -17,7 +17,7 @@ WRKSRC=		${WRKDIR}/spams-python
 
 USE_LANGUAGES=	c c++
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/blas.buildlink3.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-stringcase/Makefile b/py-stringcase/Makefile
index 27c543502d..04c851dca5 100644
--- a/py-stringcase/Makefile
+++ b/py-stringcase/Makefile
@@ -12,5 +12,5 @@ LICENSE=	mit
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-tex2pix/Makefile b/py-tex2pix/Makefile
index 106f482f1b..7cb7c3b9d2 100644
--- a/py-tex2pix/Makefile
+++ b/py-tex2pix/Makefile
@@ -14,5 +14,5 @@ USE_LANGUAGES=	# none
 
 DEPENDS+=	tex-latex-bin>=2010:../../print/tex-latex-bin
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-thermistor/Makefile b/py-thermistor/Makefile
index b15d3ff781..7fc934f26d 100644
--- a/py-thermistor/Makefile
+++ b/py-thermistor/Makefile
@@ -11,6 +11,6 @@ COMMENT=	Thermistor voltage to temperature and associated utilites
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-trie3/Makefile b/py-trie3/Makefile
index 0c175c68a1..b651c5d755 100644
--- a/py-trie3/Makefile
+++ b/py-trie3/Makefile
@@ -15,5 +15,5 @@ USE_LANGUAGES=	# none
 do-test:
 	${RUN} cd ${WRKSRC}/test; ${SETENV} ${TEST_ENV} ${PYTHONBIN} test_trie.py
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-txZMQ/Makefile b/py-txZMQ/Makefile
index fa9805cfd2..3cf8bb3598 100644
--- a/py-txZMQ/Makefile
+++ b/py-txZMQ/Makefile
@@ -15,5 +15,5 @@ DEPENDS+=	${PYPKGPREFIX}-zmq>=14.4.1:../../net/py-zmq
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-typedload/Makefile b/py-typedload/Makefile
index de63970bca..c5b7bed221 100644
--- a/py-typedload/Makefile
+++ b/py-typedload/Makefile
@@ -15,5 +15,5 @@ USE_LANGUAGES=	# none
 # Only for Python 3
 PYTHON_VERSIONS_INCOMPATIBLE=	27
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-u2flib-server/Makefile b/py-u2flib-server/Makefile
index 91e7808653..89263ebd29 100644
--- a/py-u2flib-server/Makefile
+++ b/py-u2flib-server/Makefile
@@ -14,7 +14,7 @@ COMMENT=	Python based U2F server library
 DEPENDS+=	${PYPKGPREFIX}-cryptography>=1.2.0:../../security/py-cryptography
 DEPENDS+=	${PYPKGPREFIX}-six>=1.11.0:../../lang/py-six
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 
 .if ${PYVERSSUFFIX} == "3.4"
 DEPENDS+=	${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
diff --git a/py-visionegg/Makefile b/py-visionegg/Makefile
index 76e5db6238..96f4b2d2de 100644
--- a/py-visionegg/Makefile
+++ b/py-visionegg/Makefile
@@ -27,5 +27,5 @@ REPLACE_PYTHON+=		test/opengl_info.py
 .include "../../devel/py-game/buildlink3.mk"
 .include "../../math/py-Numeric/buildlink3.mk"
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-vtk/Makefile b/py-vtk/Makefile
index cb4c049e69..48f3561cda 100644
--- a/py-vtk/Makefile
+++ b/py-vtk/Makefile
@@ -12,5 +12,5 @@ LICENSE=	gnu-lgpl-v3
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-wahcade/Makefile b/py-wahcade/Makefile
index 236d7a617c..395bb20dc3 100644
--- a/py-wahcade/Makefile
+++ b/py-wahcade/Makefile
@@ -38,5 +38,5 @@ DEPENDS+=	${PYPKGPREFIX}-chardet-[0-9]*:../../converters/py-chardet
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../graphics/py-imaging/buildlink3.mk"
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-websocket/Makefile b/py-websocket/Makefile
index 5006489939..40078c4a6e 100644
--- a/py-websocket/Makefile
+++ b/py-websocket/Makefile
@@ -21,5 +21,5 @@ USE_LANGUAGES=	# none
 do-test:
 	${RUN} cd ${WRKSRC}/test ${SETENV} ${TEST_ENV} ${PYTHONBIN} run_all.py;
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-weewx/Makefile b/py-weewx/Makefile
index 2f4d0258ba..046c1d5b10 100644
--- a/py-weewx/Makefile
+++ b/py-weewx/Makefile
@@ -59,5 +59,5 @@ CONF_FILES+=	${PREFIX}/weewx/weewx.conf.DIST ${PREFIX}/weewx/weewx.conf
 # and sort of config files.
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-whelk/Makefile b/py-whelk/Makefile
index bade49f2c8..cee553cb52 100644
--- a/py-whelk/Makefile
+++ b/py-whelk/Makefile
@@ -12,5 +12,5 @@ LICENSE=	zlib
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-wpull/Makefile b/py-wpull/Makefile
index 079661eba7..56c0516861 100644
--- a/py-wpull/Makefile
+++ b/py-wpull/Makefile
@@ -19,7 +19,7 @@ DEPENDS+=	${PYPKGPREFIX}-sqlalchemy-[0-9]*:../../databases/py-sqlalchemy
 DEPENDS+=	${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado
 DEPENDS+=	${PYPKGPREFIX}-yapsy-[0-9]*:../../wip/py-yapsy
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 
 .if ${PYVERSSUFFIX} == "3.4" || ${PYVERSSUFFIX} == "3.5"
 DEPENDS+=	${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
diff --git a/py-xapp/Makefile b/py-xapp/Makefile
index 2616457d6d..931228fa9e 100644
--- a/py-xapp/Makefile
+++ b/py-xapp/Makefile
@@ -23,5 +23,5 @@ DEPENDS+=	${PYPKGPREFIX}-psutil-[0-9]*:../../sysutils/py-psutil
 PLIST_SUBST+=           PYSITELIB=${PYSITELIB}
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-xcal-raman/Makefile b/py-xcal-raman/Makefile
index a5ba4a0378..0dc5a3538e 100644
--- a/py-xcal-raman/Makefile
+++ b/py-xcal-raman/Makefile
@@ -16,6 +16,6 @@ USE_LANGUAGES=	# none
 
 PYTHON_VERSIONS_ACCEPTED=	27 # as of 0.1.5
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-xpra/Makefile b/py-xpra/Makefile
index 79b2aa0ff3..524e757e83 100644
--- a/py-xpra/Makefile
+++ b/py-xpra/Makefile
@@ -54,5 +54,5 @@ post-install:
 .include "../../x11/libxkbfile/buildlink3.mk"
 #.include "../../x11/gtk3/buildlink3.mk"
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-yapgvb/Makefile b/py-yapgvb/Makefile
index b0a1ced4bb..ef43830891 100644
--- a/py-yapgvb/Makefile
+++ b/py-yapgvb/Makefile
@@ -26,5 +26,5 @@ PYTHON_VERSIONS_ACCEPTED=	27 # not yet ported as of 1.2.3
 
 .include "../../devel/py-boost/buildlink3.mk"
 .include "../../graphics/graphviz/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-yellowhiggs/Makefile b/py-yellowhiggs/Makefile
index db9ba5079a..337894be4c 100644
--- a/py-yellowhiggs/Makefile
+++ b/py-yellowhiggs/Makefile
@@ -15,5 +15,5 @@ USE_LANGUAGES=	# none
 
 #PYDISTUTILSPKG=	yes
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-zbar/Makefile b/py-zbar/Makefile
index f05760325e..3690ac03da 100644
--- a/py-zbar/Makefile
+++ b/py-zbar/Makefile
@@ -13,5 +13,5 @@ LICENSE=	gnu-lgpl-v2.1
 PYTHON_VERSIONS_ACCEPTED=	27
 
 .include "../../graphics/zbar/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-zenity/Makefile b/py-zenity/Makefile
index ec8b11da98..90da627c86 100644
--- a/py-zenity/Makefile
+++ b/py-zenity/Makefile
@@ -14,5 +14,5 @@ USE_LANGUAGES=	# none
 
 BROKEN=		Distfile not available.
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/python/distutils.mk b/python/distutils.mk
new file mode 100644
index 0000000000..aa8199ec16
--- /dev/null
+++ b/python/distutils.mk
@@ -0,0 +1,34 @@
+# $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"
diff --git a/qiew/Makefile b/qiew/Makefile
index 9f7be680bd..7078b3b20c 100644
--- a/qiew/Makefile
+++ b/qiew/Makefile
@@ -17,5 +17,5 @@ PYSETUP=	buildsetup.py
 DEPENDS+=	${PYPKGPREFIX}-distorm3-[0-9]*:../../devel/py-distorm3
 DEPENDS+=	${PYPKGPREFIX}-cxfreeze-[0-9]*:../../lang/py-cxfreeze
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/spyder/Makefile b/spyder/Makefile
index 74ce06a160..6abc979206 100644
--- a/spyder/Makefile
+++ b/spyder/Makefile
@@ -23,7 +23,7 @@ post-extract:
 
 .include "options.mk"
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../x11/py-qt4/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/trelby/Makefile b/trelby/Makefile
index 312c63db09..d12bb65d4c 100644
--- a/trelby/Makefile
+++ b/trelby/Makefile
@@ -30,7 +30,7 @@ post-build:
 DEPENDS+=	py27-lxml>=3:../../textproc/py-lxml
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../lang/python/pyversion.mk"
 .include "../../x11/py-wxWidgets/buildlink3.mk"
 .include "../../x11/wxGTK28/buildlink3.mk"
diff --git a/virt-manager/Makefile b/virt-manager/Makefile
index 358b003de1..f7ce7057dc 100644
--- a/virt-manager/Makefile
+++ b/virt-manager/Makefile
@@ -40,6 +40,6 @@ do-configure:
 .include "../../wip/libvirt-glib/buildlink3.mk"
 .include "../../x11/vte3/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/volctl/Makefile b/volctl/Makefile
index 65cee52e87..676e79add8 100644
--- a/volctl/Makefile
+++ b/volctl/Makefile
@@ -22,6 +22,6 @@ USE_LANGUAGES=	# none
 EGG_NAME=	${PKGNAME_NOREV}
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../devel/glib2/schemas.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/wicd/Makefile b/wicd/Makefile
index b0049dfc22..bfd9ae5815 100644
--- a/wicd/Makefile
+++ b/wicd/Makefile
@@ -54,6 +54,6 @@ post-install:
 	${INSTALL_DATA} ${FILESDIR}/wicd.conf ${PKG_SYSCONFDIR}/dbus-1/system.d/
 
 .include "options.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/wp2md-git/Makefile b/wp2md-git/Makefile
index f74ca8640d..0a62efb5c9 100644
--- a/wp2md-git/Makefile
+++ b/wp2md-git/Makefile
@@ -20,7 +20,7 @@ REPLACE_PYTHON+=	wp2md/wp2md.py
 DEPENDS+=	${PYPKGPREFIX}-html2text-[0-9]*:../../textproc/py-html2text
 DEPENDS+=	${PYPKGPREFIX}-markdown-[0-9]*:../../textproc/py-markdown
 
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../lang/python/application.mk"
 .include "../../wip/mk/git-package.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/zim/Makefile b/zim/Makefile
index 755c8b3450..a9f7279352 100644
--- a/zim/Makefile
+++ b/zim/Makefile
@@ -33,7 +33,7 @@ SUBST_FILES.man-path+=	setup.py
 SUBST_SED.man-path=	-e s,share/man/man1,${PKGMANDIR}/man1,
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../wip/python/distutils.mk"
 .include "../../databases/shared-mime-info/mimedb.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"


Home | Main Index | Thread Index | Old Index