28 lines
733 B
Bash
28 lines
733 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/wtf-peewee/wtf-peewee-0.1.4.ebuild,v 1.1 2013/10/21 05:04:39 patrick Exp $
|
|
|
|
EAPI=5
|
|
PYTHON_COMPAT=( python2_7 )
|
|
|
|
inherit distutils-r1
|
|
|
|
RESTRICT="test" # broken
|
|
|
|
DESCRIPTION="Small python ORM"
|
|
HOMEPAGE="https://github.com/coleifer/peewee/"
|
|
SRC_URI="https://github.com/coleifer/${PN}/archive/${PV}.tar.gz"
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="test"
|
|
|
|
RDEPEND=""
|
|
DEPEND="${RDEPEND}
|
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
dev-python/peewee[${PYTHON_USEDEP}]
|
|
dev-python/wtforms[${PYTHON_USEDEP}]
|
|
"
|
|
python_test() {
|
|
nosetests || die "Testing failed with ${EPYTHON}"
|
|
}
|