summaryrefslogtreecommitdiff
blob: 6d567876b4ae90b8350839a44f1777508bbcae65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $ 

MY_PACKAGE=Xish

inherit twisted

DESCRIPTION="Twisted Xish is an XML library with XPath-ish and DOM-ish support."

KEYWORDS="alpha amd64 ia64 ppc sparc x86"

DEPEND=">=dev-python/twisted-2"

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}/${P}-tests-2.1-compat.patch"
	cat > twisted/xish/_version.py <<-EOF
		from twisted.python import versions
		version = versions.Version(__name__[:__name__.rfind('.')], 0, 1, 0)
	EOF
}