From: "Sobhan Mohammadpour" <sobhan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: dev-libs/glib/
Date: Sun, 24 Jun 2018 13:05:29 +0000 (UTC) [thread overview]
Message-ID: <1529845512.d2a6fd4a2c7dcae1e11ebfa4a2d3a028abb2ac6d.sobhan@gentoo> (raw)
commit: d2a6fd4a2c7dcae1e11ebfa4a2d3a028abb2ac6d
Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 24 13:04:45 2018 +0000
Commit: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org>
CommitDate: Sun Jun 24 13:05:12 2018 +0000
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=d2a6fd4a
dev-libs/glib: bump
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Manifest-Sign-Key: 0x7DF238CF0AA182E1
.../{glib-2.56.1.ebuild => glib-2.56.1-r1.ebuild} | 32 +++++++++++-----------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/dev-libs/glib/glib-2.56.1.ebuild b/dev-libs/glib/glib-2.56.1-r1.ebuild
similarity index 91%
rename from dev-libs/glib/glib-2.56.1.ebuild
rename to dev-libs/glib/glib-2.56.1-r1.ebuild
index 06c64dfa..04ed5b91 100644
--- a/dev-libs/glib/glib-2.56.1.ebuild
+++ b/dev-libs/glib/glib-2.56.1-r1.ebuild
@@ -6,26 +6,26 @@
# then to be think very closely.
EAPI=6
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python{2_7,3_5,3_6} )
# Completely useless with or without USE static-libs, people need to use
# pkg-config
GNOME2_LA_PUNT="yes"
inherit autotools bash-completion-r1 epunt-cxx flag-o-matic gnome2 libtool linux-info \
- multilib multilib-minimal pax-utils python-r1 toolchain-funcs versionator virtualx
+ multilib multilib-minimal pax-utils python-single-r1 toolchain-funcs versionator virtualx
DESCRIPTION="The GLib library of C routines"
HOMEPAGE="https://www.gtk.org/"
-SRC_URI="${SRC_URI}
+SRC_URI="${SRC_URI}
https://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz" # pkg.m4 for eautoreconf
LICENSE="LGPL-2.1+"
SLOT="2"
IUSE="dbus debug fam kernel_linux +mime selinux static-libs systemtap test utils xattr"
REQUIRED_USE="
- utils? ( ${PYTHON_REQUIRED_USE} )
+ ${PYTHON_REQUIRED_USE}
test? ( ${PYTHON_REQUIRED_USE} )
-"
+" # test dep left here and elsewhere to not forget, as global python requirement is supposed to be temporary until a split package is made with meson
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
@@ -44,9 +44,9 @@ RDEPEND="
selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
xattr? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] )
fam? ( >=virtual/fam-0-r1[${MULTILIB_USEDEP}] )
+ ${PYTHON_DEPS}
utils? (
- ${PYTHON_DEPS}
- >=dev-util/gdbus-codegen-${PV}[${PYTHON_USEDEP}]
+ >=dev-util/gdbus-codegen-${PV}
virtual/libelf:0=
)
"
@@ -59,7 +59,7 @@ DEPEND="${RDEPEND}
test? (
sys-devel/gdb
${PYTHON_DEPS}
- >=dev-util/gdbus-codegen-${PV}[${PYTHON_USEDEP}]
+ >=dev-util/gdbus-codegen-${PV}
>=sys-apps/dbus-1.2.14 )
!<dev-util/gtk-doc-1.15-r2
"
@@ -84,6 +84,8 @@ pkg_setup() {
fi
linux-info_pkg_setup
fi
+ # FIXME: Move python deps that are only required at build time of other packages to a split package
+ python-single-r1_pkg_setup
}
src_prepare() {
@@ -120,13 +122,9 @@ src_prepare() {
# gdbus-codegen is a separate package
eapply "${FILESDIR}"/${PN}-2.56.1-external-gdbus-codegen-for-autotools.patch
- # Leave python shebang alone - handled by python_replicate_script
- # We could call python_setup and give configure a valid --with-python
- # arg, but that would mean a build dep on python when USE=utils.
- sed -e '/${PYTHON}/d' \
- -i glib/Makefile.{am,in} || die
- sed -e 's:@PYTHON@:python:' \
- -i gobject/glib-{genmarshal.in,mkenums.in} || die
+ # Leave gtester-report python shebang alone - handled by python_fix_shebang
+ sed -e '/${PYTHON}/d' -i glib/Makefile.{am,in} || die
+
# Also needed to prevent cross-compile failures, see bug #267603
eautoreconf
@@ -181,6 +179,7 @@ multilib_src_configure() {
$(use_enable systemtap dtrace) \
$(use_enable systemtap systemtap) \
$(multilib_native_use_enable utils libelf) \
+ --with-python=${EPYTHON} \
--disable-compile-warnings \
--enable-man \
--with-pcre=system \
@@ -225,8 +224,9 @@ multilib_src_install_all() {
einstalldocs
if use utils ; then
- python_replicate_script "${ED}"/usr/bin/gtester-report
+ python_fix_shebang "${ED}"/usr/bin/gtester-report
else
+ # gtester-report is heavily deprecated, so do not install by default - https://bugzilla.gnome.org/show_bug.cgi?id=668035#c4
rm "${ED}usr/bin/gtester-report"
rm "${ED}usr/share/man/man1/gtester-report.1"
fi
next reply other threads:[~2018-06-24 13:05 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-24 13:05 Sobhan Mohammadpour [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-02-29 20:48 [gentoo-commits] proj/gnome:master commit in: dev-libs/glib/ Mart Raudsepp
2018-06-24 13:14 Sobhan Mohammadpour
2018-03-03 19:55 Sobhan Mohammadpour
2018-02-16 16:11 Sobhan Mohammadpour
2018-02-16 16:11 Sobhan Mohammadpour
2018-02-16 15:59 Sobhan Mohammadpour
2018-02-16 15:59 Sobhan Mohammadpour
2018-01-30 10:16 Sobhan Mohammadpour
2018-01-14 15:03 Dennis Lamm
2015-10-11 0:13 Alexandre Rostovtsev
2015-09-21 21:55 Remi Cardona
2015-09-13 22:03 Ole Reifschneider
2015-06-09 9:16 Gilles Dartiguelongue
2015-05-17 15:39 Gilles Dartiguelongue
2015-05-14 13:39 Gilles Dartiguelongue
2015-04-18 9:00 Ole Reifschneider
2014-12-14 22:46 Gilles Dartiguelongue
2014-11-24 19:42 Gilles Dartiguelongue
2013-12-24 16:56 Gilles Dartiguelongue
2013-02-19 0:12 Alexandre Rostovtsev
2012-10-17 8:58 Alexandre Rostovtsev
2012-10-10 7:51 Alexandre Rostovtsev
2012-09-28 18:56 Alexandre Rostovtsev
2012-09-11 18:10 Alexandre Rostovtsev
2012-09-05 15:48 Nirbheek Chauhan
2012-08-24 18:14 Priit Laes
2012-06-07 18:27 Alexandre Restovtsev
2012-05-05 16:36 Alexandre Restovtsev
2012-05-02 2:14 Alexandre Restovtsev
2012-03-27 3:17 Alexandre Restovtsev
2012-03-24 21:04 Alexandre Restovtsev
2012-03-23 15:53 Alexandre Restovtsev
2012-03-21 19:18 Alexandre Restovtsev
2012-03-21 18:27 Alexandre Restovtsev
2012-03-14 2:32 Alexandre Restovtsev
2012-02-05 9:18 Priit Laes
2012-01-22 10:09 Priit Laes
2012-01-17 9:08 Priit Laes
2011-10-06 11:51 Alexandre Restovtsev
2011-05-20 8:33 Nirbheek Chauhan
2011-02-09 20:13 Nirbheek Chauhan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1529845512.d2a6fd4a2c7dcae1e11ebfa4a2d3a028abb2ac6d.sobhan@gentoo \
--to=sobhan@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox