diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2011-12-01 14:26:37 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2011-12-01 14:26:37 +0000 |
commit | 58fda58faa08d458bd7377b07ea8c22fa8653b0a (patch) | |
tree | b9474657031543edc25c9580c572637d9a92b503 | |
parent | Added RDEPEND=DEPEND since this isn't done automatically on EAPI-4 (and thus ... (diff) | |
download | gentoo-2-58fda58faa08d458bd7377b07ea8c22fa8653b0a.tar.gz gentoo-2-58fda58faa08d458bd7377b07ea8c22fa8653b0a.tar.bz2 gentoo-2-58fda58faa08d458bd7377b07ea8c22fa8653b0a.zip |
Version bump dev-python/markdown, add testing.
(Portage version: 2.1.10.39/cvs/Linux x86_64)
-rw-r--r-- | dev-python/markdown/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/markdown/markdown-2.1.0.ebuild | 44 |
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-python/markdown/ChangeLog b/dev-python/markdown/ChangeLog index 64b363a5d69e..8d297410bc68 100644 --- a/dev-python/markdown/ChangeLog +++ b/dev-python/markdown/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/markdown # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/ChangeLog,v 1.17 2011/07/07 21:10:53 neurogeek Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/ChangeLog,v 1.18 2011/12/01 14:26:37 djc Exp $ + +*markdown-2.1.0 (01 Dec 2011) + + 01 Dec 2011; Dirkjan Ochtman <djc@gentoo.org> +markdown-2.1.0.ebuild: + Version bump, add testing. 07 Jul 2011; Jesus Rivero <neurogeek@gentoo.org> markdown-2.0.3.ebuild: Added doc USE flag. Fixed dodoc on dir wrt bug #367689 diff --git a/dev-python/markdown/markdown-2.1.0.ebuild b/dev-python/markdown/markdown-2.1.0.ebuild new file mode 100644 index 000000000000..3c85ab5f8cb6 --- /dev/null +++ b/dev-python/markdown/markdown-2.1.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.1.0.ebuild,v 1.1 2011/12/01 14:26:37 djc 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 +} |