diff options
author | Robert Piasek <dagger@gentoo.org> | 2011-02-03 09:15:44 +0000 |
---|---|---|
committer | Robert Piasek <dagger@gentoo.org> | 2011-02-03 09:15:44 +0000 |
commit | 1a1bc87516aff13b4586af14b9b9262ecfe547aa (patch) | |
tree | f27fb2dc4420406eb478588be1376654a15c1fc9 /sys-apps/paludis | |
parent | x86 stable per bug 336465 (diff) | |
download | historical-1a1bc87516aff13b4586af14b9b9262ecfe547aa.tar.gz historical-1a1bc87516aff13b4586af14b9b9262ecfe547aa.tar.bz2 historical-1a1bc87516aff13b4586af14b9b9262ecfe547aa.zip |
Add version 0.58.2
Package-Manager: portage-2.1.9.35/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.58.2.ebuild | 167 |
3 files changed, 176 insertions, 2 deletions
diff --git a/sys-apps/paludis/ChangeLog b/sys-apps/paludis/ChangeLog index 6027718f2b75..3e6a064d5d82 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.191 2011/01/23 20:19:49 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.192 2011/02/03 09:15:44 dagger Exp $ + +*paludis-0.58.2 (03 Feb 2011) + + 03 Feb 2011; Robert Piasek <dagger@gentoo.org> +paludis-0.58.2.ebuild: + Add version 0.58.2 *paludis-0.58.1 (23 Jan 2011) diff --git a/sys-apps/paludis/Manifest b/sys-apps/paludis/Manifest index ca59885a8637..1d243fbdf054 100644 --- a/sys-apps/paludis/Manifest +++ b/sys-apps/paludis/Manifest @@ -9,6 +9,7 @@ DIST paludis-0.56.3.tar.bz2 1935249 RMD160 f7fe22c1e7350d4e231ea0715c4a5f972edba DIST paludis-0.56.4.tar.bz2 1936233 RMD160 92df78506eb45b7721dbd9acddacf1142933bdec SHA1 ff2db13029008283541af16271bf7013d44b4c04 SHA256 9c3ce9db23d99e373699685de03ac4102f780131df8f50cbe6ca3e360ad4dcf0 DIST paludis-0.58.0.tar.bz2 1931345 RMD160 edcd97d481ac813b1a895049da26ce5e8d0b015d SHA1 4a1adf0fefa762a6d0e5f1070babee2ccfa30ce0 SHA256 d0dce2659f7c06482af409613150079a6353bd006e8f974b960d21e20aa0bc5b DIST paludis-0.58.1.tar.bz2 1934680 RMD160 48f218b0a5512432ac98a14ff548ed3fcdc20e86 SHA1 975341eb4cc99e36e67ea292e61c3259f95af09d SHA256 994b0908d87002c67bc61db9afc8e3120c0eaf7f1c14454f0c22704f71396a4a +DIST paludis-0.58.2.tar.bz2 1885453 RMD160 cc3e76eb4fe3fb76a50cf779c8374d1b76a56dbe SHA1 41f6952b54e84023dd381f27f2bd3fa85f9bc424 SHA256 5e5177de755e433568487268f1afbe3a1b08be9f9616ee2f2662694f0deb417f EBUILD paludis-0.44.2.ebuild 4445 RMD160 6e273dd1cd1b61fa4740502883c1d9d46254537c SHA1 97389b61345f2e59d5efb91290c33c26f11018a0 SHA256 2e7b4d9757dc97413956465dcd35d1eeb712a5a8933e13f05b3c20b4fa7362d5 EBUILD paludis-0.46.0.ebuild 4445 RMD160 60ae69755f813c9f6d1ef57ecfd979c45a2c7f98 SHA1 65cc099d2715bce2bce8010b77227b2d6aac0a2e SHA256 7c46072bed6275cdfcb6203050445b6624dc1c8dacff7e2c6e9c6e0ad1e9bd4c EBUILD paludis-0.48.6.ebuild 4286 RMD160 6ef10f493a89ecedf65ae4e130689931ecc7dd60 SHA1 b9d4f0b352f98a01a4e5fd4995811f21605389a4 SHA256 b857644328fc5358cd281ba52ccaf34c598555654cd60e799053a107a7ee9aa1 @@ -19,5 +20,6 @@ EBUILD paludis-0.56.3.ebuild 5486 RMD160 169ea03e9d4e025791dbe8bf9f58a141312d432 EBUILD paludis-0.56.4.ebuild 5486 RMD160 93ccabeed02d13af7b6e3351100acd724a12ff92 SHA1 f991e6f4126f95c2a2f0b671c8783e2d6903fee4 SHA256 9f27e5a53bc8090dc463edd07c2339e743dc7bcf3f6304a76ebf40410a755d5f EBUILD paludis-0.58.0.ebuild 5486 RMD160 c6d4cb3e1016076d56d5f95126be1a0fec11bae8 SHA1 a3b3547bb9654d49a83bec73869e3b078de79772 SHA256 642d92183b0f5a2f833a0bf41a670aef69e65c5d823d66cb72dc061473a02e14 EBUILD paludis-0.58.1.ebuild 5486 RMD160 edb973c8da712e3ece771558e2f8181e6674c940 SHA1 f8f8d75ce532accb74c4daa2e319d66f9f791353 SHA256 3a25541ad68a0da29ec07b5aad7ea214b23181573492401c622765b97ea9bffe -MISC ChangeLog 29796 RMD160 6cbe3bed22f37e818077d87adba3b8a2428bc023 SHA1 c289d74b508e4583421ce1a6ac34c29a8f076f76 SHA256 c2f90bc7b5ffa38c6b8402c374396243ea81299d71bce238e8662f8bd6bd8d97 +EBUILD paludis-0.58.2.ebuild 5487 RMD160 8d54016ae9f6905d8d351b53c84443d5734ae75b SHA1 3218d89d2e7d2a3e948845e79279fd73b19485f6 SHA256 242fe8c681afd2c5443071838c2fa80c0ec920a0a172d5b0846e1eb2f3705357 +MISC ChangeLog 29923 RMD160 5c1d4a2651f14df5c9e411ffc567d6db2e9ee19c SHA1 ec3e77c6384f821cb2d7f47955996d4585ec3645 SHA256 4fe60952f054ecaeb57684ed760fe1c84398d88f8722fb872d8d3b89baef3d38 MISC metadata.xml 1066 RMD160 90bcc39254c934ad11a53691be523e2d36701ad1 SHA1 d8ba0cac81a10a5e1de98cb3435094fa75012540 SHA256 797a2c1fc5b5fba3ed51e311e1d8952c35d256b16bc0800e94f37af283506728 diff --git a/sys-apps/paludis/paludis-0.58.2.ebuild b/sys-apps/paludis/paludis-0.58.2.ebuild new file mode 100644 index 000000000000..8afefa22de79 --- /dev/null +++ b/sys-apps/paludis/paludis-0.58.2.ebuild @@ -0,0 +1,167 @@ +# 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.58.2.ebuild,v 1.1 2011/02/03 09:15:44 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 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} + 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" + +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" + +PROVIDE="virtual/portage" + +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 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 +} + +src_compile() { + local repositories=`echo default unavailable unpackaged | tr -s \ ,` + local clients=`echo default accerso adjutrix appareo cave importare inquisitio instruo paludis reconcilio | 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 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="adjutrix" dobashcompletion bash-completion/adjutrix + BASHCOMPLETION_NAME="paludis" dobashcompletion bash-completion/paludis + BASHCOMPLETION_NAME="accerso" dobashcompletion bash-completion/accerso + BASHCOMPLETION_NAME="importare" dobashcompletion bash-completion/importare + BASHCOMPLETION_NAME="instruo" dobashcompletion bash-completion/instruo + BASHCOMPLETION_NAME="reconcilio" dobashcompletion bash-completion/reconcilio + BASHCOMPLETION_NAME="inquisitio" dobashcompletion bash-completion/inquisitio + BASHCOMPLETION_NAME="cave" dobashcompletion bash-completion/cave + + 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 + doins zsh-completion/_inquisitio + doins zsh-completion/_paludis_packages + 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 +} |