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

Contents of /dev-python/isodate/isodate-0.4.9-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Tue Nov 18 06:02:13 2014 UTC (5 years, 3 months ago) by idella4
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
clean old impl, rm old

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

1 # Copyright 1999-2014 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.4.9-r1.ebuild,v 1.12 2014/03/31 21:22:10 mgorny Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 )
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 DOCS=( CHANGES.txt README.txt TODO.txt )
23
24 python_test() {
25 local test
26 pushd "${BUILD_DIR}"/lib/
27 for test in ${PN}/tests/test_*.py
28 do
29 if ! "${PYTHON}" $test; then
30 die "Test $test failed under ${EPYTHON}"
31 fi
32 done
33 # Give some order to the output salad
34 einfo "Testsuite passed under ${EPYTHON}";einfo ""
35 }

  ViewVC Help
Powered by ViewVC 1.1.20