blob: 69ed15799df70e2152cf7c5105f40f4f66114df9 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/setuptools/setuptools-0.6_alpha5.ebuild,v 1.1 2005/10/15 05:41:59 pythonhead Exp $
inherit distutils
MY_P=${P/_alpha/a}
DESCRIPTION="A collection of enhancements to the Python distutils including easy install"
HOMEPAGE="http://peak.telecommunity.com/"
SRC_URI="http://cheeseshop.python.org/packages/source/s/setuptools/${MY_P}.zip"
LICENSE="PSF-2.2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
S="${WORKDIR}/${MY_P}"
DEPEND=">=dev-lang/python-2.4.2
app-arch/zip"
src_install() {
DOCS="EasyInstall.txt api_tests.txt pkg_resources.txt setuptools.txt"
distutils_src_install
distutils_python_version
# create .pth file in site-packages so the setuptools egg is added to
# the module search path
insinto /usr/lib/python${PYVER}/site-packages
echo "${MY_P}-py${PYVER}.egg" > "${MY_P}-py${PYVER}.pth"
doins "${MY_P}-py${PYVER}.pth"
}
|