summaryrefslogtreecommitdiff
blob: cc07206e6316cfc9f2d9a6d5398da7e37eab703a (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: /var/cvsroot/gentoo-x86/dev-python/genetic/genetic-0.1.1.ebuild,v 1.1 2006/07/15 19:46:31 dberkholz Exp $

inherit distutils eutils

MY_PN="${PN/#g/G}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="A package for genetic algorithms in Python"
HOMEPAGE="http://home.gna.org/oomadness/en/genetic/"
SRC_URI="http://download.gna.org/oomadness/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"

src_unpack() {
	unpack ${A}
	epatch "${FILESDIR}"/${PV}-import-future-at-beginning.patch
}