pkgsrc-WIP-changes archive

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

gnome-builder: Substitute python version in PLIST



Module Name:	pkgsrc-wip
Committed By:	Dan Cîrnaț <dan%alt.md@localhost>
Pushed By:	cirnatdan
Date:		Sat Mar 27 21:58:33 2021 +0100
Changeset:	1fa595efbf1ec401628824b9f78014d230c61706

Modified Files:
	gnome-builder/Makefile
	gnome-builder/PLIST

Log Message:
gnome-builder: Substitute python version in PLIST

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

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

diffstat:
 gnome-builder/Makefile | 2 ++
 gnome-builder/PLIST    | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diffs:
diff --git a/gnome-builder/Makefile b/gnome-builder/Makefile
index f722fa5799..cb669c4a5b 100644
--- a/gnome-builder/Makefile
+++ b/gnome-builder/Makefile
@@ -32,6 +32,8 @@ SUBST_SED.python=	-e 's,/usr/bin/env python3,/usr/bin/python,g'
 
 REPLACE_PYTHON+=	${SUBST_FILES.python}
 
+PLIST_SUBST+=		PYVERSSUFFIX=${PYVERSSUFFIX}
+
 .include "../../lang/python/application.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../lang/clang/buildlink3.mk"
diff --git a/gnome-builder/PLIST b/gnome-builder/PLIST
index 8710d90bbb..3c03f73089 100644
--- a/gnome-builder/PLIST
+++ b/gnome-builder/PLIST
@@ -345,7 +345,7 @@ lib/gnome-builder/plugins/valgrind_plugin.gresource
 lib/gnome-builder/plugins/valgrind_plugin.py
 lib/gnome-builder/plugins/waf.plugin
 lib/gnome-builder/plugins/waf_plugin.py
-lib/python3.8/site-packages/gi/overrides/Ide.py
+lib/python${PYVERSSUFFIX}/site-packages/gi/overrides/Ide.py
 libexec/gnome-builder-clang
 share/applications/org.gnome.Builder.desktop
 share/dbus-1/services/org.gnome.Builder.service


Home | Main Index | Thread Index | Old Index