summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-04-19 07:42:22 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-04-19 07:42:22 +0000
commita6148da572103505ca1bf7d199d06f307622d13f (patch)
tree0a671d3509846e8a9424089d7dc8b84925afdf36
parentVersion bump to latest version. All kudos to Diego Amores for writting it. (diff)
downloadgentoo-2-a6148da572103505ca1bf7d199d06f307622d13f.tar.gz
gentoo-2-a6148da572103505ca1bf7d199d06f307622d13f.tar.bz2
gentoo-2-a6148da572103505ca1bf7d199d06f307622d13f.zip
Bump
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
-rw-r--r--dev-python/dnspython/ChangeLog9
-rw-r--r--dev-python/dnspython/dnspython-1.10.0.ebuild48
2 files changed, 55 insertions, 2 deletions
diff --git a/dev-python/dnspython/ChangeLog b/dev-python/dnspython/ChangeLog
index 55eca3a3cbad..6739cf6cbe60 100644
--- a/dev-python/dnspython/ChangeLog
+++ b/dev-python/dnspython/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/dnspython
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.77 2011/06/23 14:51:43 hwoarang Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.78 2012/04/19 07:42:22 patrick Exp $
+
+*dnspython-1.10.0 (19 Apr 2012)
+
+ 19 Apr 2012; Patrick Lauer <patrick@gentoo.org> +dnspython-1.10.0.ebuild:
+ Bump
23 Jun 2011; Markos Chandras <hwoarang@gentoo.org> -dnspython-1.9.2.ebuild:
Remove old ebuilds. Requested by Arfrever
diff --git a/dev-python/dnspython/dnspython-1.10.0.ebuild b/dev-python/dnspython/dnspython-1.10.0.ebuild
new file mode 100644
index 000000000000..90a45471b93c
--- /dev/null
+++ b/dev-python/dnspython/dnspython-1.10.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/dnspython-1.10.0.ebuild,v 1.1 2012/04/19 07:42:22 patrick Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils
+
+DESCRIPTION="DNS toolkit for Python"
+HOMEPAGE="http://www.dnspython.org/ http://pypi.python.org/pypi/dnspython"
+SRC_URI="http://www.dnspython.org/kits/${PV}/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
+IUSE="examples"
+
+DEPEND="dev-python/pycrypto"
+RDEPEND="${DEPEND}"
+
+DOCS="ChangeLog README"
+PYTHON_MODNAME="dns"
+
+src_test() {
+ cd tests
+
+ testing() {
+ local exit_status="0" test
+ for test in *.py; do
+ echo "Running ${test}..."
+ PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" "${test}" || exit_status="1"
+ done
+ return "${exit_status}"
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/* || die "Installation of examples failed"
+ fi
+}