# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils DESCRIPTION="Data Access Protocol client and server." HOMEPAGE="http://pydap.org" SRC_URI="http://cheeseshop.python.org/packages/source/d/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="server" DEPEND="virtual/python >=dev-python/httplib2-0.2.0 >=dev-python/setuptools-0.6_rc3 server? (>=dev-python/pastescript-0.9.8) server? (>=dev-python/cheetah-2.0_rc6)" src_install() { distutils_python_version site_pkgs="/usr/$(get_libdir)/python${PYVER}/site-packages/" export PYTHONPATH="${PYTHONPATH}:${D}/${site_pkgs}" dodir ${site_pkgs} distutils_src_install --single-version-externally-managed dodoc README dodoc docs/* }