summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-09-16 16:23:57 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-09-16 16:23:57 +0000
commita5b86670a9aed6092dd39f580c22885082a4be12 (patch)
tree2fcadc39e3b8bc209497030f128deef4ee3ddff9 /dev-python/webhelpers
parentDelete older ebuilds. (diff)
downloadgentoo-2-a5b86670a9aed6092dd39f580c22885082a4be12.tar.gz
gentoo-2-a5b86670a9aed6092dd39f580c22885082a4be12.tar.bz2
gentoo-2-a5b86670a9aed6092dd39f580c22885082a4be12.zip
Version bump.
(Portage version: 2.2_rc83_p11/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/webhelpers')
-rw-r--r--dev-python/webhelpers/ChangeLog8
-rw-r--r--dev-python/webhelpers/webhelpers-1.2.ebuild60
2 files changed, 65 insertions, 3 deletions
diff --git a/dev-python/webhelpers/ChangeLog b/dev-python/webhelpers/ChangeLog
index 6e1278387a5e..3d422167becb 100644
--- a/dev-python/webhelpers/ChangeLog
+++ b/dev-python/webhelpers/ChangeLog
@@ -1,10 +1,12 @@
# ChangeLog for dev-python/webhelpers
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/webhelpers/ChangeLog,v 1.11 2010/09/16 16:22:29 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/webhelpers/ChangeLog,v 1.12 2010/09/16 16:23:57 arfrever Exp $
+
+*webhelpers-1.2 (16 Sep 2010)
16 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
- -webhelpers-0.6.4.ebuild, -webhelpers-1.0.ebuild:
- Delete.
+ -webhelpers-0.6.4.ebuild, -webhelpers-1.0.ebuild, +webhelpers-1.2.ebuild:
+ Version bump.
*webhelpers-1.0 (07 Jun 2010)
diff --git a/dev-python/webhelpers/webhelpers-1.2.ebuild b/dev-python/webhelpers/webhelpers-1.2.ebuild
new file mode 100644
index 000000000000..cc1b21677f9e
--- /dev/null
+++ b/dev-python/webhelpers/webhelpers-1.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/webhelpers/webhelpers-1.2.ebuild,v 1.1 2010/09/16 16:23:57 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils
+
+MY_PN="WebHelpers"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Web Helpers"
+HOMEPAGE="http://webhelpers.groovie.org/ http://pypi.python.org/pypi/WebHelpers"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="doc"
+
+RDEPEND=">=dev-python/markupsafe-0.9.2
+ dev-python/routes"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ doc? ( dev-python/sphinx )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ distutils_src_prepare
+
+ sed \
+ -e '/import datetime/a import os' \
+ -e 's:"/tmp/feed":os.environ.get("TMPDIR", "/tmp") + "/feed":' \
+ -i tests/test_feedgenerator.py || die "sed failed"
+}
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ einfo "Generation of documentation"
+ cd docs
+ emake html || die "Generation of documentation failed"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ cd docs/_build/html
+ docinto html
+ cp -R [a-z]* _static "${ED}usr/share/doc/${PF}/html" || die "Installation of documentation failed"
+ fi
+}