/[gentoo-x86]/dev-python/mock/mock-0.7.2.ebuild
Gentoo

Contents of /dev-python/mock/mock-0.7.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Sun Oct 26 15:52:54 2014 UTC (3 weeks, 4 days ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
Remove old.

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

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/mock/mock-0.7.2.ebuild,v 1.11 2014/07/06 12:45:23 mgorny Exp $
4
5 EAPI="3"
6 SUPPORT_PYTHON_ABIS="1"
7 DISTUTILS_SRC_TEST="nosetests"
8
9 inherit distutils
10
11 DESCRIPTION="A Python Mocking and Patching Library for Testing"
12 HOMEPAGE="http://www.voidspace.org.uk/python/mock/ http://pypi.python.org/pypi/mock"
13 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
14
15 LICENSE="BSD"
16 SLOT="0"
17 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x64-macos"
18 IUSE="doc test"
19
20 # dev-python/unittest2 is not required with Python >=3.2.
21 DEPEND="dev-python/setuptools"
22 RDEPEND=""
23
24 DOCS="docs/*.txt"
25 PYTHON_MODNAME="mock.py"
26
27 src_install() {
28 distutils_src_install
29
30 if use doc; then
31 pushd html > /dev/null
32 rm -f objects.inv output.txt
33 insinto /usr/share/doc/${PF}/html
34 doins -r [a-z]* _static || die "Installation of documentation failed"
35 popd > /dev/null
36 fi
37 }

  ViewVC Help
Powered by ViewVC 1.1.20