diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-02-20 07:57:32 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-02-20 07:57:32 +0000 |
commit | 5eb7b03d59fa6d3cc9efef19d6f5bf579987184b (patch) | |
tree | cff848eb67ec181edf94f7e20f3c87ef737bc468 /dev-python/markdown/markdown-2.1.1.ebuild | |
parent | Bump for 404547 (diff) | |
download | gentoo-2-5eb7b03d59fa6d3cc9efef19d6f5bf579987184b.tar.gz gentoo-2-5eb7b03d59fa6d3cc9efef19d6f5bf579987184b.tar.bz2 gentoo-2-5eb7b03d59fa6d3cc9efef19d6f5bf579987184b.zip |
Bump for #404543
(Portage version: 2.2.0_alpha87/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/markdown/markdown-2.1.1.ebuild')
-rw-r--r-- | dev-python/markdown/markdown-2.1.1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/markdown/markdown-2.1.1.ebuild b/dev-python/markdown/markdown-2.1.1.ebuild new file mode 100644 index 000000000000..e376e9bd5432 --- /dev/null +++ b/dev-python/markdown/markdown-2.1.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.1.1.ebuild,v 1.1 2012/02/20 07:57:32 patrick Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +MY_PN="Markdown" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python implementation of the markdown markup language" +HOMEPAGE="http://www.freewisdom.org/projects/python-markdown http://pypi.python.org/pypi/Markdown" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos ~x86-macos" +IUSE="doc pygments" + +DEPEND="" +RDEPEND="pygments? ( dev-python/pygments )" + +S="${WORKDIR}/${MY_P}" + +src_install() { + distutils_src_install + + if use doc; then + dodoc docs/[!extensions]* + docinto extensions + dodoc docs/extensions/* + fi +} + +src_test() { + testing() { + "$(PYTHON)" run-tests.py + } + python_execute_function testing +} |