diff options
author | 2008-04-07 00:08:48 +0000 | |
---|---|---|
committer | 2008-04-07 00:08:48 +0000 | |
commit | dcde3a63ed628c0a7be5ae8c163336ab0ebf605a (patch) | |
tree | 01e45acbf65de6903f2206617825e359743bf7ea /dev-python/pydns | |
parent | Stabl on x86 wrt bug #216578 (diff) | |
download | gentoo-2-dcde3a63ed628c0a7be5ae8c163336ab0ebf605a.tar.gz gentoo-2-dcde3a63ed628c0a7be5ae8c163336ab0ebf605a.tar.bz2 gentoo-2-dcde3a63ed628c0a7be5ae8c163336ab0ebf605a.zip |
version bump, thanks to Bartłomiej Syryjczyk for reporting.
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-python/pydns')
-rw-r--r-- | dev-python/pydns/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/pydns/pydns-2.3.1.ebuild | 43 |
2 files changed, 50 insertions, 2 deletions
diff --git a/dev-python/pydns/ChangeLog b/dev-python/pydns/ChangeLog index 5bb3415d83d8..053818025f0e 100644 --- a/dev-python/pydns/ChangeLog +++ b/dev-python/pydns/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/pydns -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pydns/ChangeLog,v 1.1 2006/10/06 22:01:09 sbriesen Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pydns/ChangeLog,v 1.2 2008/04/07 00:08:48 sbriesen Exp $ + +*pydns-2.3.1 (07 Apr 2008) + + 07 Apr 2008; Stefan Briesenick <sbriesen@gentoo.org> +pydns-2.3.1.ebuild: + version bump, thanks to Bartłomiej Syryjczyk for reporting. *pydns-2.3.0 (06 Oct 2006) diff --git a/dev-python/pydns/pydns-2.3.1.ebuild b/dev-python/pydns/pydns-2.3.1.ebuild new file mode 100644 index 000000000000..066fcc835f5b --- /dev/null +++ b/dev-python/pydns/pydns-2.3.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pydns/pydns-2.3.1.ebuild,v 1.1 2008/04/07 00:08:48 sbriesen Exp $ + +inherit eutils distutils + +DESCRIPTION="Python module for DNS (Domain Name Service)" +HOMEPAGE="http://pydns.sourceforge.net/" +SRC_URI="mirror://sourceforge/pydns/${P}.tar.gz" + +LICENSE="CNRI" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND="virtual/python" +DEPEND="${RDEPEND} + virtual/libiconv" + +PYTHON_MODNAME="DNS" +DOCS="CREDITS.txt" + +src_unpack() { + unpack ${A} + cd "${S}" + + # fix encodings (should be utf-8 but is latin1) + for i in CREDITS.txt "${PYTHON_MODNAME}"/{Lib,Type}.py; do + iconv -f ISO-8859-1 -t UTF-8 < "${i}" > "${i}~" && mv -f "${i}~" "${i}" || rm -f "${i}~" + done + + # fix setup.cfg (do not compile bytecode!) + sed -i -e 's:^\(compile\).*:\1 = 0:g' -e 's:^\(optimize\).*:\1 = 0:g' setup.cfg +} + +src_install(){ + distutils_src_install + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins tests/*.py tools/*.py + fi +} |