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 | be7ec0599e751bb52d697e36e33b0cfaa7a45f6e (patch) | |
tree | 7372a1991aab444372a9f525e309237cd98d86b2 /dev-python | |
parent | keyword ~x86-fbsd (diff) | |
download | historical-be7ec0599e751bb52d697e36e33b0cfaa7a45f6e.tar.gz historical-be7ec0599e751bb52d697e36e33b0cfaa7a45f6e.tar.bz2 historical-be7ec0599e751bb52d697e36e33b0cfaa7a45f6e.zip |
Initial ebuild (written by me)
Package-Manager: portage-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..a6292861459a --- /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 957 RMD160 f9bc3b4eb0b2f124f556940e7b8af9a4a877e1f8 SHA1 412f3ab4ad9181d1734290c6c3c42c22ae9bcdfb SHA256 e564de30d44cf9a1f2830df3811a55f49237d936679cde811870b8fa561f53c4 +MISC ChangeLog 356 RMD160 d9bd2a76a9695129436a2ce910b9484b7fa67fe0 SHA1 941984b0268c7ded54644683f968751474650a1c SHA256 6e6120649c1d0e9856b700b59024cff3386e7c54f17b5b8f9234b3deb6686490 +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> |