dilfridge    14/10/25 22:08:39

  Modified:             ChangeLog
  Added:                clearsilver-0.10.5-r2.ebuild
  Removed:              clearsilver-0.10.5-r1.ebuild
  Log:
  EAPI bump; add slot operator on Perl dependency
  
  (Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --force, signed 
Manifest commit with key EBE6A336BE19039C!)

Revision  Changes    Path
1.46                 dev-libs/clearsilver/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/clearsilver/ChangeLog?rev=1.46&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/clearsilver/ChangeLog?rev=1.46&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/clearsilver/ChangeLog?r1=1.45&r2=1.46

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/clearsilver/ChangeLog,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- ChangeLog   10 Aug 2014 20:32:57 -0000      1.45
+++ ChangeLog   25 Oct 2014 22:08:39 -0000      1.46
@@ -1,6 +1,12 @@
 # ChangeLog for dev-libs/clearsilver
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/clearsilver/ChangeLog,v 1.45 
2014/08/10 20:32:57 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/clearsilver/ChangeLog,v 1.46 
2014/10/25 22:08:39 dilfridge Exp $
+
+*clearsilver-0.10.5-r2 (25 Oct 2014)
+
+  25 Oct 2014; Andreas K. Huettel <dilfri...@gentoo.org>
+  +clearsilver-0.10.5-r2.ebuild, -clearsilver-0.10.5-r1.ebuild:
+  EAPI bump; add slot operator on Perl dependency
 
   10 Aug 2014; Sergei Trofimovich <sly...@gentoo.org>
   clearsilver-0.10.5-r1.ebuild:



1.1                  dev-libs/clearsilver/clearsilver-0.10.5-r2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/clearsilver/clearsilver-0.10.5-r2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/clearsilver/clearsilver-0.10.5-r2.ebuild?rev=1.1&content-type=text/plain

Index: clearsilver-0.10.5-r2.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-libs/clearsilver/clearsilver-0.10.5-r2.ebuild,v 1.1 
2014/10/25 22:08:39 dilfridge Exp $

# Please note: apache, java, mono and ruby support disabled for now.
# Fill a bug if you need it.
#
# d...@gentoo.org, 4th July 2005

EAPI=5
GENTOO_DEPEND_ON_PERL="no"
PYTHON_DEPEND="python? 2"

inherit autotools eutils multilib perl-app python

DESCRIPTION="Clearsilver is a fast, powerful, and language-neutral HTML 
template system"
HOMEPAGE="http://www.clearsilver.net/";
SRC_URI="http://www.clearsilver.net/downloads/${P}.tar.gz";

LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 ~sparc x86 ~x86-fbsd"
IUSE="perl python zlib"

DEPEND="perl? ( dev-lang/perl:= )
        zlib? ( sys-libs/zlib )"
RDEPEND="${DEPEND}"

DOCS=(README INSTALL)

pkg_setup() {
        if use python; then
                DOCS+=(README.python)

                python_set_active_version 2
                python_pkg_setup
        fi
}

src_prepare() {
        epatch "${FILESDIR}"/${P}-perl_installdir.patch

        use zlib && epatch "${FILESDIR}"/${P}-libz.patch

        epatch "${FILESDIR}"/${P}-libdir.patch
        sed -i -e "s:GENTOO_LIBDIR:$(get_libdir):" configure.in
        eautoreconf

        # Fix for Gentoo/Freebsd
        [[ "${ARCH}" == FreeBSD ]] && touch ${S}/features.h ${S}/cgi/features.h
}

src_configure() {
        econf \
                $(use_enable perl) \
                $(use_with perl perl /usr/bin/perl) \
                $(use_enable python) \
                $(use_with python python /usr/bin/python) \
                $(use_enable zlib compression) \
                "--disable-apache" \
                "--disable-ruby" \
                "--disable-java" \
                "--disable-csharp"
}

src_compile() {
        default
}

src_install () {
        default

        if use perl ; then
                fixlocalpod || die "fixlocalpod failed"
        fi
}




Reply via email to