diff options
author | Robert Piasek <dagger@gentoo.org> | 2011-06-23 09:18:26 +0000 |
---|---|---|
committer | Robert Piasek <dagger@gentoo.org> | 2011-06-23 09:18:26 +0000 |
commit | 5f6160e5d0fbaaf1659ce85cb958b3eb6e104879 (patch) | |
tree | 9ddbfdae3a750a5e9c77ac5fe23bd0ea833824fb /sys-apps/paludis | |
parent | [bump] dev-perl/Sys-SigAction-0.130.0 (diff) | |
download | historical-5f6160e5d0fbaaf1659ce85cb958b3eb6e104879.tar.gz historical-5f6160e5d0fbaaf1659ce85cb958b3eb6e104879.tar.bz2 historical-5f6160e5d0fbaaf1659ce85cb958b3eb6e104879.zip |
add 0.64.1
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/paludis')
-rw-r--r-- | sys-apps/paludis/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/paludis/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/paludis/paludis-0.64.1.ebuild | 169 |
3 files changed, 178 insertions, 2 deletions
diff --git a/sys-apps/paludis/ChangeLog b/sys-apps/paludis/ChangeLog index 7bf687bca1f5..7427d02c3126 100644 --- a/sys-apps/paludis/ChangeLog +++ b/sys-apps/paludis/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/paludis # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.203 2011/06/20 17:04:02 dagger Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.204 2011/06/23 09:18:26 dagger Exp $ + +*paludis-0.64.1 (23 Jun 2011) + + 23 Jun 2011; Robert Piasek <dagger@gentoo.org> +paludis-0.64.1.ebuild: + Add version 0.64.1 *paludis-0.64.0 (20 Jun 2011) *paludis-0.62.2 (20 Jun 2011) diff --git a/sys-apps/paludis/Manifest b/sys-apps/paludis/Manifest index 1a61c50423ce..527c847d5e63 100644 --- a/sys-apps/paludis/Manifest +++ b/sys-apps/paludis/Manifest @@ -3,9 +3,11 @@ DIST paludis-0.58.5.tar.bz2 1926008 RMD160 2cc625f4109325c031983582f8a8fcc8fbe46 DIST paludis-0.60.4.tar.bz2 1712726 RMD160 957b7450ce76a939749c3f89ab983628a7330d27 SHA1 6bdd017aed118bad864e9f1b3da6ef4ef84461cb SHA256 abdc4dc1e104f9ea85c34cee682a55c9c30cbac137c274bec4b9e70798e6fd62 DIST paludis-0.62.2.tar.bz2 1699883 RMD160 65b101ba613040489f8ead8ed715fad6119fdce0 SHA1 f3dbc006644642775eb2351dccdfd93936f35566 SHA256 67bae916536a270202602dc9c4626383926afb32480bc309a23715f32849d60c DIST paludis-0.64.0.tar.bz2 1674487 RMD160 121da8e3b5e005850929eaf789cef39040ff3106 SHA1 196b9e3de58ea535e62d7b7a6e3a41ca07cc53fc SHA256 49452790fee5cb19301099a4aece69af4f853c5a46218bb7f069dfa165856c17 +DIST paludis-0.64.1.tar.bz2 1675417 RMD160 0aaf51a3f922d10c19b5e69c9205024c0855cd2d SHA1 370b55b2abe43e9cee0d80bb8064766788f50630 SHA256 983c81c878ca673aa5d11d60b3fb9c04c594e10bf80d48ef8d5f230321f8b0e8 EBUILD paludis-0.58.5.ebuild 5460 RMD160 240de2c7600deadc1b15754f5a3516495617e71c SHA1 dd1a4339f1f96c3d711ecfbf889f70c8cede7986 SHA256 88b62a260f60ec30c599e4496e439ec14c46e25de9f4ee11d9a9bbf24e816af3 EBUILD paludis-0.60.4.ebuild 5256 RMD160 81c544839dd21f394d6a2162d8e48442c8ccbaac SHA1 d493412027c72222ac04a4567961f198c3ec74f5 SHA256 0434f2d6560fa05c57a072ec768209ae20260da358b33b3e92029f24734ba1a1 EBUILD paludis-0.62.2.ebuild 5507 RMD160 a015101242d65c83331a97b173d99eba7264742e SHA1 b5c79c29d87a197ffa10c7408a1197cc233f5014 SHA256 aa7d8831a9deede5d3f14f29c140a4943648fb2a4fba6679c042a48bdff0961f EBUILD paludis-0.64.0.ebuild 5261 RMD160 a7b05ae0035fe0cd87edfe4b2684f0fd9328d13e SHA1 296e40ec160d867c0c6a088a07337dd226524316 SHA256 dff04d897d5eed4922c6866e55af6a1577ab0c4ffd7f081ba799acc78ab63592 -MISC ChangeLog 31845 RMD160 6fc4447d4d2cb6be9a618259dbf7dc0c9375ed0f SHA1 a7e6ac52cd6fd1cb86d16dd52016d00c8b38a8e3 SHA256 9a647cb871e8b959c91e4c02311c4d4627e900a0f4b101791c7fc25ed8eb377a +EBUILD paludis-0.64.1.ebuild 5261 RMD160 8b6502ca9b6ea2342d47c8f13685bfbd0795e76e SHA1 debf5541d29bbd660ee48db2558115796ee07934 SHA256 3445dc78f34f22f08ea09d35ec3630d0f46062ce93afbebbb0bfc43b2bb886bd +MISC ChangeLog 31971 RMD160 f6cc3fc64d8344710cdfc23fe76206b146dd358b SHA1 4f819bf1e130ac72ce674555cb7e2b3348dbca1d SHA256 b7acf8f4c9be917187041ade1e3cd3e36e45de9cb80a062054017bde6a317263 MISC metadata.xml 1168 RMD160 e65adb9fee1df5263927246494efe66073f395c5 SHA1 1ae5b8e6d3c840d201e1e4409e0daa4aeafa11f9 SHA256 45ddf8aaddd60c81b4f4116643923b35ce51cff812833ddf0d417ca85dc8c08e diff --git a/sys-apps/paludis/paludis-0.64.1.ebuild b/sys-apps/paludis/paludis-0.64.1.ebuild new file mode 100644 index 000000000000..3dbd63af1c5a --- /dev/null +++ b/sys-apps/paludis/paludis-0.64.1.ebuild @@ -0,0 +1,169 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-0.64.1.ebuild,v 1.1 2011/06/23 09:18:26 dagger Exp $ + +inherit bash-completion eutils + +DESCRIPTION="paludis, the other package mangler" +HOMEPAGE="http://paludis.pioto.org/" +SRC_URI="http://paludis.pioto.org/download/${P}.tar.bz2" + +IUSE="doc pbins portage pink prebuilt-documentation python-bindings ruby-bindings search-index vim-syntax visibility xml zsh-completion" +LICENSE="GPL-2 vim-syntax? ( vim )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +COMMON_DEPEND=" + >=app-admin/eselect-1.2.13 + >=app-shells/bash-3.2 + >=sys-devel/gcc-4.4 + dev-libs/libpcre + sys-apps/file + pbins? ( >=app-arch/libarchive-2.8.4 ) + python-bindings? ( >=dev-lang/python-2.6 >=dev-libs/boost-1.41.0 ) + ruby-bindings? ( >=dev-lang/ruby-1.8 ) + xml? ( >=dev-libs/libxml2-2.6 ) + search-index? ( >=dev-db/sqlite-3 )" + +DEPEND="${COMMON_DEPEND} + !prebuilt-documentation? ( + >=app-text/asciidoc-8.6.3 + app-text/xmlto + ) + doc? ( + || ( >=app-doc/doxygen-1.5.3 <=app-doc/doxygen-1.5.1 ) + media-gfx/imagemagick + python-bindings? ( dev-python/epydoc dev-python/pygments ) + ruby-bindings? ( dev-ruby/syntax dev-ruby/allison ) + ) + dev-util/pkgconfig + dev-util/gtest" + +RDEPEND="${COMMON_DEPEND} + sys-apps/sandbox" + +# Keep syntax as a PDEPEND. It avoids issues when Paludis is used as the +# default virtual/portage provider. +PDEPEND=" + vim-syntax? ( >=app-editors/vim-core-7 ) + app-admin/eselect-package-manager" + +create-paludis-user() { + enewgroup "paludisbuild" + enewuser "paludisbuild" -1 -1 "/var/tmp/paludis" "paludisbuild,tty" +} + +pkg_setup() { + if ! built_with_use dev-libs/libpcre cxx ; then + eerror "Paludis needs dev-libs/libpcre built with C++ support" + eerror "Please build dev-libs/libpcre with USE=cxx support" + die "Rebuild dev-libs/libpcre with USE=cxx" + fi + + if ! built_with_use dev-util/gtest threads ; then + eerror "Paludis needs dev-util/gtest built with threads support" + eerror "Please build dev-util/gtest with USE=threads support" + die "Rebuild dev-util/gtest with USE threads" + fi + + if use python-bindings && \ + ! built_with_use --missing true dev-libs/boost python; then + eerror "With USE python-bindings you need boost build with the python" + eerror "use flag." + die "Rebuild dev-libs/boost with USE python" + fi + + if use pbins && \ + built_with_use app-arch/libarchive xattr; then + eerror "With USE pbins you need libarchive build without the xattr" + eerror "use flag." + die "Rebuild app-arch/libarchive without USE xattr" + fi + + if id paludisbuild >/dev/null 2>/dev/null ; then + if ! groups paludisbuild | grep --quiet '\<tty\>' ; then + eerror "The 'paludisbuild' user is now expected to be a member of the" + eerror "'tty' group. You should add the user to this group before" + eerror "upgrading Paludis." + die "Please add paludisbuild to tty group" + fi + fi + + create-paludis-user + + # 'paludis' tries to exec() itself after an upgrade + if [[ "${PKGMANAGER}" == paludis-0.[012345]* ]] && [[ -z "${CAVE}" ]] ; then + eerror "The 'paludis' client has been removed in Paludis 0.60. You must use" + eerror "'cave' to upgrade." + die "Can't use 'paludis' to upgrade Paludis" + fi +} + +src_compile() { + local repositories=`echo default unavailable unpackaged | tr -s \ ,` + local environments=`echo default $(usev portage ) | tr -s \ ,` + econf \ + $(use_enable doc doxygen ) \ + $(use_enable pbins ) \ + $(use_enable pink ) \ + $(use_enable ruby-bindings ruby ) \ + $(useq ruby-bindings && useq doc && echo --enable-ruby-doc ) \ + $(use_enable prebuilt-documentation ) \ + $(use_enable python-bindings python ) \ + $(useq python-bindings && useq doc && echo --enable-python-doc ) \ + $(use_enable vim-syntax vim ) \ + $(use_enable visibility ) \ + $(use_enable xml ) \ + $(use_enable search-index ) \ + --with-vim-install-dir=/usr/share/vim/vimfiles \ + --with-repositories=${repositories} \ + --with-environments=${environments} \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS README NEWS + + BASHCOMPLETION_NAME="cave" dobashcompletion bash-completion/cave + + if use zsh-completion ; then + insinto /usr/share/zsh/site-functions + doins zsh-completion/_cave + fi +} + +src_test() { + # Work around Portage bugs + export PALUDIS_DO_NOTHING_SANDBOXY="portage sucks" + export BASH_ENV=/dev/null + + if [[ `id -u` == 0 ]] ; then + # hate + export PALUDIS_REDUCED_UID=0 + export PALUDIS_REDUCED_GID=0 + fi + + if ! emake check ; then + eerror "Tests failed. Looking for files for you to add to your bug report..." + find "${S}" -type f -name '*.epicfail' -or -name '*.log' | while read a ; do + eerror " $a" + done + die "Make check failed" + fi +} + +pkg_postinst() { + pm_is_paludis=false + if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then + pm_is_paludis=$( source ${ROOT}/etc/env.d/50package-manager ; [[ ${PACKAGE_MANAGER} == paludis ]] && echo true || echo false ) + fi + + if ! $pm_is_paludis ; then + elog "If you are using paludis or cave as your primary package manager," + elog "you should consider running:" + elog " eselect package-manager set paludis" + fi +} |