diff options
author | Fernando Serboncini <fserb@gentoo.org> | 2005-01-31 02:12:08 +0000 |
---|---|---|
committer | Fernando Serboncini <fserb@gentoo.org> | 2005-01-31 02:12:08 +0000 |
commit | 1fe06e30bd408e509a263c242b057e5d0eb795f2 (patch) | |
tree | 27883672caef22a7e30da2879f7663b5f5b0bb71 /dev-python/dnspython/dnspython-1.3.3.ebuild | |
parent | Add sourceforge and GENTOO_TOOLCHAIN_BASE_URI to SRC_URI for boundschecking p... (diff) | |
download | gentoo-2-1fe06e30bd408e509a263c242b057e5d0eb795f2.tar.gz gentoo-2-1fe06e30bd408e509a263c242b057e5d0eb795f2.tar.bz2 gentoo-2-1fe06e30bd408e509a263c242b057e5d0eb795f2.zip |
version bump 1.3.3
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-python/dnspython/dnspython-1.3.3.ebuild')
-rw-r--r-- | dev-python/dnspython/dnspython-1.3.3.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/dnspython/dnspython-1.3.3.ebuild b/dev-python/dnspython/dnspython-1.3.3.ebuild new file mode 100644 index 000000000000..a7c5329dded9 --- /dev/null +++ b/dev-python/dnspython/dnspython-1.3.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/dnspython-1.3.3.ebuild,v 1.1 2005/01/31 02:12:08 fserb 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="~x86 ~ppc" +IUSE="" +DEPEND="virtual/python + sys-devel/make" + +src_install() { + distutils_src_install + dodoc TODO + dodir /usr/share/doc/${P} + + cp -r examples ${D}/usr/share/doc/${P} + dodir /usr/share/${PN} + cp -r tests ${D}/usr/share/${PN} +} + +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 + make || die "Unit tests failed!" +} + |