diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-10-27 10:01:09 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-10-27 10:04:04 +0100 |
commit | 6eb43f9af83b17b9b04b29fa4f695bb20f1a3066 (patch) | |
tree | 37f3b16de96e7144b6318d8d5becc6b26b314c23 /dev-python/markdown | |
parent | dev-python/pytidylib: Add pypy support (diff) | |
download | gentoo-6eb43f9af83b17b9b04b29fa4f695bb20f1a3066.tar.gz gentoo-6eb43f9af83b17b9b04b29fa4f695bb20f1a3066.tar.bz2 gentoo-6eb43f9af83b17b9b04b29fa4f695bb20f1a3066.zip |
dev-python/markdown: Version Bump
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/markdown')
-rw-r--r-- | dev-python/markdown/Manifest | 1 | ||||
-rw-r--r-- | dev-python/markdown/markdown-2.6.3.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/markdown/Manifest b/dev-python/markdown/Manifest index 43a78c806205..1ba6bf179eb1 100644 --- a/dev-python/markdown/Manifest +++ b/dev-python/markdown/Manifest @@ -1,3 +1,4 @@ DIST Markdown-2.5.1.tar.gz 288970 SHA256 8f81ed12c18608a502828acb7d318f362c42f4eca97d01e93cadfc52c1e40b73 SHA512 27f0d3909d6aa1e0ae15403da1cdfafcbfd463d7a236e0ea0cf02c55efa8f863c2554d54e20b0d9f58d80502dbf333120431474f16c64883001e5a318866eeb0 WHIRLPOOL 88f76fcb744ad6b8429442de409275c655a85039475d6dab11031a141e148286cc56d7865f590b432bfcf91af4965963989dae9a68a01e6931f367f425f83420 DIST Markdown-2.6.1.tar.gz 298074 SHA256 b5879b87e8e5c125c92ab8c8f3babce78ad4e840446eed73c5b6e2984648d2b1 SHA512 53e11c5d4feacdb8210427da65b6b09453e8c904e86b42095a80132a4b67e926ba974458769e5227bfeaddd3bba5f6bd7ca7e3385951982ec982f63989119d78 WHIRLPOOL 58b6d87354ee19aac7ad1567e10f2cdc99c1aa980d3bee2fee81a5ccb5e70f43d13750dfaf1df9a42c00f3d35664731b52bfa1246271907f5a3422281ede1cc6 DIST Markdown-2.6.2.tar.gz 298231 SHA256 ee17d0d7dc091e645dd48302a2e21301cc68f188505c2069d8635f94554170bf SHA512 a69dabf65187f54d200f59191a149bfe2109f94ffc5d003e15c2e6333c0b5fdeebfc4136842d7be5a15bc903b7a22120a4ccba2722858194c43fd09cd8fbea16 WHIRLPOOL a3c74f150e6e140b0b0500d0694b89b8e6836adef66cd2c14a1ad5ff8d4dc202b35fae8a0c9683e53030fc80792885cd4b22c46729963a683ebbbb5101963dd7 +DIST Markdown-2.6.3.tar.gz 301441 SHA256 ad75fc03c45492eba3bc63645e1e6465f65523a05fff0abf36910f810465a9af SHA512 29917d7112d84bc175cdab39fe1c57cc7c7efcef60cddde41905c8314caf86500eab50a1c93c5cde2cfcd82ce1214ab65367fc7d2111c9487596b9cae16882ee WHIRLPOOL 8d50fa6895a117c081f1ccb5cfc456a297a8ff36e1597add78fbd8acfd4b72f79c617c5bffc790bc7c6d76f7aefef5706b8d8083f4104500f4b5c035aa14546d diff --git a/dev-python/markdown/markdown-2.6.3.ebuild b/dev-python/markdown/markdown-2.6.3.ebuild new file mode 100644 index 000000000000..c1bcd346fb8d --- /dev/null +++ b/dev-python/markdown/markdown-2.6.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 ) + +inherit distutils-r1 + +MY_PN="Markdown" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python implementation of the markdown markup language" +HOMEPAGE=" + http://www.freewisdom.org/projects/python-markdown + https://pypi.python.org/pypi/Markdown + https://pythonhosted.org/Markdown/ + https://github.com/waylan/Python-Markdown" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc test pygments" + +DEPEND=" + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/pytidylib[${PYTHON_USEDEP}] + )" +# source cites pytidylib however from testruns it appears optional +RDEPEND="pygments? ( dev-python/pygments[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_compile_all() { + use doc && esetup.py build_docs +} + +python_test() { + cp -r -l run-tests.py tests "${BUILD_DIR}"/ || die + cd "${BUILD_DIR}" || die + "${PYTHON}" run-tests.py || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + # make use doc do a doc build + use doc && local HTML_DOCS=( "${BUILD_DIR}"/docs/. ) + + distutils-r1_python_install_all +} |