diff options
author | Davide Pesavento <pesa@gentoo.org> | 2018-07-13 21:38:27 +0200 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2018-07-13 21:38:27 +0200 |
commit | 15ec9f3fd90a72f6c26b2801c15f0f0bc086407d (patch) | |
tree | 7c2e2a3102be693fc876b2c3f56971861c1bbb42 /dev-python/sip | |
parent | dev-python/sip: add 4.19.12 (diff) | |
download | gentoo-15ec9f3fd90a72f6c26b2801c15f0f0bc086407d.tar.gz gentoo-15ec9f3fd90a72f6c26b2801c15f0f0bc086407d.tar.bz2 gentoo-15ec9f3fd90a72f6c26b2801c15f0f0bc086407d.zip |
dev-python/sip: sync live ebuild
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'dev-python/sip')
-rw-r--r-- | dev-python/sip/sip-4.9999.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-python/sip/sip-4.9999.ebuild b/dev-python/sip/sip-4.9999.ebuild index 8605ad96cf08..8231fd8a2a39 100644 --- a/dev-python/sip/sip-4.9999.ebuild +++ b/dev-python/sip/sip-4.9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -21,7 +21,7 @@ else SRC_URI="mirror://sourceforge/pyqt/${P}.tar.gz" fi -# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h.in +# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h SLOT="0/12" LICENSE="|| ( GPL-2 GPL-3 SIP )" KEYWORDS="" @@ -54,7 +54,7 @@ src_prepare() { # Sub-slot sanity check local sub_slot=${SLOT#*/} - local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h.in) + local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h || die) if [[ ${sub_slot} != ${sip_api_major_nr} ]]; then eerror eerror "Ebuild sub-slot (${sub_slot}) does not match SIP_API_MAJOR_NR (${sip_api_major_nr})" |