diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2008-06-07 08:29:52 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2008-06-07 08:29:52 +0000 |
commit | 426d3cde001f83dc026ae44f77a60d8e260e7f9c (patch) | |
tree | 98b6afd0902b0d7bdfe615c8c1cb24d24e3c22b1 /dev-python | |
parent | keyword ~x86-fbsd (diff) | |
download | gentoo-2-426d3cde001f83dc026ae44f77a60d8e260e7f9c.tar.gz gentoo-2-426d3cde001f83dc026ae44f77a60d8e260e7f9c.tar.bz2 gentoo-2-426d3cde001f83dc026ae44f77a60d8e260e7f9c.zip |
Initial ebuild (written by me)
(Portage version: 2.1.5.4)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/jinja/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/jinja/Manifest | 4 | ||||
-rw-r--r-- | dev-python/jinja/jinja-1.2.ebuild | 42 | ||||
-rw-r--r-- | dev-python/jinja/metadata.xml | 5 |
4 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/jinja/ChangeLog b/dev-python/jinja/ChangeLog new file mode 100644 index 000000000000..9f72bfbcf290 --- /dev/null +++ b/dev-python/jinja/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/jinja +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/ChangeLog,v 1.1 2008/06/07 08:29:52 dev-zero Exp $ + +*jinja-1.2 (07 Jun 2008) + + 07 Jun 2008; Tiziano Müller <dev-zero@gentoo.org> +metadata.xml, + +jinja-1.2.ebuild: + Initial ebuild (written by me) + diff --git a/dev-python/jinja/Manifest b/dev-python/jinja/Manifest new file mode 100644 index 000000000000..35a7a6dbbf0d --- /dev/null +++ b/dev-python/jinja/Manifest @@ -0,0 +1,4 @@ +DIST Jinja-1.2.tar.gz 252918 RMD160 5b0a9ba2241e8ec6417b382384bbe3e1bf4dba8a SHA1 46fcf22ce2a1d432296ebfe16bcf11ce17f5c097 SHA256 36252f3d0356008a31a537a31cfba189f7b5898b8e2da454f72ea5f987db8b31 +EBUILD jinja-1.2.ebuild 860 RMD160 80d0ec2ba4e727cec57df0b19122e4c8a2e70a58 SHA1 8056e88f84bdee94e4e012c6cd9262143a13e9c0 SHA256 2a055deb4f423a7c3aa21e20c7905e698b6f9fcaa7800b9656283f45a503425c +MISC ChangeLog 266 RMD160 ca936de9c89154d76b02df939657dc7e85555a52 SHA1 2722d7993de12390a49646859513a1b3cde1ea26 SHA256 0afb6d5b19560cb6dac82fbec9e868315812ada2d175c9f25e3e14e14b96afd3 +MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a diff --git a/dev-python/jinja/jinja-1.2.ebuild b/dev-python/jinja/jinja-1.2.ebuild new file mode 100644 index 000000000000..0b6a82c71e11 --- /dev/null +++ b/dev-python/jinja/jinja-1.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja/jinja-1.2.ebuild,v 1.1 2008/06/07 08:29:52 dev-zero Exp $ + +inherit distutils + +MY_PN="Jinja" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A sandboxed template engine providing a Django-like non-XML syntax." +HOMEPAGE="http://jinja.pocoo.org/1/" +SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="dev-python/setuptools" +DEPEND="${RDEPEND} + test? ( dev-python/py )" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + # setup.py loads "jinja", we have to avoid it loads an already installed version + export PYTHONPATH="." +} + +src_install() { + DOCS="CHANGES" + distutils_src_install + + # Rearraning the docs + rm -rf "${D}/usr/docs" + dodoc docs/src/* + dohtml docs/html/* +} + +src_test() { + cd tests + py.test || die "tests failed" +} diff --git a/dev-python/jinja/metadata.xml b/dev-python/jinja/metadata.xml new file mode 100644 index 000000000000..301d2207cc29 --- /dev/null +++ b/dev-python/jinja/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> |