Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/miniupnpc: miniupnpc-1.6.ebuild ChangeLog miniupnpc-1.4.20101209.ebuild miniupnpc-1.4.20100609-r1.ebuild
Date: Tue, 26 Jul 2011 20:47:22
Message-Id: 20110726204708.7B4612004B@flycatcher.gentoo.org
1 mgorny 11/07/26 20:47:08
2
3 Modified: ChangeLog
4 Added: miniupnpc-1.6.ebuild
5 Removed: miniupnpc-1.4.20101209.ebuild
6 miniupnpc-1.4.20100609-r1.ebuild
7 Log:
8 Version bump, drop ancient.
9
10 (Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.10 net-libs/miniupnpc/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/miniupnpc/ChangeLog?rev=1.10&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/miniupnpc/ChangeLog?rev=1.10&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/miniupnpc/ChangeLog?r1=1.9&r2=1.10
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/net-libs/miniupnpc/ChangeLog,v
22 retrieving revision 1.9
23 retrieving revision 1.10
24 diff -u -r1.9 -r1.10
25 --- ChangeLog 24 May 2011 21:00:15 -0000 1.9
26 +++ ChangeLog 26 Jul 2011 20:47:08 -0000 1.10
27 @@ -1,6 +1,13 @@
28 # ChangeLog for net-libs/miniupnpc
29 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/net-libs/miniupnpc/ChangeLog,v 1.9 2011/05/24 21:00:15 maekke Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/net-libs/miniupnpc/ChangeLog,v 1.10 2011/07/26 20:47:08 mgorny Exp $
32 +
33 +*miniupnpc-1.6 (26 Jul 2011)
34 +
35 + 26 Jul 2011; Michał Górny <mgorny@g.o>
36 + -miniupnpc-1.4.20100609-r1.ebuild, -miniupnpc-1.4.20101209.ebuild,
37 + +miniupnpc-1.6.ebuild:
38 + Version bump, drop ancient.
39
40 24 May 2011; Markus Meier <maekke@g.o> miniupnpc-1.5.ebuild:
41 x86 stable, bug #365341
42
43
44
45 1.1 net-libs/miniupnpc/miniupnpc-1.6.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/miniupnpc/miniupnpc-1.6.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/miniupnpc/miniupnpc-1.6.ebuild?rev=1.1&content-type=text/plain
49
50 Index: miniupnpc-1.6.ebuild
51 ===================================================================
52 # Copyright 1999-2011 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/net-libs/miniupnpc/miniupnpc-1.6.ebuild,v 1.1 2011/07/26 20:47:08 mgorny Exp $
55
56 EAPI=3
57 SUPPORT_PYTHON_ABIS=1
58 PYTHON_DEPEND="python? 2"
59 RESTRICT_PYTHON_ABIS="3.*"
60
61 inherit base distutils eutils toolchain-funcs
62
63 DESCRIPTION="UPnP client library and a simple UPnP client"
64 HOMEPAGE="http://miniupnp.free.fr/"
65 SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
66
67 LICENSE="BSD"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86"
70 IUSE="python static-libs"
71
72 DEPEND="sys-apps/lsb-release"
73 RDEPEND=""
74
75 src_prepare() {
76 base_src_prepare
77
78 sed \
79 -e 's/^CFLAGS ?= -O -Wall /CFLAGS += /' \
80 -i Makefile || die
81
82 if use !static-libs; then
83 sed \
84 -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \
85 -e '/$(INSTALL) -m 644 $(LIBRARY) $(INSTALLDIRLIB)/d' \
86 -i Makefile || die
87 fi
88
89 use python && distutils_src_prepare
90 }
91
92 # Upstream cmake causes more trouble than it fixes,
93 # so we'll just stay with the Makefile for now.
94
95 src_compile() {
96 emake CC=$(tc-getCC) || die
97
98 use python && distutils_src_compile
99 }
100
101 src_install() {
102 emake \
103 PREFIX="${D}" \
104 INSTALLDIRLIB="${D}usr/$(get_libdir)" \
105 install || die
106
107 dodoc README Changelog.txt || die
108 doman man3/* || die
109
110 use python && distutils_src_install
111 }
112
113 pkg_postinst() {
114 use python && distutils_pkg_postinst
115 }
116
117 pkg_postrm() {
118 use python && distutils_pkg_postrm
119 }