summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2008-04-07 00:08:48 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2008-04-07 00:08:48 +0000
commit87187d9fae966d65adb18c630444f07c29fa3aaf (patch)
treee4d1041aff7404597ffc5109439d32b43642f671
parentStabl on x86 wrt bug #216578 (diff)
downloadhistorical-87187d9fae966d65adb18c630444f07c29fa3aaf.tar.gz
historical-87187d9fae966d65adb18c630444f07c29fa3aaf.tar.bz2
historical-87187d9fae966d65adb18c630444f07c29fa3aaf.zip
version bump, thanks to Bartłomiej Syryjczyk for reporting.
Package-Manager: portage-2.1.4.4
-rw-r--r--dev-python/pydns/ChangeLog9
-rw-r--r--dev-python/pydns/Manifest4
-rw-r--r--dev-python/pydns/pydns-2.3.1.ebuild43
3 files changed, 53 insertions, 3 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/Manifest b/dev-python/pydns/Manifest
index 337ad4b72803..a4dd902ce6ce 100644
--- a/dev-python/pydns/Manifest
+++ b/dev-python/pydns/Manifest
@@ -1,4 +1,6 @@
DIST pydns-2.3.0.tgz 20909 RMD160 b99b969c8cb547292535d63711d13be275b9dba2 SHA1 bbf4e7874ba35da9c8427761107cedbafa1f207c SHA256 0148485a5e1e08229cb1b5317197ad2f51bc9d5ed5003792bf218e2339e7dea2
+DIST pydns-2.3.1.tar.gz 22006 RMD160 2ca54d59f599f36da06736f9b3a10f8a01412be4 SHA1 b30a610ba09dc6a3164c13eb72a7f5e34de5b089 SHA256 b5539a6e51ff130f72dba3457256655c4d237c8ed5d04c16a795efe6248df99e
EBUILD pydns-2.3.0.ebuild 1105 RMD160 526e2e0201d150f1e964a157e5a59cfef1d44bdf SHA1 c5f6b96c438f653e6036d3287e250810f153b914 SHA256 2bc236f37a7c036fbfaf1f7aafb56607c33278bdc32f8eba0ed91dda72e85c4a
-MISC ChangeLog 347 RMD160 6c1349f1ac6934e38aaff485350cd490dc7b5d37 SHA1 303072428efd84e860fa6597edd413869f5f6256 SHA256 e9a6f0fb801cbab15e401f95f05dc49e50af5ebb4d964da19ef2d1aa5f6d6df3
+EBUILD pydns-2.3.1.ebuild 1077 RMD160 e6360e7be2388dcdb46ca014fcb35a0bc8208a11 SHA1 7abd63b3bc12e46705b904490709091d758095dc SHA256 c8a4a5164250d228ef3c0cc5b0668df25d943e46e0ecc1624be38059fd9bba7f
+MISC ChangeLog 515 RMD160 27a865c234a2e91c845a67b2b5c39b74fac1d372 SHA1 9b307eb4f8885d2f08f8f089b1e229c5b87131d3 SHA256 a23f988b5b27f602d64af9368adf33103dff42afcdfbb55de3fd01f66e0e1c59
MISC metadata.xml 520 RMD160 85cdcd069f88293e383a717e43909428e9c8edce SHA1 b455199f76a2acb13d01b20a4b700253be39f96a SHA256 f3faa087cccbc6467e9c092c4bee6f3c684b23a05739d692f6d490b7468220ad
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
+}