Gentoo Archives: gentoo-commits

From: "Piotr Jaroszynski (peper)" <peper@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/paludis: ChangeLog paludis-0.26.0_alpha4.ebuild
Date: Mon, 19 Nov 2007 21:41:42
Message-Id: E1IuE1n-0002aR-6A@stork.gentoo.org
1 peper 07/11/19 21:19:35
2
3 Modified: ChangeLog
4 Added: paludis-0.26.0_alpha4.ebuild
5 Log:
6 Add 0.26.0_alpha4.
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.71 sys-apps/paludis/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.71&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.71&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/ChangeLog?r1=1.70&r2=1.71
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v
19 retrieving revision 1.70
20 retrieving revision 1.71
21 diff -u -r1.70 -r1.71
22 --- ChangeLog 8 Nov 2007 23:07:44 -0000 1.70
23 +++ ChangeLog 19 Nov 2007 21:19:34 -0000 1.71
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-apps/paludis
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.70 2007/11/08 23:07:44 ferdy Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.71 2007/11/19 21:19:34 peper Exp $
29 +
30 +*paludis-0.26.0_alpha4 (17 Nov 2007)
31 +
32 + 17 Nov 2007; Piotr JaroszyƄski <peper@g.o>
33 + +paludis-0.26.0_alpha4.ebuild:
34 + Add 0.26.0_alpha4.
35
36 08 Nov 2007; Fernando J. Pereda <ferdy@g.o>
37 paludis-0.26.0_alpha3.ebuild:
38
39
40
41 1.1 sys-apps/paludis/paludis-0.26.0_alpha4.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/paludis-0.26.0_alpha4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/paludis-0.26.0_alpha4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: paludis-0.26.0_alpha4.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-0.26.0_alpha4.ebuild,v 1.1 2007/11/19 21:19:34 peper Exp $
51
52 inherit bash-completion eutils flag-o-matic
53
54 DESCRIPTION="paludis, the other package mangler"
55 HOMEPAGE="http://paludis.pioto.org/"
56 SRC_URI="http://paludis.pioto.org/download/${P}.tar.bz2"
57
58 IUSE="doc glsa inquisitio portage pink python qa ruby vim-syntax zsh-completion visibility"
59 LICENSE="GPL-2 vim-syntax? ( vim )"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
62
63 COMMON_DEPEND="
64 >=app-admin/eselect-1.0.2
65 app-admin/eselect-news
66 >=app-shells/bash-3
67 qa? ( dev-libs/pcre++ >=dev-libs/libxml2-2.6 app-crypt/gnupg )
68 inquisitio? ( dev-libs/pcre++ )
69 glsa? ( >=dev-libs/libxml2-2.6 )
70 ruby? ( >=dev-lang/ruby-1.8 )
71 python? ( >=dev-lang/python-2.4 >=dev-libs/boost-1.33.1-r1 )
72 virtual/c++-tr1-functional
73 virtual/c++-tr1-memory
74 virtual/c++-tr1-type-traits"
75
76 DEPEND="${COMMON_DEPEND}
77 doc? (
78 || ( >=app-doc/doxygen-1.5.3 <=app-doc/doxygen-1.5.1 )
79 media-gfx/imagemagick
80 )
81 python? ( dev-python/epydoc dev-python/pygments )
82 ruby? ( dev-ruby/syntax )"
83
84 RDEPEND="${COMMON_DEPEND}
85 net-misc/wget
86 net-misc/rsync
87 sys-apps/sandbox"
88
89 # Keep this as a PDEPEND. It avoids issues when Paludis is used as the
90 # default virtual/portage provider.
91 PDEPEND="
92 vim-syntax? ( >=app-editors/vim-core-7 )"
93
94 PROVIDE="virtual/portage"
95
96 pkg_setup() {
97 replace-flags -Os -O2
98 replace-flags -O3 -O2
99
100 enewgroup "paludisbuild"
101 enewuser "paludisbuild" "-1" "-1" "/var/tmp/paludis" "paludisbuild"
102
103 FIXED_MAKEOPTS=""
104 m=$(free -m | sed -n -e '/cache:/s,^[^[:digit:]]\+[[:digit:]]\+[^[:digit:]]\+\([[:digit:]]\+\).*,\1,p')
105 j=$(echo "$MAKEOPTS" | sed -n -e 's,.*-j\([[:digit:]]\+\).*,\1,p' )
106 if [[ -n "${m}" ]] && [[ -n "${j}" ]] && (( ${j} > 1 )); then
107 if (( m < j * 512 )) ; then
108 FIXED_MAKEOPTS="-j$(( m / 512 ))"
109 [[ ${FIXED_MAKEOPTS} == "-j0" ]] && FIXED_MAKEOPTS="-j1"
110 ewarn "Your MAKEOPTS -j is too high. To stop the kernel from throwing a hissy fit"
111 ewarn "when g++ eats all your RAM, we'll use ${FIXED_MAKEOPTS} instead."
112 fi
113 fi
114 }
115
116 src_compile() {
117 local repositories=`echo default unpackaged $(usev cran ) | tr -s \ ,`
118 local clients=`echo default accerso adjutrix contrarius importare \
119 $(usev inquisitio ) instruo paludis reconcilio | tr -s \ ,`
120 local environments=`echo default $(usev portage ) | tr -s \ ,`
121 econf \
122 $(use_enable doc doxygen ) \
123 $(use_enable pink ) \
124 $(use_enable qa ) \
125 $(use_enable ruby ) \
126 $(use_enable python ) \
127 $(use_enable glsa ) \
128 $(use_enable vim-syntax vim ) \
129 $(use_enable visibility ) \
130 --with-vim-install-dir=/usr/share/vim/vimfiles \
131 --enable-sandbox \
132 --with-repositories=${repositories} \
133 --with-clients=${clients} \
134 --with-environments=${environments} \
135 || die "econf failed"
136
137 emake || die "emake failed"
138 }
139
140 src_install() {
141 emake DESTDIR="${D}" install || die "install failed"
142 dodoc AUTHORS README ChangeLog NEWS
143
144 BASH_COMPLETION_NAME="adjutrix" dobashcompletion bash-completion/adjutrix
145 BASH_COMPLETION_NAME="paludis" dobashcompletion bash-completion/paludis
146 BASH_COMPLETION_NAME="accerso" dobashcompletion bash-completion/paludis
147 BASH_COMPLETION_NAME="contrarius" dobashcompletion bash-completion/paludis
148 BASH_COMPLETION_NAME="importare" dobashcompletion bash-completion/paludis
149 BASH_COMPLETION_NAME="instruo" dobashcompletion bash-completion/paludis
150 BASH_COMPLETION_NAME="reconcilio" dobashcompletion bash-completion/paludis
151 use qa && \
152 BASH_COMPLETION_NAME="qualudis" \
153 dobashcompletion bash-completion/qualudis
154 use inquisitio && \
155 BASH_COMPLETION_NAME="inquisitio" \
156 dobashcompletion bash-completion/inquisitio
157
158 if use zsh-completion ; then
159 insinto /usr/share/zsh/site-functions
160 doins zsh-completion/_paludis
161 doins zsh-completion/_adjutrix
162 doins zsh-completion/_paludis_packages
163 fi
164 }
165
166 src_test() {
167 # Work around Portage bugs
168 export PALUDIS_DO_NOTHING_SANDBOXY="portage sucks"
169 export BASH_ENV=/dev/null
170
171 emake check || die "Make check failed"
172 }
173
174
175
176 --
177 gentoo-commits@g.o mailing list