blob: 9ebf727d1d3cd3809d2ef4faf292de7c96f1b436 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/workingenv/workingenv-0.6.5.ebuild,v 1.3 2007/04/30 20:33:03 genone Exp $
inherit distutils
MY_PN="${PN}.py"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Tool to create an isolated Python environment."
HOMEPAGE="http://cheeseshop.python.org/pypi/workingenv.py"
SRC_URI="http://cheeseshop.python.org/packages/source/w/${MY_PN}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
S=${WORKDIR}/${MY_P}
pkg_postinst() {
elog "Quickstart:"
elog ""
elog "workingenv <directory name>"
elog "source <directory name>/bin/activate"
elog ""
elog "You are now working in a sandboxed Python environment."
elog "Any packages installed with distutils/easy_install/setuptools"
elog "will be installed in <directory name>/lib"
elog "Note: <directory name> will be created."
}
|