Gentoo Archives: gentoo-commits

From: "Manuel Rueger (mrueg)" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-mobilephone/obexftp: obexftp-0.23-r2.ebuild ChangeLog
Date: Tue, 05 Nov 2013 00:16:00
Message-Id: 20131105001555.1C6BA2004B@flycatcher.gentoo.org
1 mrueg 13/11/05 00:15:55
2
3 Modified: ChangeLog
4 Added: obexftp-0.23-r2.ebuild
5 Log:
6 NMU: Update ebuild to work with ruby 1.9 only. Fixes bug #483096.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
9
10 Revision Changes Path
11 1.65 app-mobilephone/obexftp/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/obexftp/ChangeLog?rev=1.65&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/obexftp/ChangeLog?rev=1.65&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/obexftp/ChangeLog?r1=1.64&r2=1.65
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/ChangeLog,v
20 retrieving revision 1.64
21 retrieving revision 1.65
22 diff -u -r1.64 -r1.65
23 --- ChangeLog 21 Aug 2013 19:34:38 -0000 1.64
24 +++ ChangeLog 5 Nov 2013 00:15:54 -0000 1.65
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-mobilephone/obexftp
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/ChangeLog,v 1.64 2013/08/21 19:34:38 creffett Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/ChangeLog,v 1.65 2013/11/05 00:15:54 mrueg Exp $
30 +
31 +*obexftp-0.23-r2 (05 Nov 2013)
32 +
33 + 05 Nov 2013; Manuel RĂ¼ger <mrueg@g.o>
34 + +files/obexftp-0.23-fix-ruby19.patch, +obexftp-0.23-r2.ebuild:
35 + NMU: Update ebuild to work with ruby 1.9 only. Fixes bug #483096.
36
37 21 Aug 2013; Chris Reffett <creffett@g.o> obexftp-0.23-r1.ebuild:
38 Update to distutils-r1. Fix bugs 312725 and 398113.
39
40
41
42 1.1 app-mobilephone/obexftp/obexftp-0.23-r2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/obexftp/obexftp-0.23-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/obexftp/obexftp-0.23-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: obexftp-0.23-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/obexftp-0.23-r2.ebuild,v 1.1 2013/11/05 00:15:54 mrueg Exp $
52
53 EAPI="5"
54
55 PYTHON_COMPAT=( python{2_6,2_7} )
56 GENTOO_DEPEND_ON_PERL=no
57
58 inherit distutils-r1 eutils perl-module flag-o-matic autotools
59
60 DESCRIPTION="File transfer over OBEX for mobile phones"
61 HOMEPAGE="http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp"
62 SRC_URI="mirror://sourceforge/openobex/${P}.tar.bz2"
63 SLOT="0"
64
65 LICENSE="GPL-2"
66 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
67 IUSE="bluetooth debug perl python ruby tcl"
68
69 RDEPEND="dev-libs/openobex
70 bluetooth? ( net-wireless/bluez )
71 perl? ( dev-lang/perl )
72 ruby? ( dev-lang/ruby:1.9 )
73 tcl? ( dev-lang/tcl )
74 "
75 DEPEND="${RDEPEND}
76 virtual/pkgconfig
77 "
78
79 src_prepare() {
80 epatch "${FILESDIR}"/${P}-fixruby.patch \
81 "${FILESDIR}"/${P}-gentoo.patch \
82 "${FILESDIR}"/${P}-fix-ruby19.patch
83 # Python bindings are built/installed manually.
84 sed -e "/MAYBE_PYTHON_ = python/d" -i swig/Makefile.am || die "sed failed"
85
86 eautoreconf
87 }
88
89 src_configure() {
90 if use debug ; then
91 strip-flags
92 append-flags "-g -DOBEXFTP_DEBUG=5"
93 fi
94
95 local MYRUBY
96 use ruby && MYRUBY="RUBY=/usr/bin/ruby19"
97
98 econf \
99 $(use_enable bluetooth) \
100 $(use_enable perl) \
101 $(use_enable python) \
102 $(use_enable tcl) \
103 $(use_enable ruby) \
104 ${MYRUBY}
105 }
106
107 src_compile() {
108 default
109
110 if use python; then
111 pushd swig/python/
112 distutils-r1_src_compile
113 popd
114 fi
115 }
116
117 src_install() {
118 # -j1 because "make -fMakefile.ruby install" fails
119 # upstream added -j1 to that command so it should be removed
120 # from here in the next version bump
121 emake -j1 DESTDIR="${D}" INSTALLDIRS=vendor install
122
123 if use python; then
124 pushd swig/python/
125 distutils-r1_src_install
126 popd
127 fi
128
129 dodoc AUTHORS ChangeLog NEWS README* THANKS TODO
130 dohtml doc/*.html
131
132 # Install examples
133 insinto /usr/share/doc/${PF}/examples
134 doins examples/*.c
135 use perl && doins examples/*.pl
136 use python && doins examples/*.py
137 use ruby && doins examples/*.rb
138 use tcl && doins examples/*.tcl
139
140 if use perl ; then
141 perl_delete_localpod
142 perl_delete_packlist
143 fi
144 }
145
146 pkg_postinst() {
147 use perl && perl-module_pkg_postinst
148 use python && distutils-r1_pkg_postinst
149 }
150
151 pkg_postrm() {
152 use perl && perl-module_pkg_postrm
153 use python && distutils-r1_pkg_postrm
154 }