/[gentoo-x86]/dev-python/pyme/pyme-0.6.0.ebuild
Gentoo

Contents of /dev-python/pyme/pyme-0.6.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Wed Nov 17 02:49:36 2004 UTC (9 years, 9 months ago) by pythonhead
Branch: MAIN
Changes since 1.3: +3 -6 lines
Moved inherit up top bug# 71466

1 pythonhead 1.1 # Copyright 1999-2004 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 pythonhead 1.4 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.6.0.ebuild,v 1.3 2004/09/24 23:55:07 pvdabeel Exp $
4 pythonhead 1.1
5 pythonhead 1.4 inherit distutils
6 pythonhead 1.1
7     DESCRIPTION="GPGME Interface for Python"
8     SRC_URI="mirror://sourceforge/pyme/${P}.tar.gz"
9     HOMEPAGE="http://pyme.sourceforge.net"
10     DEPEND=">=app-crypt/gpgme-0.9.0"
11     SLOT="0"
12 pvdabeel 1.3 KEYWORDS="~x86 ~sparc ppc"
13 pythonhead 1.1 LICENSE="GPL-2"
14 pythonhead 1.4 IUSE=""
15 pythonhead 1.1
16     src_unpack() {
17     unpack ${A}
18     cd ${S}
19     sed -i -e 's:include/:include/gpgme/:' Makefile
20     }
21    
22     src_compile() {
23     emake swig
24     distutils_src_compile
25     }
26    
27     src_install() {
28     mydoc="examples/*"
29     distutils_src_install
30     dohtml -r doc/*
31     }
32    
33     src_test() {
34     cd ${S}
35     env PYTHONPATH=$(echo build/lib.*) \
36     ${python} examples/genkey.py || die "genkey test failed"
37     }

  ViewVC Help
Powered by ViewVC 1.1.20