pkgsrc-WIP-changes archive

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

py-llvm-lit-netbsd: Switch to egg.mk



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Fri Jun 16 16:15:09 2017 +0200
Changeset:	e6dcaedf8d96be2f8c5f60c7b579c8e19cc366be

Modified Files:
	py-llvm-lit-netbsd/Makefile
	py-llvm-lit-netbsd/PLIST

Log Message:
py-llvm-lit-netbsd: Switch to egg.mk

Switch
 .include "../../lang/python/distutils.mk"
 .include "../../lang/python/application.mk"

To
 .include "../../lang/python/egg.mk"

This option works better in pristime build.

The older version failed with:

Traceback (most recent call last):
  File "setup.py", line 4, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools

Sponsored by <The NetBSD Foundation>

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

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

diffstat:
 py-llvm-lit-netbsd/Makefile |  3 +--
 py-llvm-lit-netbsd/PLIST    | 12 ++++++------
 2 files changed, 7 insertions(+), 8 deletions(-)

diffs:
diff --git a/py-llvm-lit-netbsd/Makefile b/py-llvm-lit-netbsd/Makefile
index 716ff5e776..c0626cdfc4 100644
--- a/py-llvm-lit-netbsd/Makefile
+++ b/py-llvm-lit-netbsd/Makefile
@@ -18,6 +18,5 @@ post-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/utils/lit/lit.py \
 		${DESTDIR}${PREFIX}/bin/llvm-lit-${PYVERSSUFFIX}
 
-.include "../../lang/python/distutils.mk"
-.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-llvm-lit-netbsd/PLIST b/py-llvm-lit-netbsd/PLIST
index 7a4d851ebb..63f3d37132 100644
--- a/py-llvm-lit-netbsd/PLIST
+++ b/py-llvm-lit-netbsd/PLIST
@@ -1,12 +1,12 @@
 @comment $NetBSD$
 bin/lit
 bin/llvm-lit-${PYVERSSUFFIX}
-${PYSITELIB}/lit-0.6.0.dev0${EGG_FILE}/PKG-INFO
-${PYSITELIB}/lit-0.6.0.dev0${EGG_FILE}/SOURCES.txt
-${PYSITELIB}/lit-0.6.0.dev0${EGG_FILE}/dependency_links.txt
-${PYSITELIB}/lit-0.6.0.dev0${EGG_FILE}/entry_points.txt
-${PYSITELIB}/lit-0.6.0.dev0${EGG_FILE}/not-zip-safe
-${PYSITELIB}/lit-0.6.0.dev0${EGG_FILE}/top_level.txt
+${PYSITELIB}/lit-0.6.0.dev0${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/lit-0.6.0.dev0${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/lit-0.6.0.dev0${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/lit-0.6.0.dev0${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/lit-0.6.0.dev0${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/lit-0.6.0.dev0${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/lit/BooleanExpression.py
 ${PYSITELIB}/lit/BooleanExpression.pyc
 ${PYSITELIB}/lit/BooleanExpression.pyo


Home | Main Index | Thread Index | Old Index