pkgsrc-WIP-changes archive

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

epiphany: Replace hardcoded Python she-bang and add Python 3 build dependency



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun May 26 12:59:01 2019 +0200
Changeset:	e46096a28f668b222b7aff2feb55fdd4ba51781c

Modified Files:
	epiphany/Makefile

Log Message:
epiphany: Replace hardcoded Python she-bang and add Python 3 build dependency

Thanks to <wiz> for suggesting it via pkgsrc-users@!

(High CPU usage problem still present and not invastigated.)

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

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

diffstat:
 epiphany/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diffs:
diff --git a/epiphany/Makefile b/epiphany/Makefile
index dfaf0ac568..5c2274aa3f 100644
--- a/epiphany/Makefile
+++ b/epiphany/Makefile
@@ -10,16 +10,21 @@ HOMEPAGE=	https://www.gnome.org/projects/epiphany/
 COMMENT=	The web browser for the GNOME Desktop
 LICENSE=	gnu-gpl-v2
 
+TOOL_DEPENDS+=	itstool-[0-9]*:../../textproc/itstool
+
 USE_TOOLS+=	pkg-config
 
 LDFLAGS+=	-L${PREFIX}/lib/epiphany ${COMPILER_RPATH_FLAG}${PREFIX}/lib/epiphany
 
-TOOL_DEPENDS+=	itstool-[0-9]*:../../textproc/itstool
+REPLACE_PYTHON+=		post_install.py
+PYTHON_VERSIONS_INCOMPATIBLE=	27	# needs Python 3
+PYTHON_FOR_BUILD_ONLY=		yes
 
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/glib2/schemas.mk"
 .include "../../devel/gmp/buildlink3.mk"
 .include "../../devel/py-meson/build.mk"
+.include "../../lang/python/application.mk"
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../graphics/cairo/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"


Home | Main Index | Thread Index | Old Index