/[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.3 - (hide annotations) (download)
Fri Sep 24 23:55:07 2004 UTC (9 years, 10 months ago) by pvdabeel
Branch: MAIN
Changes since 1.2: +2 -2 lines
ppc stable profile update

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

  ViewVC Help
Powered by ViewVC 1.1.20