/[gentoo-x86]/dev-python/diff-match-patch/diff-match-patch-20110725.1.ebuild
Gentoo

Contents of /dev-python/diff-match-patch/diff-match-patch-20110725.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Jul 6 15:57:48 2013 UTC (12 months, 3 weeks ago) by aidecoe
Branch: MAIN
Changes since 1.5: +3 -3 lines
Added missing dev-python/setuptools dependency.

(Portage version: 2.1.12.11/cvs/Linux x86_64, signed Manifest commit with key F0134531E1DBFAB5)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=4
6
7 PYTHON_DEPEND="*"
8 SUPPORT_PYTHON_ABIS="1"
9 DISTUTILS_SRC_TEST="setup.py"
10
11 inherit distutils
12
13 DESCRIPTION="Diff, match and patch algorithms for plain text"
14 HOMEPAGE="http://code.google.com/p/google-diff-match-patch/"
15 SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
16
17 LICENSE="Apache-2.0"
18 SLOT="0"
19 KEYWORDS="amd64 x86"
20 IUSE=""
21
22 DEPEND="dev-python/setuptools"
23 RDEPEND="${DEPEND}"
24
25 src_prepare() {
26 distutils_src_prepare
27 python_convert_shebangs -r 2 python2/*
28 }
29
30 src_install() {
31 distutils_src_install
32
33 delete_tests() {
34 rm "${D}/$(python_get_sitedir)/${PN//-/_}/${PN//-/_}_test.py" || die
35 }
36
37 python_execute_function -q delete_tests
38 }

  ViewVC Help
Powered by ViewVC 1.1.20