Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/dpkg: ChangeLog dpkg-1.16.6.ebuild
Date: Mon, 02 Jul 2012 10:48:13
Message-Id: 20120702104756.776922004B@flycatcher.gentoo.org
1 jer 12/07/02 10:47:56
2
3 Modified: ChangeLog
4 Added: dpkg-1.16.6.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.192 app-arch/dpkg/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?rev=1.192&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?rev=1.192&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/ChangeLog?r1=1.191&r2=1.192
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v
20 retrieving revision 1.191
21 retrieving revision 1.192
22 diff -u -r1.191 -r1.192
23 --- ChangeLog 18 Jun 2012 10:47:42 -0000 1.191
24 +++ ChangeLog 2 Jul 2012 10:47:56 -0000 1.192
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-arch/dpkg
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v 1.191 2012/06/18 10:47:42 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/ChangeLog,v 1.192 2012/07/02 10:47:56 jer Exp $
30 +
31 +*dpkg-1.16.6 (02 Jul 2012)
32 +
33 + 02 Jul 2012; Jeroen Roovers <jer@g.o> +dpkg-1.16.6.ebuild:
34 + Version bump.
35
36 *dpkg-1.16.4.3 (18 Jun 2012)
37
38
39
40
41 1.1 app-arch/dpkg/dpkg-1.16.6.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/dpkg-1.16.6.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dpkg/dpkg-1.16.6.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dpkg-1.16.6.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/dpkg-1.16.6.ebuild,v 1.1 2012/07/02 10:47:56 jer Exp $
51
52 EAPI=4
53
54 inherit eutils multilib autotools toolchain-funcs
55
56 DESCRIPTION="Package maintenance system for Debian"
57 HOMEPAGE="http://packages.qa.debian.org/dpkg"
58 SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
63 IUSE="bzip2 dselect nls test unicode zlib"
64
65 LANGS="
66 ast bs ca cs da de dz el eo es et eu fr gl hu id it ja km ko ku lt mr nb ne
67 nl nn pa pl pt_BR pt ro ru sk sv th tl vi zh_CN zh_TW
68 "
69
70 for X in ${LANGS} ; do
71 IUSE="${IUSE} linguas_${X}"
72 done
73
74 RDEPEND=">=dev-lang/perl-5.6.0
75 dev-perl/TimeDate
76 >=sys-libs/ncurses-5.2-r7
77 zlib? ( >=sys-libs/zlib-1.1.4 )
78 bzip2? ( app-arch/bzip2 )"
79 DEPEND="${RDEPEND}
80 app-arch/xz-utils
81 nls? ( app-text/po4a )
82 sys-devel/flex
83 virtual/pkgconfig
84 test? (
85 dev-perl/DateTime-Format-DateParse
86 dev-perl/IO-String
87 dev-perl/Test-Pod
88 )"
89 REQUIRED_USE="dselect? ( nls )"
90
91 src_prepare() {
92 # do not expect Debian's gzip --rsyncable extension
93 epatch "${FILESDIR}"/${PN}-1.16.4.2-gzip-rsyncable.patch
94
95 # Force the use of the running bash for get-version (this file is never
96 # installed, so no need to worry about hardcoding a temporary bash)
97 sed -i -e '1c\#!'"${BASH}" get-version || die
98
99 # this test depends on a Debian only gzip extension that adds --rsyncable
100 # which will therefore always fail on Gentoo. (bug #310847).
101 sed -i scripts/Makefile.am \
102 -e '/850_Dpkg_Compression.t/d' \
103 || die "sed failed"
104
105 # test fails (bug #414095)
106 sed -i utils/Makefile.am \
107 -e '/^test_cases/d;/100_update_alternatives/d' || die
108
109 eautoreconf
110 }
111
112 src_configure() {
113 tc-export CC
114 econf \
115 ${myconf} \
116 $(use_enable dselect) \
117 $(use_enable unicode) \
118 $(use_with bzip2 bz2) \
119 $(use_with zlib) \
120 --disable-compiler-warnings \
121 --disable-compiler-optimisations \
122 --disable-linker-optimisations \
123 --without-selinux \
124 --disable-start-stop-daemon
125 }
126
127 src_install() {
128 strip-linguas ${LANGS}
129 if [ -z "${LINGUAS}" ] ; then
130 LINGUAS=none
131 fi
132
133 emake DESTDIR="${D}" LINGUAS="${LINGUAS}" install || die "emake install failed"
134 rm "${ED}"/usr/sbin/install-info || die "rm install-info failed"
135 dodoc ChangeLog THANKS TODO
136 keepdir /usr/$(get_libdir)/db/methods/{mnt,floppy,disk}
137 keepdir /usr/$(get_libdir)/db/{alternatives,info,methods,parts,updates}
138 }