blob: 6e9dcb338fd26221d246c1787081403e6bac22bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown2/markdown2-2.1.0.ebuild,v 1.1 2012/10/05 12:19:48 djc Exp $
EAPI=3
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils
DESCRIPTION="Python Markdown language reimplementation"
SRC_URI="mirror://pypi/m/markdown2/${P}.zip"
HOMEPAGE="http://github.com/trentm/python-markdown2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
PYTHON_MODNAME="markdown2.py"
DEPEND="dev-python/pygments"
RDEPEND="${DEPEND}"
src_prepare() {
rm -f test/tm-cases/issue52* || die
}
src_test() {
cd test || die
testing() {
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test.py
}
python_execute_function testing
}
|