You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/guessit/guessit-0.5.4.ebuild

31 lines
784 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/guessit/guessit-0.5.4.ebuild,v 1.1 2013/04/24 06:59:41 maksbotan Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7,3_2} )
inherit distutils-r1
DESCRIPTION="Python library that tries to extract as much information as possible from a filename"
HOMEPAGE="http://guessit.readthedocs.org/"
SRC_URI="https://github.com/wackou/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}
test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )
dev-python/setuptools[${PYTHON_USEDEP}]
"
# tests are fixed in next release
RESTRICT="test"
python_test() {
esetup.py test
}