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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Apr 8 08:04:58 2015 UTC (4 years, 10 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
Drop old Python implementations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

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.0.ebuild,v 1.2 2014/05/20 05:38:08 idella4 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