summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-02-22 01:20:38 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-02-22 01:20:38 +0000
commit875a2e8619707b6577a129a98c699f88ad72b0f0 (patch)
treea274111cfabedcef7b58d7cd7ef50742dfcba193 /dev-python/mako
parentVersion bump (diff)
downloadhistorical-875a2e8619707b6577a129a98c699f88ad72b0f0.tar.gz
historical-875a2e8619707b6577a129a98c699f88ad72b0f0.tar.bz2
historical-875a2e8619707b6577a129a98c699f88ad72b0f0.zip
Version bump.
Package-Manager: portage-2.2.0_alpha24_p18/cvs/Linux x86_64
Diffstat (limited to 'dev-python/mako')
-rw-r--r--dev-python/mako/ChangeLog8
-rw-r--r--dev-python/mako/Manifest4
-rw-r--r--dev-python/mako/mako-0.4.0.ebuild55
3 files changed, 65 insertions, 2 deletions
diff --git a/dev-python/mako/ChangeLog b/dev-python/mako/ChangeLog
index 858585193bd6..2a237df08315 100644
--- a/dev-python/mako/ChangeLog
+++ b/dev-python/mako/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/mako
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/ChangeLog,v 1.34 2011/01/07 17:09:23 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/ChangeLog,v 1.35 2011/02/22 01:20:38 arfrever Exp $
+
+*mako-0.4.0 (22 Feb 2011)
+
+ 22 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +mako-0.4.0.ebuild:
+ Version bump.
07 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-mako-0.3.4.ebuild, -mako-0.3.5.ebuild:
diff --git a/dev-python/mako/Manifest b/dev-python/mako/Manifest
index 898624448c72..9a5bb5f5cc40 100644
--- a/dev-python/mako/Manifest
+++ b/dev-python/mako/Manifest
@@ -1,4 +1,6 @@
DIST Mako-0.3.6.tar.gz 297721 RMD160 2d25a12f40db69fccc39f2543290032aabd10c2e SHA1 ea0df17702107e6498853248ecbe227ead18eb76 SHA256 5e27102950259ca709e12082f37a91ed6f5de320371ae1ccb6d4ae2426052b6f
+DIST Mako-0.4.0.tar.gz 300412 RMD160 a3b181c0160542636c99936f3246e354abc44742 SHA1 05ce25d0d72fb9dc1d5ad4447db07aee9b94c199 SHA256 8c83058cc772473abe67a195b2533a71c2ef9e3b87d56513a6185e2d3270d2ae
EBUILD mako-0.3.6.ebuild 1324 RMD160 7dc5d32845a02480424c4ce12ffe772ba676dd9f SHA1 8e34b3f1f73a1e4f693ae28cd66f399e861e5aff SHA256 dc7c19242892b3e65cc3dd1584818726500c0b45f8d623eb15edb9b7fc3541c1
-MISC ChangeLog 4193 RMD160 b09a1dd6e874b2118a2826cb742c86ab2d9e1efc SHA1 254f0693ecef994a0cf24fad54b55fd9ed5bdd6d SHA256 f48fc004f3b1577a47fa6e15f932b2f642f148cf4d881689abcf87144d6fbb03
+EBUILD mako-0.4.0.ebuild 1274 RMD160 dd784464da0fd4314419df6b2d981b4105125266 SHA1 d40a540a3c987c38f3fad29c53ca1dc4f60fff17 SHA256 8e59dcce2253679168dfb2478e8bb2d55e9a8493d0888b30ab511d3a8370d8c8
+MISC ChangeLog 4332 RMD160 d750bf866dceebe208109fc68fdaa84f2f0dec16 SHA1 d83acf8058ecd6963d184f04d626f8614d0b1e67 SHA256 5f81886f4646db168974b21ca43cd670a1338fe7af949c9414febe4fdd01fd54
MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
diff --git a/dev-python/mako/mako-0.4.0.ebuild b/dev-python/mako/mako-0.4.0.ebuild
new file mode 100644
index 000000000000..54bf88899538
--- /dev/null
+++ b/dev-python/mako/mako-0.4.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/mako-0.4.0.ebuild,v 1.1 2011/02/22 01:20:38 arfrever Exp $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils
+
+MY_P="Mako-${PV}"
+
+DESCRIPTION="A Python templating language"
+HOMEPAGE="http://www.makotemplates.org/ http://pypi.python.org/pypi/Mako"
+SRC_URI="http://www.makotemplates.org/downloads/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE="doc"
+
+RDEPEND=">=dev-python/beaker-1.1
+ >=dev-python/markupsafe-0.9.2"
+DEPEND="${RDEPEND}
+ dev-python/setuptools"
+
+S="${WORKDIR}/${MY_P}"
+
+DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
+
+src_prepare() {
+ distutils_src_prepare
+
+ 2to3_conversion() {
+ [[ "${PYTHON_ABI}" == 2.* ]] && return
+ 2to3-${PYTHON_ABI} -nw --no-diffs test
+ }
+ python_execute_function -s 2to3_conversion
+}
+
+src_test() {
+ distutils_src_test -P -w test
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ pushd doc > /dev/null
+ rm -fr build
+ insinto /usr/share/doc/${PF}/html
+ doins -r [a-z]* _static || die "Installation of documentation failed"
+ popd > /dev/null
+ fi
+}