summaryrefslogtreecommitdiff
blob: 466191568ae5befa74e9c2694801fcfa538f00b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2005 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Header: $

inherit eutils distutils

DESCRIPTION="pyperl is a module for integrating Perl in Python."
SRC_URI="http://downloads.activestate.com/Zope-Perl/${P}.tar.gz"
HOMEPAGE="http://aspn.activestate.com/ASPN/Modules/dist_html?dist_id=10617"

LICENSE="Artistic GPL-2"
KEYWORDS="~x86"

IUSE=""

DEPEND="virtual/python
        dev-lang/perl"

pkg_setup() {
    if ! built_with_use perl ithreads ; then
		eerror "If you want to use pyperl you will need"
		eerror "to enable threading in perl by setting the"
		eerror "'ithreads' USE flag and reemerging perl!"
		die "Current perl installation does not support pyperl!"
    fi
}

src_install() {

	distutils_src_install
	dodoc README
}