summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Piasek <dagger@gentoo.org>2011-06-13 11:39:11 +0000
committerRobert Piasek <dagger@gentoo.org>2011-06-13 11:39:11 +0000
commit0cc98dbb33633d4635798cea7252235e28918314 (patch)
tree83e47e5695da074ccae676029f4396e1629322d3 /sys-apps
parentAdd dependency on USE=ncurses on sys-apps/util-linux, see bug 370367 by Alber... (diff)
downloadhistorical-0cc98dbb33633d4635798cea7252235e28918314.tar.gz
historical-0cc98dbb33633d4635798cea7252235e28918314.tar.bz2
historical-0cc98dbb33633d4635798cea7252235e28918314.zip
Add version 0.62.0
Package-Manager: portage-2.1.9.50/cvs/Linux x86_64
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/paludis/ChangeLog7
-rw-r--r--sys-apps/paludis/Manifest4
-rw-r--r--sys-apps/paludis/paludis-0.62.0.ebuild173
3 files changed, 182 insertions, 2 deletions
diff --git a/sys-apps/paludis/ChangeLog b/sys-apps/paludis/ChangeLog
index 1ee912e90872..cff9a5316791 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.200 2011/04/13 12:39:30 dagger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.201 2011/06/13 11:39:11 dagger Exp $
+
+*paludis-0.62.0 (13 Jun 2011)
+
+ 13 Jun 2011; Robert Piasek <dagger@gentoo.org> +paludis-0.62.0.ebuild:
+ Add version 0.62.0
13 Apr 2011; Robert Piasek <dagger@gentoo.org> paludis-0.58.5.ebuild,
paludis-0.60.1.ebuild, paludis-0.60.3.ebuild, paludis-0.60.4.ebuild,
diff --git a/sys-apps/paludis/Manifest b/sys-apps/paludis/Manifest
index f925a9590201..78a2e719e676 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.1.tar.bz2 1712035 RMD160 0483fcf518c5526dc62f91264e1c5d5444f11e31 SHA1 27222f1ce242c4c6b83caa8ac4ebdb21f638b7dc SHA256 7bbff86dafcb2f85a48132f43a87d7964994b1b753c58b1db4412bd0a4f2ed0a
DIST paludis-0.60.3.tar.bz2 1712642 RMD160 14256b15a21d2144c4185d4f2bdcecc07e29dc07 SHA1 424f55590051fa05de5ed06933aae1ef4f157147 SHA256 76d3a747db83e68e4c417b0421ec7b5d6f94b7fd2efe4e4f6bad291970ac9844
DIST paludis-0.60.4.tar.bz2 1712726 RMD160 957b7450ce76a939749c3f89ab983628a7330d27 SHA1 6bdd017aed118bad864e9f1b3da6ef4ef84461cb SHA256 abdc4dc1e104f9ea85c34cee682a55c9c30cbac137c274bec4b9e70798e6fd62
+DIST paludis-0.62.0.tar.bz2 1698206 RMD160 4b5fb03f8a83be8881b731b2a9fa2c9a3f8d6ca1 SHA1 b7361ec2f5cb074a788c4a21f20905d026fbfad3 SHA256 aaad06570823065012deacbc1d6159c2e6914732d794aaa8f4b9fdef1eefb26c
EBUILD paludis-0.58.5.ebuild 5460 RMD160 240de2c7600deadc1b15754f5a3516495617e71c SHA1 dd1a4339f1f96c3d711ecfbf889f70c8cede7986 SHA256 88b62a260f60ec30c599e4496e439ec14c46e25de9f4ee11d9a9bbf24e816af3
EBUILD paludis-0.60.1.ebuild 5158 RMD160 568aff9d1de6c1e585745d4a1b6fca7514fe5f17 SHA1 90b4cb7843f322f82bc5591d9a7d7e6fac55f6f3 SHA256 9eba2e6512c37380c06d8e326492fc5178758ee3ff92451ea2e8c2defd208256
EBUILD paludis-0.60.3.ebuild 5256 RMD160 b6b4097b60c60d92d6890c894d3a2ae85523db0f SHA1 30e18ff033b56166a5d27582fea02bf933e7cc70 SHA256 5254d52f89792f1b99405ebf9d5a06bf14422117597eaa67386db79f71bf5a31
EBUILD paludis-0.60.4.ebuild 5256 RMD160 81c544839dd21f394d6a2162d8e48442c8ccbaac SHA1 d493412027c72222ac04a4567961f198c3ec74f5 SHA256 0434f2d6560fa05c57a072ec768209ae20260da358b33b3e92029f24734ba1a1
-MISC ChangeLog 31302 RMD160 c37d268ec2f70909fd089b1d4929ff219c0acc61 SHA1 5eb2a5562b50815575790faf1c3988553c76844e SHA256 ba64d9019e2a8e88b6515c66e0452be6a919558762b26a823aaee72a9d655b5b
+EBUILD paludis-0.62.0.ebuild 5507 RMD160 01b6cde5a06a08f9e4cd2d0338d095ed72aa9cef SHA1 41d7dd08fc6a3e64c4401e4731016581cd8bcfe8 SHA256 76722017db5ecef0f087777e08e62928d945751a62c18739302ebdadef85e4c0
+MISC ChangeLog 31428 RMD160 5b2b7a3a31783e8e0c549d9e16ab3ebcca8e4e11 SHA1 9c7db346efe2af615dade3c5d8af54ee6805e1a1 SHA256 2d0bd57d71bfb4843c8bc63c522410a095d8b0d5a9b610fcbbcbd631aa5d8495
MISC metadata.xml 1168 RMD160 e65adb9fee1df5263927246494efe66073f395c5 SHA1 1ae5b8e6d3c840d201e1e4409e0daa4aeafa11f9 SHA256 45ddf8aaddd60c81b4f4116643923b35ce51cff812833ddf0d417ca85dc8c08e
diff --git a/sys-apps/paludis/paludis-0.62.0.ebuild b/sys-apps/paludis/paludis-0.62.0.ebuild
new file mode 100644
index 000000000000..b8053cbf802e
--- /dev/null
+++ b/sys-apps/paludis/paludis-0.62.0.ebuild
@@ -0,0 +1,173 @@
+# 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.62.0.ebuild,v 1.1 2011/06/13 11:39:11 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 clients=`echo default accerso appareo cave instruo | 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-clients=${clients} \
+ --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="accerso" dobashcompletion bash-completion/accerso
+ BASHCOMPLETION_NAME="instruo" dobashcompletion bash-completion/instruo
+ 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
+}