/[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.7 - (hide annotations) (download)
Wed Jun 27 19:45:01 2007 UTC (7 years, 6 months ago) by hawking
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
drop old, removed unneeded empty lines
(Portage version: 2.1.3_rc5)

1 fserb 1.5 # Copyright 1999-2005 Gentoo Foundation
2 pythonhead 1.1 # Distributed under the terms of the GNU General Public License v2
3 hawking 1.7 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.6.0.ebuild,v 1.6 2005/05/10 17:24:14 liquidx 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 liquidx 1.6 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