aboutsummaryrefslogtreecommitdiff
blob: ee8d0184e0e9852ff9f9870d40fe1cc7942cd71c (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
37
38
39
40
41
42
43
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils subversion distutils

SVN_SUBDIR="${SVN_SUBDIR:=}"
E17_PATCHES="${E17_PATCHES:=}"

LICENSE="BSD"
SLOT="0"

ESVN_REPO_URI="http://svn.enlightenment.org/svn/e/trunk/BINDINGS/python$SVN_SUBDIR/${PN}"

case ${PV} in
	20090614)
		ESVN_REVISION=41040
		;;
	20090729)
		ESVN_REVISION=41533
		;;
	20091202)
		ESVN_REVISION=44150
		;;
	99999999)
		;;
	*)
		die "Unknown revision!"
		;;
esac

enlightenment_svn-python_src_unpack() {
	subversion_src_unpack

	cd "${S}"

	# Applying all user specified patches
	for patch in ${E17_PATCHES}; do
	    epatch "${FILESDIR}/${patch}"
	done
}

EXPORT_FUNCTIONS src_unpack