PyDNS provides a module for performing DNS queries from python applications. The new ebuild (dev-python/pydns-2.3.0) is attached.
Created attachment 69071 [details] dev-python/pydns-2.3.0.ebuild
This is an optional dependency of dev-python/formencode (used for email validation).
This package (which hasn't been updated for several years) can raise warnings in moderately contemporary Pythons because a couple of the source files contain non-ascii characters (which snuck in nasty CVS $Log$ appendages). I attach a patch that fixes this.
Created attachment 92024 [details, diff] adding -*-coding-*- comments atop all of the source files
Created attachment 92025 [details] revised ebuild that uses coding patch
that patch won't quite survive being put into CVS because of the $Id $ bit which CVS will munge when it gets committed the portage. Is there a good sed/awk rule that can be used instead?
*** Bug 150296 has been marked as a duplicate of this bug. ***
Created attachment 98946 [details] pydns-2.3.0.ebuild Updated ebuild to use quick sed script instead of a patch. Sorry about the duplicate bug -- I must have fat-fingered the original search.
already in portage.