blob: d94014d3415677da99dc35808e4a98d2f45e5341 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/speaklater/speaklater-1.3.ebuild,v 1.1 2012/07/30 07:05:49 patrick Exp $
EAPI=3
SUPPORT_PYTHON_ABIS="1"
inherit distutils
DESCRIPTION="Lazy strings for Python"
HOMEPAGE="https://github.com/mitsuhiko/speaklater"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT_PYTHON_ABIS="3.*"
src_test() {
testing() {
"$(PYTHON)" "${S}/speaklater.py" || die 'test failed.'
}
python_execute_function testing
}
|