/[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.1.1.1 - (show annotations) (download) (vendor branch)
Wed Nov 30 10:10:22 2005 UTC (8 years, 8 months ago) by chriswhite
Changes since 1.1: +5 -8 lines
*** empty log message ***

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $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
5 inherit distutils
6
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 KEYWORDS="x86 ~sparc ppc"
13 LICENSE="GPL-2"
14 IUSE=""
15
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