mgorny      15/08/07 11:19:59

  Modified:             paludis-2.4.0.ebuild ChangeLog
  Added:                paludis-9999.ebuild
  Log:
  Add a live ebuild, remove unnecessary inherit from -2.4.0.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.2                  sys-apps/paludis/paludis-2.4.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/paludis-2.4.0.ebuild?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/paludis-2.4.0.ebuild?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/paludis-2.4.0.ebuild?r1=1.1&r2=1.2

Index: paludis-2.4.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-2.4.0.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- paludis-2.4.0.ebuild        4 Apr 2015 17:54:43 -0000       1.1
+++ paludis-2.4.0.ebuild        7 Aug 2015 11:19:59 -0000       1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-2.4.0.ebuild,v 1.1 
2015/04/04 17:54:43 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-2.4.0.ebuild,v 1.2 
2015/08/07 11:19:59 mgorny Exp $
 
 EAPI=5
 
@@ -8,7 +8,7 @@
 # matching profile defaults for now
 RUBY_VER=2.0
 
-inherit autotools bash-completion-r1 eutils python-single-r1 user
+inherit bash-completion-r1 eutils python-single-r1 user
 
 DESCRIPTION="paludis, the other package mangler"
 HOMEPAGE="http://paludis.exherbo.org/";



1.257                sys-apps/paludis/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.257&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.257&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?r1=1.256&r2=1.257

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v
retrieving revision 1.256
retrieving revision 1.257
diff -u -r1.256 -r1.257
--- ChangeLog   21 Jul 2015 21:25:11 -0000      1.256
+++ ChangeLog   7 Aug 2015 11:19:59 -0000       1.257
@@ -1,6 +1,12 @@
 # ChangeLog for sys-apps/paludis
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.256 
2015/07/21 21:25:11 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.257 
2015/08/07 11:19:59 mgorny Exp $
+
+*paludis-9999 (07 Aug 2015)
+
+  07 Aug 2015; Michał Górny <[email protected]> +paludis-9999.ebuild,
+  paludis-2.4.0.ebuild:
+  Add a live ebuild, remove unnecessary inherit from -2.4.0.
 
   21 Jul 2015; Manuel Rüger <[email protected]> metadata.xml:
   Drop unused metadata useflag descriptions.



1.1                  sys-apps/paludis/paludis-9999.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/paludis-9999.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/paludis-9999.ebuild?rev=1.1&content-type=text/plain

Index: paludis-9999.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-9999.ebuild,v 1.1 
2015/08/07 11:19:59 mgorny Exp $

EAPI=5

EGIT_REPO_URI='git://git.exherbo.org/paludis/paludis.git'
PYTHON_COMPAT=( python2_7 )
# matching profile defaults for now
RUBY_VER=2.0

inherit autotools bash-completion-r1 eutils git-r3 python-single-r1 user

DESCRIPTION="paludis, the other package mangler"
HOMEPAGE="http://paludis.exherbo.org/";
SRC_URI=""

IUSE="doc pbins pink python ruby search-index test xml"
LICENSE="GPL-2 vim"
SLOT="0"
KEYWORDS=""

COMMON_DEPEND="
        >=app-admin/eselect-1.2.13
        >=app-shells/bash-3.2
        dev-libs/libpcre[cxx]
        sys-apps/file
        pbins? ( >=app-arch/libarchive-3.1.2 )
        python? (
                ${PYTHON_DEPS}
                >=dev-libs/boost-1.41.0[python,${PYTHON_USEDEP}] )
        ruby? ( dev-lang/ruby:${RUBY_VER} )
        search-index? ( >=dev-db/sqlite-3 )
        xml? ( >=dev-libs/libxml2-2.6 )"

DEPEND="${COMMON_DEPEND}
        >=app-text/asciidoc-8.6.3
        app-text/htmltidy
        app-text/xmlto
        >=sys-devel/gcc-4.7
        doc? (
                || (
                        >=app-doc/doxygen-1.5.3
                        <=app-doc/doxygen-1.5.1 )
                python? (
                dev-python/sphinx[${PYTHON_USEDEP}] )
                ruby? ( dev-ruby/syntax[ruby_targets_ruby${RUBY_VER/./}] )
        )
        virtual/pkgconfig
        test? ( >=dev-cpp/gtest-1.6.0-r1 )"

RDEPEND="${COMMON_DEPEND}
        sys-apps/sandbox"

PDEPEND="app-eselect/eselect-package-manager"

REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"

pkg_pretend() {
        if [[ ${MERGE_TYPE} != buildonly ]]; then
                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
        fi

        if [[ ${MERGE_TYPE} != binary ]]; then
                if [[ $(gcc-major-version) -lt 4
                        || ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) 
-lt 7 ) ]]
                then
                        eerror "Paludis requires at least gcc 4.7 to build. 
Please switch the active"
                        eerror "gcc version using gcc-config."
                        die "Paludis requires at least gcc 4.7"
                fi
        fi
}

pkg_setup() {
        enewgroup "paludisbuild"
        enewuser "paludisbuild" -1 -1 "/var/tmp/paludis" "paludisbuild,tty"

        use python && python-single-r1_pkg_setup
}

src_prepare() {
        # Fix the script shebang on Ruby scripts.
        # https://bugs.gentoo.org/show_bug.cgi?id=439372#c2
        sed -i -e "1s/ruby/&${RUBY_VER/./}/" ruby/demos/*.rb || die

        ./autotools_prepare.bash || die
        eautoreconf
        epatch_user
}

src_configure() {
        local myconf=(
                --htmldir=/usr/share/doc/${PF}/html

                $(use_enable doc doxygen)
                $(use_enable test gtest)
                $(use_enable pbins)
                $(use_enable pink)
                $(use_enable python)
                $(use python && use_enable doc python-doc)
                $(use_enable ruby)
                $(use ruby && use_enable doc ruby-doc)
                --with-ruby-version="${RUBY_VER}"
                $(use_enable search-index)
                $(use_enable xml)

                --enable-vim
                --with-config-framework=eselect
                --with-environments=default,portage
                --with-vim-install-dir=/usr/share/vim/vimfiles
        )

        econf "${myconf[@]}"
}

src_install() {
        default
        prune_libtool_files

        dobashcomp bash-completion/cave

        insinto /usr/share/zsh/site-functions
        doins zsh-completion/_cave
}

src_test() {
        # Work around Portage bugs
        local -x PALUDIS_DO_NOTHING_SANDBOXY="portage sucks"
        local -x BASH_ENV=/dev/null

        if [[ ${EUID} == 0 ]] ; then
                # hate
                local -x PALUDIS_REDUCED_UID=0
                local -x PALUDIS_REDUCED_GID=0
        fi

        if ! nonfatal emake -k 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() {
        local pm
        if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then
                pm=$( source "${ROOT}"/etc/env.d/50package-manager ; echo 
"${PACKAGE_MANAGER}" )
        fi

        if [[ ${pm} != 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
}




Reply via email to