summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Bergström (jbergstroem) <bugs@bergstroem.nu>2012-03-19 03:40:04 +0000
committerJohan Bergström (jbergstroem) <bugs@bergstroem.nu>2012-03-19 03:40:04 +0000
commitc42b1d7ab429d05dfc2c16022cec1a86e6bae0eb (patch)
treec59d64f349bae24a9e8730112718b3eec8ba28f4 /dev-python
parentx11-misc/obapps: New Ebuild for bug 322311 thanks to floppym (diff)
downloadsunrise-reviewed-c42b1d7ab429d05dfc2c16022cec1a86e6bae0eb.tar.gz
sunrise-reviewed-c42b1d7ab429d05dfc2c16022cec1a86e6bae0eb.tar.bz2
sunrise-reviewed-c42b1d7ab429d05dfc2c16022cec1a86e6bae0eb.zip
dev-python/flask-debugtoolbar: Version bump. Generate docs with sphinx
(Portage version: 2.1.10.49/svn/Linux x86_64, unsigned Manifest commit) svn path=/sunrise/; revision=12822
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/flask-debugtoolbar/ChangeLog6
-rw-r--r--dev-python/flask-debugtoolbar/Manifest6
-rw-r--r--dev-python/flask-debugtoolbar/flask-debugtoolbar-0.6.2.ebuild (renamed from dev-python/flask-debugtoolbar/flask-debugtoolbar-0.6.ebuild)25
3 files changed, 29 insertions, 8 deletions
diff --git a/dev-python/flask-debugtoolbar/ChangeLog b/dev-python/flask-debugtoolbar/ChangeLog
index bc8d74dd8..dc0662482 100644
--- a/dev-python/flask-debugtoolbar/ChangeLog
+++ b/dev-python/flask-debugtoolbar/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*flask-debugtoolbar-0.6.2 (19 Mar 2012)
+
+ 19 Mar 2012; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
+ -flask-debugtoolbar-0.6.ebuild, +flask-debugtoolbar-0.6.2.ebuild:
+ Version bump. Generate docs with sphinx
+
06 Feb 2012; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-flask-debugtoolbar-0.5.ebuild, +flask-debugtoolbar-0.6.ebuild:
Version bump. Rename module
diff --git a/dev-python/flask-debugtoolbar/Manifest b/dev-python/flask-debugtoolbar/Manifest
index 4f119f6f3..8fb49aa5a 100644
--- a/dev-python/flask-debugtoolbar/Manifest
+++ b/dev-python/flask-debugtoolbar/Manifest
@@ -1,4 +1,4 @@
-DIST Flask-DebugToolbar-0.6.tar.gz 56836 RMD160 2adb519ae3bbae0cc4ccf0a5fbb5962e547751f9 SHA1 4e7aee79d22f784791bebbeea48710ef3ce4d93e SHA256 2618adb894bc96be6f3ef3ecd65519153754740b3b473e9a91d9d4288a9c00c5
-EBUILD flask-debugtoolbar-0.6.ebuild 833 RMD160 249fd661550771c5c734d8ed84d403eb72336dd2 SHA1 0346b6caa22feda7fd0df61a7740f0bd62f4f8ca SHA256 5ff41b586b47ef8d183cb14afddbe05c352c9cb2d40e4846d1173f4e1dd20a04
-MISC ChangeLog 471 RMD160 d360b9789691b8cf1d4eba9181fea8605dc27591 SHA1 ba433ea39e8a849959229f633712ff081399847f SHA256 0f2499f10291bd66680096adcd982ab00562c1ced1b2063b0cf3b19660fbfb67
+DIST Flask-DebugToolbar-0.6.2.tar.gz 59795 RMD160 6af2917345b386c33b0549d02d1d5ed3e074ed03 SHA1 a298d4a9ca95b907f911654b734548991081fbc4 SHA256 f693e66aa7aa2a5971e0ecb2d15bd9f18b3d57f69b40332af9e7c76358b96d08
+EBUILD flask-debugtoolbar-0.6.2.ebuild 1162 RMD160 1b9f595bc98e669c1ae4dbf1488c953be67d3796 SHA1 75d8bd692a4889cdbfcae02c101298e3cbfd81d7 SHA256 70f157ef1ab34c7b578a4b5ecfc39241075df42d37d4cd3d38209b1e5305f184
+MISC ChangeLog 690 RMD160 f713a23e94a4dd22087a776fd16f02e8a3145e20 SHA1 44ebf7076e66876e988d10c1f0fbcd2faa901753 SHA256 f80ce88caaff1d048b4a3b648a726d4896a6f029927bdb45cb1f02c77d3fd2cd
MISC metadata.xml 210 RMD160 e9db8e6d04c1afa771ce9649b2f52c49ce4a5a8b SHA1 5e3069d055d6784f92e477a11bbb4f937bb101a7 SHA256 cdf0ecda9587c6491ba741e7684999763a7db81c85fe05120cca9cac810612f4
diff --git a/dev-python/flask-debugtoolbar/flask-debugtoolbar-0.6.ebuild b/dev-python/flask-debugtoolbar/flask-debugtoolbar-0.6.2.ebuild
index 0ce9f0179..c9b07c6c3 100644
--- a/dev-python/flask-debugtoolbar/flask-debugtoolbar-0.6.ebuild
+++ b/dev-python/flask-debugtoolbar/flask-debugtoolbar-0.6.2.ebuild
@@ -13,7 +13,7 @@ MY_PN="Flask-DebugToolbar"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="A port of the Django debug toolbar to Flask"
-HOMEPAGE="http://github.com/mvantellingen/flask-debugtoolbar"
+HOMEPAGE="http://flask-debugtoolbar.rtfd.org/ https://github.com/mgood/flask-debugtoolbar"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
@@ -21,15 +21,26 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples"
-RDEPEND="dev-python/flask
- dev-python/flask-sqlalchemy
- dev-python/simplejson"
-DEPEND=""
+RDEPEND=">=dev-python/flask-0.8
+ dev-python/blinker
+ doc? ( dev-python/sphinx )"
+DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"
PYTHON_MODNAME="flask_debugtoolbar"
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ einfo "Generation of documentation"
+ pushd docs > /dev/null
+ emake html || die "Generation of documentation failed"
+ popd > /dev/null
+ fi
+}
+
src_install() {
distutils_src_install
@@ -37,4 +48,8 @@ src_install() {
insinto /usr/share/doc/${PF}
doins -r example || die "Installation of examples failed"
fi
+
+ if use doc; then
+ dohtml -A txt -r docs/_build/html/* || die "dohtml failed"
+ fi
}