summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2019-11-14 09:48:43 +0800
committerJoe MacDonald <joe_macdonald@mentor.com>2019-12-19 11:09:20 -0500
commit7d8eb0fd5bd46ceb27bd9f376259c4de4864ba23 (patch)
treed50a9ef0d66ebd2e41c6ff1e498c700f714837a8
parentc64bc6070df488040d90b795add3b7b8838a7662 (diff)
downloadmeta-selinux-7d8eb0fd5bd46ceb27bd9f376259c4de4864ba23.tar.gz
python-ipy: upgrade to 1.00 and add python3 version
Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r--recipes-devtools/python/python-ipy.inc18
-rw-r--r--recipes-devtools/python/python-ipy_0.83.bb32
-rw-r--r--recipes-devtools/python/python-ipy_1.00.bb2
-rw-r--r--recipes-devtools/python/python3-ipy_1.00.bb2
4 files changed, 22 insertions, 32 deletions
diff --git a/recipes-devtools/python/python-ipy.inc b/recipes-devtools/python/python-ipy.inc
new file mode 100644
index 0000000..ba4c2bd
--- /dev/null
+++ b/recipes-devtools/python/python-ipy.inc
@@ -0,0 +1,18 @@
1SUMMARY = "Python module for handling IPv4 and IPv6 Addresses and Networks"
2DESCRIPTION = "IPy is a Python module for handling IPv4 and IPv6 Addresses and Networks \
3in a fashion similar to perl's Net::IP and friends. The IP class allows \
4a comfortable parsing and handling for most notations in use for IPv4 \
5and IPv6 Addresses and Networks."
6SECTION = "devel/python"
7HOMEPAGE = "https://github.com/haypo/python-ipy"
8LICENSE = "BSD-3-Clause"
9LIC_FILES_CHKSUM = "file://COPYING;md5=848d24919845901b4f48bae5f13252e6"
10
11SRC_URI[md5sum] = "1a90c68174234672241a7e60c7ea0fb9"
12SRC_URI[sha256sum] = "2f2bf658a858d43868d8a4352b3889cf78c66e2ce678b300dcf518c9149ba621"
13
14inherit pypi
15
16PYPI_PACKAGE = "IPy"
17
18BBCLASSEXTEND = "native"
diff --git a/recipes-devtools/python/python-ipy_0.83.bb b/recipes-devtools/python/python-ipy_0.83.bb
deleted file mode 100644
index df060fa..0000000
--- a/recipes-devtools/python/python-ipy_0.83.bb
+++ /dev/null
@@ -1,32 +0,0 @@
1SUMMARY = "Python module for handling IPv4 and IPv6 Addresses and Networks"
2DESCRIPTION = "IPy is a Python module for handling IPv4 and IPv6 Addresses and Networks \
3in a fashion similar to perl's Net::IP and friends. The IP class allows \
4a comfortable parsing and handling for most notations in use for IPv4 \
5and IPv6 Addresses and Networks."
6SECTION = "devel/python"
7HOMEPAGE = "https://github.com/haypo/python-ipy"
8DEPENDS = "python"
9LICENSE = "BSD"
10LIC_FILES_CHKSUM = "file://COPYING;md5=ebc0028ff5cdaf7796604875027dcd55"
11
12SRC_URI = "https://pypi.python.org/packages/source/I/IPy/IPy-${PV}.tar.gz"
13
14SRC_URI[md5sum] = "7b8c6eb4111b15aea31b67108e769712"
15SRC_URI[sha256sum] = "61da5a532b159b387176f6eabf11946e7458b6df8fb8b91ff1d345ca7a6edab8"
16
17S = "${WORKDIR}/IPy-${PV}"
18
19inherit distutils
20
21# need to export these variables for python-config to work
22export BUILD_SYS
23export HOST_SYS
24export STAGING_INCDIR
25export STAGING_LIBDIR
26
27BBCLASSEXTEND = "native"
28
29do_install_append() {
30 install -d ${D}/${datadir}/doc/${BPN}-${PV}
31 install AUTHORS COPYING ChangeLog README ${D}/${datadir}/doc/${BPN}-${PV}
32}
diff --git a/recipes-devtools/python/python-ipy_1.00.bb b/recipes-devtools/python/python-ipy_1.00.bb
new file mode 100644
index 0000000..587a517
--- /dev/null
+++ b/recipes-devtools/python/python-ipy_1.00.bb
@@ -0,0 +1,2 @@
1inherit setuptools
2require python-ipy.inc
diff --git a/recipes-devtools/python/python3-ipy_1.00.bb b/recipes-devtools/python/python3-ipy_1.00.bb
new file mode 100644
index 0000000..ea6a105
--- /dev/null
+++ b/recipes-devtools/python/python3-ipy_1.00.bb
@@ -0,0 +1,2 @@
1inherit setuptools3
2require python-ipy.inc