Gentoo Archives: gentoo-commits

From: "Nathan Phillip Brink (binki)" <binki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pacman: pacman-4.0.3.ebuild ChangeLog
Date: Mon, 02 Jul 2012 06:04:07
Message-Id: 20120702060357.DBCE82004B@flycatcher.gentoo.org
1 binki 12/07/02 06:03:57
2
3 Modified: ChangeLog
4 Added: pacman-4.0.3.ebuild
5 Log:
6 Add pacman-4.0.3, fixing bug #421313.
7
8 (Portage version: 2.2.0_alpha114-r1/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.12 sys-apps/pacman/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pacman/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pacman/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pacman/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pacman/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 16 Jun 2012 05:28:26 -0000 1.11
24 +++ ChangeLog 2 Jul 2012 06:03:57 -0000 1.12
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-apps/pacman
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pacman/ChangeLog,v 1.11 2012/06/16 05:28:26 binki Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pacman/ChangeLog,v 1.12 2012/07/02 06:03:57 binki Exp $
30 +
31 +*pacman-4.0.3 (02 Jul 2012)
32 +
33 + 02 Jul 2012; Nathan Phillip Brink <binki@g.o> +pacman-4.0.3.ebuild:
34 + Add pacman-4.0.3, fixing bug #421313.
35
36 16 Jun 2012; Nathan Phillip Brink <binki@g.o> pacman-4.0.1.ebuild:
37 Fix inconsistency between m4/gettext.m4 and Makefile.in.in caused by
38 @@ -57,4 +62,3 @@
39 Initial commit of pacman package manager. Moved from sunrise overlay.
40 Thanks to Nathan Phillip Brink (ohnobinki) <ohnobinki@××××××××××××××.net>.
41 Fixes bug #299275
42 -
43
44
45
46 1.1 sys-apps/pacman/pacman-4.0.3.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pacman/pacman-4.0.3.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pacman/pacman-4.0.3.ebuild?rev=1.1&content-type=text/plain
50
51 Index: pacman-4.0.3.ebuild
52 ===================================================================
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pacman/pacman-4.0.3.ebuild,v 1.1 2012/07/02 06:03:57 binki Exp $
56
57 EAPI=4
58
59 inherit autotools autotools-utils bash-completion-r1 eutils
60
61 DESCRIPTION="Archlinux's binary package manager"
62 HOMEPAGE="http://archlinux.org/pacman/"
63 SRC_URI="ftp://ftp.archlinux.org/other/${PN}/${P}.tar.gz"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="curl debug doc gpg test"
69
70 COMMON_DEPEND="app-arch/libarchive
71 dev-libs/openssl
72 virtual/libiconv
73 virtual/libintl
74 sys-devel/gettext
75 curl? ( net-misc/curl )
76 gpg? ( app-crypt/gpgme )"
77 RDEPEND="${COMMON_DEPEND}
78 app-arch/xz-utils"
79 # autoconf macros from gpgme requied unconditionally
80 DEPEND="${COMMON_DEPEND}
81 app-crypt/gpgme
82 doc? ( app-doc/doxygen
83 app-text/asciidoc )
84 test? ( dev-lang/python )"
85
86 RESTRICT="test"
87
88 src_prepare() {
89 # Adds AM_GPGME_PATH call which requires app-crypt/gpgme to be
90 # DEPENDed on unconditionally:
91 epatch "${FILESDIR}"/${PN}-4.0.0-gpgme.patch
92
93 # Remove a line that adds -Werror in ./configure when --enable-debug
94 # is passed:
95 sed -i -e '/-Werror/d' configure.ac || die "-Werror"
96
97 # autopoint is unwilling to replace m4/gettext.m4 with the correct
98 # version even though it'll gladly replace */po/Makefile.in.in,
99 # creating an inconsistency between gettext m4 macros and
100 # Makefile.in.in. Also, AM_MKINSTALLDIRS apparently doesn't exist
101 # anymore, so we need newer gettext macros. #420469
102 rm m4/gettext.m4 || die
103 sed -i -e '/AM_GNU_GETTEXT_VERSION/s/0\.13\.1/0.18.1/' configure.ac || die
104
105 eautoreconf
106 }
107
108 src_configure() {
109 local myeconfargs=(
110 --localstatedir=/var
111 --disable-git-version
112 --with-openssl
113 # Help protect user from shooting his/her Gentoo installation in
114 # its foot.
115 --with-root-dir="${EPREFIX}"/var/chroot/archlinux
116 $(use_enable debug)
117 $(use_enable doc)
118 $(use_enable doc doxygen)
119 $(use_with curl libcurl)
120 $(use_with gpg gpgme)
121 )
122 autotools-utils_src_configure
123 }
124
125 src_install() {
126 autotools-utils_src_install
127
128 dodir /etc/pacman.d
129 newbashcomp "${AUTOTOOLS_BUILD_DIR}"/contrib/bash_completion pacman
130 }
131
132 pkg_postinst() {
133 einfo "Please see http://ohnopub.net/~ohnobinki/gentoo/arch/ for information"
134 einfo "about setting up an archlinux chroot."
135 }