diff options
author | Thomas Anderson <tanderson@gentoo.org> | 2008-12-05 18:01:45 +0000 |
---|---|---|
committer | Thomas Anderson <tanderson@gentoo.org> | 2008-12-05 18:01:45 +0000 |
commit | 9e919c7d192015667f0a370bdf625def5b9ca35f (patch) | |
tree | 9b0d8070cb0500df3ef63eb303fe145df43bf19d /sys-apps/paludis | |
parent | Respect CC, bug #244084 (diff) | |
download | historical-9e919c7d192015667f0a370bdf625def5b9ca35f.tar.gz historical-9e919c7d192015667f0a370bdf625def5b9ca35f.tar.bz2 historical-9e919c7d192015667f0a370bdf625def5b9ca35f.zip |
Version bump, tests as root work now
Package-Manager: portage-2.1.6_rc1/cvs/Linux 2.6.25.9 x86_64
Diffstat (limited to 'sys-apps/paludis')
-rw-r--r-- | sys-apps/paludis/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/paludis/Manifest | 14 | ||||
-rw-r--r-- | sys-apps/paludis/paludis-0.32.2.ebuild | 142 |
3 files changed, 162 insertions, 2 deletions
diff --git a/sys-apps/paludis/ChangeLog b/sys-apps/paludis/ChangeLog index 917ecccb394a..76812a1066cc 100644 --- a/sys-apps/paludis/ChangeLog +++ b/sys-apps/paludis/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/paludis # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.112 2008/12/01 23:18:55 coldwind Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.113 2008/12/05 18:01:45 gentoofan23 Exp $ + +*paludis-0.32.2 (05 Dec 2008) + + 05 Dec 2008; Thomas Anderson <gentoofan23@gentoo.org> + +paludis-0.32.2.ebuild: + Version bump, tests as root work now *paludis-0.32.1 (01 Dec 2008) diff --git a/sys-apps/paludis/Manifest b/sys-apps/paludis/Manifest index fb3c20a08a03..168e0b74e721 100644 --- a/sys-apps/paludis/Manifest +++ b/sys-apps/paludis/Manifest @@ -1,10 +1,22 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST paludis-0.30.0.tar.bz2 1475415 RMD160 6a8f6f3b199d3ded6654781133dbaf28a544f270 SHA1 7465ec8e3c3d082815237a14b76513f211159f3d SHA256 ea9382d827041ccdaed3039c993ca2fa42a87ac3752a191caa6cba66bb84c2c8 DIST paludis-0.30.1.tar.bz2 1474847 RMD160 52248b81551503cd145c21f63d58eba9d0cf1702 SHA1 e7652ed989770137b10b928502c3687872d6364f SHA256 24af28e298e13c9e7966b6a99bfffa29e43d8ae385f24b3d432d96027f308572 DIST paludis-0.30.3.tar.bz2 1473785 RMD160 351e06fde83a78491dfd1d80a0564d5ef32b409b SHA1 094a6761b5456336ef12b68759e511fd8fd7d880 SHA256 0ea4fb86947033071c0cf469e7caa0857165172be5ebbe4d8bbe7523dbe7f75f DIST paludis-0.32.1.tar.bz2 1491870 RMD160 aef65906ec7181ac9a8c0d417a2a46a994d1b179 SHA1 6df67ad2cba96a087060d5eba112b89fd5b050bc SHA256 79f84d2e6591961180d1e8da004e546ef4f26ad37fc11dfc29997a699620f8e5 +DIST paludis-0.32.2.tar.bz2 1481259 RMD160 185a4b97023802a9056586417947fcae0262e216 SHA1 c0cb7c3e09ab82c07da7a628f41c9581d24ac0b6 SHA256 3357f53f53d27eb86fa2dd3c442d6bdfee83829fd7bd8c6f3bc0ceb6004af486 EBUILD paludis-0.30.0.ebuild 4527 RMD160 6f98d6521ac56ee2ffbc623d5a549416caebf741 SHA1 b2db988d15e4bade7bea84f45173514a90c49249 SHA256 fd1855cbe971d582040c75a800925d13511aa2e0a2ed2acf277aa283e0f3af55 EBUILD paludis-0.30.1.ebuild 4526 RMD160 c2e6fa6f0320300b0f83e2f78bcfb5b0ae87c472 SHA1 520c561ca3c58589efb5d082219f6fcbc05522cc SHA256 9cc3896e4dc7f25a8dfdcdaa64e04adbc0d830ce5edd8e18f8ca635d14528670 EBUILD paludis-0.30.3.ebuild 4727 RMD160 5de4cdfb2265e592c1cfc419ed715320a03b923f SHA1 3ae0504d7a9dd2b3099494353d0de378055cda8e SHA256 bd6cdb8d4a09f6587ead99d4d267e569f85befc48c2e6ce40bdbcab8be6d2699 EBUILD paludis-0.32.1.ebuild 4754 RMD160 3f8d0c9bb85f3ecb26aab82181f18baa8f0419f7 SHA1 cdf306852ace7e45c015fab683b21b658f02fa1e SHA256 512f47fbfc140ea203306c7e3b41ec0b5ac835d38c4f303932bf1924fbf5071a -MISC ChangeLog 17521 RMD160 eaba002d7290d26c854bc906ce84a1ffe1b818b5 SHA1 be04061ed82dc9a4cf7eda9a5463166b533ff804 SHA256 3493e4eaef92c0693c31a5116f4b80f36fdeb9671ab4a2ba1ec63c70ab657d36 +EBUILD paludis-0.32.2.ebuild 4617 RMD160 6ff5da32f649fed8cbad1d0a6cbebe39bbce97bd SHA1 3f9a990b4250b8aed095bd0d12173e71d66480c6 SHA256 365fa6b293fb50ad05456fb45216cbc3ea8f4901c55ccf97d727125416da2de2 +MISC ChangeLog 17677 RMD160 da60b93789d8243cd33ce3f77e2fc395ae55a3e3 SHA1 313d9d8b49d021552c1b8f536291f82804363278 SHA256 642c3c55597c2565460f8388abcd34cc0cb798a01339bee693538e58d26492b1 MISC metadata.xml 871 RMD160 23b0c17ee53c26a541b12319259e6a9206ff6b6b SHA1 40957dadb00ba6b2629b981467cf630beb44f777 SHA256 12cff1bbb98199bb6c4638f3c8db0b1e6861874e787b9794f4749408428407f1 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkk5bJUACgkQF6yMcaBxwHm0gACgjCERA/hNeTTgGW6RAzCAYP8M +hfkAnin7g+adRoEDcT0BTfpZ7/lTaMpG +=OcjQ +-----END PGP SIGNATURE----- diff --git a/sys-apps/paludis/paludis-0.32.2.ebuild b/sys-apps/paludis/paludis-0.32.2.ebuild new file mode 100644 index 000000000000..dfbabdc868d5 --- /dev/null +++ b/sys-apps/paludis/paludis-0.32.2.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-0.32.2.ebuild,v 1.1 2008/12/05 18:01:45 gentoofan23 Exp $ + +inherit bash-completion eutils flag-o-matic + +DESCRIPTION="paludis, the other package mangler" +HOMEPAGE="http://paludis.pioto.org/" +SRC_URI="http://paludis.pioto.org/download/${P}.tar.bz2" + +IUSE="doc inquisitio portage pink python qa ruby vim-syntax visibility xml zsh-completion" +LICENSE="GPL-2 vim-syntax? ( vim )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +COMMON_DEPEND=" + >=app-admin/eselect-1.0.2 + >=app-admin/eselect-news-20071201 + >=app-shells/bash-3 + inquisitio? ( dev-libs/pcre++ ) + python? ( >=dev-lang/python-2.4 >=dev-libs/boost-1.33.1-r1 ) + qa? ( dev-libs/pcre++ >=dev-libs/libxml2-2.6 app-crypt/gnupg ) + ruby? ( >=dev-lang/ruby-1.8 ) + xml? ( >=dev-libs/libxml2-2.6 )" + +DEPEND="${COMMON_DEPEND} + doc? ( + || ( >=app-doc/doxygen-1.5.3 <=app-doc/doxygen-1.5.1 ) + media-gfx/imagemagick + python? ( dev-python/epydoc dev-python/pygments ) + ruby? ( dev-ruby/syntax dev-ruby/allison ) + ) + dev-util/pkgconfig" + +RDEPEND="${COMMON_DEPEND} + sys-apps/sandbox" + +# Keep this as a PDEPEND. It avoids issues when Paludis is used as the +# default virtual/portage provider. +PDEPEND=" + vim-syntax? ( >=app-editors/vim-core-7 )" + +PROVIDE="virtual/portage" + +create-paludis-user() { + enewgroup "paludisbuild" + enewuser "paludisbuild" "-1" "-1" "/var/tmp/paludis" "paludisbuild" +} + +pkg_setup() { + replace-flags -Os -O2 + replace-flags -O3 -O2 + + create-paludis-user + + FIXED_MAKEOPTS="" + m=$(free -m | sed -n -e '/cache:/s,^[^[:digit:]]\+[[:digit:]]\+[^[:digit:]]\+\([[:digit:]]\+\).*,\1,p') + j=$(echo "$MAKEOPTS" | sed -n -e 's,.*-j\([[:digit:]]\+\).*,\1,p' ) + if [[ -n "${m}" ]] && [[ -n "${j}" ]] && (( ${j} > 1 )); then + if (( m < j * 512 )) ; then + FIXED_MAKEOPTS="-j$(( m / 512 ))" + [[ ${FIXED_MAKEOPTS} == "-j0" ]] && FIXED_MAKEOPTS="-j1" + ewarn "Your MAKEOPTS -j is too high. To stop the kernel from throwing a hissy fit" + ewarn "when g++ eats all your RAM, we'll use ${FIXED_MAKEOPTS} instead." + fi + fi +} + +src_compile() { + local repositories=`echo default unpackaged | tr -s \ ,` + local clients=`echo default accerso adjutrix importare \ + $(usev inquisitio ) instruo paludis reconcilio | tr -s \ ,` + local environments=`echo default $(usev portage ) | tr -s \ ,` + econf \ + $(use_enable doc doxygen ) \ + $(use_enable pink ) \ + $(use_enable qa ) \ + $(use_enable ruby ) \ + $(useq ruby && useq doc && echo --enable-ruby-doc ) \ + $(use_enable python ) \ + $(useq python && useq doc && echo --enable-python-doc ) \ + $(use_enable xml ) \ + $(use_enable vim-syntax vim ) \ + $(use_enable visibility ) \ + --with-vim-install-dir=/usr/share/vim/vimfiles \ + --enable-sandbox \ + --with-repositories=${repositories} \ + --with-clients=${clients} \ + --with-environments=${environments} \ + || die "econf failed" + + emake ${FIXED_MAKEOPTS} || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS README NEWS + + BASH_COMPLETION_NAME="adjutrix" dobashcompletion bash-completion/adjutrix + BASH_COMPLETION_NAME="paludis" dobashcompletion bash-completion/paludis + BASH_COMPLETION_NAME="accerso" dobashcompletion bash-completion/accerso + BASH_COMPLETION_NAME="importare" dobashcompletion bash-completion/importare + BASH_COMPLETION_NAME="instruo" dobashcompletion bash-completion/instruo + BASH_COMPLETION_NAME="reconcilio" dobashcompletion bash-completion/reconcilio + use qa && \ + BASH_COMPLETION_NAME="qualudis" \ + dobashcompletion bash-completion/qualudis + use inquisitio && \ + BASH_COMPLETION_NAME="inquisitio" \ + dobashcompletion bash-completion/inquisitio + + if use zsh-completion ; then + insinto /usr/share/zsh/site-functions + doins zsh-completion/_paludis + doins zsh-completion/_adjutrix + doins zsh-completion/_importare + doins zsh-completion/_reconcilio + use inquisitio && doins zsh-completion/_inquisitio + doins zsh-completion/_paludis_packages + fi +} + +src_test() { + # Work around Portage bugs + export PALUDIS_DO_NOTHING_SANDBOXY="portage sucks" + export BASH_ENV=/dev/null + + if ! emake check ; then + eerror "Tests failed. Looking for file for you to add to your bug report..." + find . -type f -name '*.epicfail' -or -name '*.log' | while read a ; do + eerror " $a" + done + die "Make check failed." + fi +} + +pkg_postinst() { + # Remove the symlink created by app-admin/eselect-news + if [[ -L "${ROOT}/var/lib/paludis/news" ]] ; then + rm "${ROOT}/var/lib/paludis/news" + fi +} |