From 396137be3a99adabef33c8a32e75017278fe439b Mon Sep 17 00:00:00 2001 From: Xin Ouyang Date: Mon, 13 Feb 2012 16:09:24 +0800 Subject: python-IPy: needed by policycoreutils. --- recipes-devtools/python/python-IPy_0.75.bb | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 recipes-devtools/python/python-IPy_0.75.bb (limited to 'recipes-devtools') diff --git a/recipes-devtools/python/python-IPy_0.75.bb b/recipes-devtools/python/python-IPy_0.75.bb new file mode 100644 index 0000000..9ccb6bc --- /dev/null +++ b/recipes-devtools/python/python-IPy_0.75.bb @@ -0,0 +1,34 @@ +SUMMARY = "Python module for handling IPv4 and IPv6 Addresses and Networks" +DESCRIPTION = "IPy is a Python module for handling IPv4 and IPv6 Addresses and Networks \ +in a fashion similar to perl's Net::IP and friends. The IP class allows \ +a comfortable parsing and handling for most notations in use for IPv4 \ +and IPv6 Addresses and Networks." +SECTION = "devel/python" +HOMEPAGE = "https://github.com/haypo/python-ipy" +DEPENDS = "python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=ebc0028ff5cdaf7796604875027dcd55" + +PR = "r1" + +SRC_URI = "http://pypi.python.org/packages/source/I/IPy/IPy-${PV}.tar.gz" + +SRC_URI[md5sum] = "d56716a3d8c77fe8539b6e90c88010bd" +SRC_URI[sha256sum] = "0fa14af4792cc0b6f61cb5a1cd8fbdf7ddbaa6864ef82681021b750e9e6b2b61" + +S = "${WORKDIR}/IPy-${PV}" + +inherit distutils + +# need to export these variables for python-config to work +export BUILD_SYS +export HOST_SYS +export STAGING_INCDIR +export STAGING_LIBDIR + +BBCLASSEXTEND = "native" + +do_install_append() { + install -d ${D}/${datadir}/doc/${PN}-${PV} + install AUTHORS COPYING ChangeLog PKG-INFO README ${D}/${datadir}/doc/${PN}-${PV} +} -- cgit v1.2.3-54-g00ecf