mgorny      14/12/25 15:28:46

  Modified:             ChangeLog
  Added:                bam-0.4.0-r1.ebuild
  Log:
  Convert to python-any-r1.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.10                 dev-util/bam/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/bam/ChangeLog?rev=1.10&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/bam/ChangeLog?rev=1.10&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/bam/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/bam/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog   22 Jul 2012 17:32:58 -0000      1.9
+++ ChangeLog   25 Dec 2014 15:28:46 -0000      1.10
@@ -1,6 +1,11 @@
 # ChangeLog for dev-util/bam
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bam/ChangeLog,v 1.9 2012/07/22 
17:32:58 pacho Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bam/ChangeLog,v 1.10 2014/12/25 
15:28:46 mgorny Exp $
+
+*bam-0.4.0-r1 (25 Dec 2014)
+
+  25 Dec 2014; Michał Górny <mgo...@gentoo.org> +bam-0.4.0-r1.ebuild:
+  Convert to python-any-r1.
 
   22 Jul 2012; Pacho Ramos <pa...@gentoo.org> bam-0.4.0.ebuild,
   files/0.4.0/Makefile:



1.1                  dev-util/bam/bam-0.4.0-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/bam/bam-0.4.0-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/bam/bam-0.4.0-r1.ebuild?rev=1.1&content-type=text/plain

Index: bam-0.4.0-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/bam/bam-0.4.0-r1.ebuild,v 1.1 
2014/12/25 15:28:46 mgorny Exp $

EAPI=5

PYTHON_COMPAT=( python2_7 )

inherit eutils python-any-r1 toolchain-funcs

DESCRIPTION="Fast and flexible Lua-based build system"
HOMEPAGE="http://matricks.github.com/bam/";
SRC_URI="http://github.com/downloads/matricks/${PN}/${P}.tar.bz2";

LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"

RDEPEND="dev-lang/lua:="
DEPEND="${RDEPEND}
        doc? ( ${PYTHON_DEPS} )
        test? ( ${PYTHON_DEPS} )"

pkg_setup() {
        if use doc || use test; then
                python-any-r1_pkg_setup
        fi
}

src_prepare() {
        cp "${FILESDIR}"/${PV}/Makefile "${S}"/Makefile || die "cp failed"
        epatch "${FILESDIR}"/${PV}/${P}-test.py.patch
        tc-export CC
}

src_compile() {
        emake ${PN}
        if use doc; then
                "${PYTHON}" scripts/gendocs.py || die "doc generation failed"
        fi
}

src_install() {
        dobin ${PN}
        if use doc; then
                dohtml docs/${PN}{.html,_logo.png}
        fi
}




Reply via email to