diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2006-12-27 00:37:20 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2006-12-27 00:37:20 +0000 |
commit | fcc00ac3b74bd01c4add40af1b9ed97bc8ee2d1d (patch) | |
tree | ef33754594071ab025cad113fe3fa9d29400c8a7 /dev-python/dnspython/dnspython-1.5.0.ebuild | |
parent | cleanup (diff) | |
download | gentoo-2-fcc00ac3b74bd01c4add40af1b9ed97bc8ee2d1d.tar.gz gentoo-2-fcc00ac3b74bd01c4add40af1b9ed97bc8ee2d1d.tar.bz2 gentoo-2-fcc00ac3b74bd01c4add40af1b9ed97bc8ee2d1d.zip |
Version bump. Dropped old versions.
(Portage version: 2.1.2_rc4-r1)
Diffstat (limited to 'dev-python/dnspython/dnspython-1.5.0.ebuild')
-rw-r--r-- | dev-python/dnspython/dnspython-1.5.0.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/dnspython/dnspython-1.5.0.ebuild b/dev-python/dnspython/dnspython-1.5.0.ebuild new file mode 100644 index 000000000000..ed34cbfb335f --- /dev/null +++ b/dev-python/dnspython/dnspython-1.5.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/dnspython-1.5.0.ebuild,v 1.1 2006/12/27 00:37:20 dev-zero Exp $ + +inherit distutils + +DESCRIPTION="DNS toolkit for Python" +HOMEPAGE="http://www.dnspython.org/" +SRC_URI="http://www.dnspython.org/kits/stable/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +DOCS="TODO" + +src_install() { + distutils_src_install + + insinto /usr/share/doc/${PF} + doins -r examples + + insinto /usr/share/${PN} + doins -r tests +} + +pkg_postinst() { + einfo + einfo "Documentation is sparse at the moment. Use pydoc," + einfo "or read the HTML documentation at the dnspython's home page." + einfo +} + +src_test() { + export PYTHONPATH="${S}/build/lib:${PYTHONPATH}" + cd tests + emake || die "Unit tests failed!" +} |