diff options
Diffstat (limited to 'recipes-devtools')
-rw-r--r-- | recipes-devtools/python/python-IPy_0.75.bb | 34 |
1 files changed, 34 insertions, 0 deletions
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 @@ | |||
1 | SUMMARY = "Python module for handling IPv4 and IPv6 Addresses and Networks" | ||
2 | DESCRIPTION = "IPy is a Python module for handling IPv4 and IPv6 Addresses and Networks \ | ||
3 | in a fashion similar to perl's Net::IP and friends. The IP class allows \ | ||
4 | a comfortable parsing and handling for most notations in use for IPv4 \ | ||
5 | and IPv6 Addresses and Networks." | ||
6 | SECTION = "devel/python" | ||
7 | HOMEPAGE = "https://github.com/haypo/python-ipy" | ||
8 | DEPENDS = "python" | ||
9 | LICENSE = "BSD" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=ebc0028ff5cdaf7796604875027dcd55" | ||
11 | |||
12 | PR = "r1" | ||
13 | |||
14 | SRC_URI = "http://pypi.python.org/packages/source/I/IPy/IPy-${PV}.tar.gz" | ||
15 | |||
16 | SRC_URI[md5sum] = "d56716a3d8c77fe8539b6e90c88010bd" | ||
17 | SRC_URI[sha256sum] = "0fa14af4792cc0b6f61cb5a1cd8fbdf7ddbaa6864ef82681021b750e9e6b2b61" | ||
18 | |||
19 | S = "${WORKDIR}/IPy-${PV}" | ||
20 | |||
21 | inherit distutils | ||
22 | |||
23 | # need to export these variables for python-config to work | ||
24 | export BUILD_SYS | ||
25 | export HOST_SYS | ||
26 | export STAGING_INCDIR | ||
27 | export STAGING_LIBDIR | ||
28 | |||
29 | BBCLASSEXTEND = "native" | ||
30 | |||
31 | do_install_append() { | ||
32 | install -d ${D}/${datadir}/doc/${PN}-${PV} | ||
33 | install AUTHORS COPYING ChangeLog PKG-INFO README ${D}/${datadir}/doc/${PN}-${PV} | ||
34 | } | ||