From f93fcd070a833af69ad79b0fdd5cdaf0411511cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 25 Mar 2020 00:46:13 +0100 Subject: [PATCH] Revert "python3-gobject: fix cross" This reverts commit daf9a7e51b0fda6da89dcbd2605a97e628035e56. Fix it on the side of gobject-introspection. --- srcpkgs/python3-gobject/template | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/srcpkgs/python3-gobject/template b/srcpkgs/python3-gobject/template index 81c0e616940..6af77760a72 100644 --- a/srcpkgs/python3-gobject/template +++ b/srcpkgs/python3-gobject/template @@ -7,7 +7,7 @@ build_style=meson build_helper="gir" configure_args="-Dpython=python${py3_ver}" pycompile_module="gi pygtkcompat" -hostmakedepends="gobject-introspection pkg-config python3 python3-MarkupSafe" +hostmakedepends="pkg-config python3 python3-MarkupSafe" makedepends="libglib-devel python3-cairo-devel python3-devel" depends="gir-freedesktop python3-cairo" short_desc="Python3 bindings for GObject" @@ -17,19 +17,6 @@ homepage="https://pygobject.readthedocs.io/" distfiles="${GNOME_SITE}/pygobject/${version%.*}/pygobject-${version}.tar.xz" checksum=c39ca2a28364b57fa00549c6e836346031e6b886c3ceabfd8ab4b4fed0a83611 -pre_configure() { - if [ ! -s "${XBPS_CROSS_BASE}/usr/share/gobject-introspection-1.0/tests/gitestmacros.h" ]; then - # /usr/share/gobject-introspection-1.0/tests missing in cross builds - cp -aR /usr/share/gobject-introspection-1.0/tests \ - ${XBPS_CROSS_BASE}/usr/share/gobject-introspection-1.0 - fi -} - -post_install() { - # In case it was copied make sure it's removed - rm -rf ${XBPS_CROSS_BASE}/usr/share/gobject-introspection-1.0/tests -} - python3-gobject-devel_package() { depends="libgirepository-devel python3-cairo-devel libglib-devel libffi-devel