pkgsrc-WIP-changes archive

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

uzbl: use EGG_INFODIR in PLIST



Module Name:	pkgsrc-wip
Committed By:	Susumu Miwa <miwarin%gmail.com@localhost>
Pushed By:	miwarin
Date:		Fri May 3 19:00:12 2019 +0900
Changeset:	cad81bd2cf063da9c4415908c8374edc47975cd5

Modified Files:
	uzbl/Makefile
	uzbl/PLIST

Log Message:
uzbl: use EGG_INFODIR in PLIST

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

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

diffstat:
 uzbl/Makefile |  6 ++++++
 uzbl/PLIST    | 10 +++++-----
 2 files changed, 11 insertions(+), 5 deletions(-)

diffs:
diff --git a/uzbl/Makefile b/uzbl/Makefile
index e22727a6ff..6d8cfca198 100644
--- a/uzbl/Makefile
+++ b/uzbl/Makefile
@@ -23,6 +23,12 @@ PY_PATCHPLIST=		yes
 MAKE_ENV+=	PYTHON=${PYTHONBIN}
 MAKE_ENV+=	MANDIR=${DESTDIR}/${PREFIX}/${PKGMANDIR}
 
+# don't include lang/python/egg.mk. define onwn EGG_NAME, INFODIR.
+# when include egg.mk, defined PYDISTUTILSPKG=yes
+# then run do-build and do-install in lang/python/extension.mk
+EGG_NAME=	uzbl-201100808
+PLIST_SUBST+=	EGG_INFODIR=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info
+
 REPLACE_PYTHON+=	bin/uzbl-tabbed
 REPLACE_PYTHON+=	examples/data/scripts/auth.py
 REPLACE_PYTHON+=	examples/data/scripts/uzblcat
diff --git a/uzbl/PLIST b/uzbl/PLIST
index b74a44460d..be21e63365 100644
--- a/uzbl/PLIST
+++ b/uzbl/PLIST
@@ -3,11 +3,11 @@ bin/uzbl-browser
 bin/uzbl-core
 bin/uzbl-event-manager
 bin/uzbl-tabbed
-${PYSITELIB}/uzbl-201100808-py3.7.egg-info/PKG-INFO
-${PYSITELIB}/uzbl-201100808-py3.7.egg-info/SOURCES.txt
-${PYSITELIB}/uzbl-201100808-py3.7.egg-info/dependency_links.txt
-${PYSITELIB}/uzbl-201100808-py3.7.egg-info/entry_points.txt
-${PYSITELIB}/uzbl-201100808-py3.7.egg-info/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/uzbl/__init__.py
 ${PYSITELIB}/uzbl/__init__.pyc
 ${PYSITELIB}/uzbl/arguments.pyc


Home | Main Index | Thread Index | Old Index