summaryrefslogtreecommitdiff
blob: b21059b54e4ba2387337852fc9e446b208918410 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygame/pygame-1.7.1.ebuild,v 1.2 2005/08/26 16:04:58 agriffis Exp $

inherit versionator multilib python

MY_PV=$(replace_version_separator 1 '-')
DESCRIPTION="Python implementation of the Markdown syntax"
HOMEPAGE="http://www.freewisdom.org/projects/python-markdown/"
SRC_URI="mirror://sourceforge/python-markdown/markdown-${MY_PV}.py"

LICENSE="|| ( GPL-2 BSD )"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="dev-lang/python"
S=${WORKDIR}

src_unpack() {
	cp ${DISTDIR}/${A} ${WORKDIR}
}

src_compile() {
	return
}

src_install() {
	python_version
	insinto /usr/$(get_libdir)/python${PYVER}/site-packages
	newins ${WORKDIR}/${A} markdown.py
}