From 9ab68dd7f77fa44773697d005b63ef5c06136812 Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Wed, 2 Apr 2014 16:01:36 -0400 Subject: introduce python-dnspython package python-dnspython is DNS toolkit for Python (http://www.dnspython.org/) which is required by python-swift, so introduce it here. Signed-off-by: Vu Tran --- .../python/python-dnspython_1.11.1.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-dnspython_1.11.1.bb (limited to 'meta-openstack/recipes-devtools') diff --git a/meta-openstack/recipes-devtools/python/python-dnspython_1.11.1.bb b/meta-openstack/recipes-devtools/python/python-dnspython_1.11.1.bb new file mode 100644 index 0000000..4a65f65 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-dnspython_1.11.1.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "DNS toolkit for Python" +HOMEPAGE = "http://www.dnspython.org/" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=397eddfcb4bc7e2ece2fc79724a7cca2" + +PR = "r0" +SRCNAME = "dnspython" +SRC_URI = "http://www.dnspython.org/kits/${PV}/${SRCNAME}-${PV}.tar.gz" + +SRC_URI[md5sum] = "6167344ca849bd2ba108a8aa6118cb2b" +SRC_URI[sha256sum] = "c0c6fcf3ff52939e7eadd931282d083271f65cf0a174555a703563a400289768" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +# avoid "error: option --single-version-externally-managed not recognized" +DISTUTILS_INSTALL_ARGS = "--root=${D} \ + --prefix=${prefix} \ + --install-lib=${PYTHON_SITEPACKAGES_DIR} \ + --install-data=${datadir}" -- cgit v1.2.3-54-g00ecf