Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sip/
Date: Mon, 11 Jul 2016 14:50:54
Message-Id: 1468248595.edbe8adf17d6b0e7a4019b3f1a1deea2df2bb386.pesa@gentoo
1 commit: edbe8adf17d6b0e7a4019b3f1a1deea2df2bb386
2 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 11 14:49:55 2016 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 11 14:49:55 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edbe8adf
7
8 dev-python/sip: drop old
9
10 Package-Manager: portage-2.3.0
11
12 dev-python/sip/Manifest | 1 -
13 dev-python/sip/sip-4.17-r1.ebuild | 85 ---------------------------------------
14 2 files changed, 86 deletions(-)
15
16 diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest
17 index 988913f..6486ac2 100644
18 --- a/dev-python/sip/Manifest
19 +++ b/dev-python/sip/Manifest
20 @@ -1,4 +1,3 @@
21 DIST sip-4.16.2.tar.gz 793663 SHA256 a55a2324a46ab42e42ae57c52ef06583b17d25c987973fe2e7ff2e8a649294ce SHA512 07ced0188bd4dc897ddacbce226b33ac9d236455a95018e900fd5f652439c905ddd56688f8bb29f704fcf201a8e668d5cc89ba887065826653087cf0a9f6dbfb WHIRLPOOL 47c741f1b787ba147e7a299e3c93a7537f14f1b192726e39f3679d0b0e0a991df603509c5674f262311259d9ad2e1e845746d215d5ef70eb7b827c1557eb8b82
22 DIST sip-4.16.9.tar.gz 957858 SHA256 dbe173aa566e26ca0bb5bcbc1d30ef780f416267bb3b5df48149a737ea6b0555 SHA512 f9e7deac3462f71e809fce29aea4b7e7e3d1acb7600252178459cfb9e09d1543e9a189bdc66c946c9d11c4a6f3175a6d6b306481cadab70ed7f17f6e7c328ddc WHIRLPOOL f4cfcb5ecc945332683bdcbd6913b87fc975f8e268e02e6bdeaadebf578e40f1e94a3c76cdb1ea3890ec969d1454560d58df01ba4ad507d914a300076365ade0
23 -DIST sip-4.17.tar.gz 959835 SHA256 603026822adf8673fca6e0ea20b02c3c4a2dccb309647656f7269adc8de89060 SHA512 ac9af0b0e8424152a9768bccacd4db393fd3f4e5c8cf171863d9e615564c744c5be4d0b4af82c5ceed8d27f9845e308f559df30153e6d5bce8d4e2af6e5192d9 WHIRLPOOL a11d1f3d43b60fa06bc67dec60a500c0c163f179bec8865e5eef286c191652fd51d45965f8f96c3c13365976a5bd85c36454924a4da9c1508df0d807466ecf20
24 DIST sip-4.18.tar.gz 991980 SHA256 f1dc5c81c07a9ad97edcd4a0af964a41e420024ba7ca165afd2b351efd249cb6 SHA512 365fb51b8c833ebc923b87a961fac83976b653ebcec8fe7ad1543ee5a406471eb9309c8efbee6662c7b622f36771cd3ac31ede10208f23d2531a45af906d383d WHIRLPOOL 3cf3516483e62ed26fca1de6bc90e58a2bd04d3d66214b0f62eb4338c2b7a8a595d46952ef86cd7fa61e50b160a06b484a7d4f5997be2f2a7714b1edabaef2a4
25
26 diff --git a/dev-python/sip/sip-4.17-r1.ebuild b/dev-python/sip/sip-4.17-r1.ebuild
27 deleted file mode 100644
28 index f8bd4a8..0000000
29 --- a/dev-python/sip/sip-4.17-r1.ebuild
30 +++ /dev/null
31 @@ -1,85 +0,0 @@
32 -# Copyright 1999-2015 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -# $Id$
35 -
36 -EAPI=5
37 -
38 -PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
39 -
40 -inherit eutils python-r1 toolchain-funcs
41 -
42 -DESCRIPTION="Python extension module generator for C and C++ libraries"
43 -HOMEPAGE="http://www.riverbankcomputing.com/software/sip/intro https://pypi.python.org/pypi/SIP"
44 -SRC_URI="mirror://sourceforge/pyqt/${P}.tar.gz"
45 -
46 -# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h.in
47 -SLOT="0/11"
48 -LICENSE="|| ( GPL-2 GPL-3 SIP )"
49 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
50 -IUSE="debug doc"
51 -
52 -RDEPEND="${PYTHON_DEPS}"
53 -DEPEND="${RDEPEND}"
54 -
55 -REQUIRED_USE="
56 - ${PYTHON_REQUIRED_USE}
57 -"
58 -
59 -src_prepare() {
60 - epatch "${FILESDIR}"/${PN}-4.15.5-darwin.patch
61 -
62 - # Sub-slot sanity check
63 - local sub_slot=${SLOT#*/}
64 - local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h.in)
65 - if [[ ${sub_slot} != ${sip_api_major_nr} ]]; then
66 - eerror
67 - eerror "Ebuild sub-slot (${sub_slot}) does not match SIP_API_MAJOR_NR (${sip_api_major_nr})"
68 - eerror "Please update SLOT variable as follows:"
69 - eerror " SLOT=\"${SLOT%%/*}/${sip_api_major_nr}\""
70 - eerror
71 - die "sub-slot sanity check failed"
72 - fi
73 -}
74 -
75 -src_configure() {
76 - configuration() {
77 - local myconf=(
78 - "${PYTHON}"
79 - "${S}"/configure.py
80 - --destdir="$(python_get_sitedir)"
81 - --incdir="$(python_get_includedir)"
82 - $(use debug && echo --debug)
83 - AR="$(tc-getAR) cqs"
84 - CC="$(tc-getCC)"
85 - CFLAGS="${CFLAGS}"
86 - CFLAGS_RELEASE=
87 - CXX="$(tc-getCXX)"
88 - CXXFLAGS="${CXXFLAGS}"
89 - CXXFLAGS_RELEASE=
90 - LINK="$(tc-getCXX)"
91 - LINK_SHLIB="$(tc-getCXX)"
92 - LFLAGS="${LDFLAGS}"
93 - LFLAGS_RELEASE=
94 - RANLIB=
95 - STRIP=
96 - )
97 - echo "${myconf[@]}"
98 - "${myconf[@]}" || die
99 - }
100 - python_foreach_impl run_in_build_dir configuration
101 -}
102 -
103 -src_compile() {
104 - python_foreach_impl run_in_build_dir default
105 -}
106 -
107 -src_install() {
108 - installation() {
109 - emake DESTDIR="${D}" install
110 - python_optimize
111 - }
112 - python_foreach_impl run_in_build_dir installation
113 -
114 - dodoc ChangeLog NEWS
115 - use doc && dodoc -r doc/html
116 -}