summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2006-10-06 22:01:09 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2006-10-06 22:01:09 +0000
commit666d004d3f3637eb8c618a2e8958716f14468584 (patch)
tree2d500cb0b083f25033d4bab4822068292564ebb4 /dev-python
parentRevert accidental commit; cblas.h doesn't yet install properly. (diff)
downloadgentoo-2-666d004d3f3637eb8c618a2e8958716f14468584.tar.gz
gentoo-2-666d004d3f3637eb8c618a2e8958716f14468584.tar.bz2
gentoo-2-666d004d3f3637eb8c618a2e8958716f14468584.zip
initial commit.
(Portage version: 2.1.2_pre2-r3)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pydns/ChangeLog10
-rw-r--r--dev-python/pydns/Manifest16
-rw-r--r--dev-python/pydns/files/digest-pydns-2.3.03
-rw-r--r--dev-python/pydns/metadata.xml15
-rw-r--r--dev-python/pydns/pydns-2.3.0.ebuild52
5 files changed, 96 insertions, 0 deletions
diff --git a/dev-python/pydns/ChangeLog b/dev-python/pydns/ChangeLog
new file mode 100644
index 000000000000..5bb3415d83d8
--- /dev/null
+++ b/dev-python/pydns/ChangeLog
@@ -0,0 +1,10 @@
+# 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 $
+
+*pydns-2.3.0 (06 Oct 2006)
+
+ 06 Oct 2006; Stefan Briesenick <sbriesen@gentoo.org> +metadata.xml,
+ +pydns-2.3.0.ebuild:
+ initial commit.
+
diff --git a/dev-python/pydns/Manifest b/dev-python/pydns/Manifest
new file mode 100644
index 000000000000..17bde501bd71
--- /dev/null
+++ b/dev-python/pydns/Manifest
@@ -0,0 +1,16 @@
+DIST pydns-2.3.0.tgz 20909 RMD160 b99b969c8cb547292535d63711d13be275b9dba2 SHA1 bbf4e7874ba35da9c8427761107cedbafa1f207c SHA256 0148485a5e1e08229cb1b5317197ad2f51bc9d5ed5003792bf218e2339e7dea2
+EBUILD pydns-2.3.0.ebuild 1006 RMD160 6c0e64787a1fdf9951501561211c5df77b7ea2c8 SHA1 530a273a62a2747c4cc5c6dc72b02335a70d74df SHA256 33c74476dcd9370b8bc8d6adbb2fb29da85df17379d0434fecaaa4c366709f71
+MD5 0ca64b5ac4d42ccc1eba473ecab72e6e pydns-2.3.0.ebuild 1006
+RMD160 6c0e64787a1fdf9951501561211c5df77b7ea2c8 pydns-2.3.0.ebuild 1006
+SHA256 33c74476dcd9370b8bc8d6adbb2fb29da85df17379d0434fecaaa4c366709f71 pydns-2.3.0.ebuild 1006
+MISC ChangeLog 257 RMD160 770922d41cdbd71cba0b4ff769ef48169c632f6c SHA1 9e4e91c03d8928fc3b0e776253d28294929b1fa0 SHA256 73e60fa2fa93dc2420314b74f30aff23c132712b5565dda6d9db5041a70401af
+MD5 41b8bd6f1bbf1055b90194ba8550a264 ChangeLog 257
+RMD160 770922d41cdbd71cba0b4ff769ef48169c632f6c ChangeLog 257
+SHA256 73e60fa2fa93dc2420314b74f30aff23c132712b5565dda6d9db5041a70401af ChangeLog 257
+MISC metadata.xml 520 RMD160 85cdcd069f88293e383a717e43909428e9c8edce SHA1 b455199f76a2acb13d01b20a4b700253be39f96a SHA256 f3faa087cccbc6467e9c092c4bee6f3c684b23a05739d692f6d490b7468220ad
+MD5 016ffc676beae5e504efcde6cfcfffff metadata.xml 520
+RMD160 85cdcd069f88293e383a717e43909428e9c8edce metadata.xml 520
+SHA256 f3faa087cccbc6467e9c092c4bee6f3c684b23a05739d692f6d490b7468220ad metadata.xml 520
+MD5 a9077b6fa7c69e3932ad78183e556f5b files/digest-pydns-2.3.0 223
+RMD160 bc7daa374b710e7fd4b1b9f48152705a69765aee files/digest-pydns-2.3.0 223
+SHA256 49c184936e2c2bb0d8014a9298ef1534f36d29fba72ece8bfe111b8a11bff503 files/digest-pydns-2.3.0 223
diff --git a/dev-python/pydns/files/digest-pydns-2.3.0 b/dev-python/pydns/files/digest-pydns-2.3.0
new file mode 100644
index 000000000000..d8cefbaa2f04
--- /dev/null
+++ b/dev-python/pydns/files/digest-pydns-2.3.0
@@ -0,0 +1,3 @@
+MD5 b79616da9e88abce88edf82b369ee58d pydns-2.3.0.tgz 20909
+RMD160 b99b969c8cb547292535d63711d13be275b9dba2 pydns-2.3.0.tgz 20909
+SHA256 0148485a5e1e08229cb1b5317197ad2f51bc9d5ed5003792bf218e2339e7dea2 pydns-2.3.0.tgz 20909
diff --git a/dev-python/pydns/metadata.xml b/dev-python/pydns/metadata.xml
new file mode 100644
index 000000000000..d02fdd063328
--- /dev/null
+++ b/dev-python/pydns/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>sbriesen@gentoo.org</email>
+ <name>Stefan Briesenick</name>
+ </maintainer>
+ <longdescription lang="en">
+ PyDNS provides a module for performing DNS queries from python
+ applications. This was originally based on Guido van Rossum's DNS
+ library code, but has drifted further and further away from it over
+ time.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-python/pydns/pydns-2.3.0.ebuild b/dev-python/pydns/pydns-2.3.0.ebuild
new file mode 100644
index 000000000000..472fc301c894
--- /dev/null
+++ b/dev-python/pydns/pydns-2.3.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pydns/pydns-2.3.0.ebuild,v 1.1 2006/10/06 22:01:09 sbriesen Exp $
+
+inherit eutils distutils multilib
+
+DESCRIPTION="Python DNS library"
+HOMEPAGE="http://pydns.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pydns/${P}.tgz"
+
+LICENSE="CNRI"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND="virtual/python"
+
+PYTHON_MODNAME="DNS"
+
+fix_encoding() {
+ local TMPFILE="${1}~"
+ case "${1}" in
+ *.py)
+ echo "# -*- coding: ${3} -*-" > "${TMPFILE}"
+ ;;
+ esac
+ iconv -f "${2}" -t "${3}" < "${1}" >> "${TMPFILE}" \
+ && mv -f "${TMPFILE}" "${1}" \
+ || rm -f "${TMPFILE}"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # fix encodings
+ for i in *.txt "${PYTHON_MODNAME}"/*.py; do
+ fix_encoding "${i}" "iso-8859-1" "utf-8"
+ done
+}
+
+src_install(){
+ distutils_src_install
+ rm -f ${D}usr/$(get_libdir)/python*/site-packages/${PYTHON_MODNAME}/*.py[co]
+
+ dodoc CREDITS.txt
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}/examples
+ doins tests/*.py tools/*.py
+ fi
+}