diff options
author | Rafael Martins <rafaelmartins@gentoo.org> | 2010-12-14 22:50:18 +0000 |
---|---|---|
committer | Rafael Martins <rafaelmartins@gentoo.org> | 2010-12-14 22:50:18 +0000 |
commit | f26e32a87cbee9e7bf28768fde4fab5d80f95654 (patch) | |
tree | ab20575d5e918cdf81f8137c35aab1fd87825aa5 /dev-python | |
parent | Version bump (bug #347371). (diff) | |
download | historical-f26e32a87cbee9e7bf28768fde4fab5d80f95654.tar.gz historical-f26e32a87cbee9e7bf28768fde4fab5d80f95654.tar.bz2 historical-f26e32a87cbee9e7bf28768fde4fab5d80f95654.zip |
Initial version.
Package-Manager: portage-2.2.0_alpha7/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/flask-babel/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/flask-babel/Manifest | 4 | ||||
-rw-r--r-- | dev-python/flask-babel/flask-babel-0.6.ebuild | 60 | ||||
-rw-r--r-- | dev-python/flask-babel/metadata.xml | 5 |
4 files changed, 79 insertions, 0 deletions
diff --git a/dev-python/flask-babel/ChangeLog b/dev-python/flask-babel/ChangeLog new file mode 100644 index 000000000000..b61d7a6f4b61 --- /dev/null +++ b/dev-python/flask-babel/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/flask-babel +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-babel/ChangeLog,v 1.1 2010/12/14 22:50:18 rafaelmartins Exp $ + +*flask-babel-0.6 (14 Dec 2010) + + 14 Dec 2010; Rafael G. Martins <rafaelmartins@gentoo.org> + +flask-babel-0.6.ebuild, +metadata.xml: + Initial version. + diff --git a/dev-python/flask-babel/Manifest b/dev-python/flask-babel/Manifest new file mode 100644 index 000000000000..c6ab49d1d1e6 --- /dev/null +++ b/dev-python/flask-babel/Manifest @@ -0,0 +1,4 @@ +DIST Flask-Babel-0.6.tar.gz 42375 RMD160 30fc1285bd229f678cda58e221737a3f6df11b00 SHA1 930cddb56c3ba7ae09d65e6615457aa5882371e1 SHA256 70077929af216bc3544a83dc1ac705cc6fca0024fe23a6920f346491752cfea6 +EBUILD flask-babel-0.6.ebuild 1340 RMD160 06d72b2d87a6363fba1747a5591b482cab52b314 SHA1 495d8d5015e34b3eb31227ef95d54f274b3e2e81 SHA256 763c24c7395ced7147bb886e359e5b48224bbf64f014a40636168594bff67a5d +MISC ChangeLog 378 RMD160 4347286bdf1ee52c57797e15a0b63edf2023a12e SHA1 6f53837a6b94472c5de44b3c882b63717a96b247 SHA256 cd48542d2d57f909adda6c85dd9a2c9a2a43de6949f3681150f348e48c59c11c +MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a diff --git a/dev-python/flask-babel/flask-babel-0.6.ebuild b/dev-python/flask-babel/flask-babel-0.6.ebuild new file mode 100644 index 000000000000..98b5b6e225f0 --- /dev/null +++ b/dev-python/flask-babel/flask-babel-0.6.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/flask-babel/flask-babel-0.6.ebuild,v 1.1 2010/12/14 22:50:18 rafaelmartins Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +MY_PN="Flask-Babel" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="i18n and l10n support for Flask based on Babel and pytz" +HOMEPAGE="http://packages.python.org/Flask-Babel/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND="dev-python/flask + dev-python/Babel + dev-python/pytz + >=dev-python/speaklater-1.2 + >=dev-python/jinja-2.5" +DEPEND="${RDEPEND} + dev-python/setuptools + doc? ( dev-python/sphinx )" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="flaskext/babel.py" + +src_compile() { + distutils_src_compile + + if use doc; then + einfo "Generation of documentation" + emake -C docs html || die "Generation of documentation failed" + fi +} + +src_install() { + distutils_src_install + + if use doc; then + dohtml -r docs/_build/html/* || die "Installation of documentation failed" + fi +} + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" \ + cd tests; "$(PYTHON)" tests.py || die 'test failed.' + } + python_execute_function testing +} diff --git a/dev-python/flask-babel/metadata.xml b/dev-python/flask-babel/metadata.xml new file mode 100644 index 000000000000..301d2207cc29 --- /dev/null +++ b/dev-python/flask-babel/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> +</pkgmetadata> |