/[gentoo-x86]/dev-python/isodate/isodate-0.5.1.ebuild
Gentoo

Contents of /dev-python/isodate/isodate-0.5.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Sat Feb 28 13:38:40 2015 UTC (4 years, 10 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +2 -2 lines
Stable for ia64, wrt bug #535334

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="ia64", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/isodate/isodate-0.5.1.ebuild,v 1.9 2015/02/27 11:19:44 ago Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
8
9 inherit distutils-r1
10
11 DESCRIPTION="ISO 8601 date/time/duration parser and formater"
12 HOMEPAGE="http://pypi.python.org/pypi/isodate"
13 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
14
15 LICENSE="BSD"
16 SLOT="0"
17 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
18 IUSE=""
19
20 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
21
22 python_test() {
23 local test
24 pushd "${BUILD_DIR}"/lib/
25 for test in ${PN}/tests/test_*.py
26 do
27 if ! "${PYTHON}" $test; then
28 die "Test $test failed under ${EPYTHON}"
29 fi
30 done
31 # Give some order to the output salad
32 einfo "Testsuite passed under ${EPYTHON}";einfo ""
33 }

  ViewVC Help
Powered by ViewVC 1.1.20