diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2019-11-14 09:48:43 +0800 |
|---|---|---|
| committer | Joe MacDonald <joe_macdonald@mentor.com> | 2019-12-19 11:09:20 -0500 |
| commit | 7d8eb0fd5bd46ceb27bd9f376259c4de4864ba23 (patch) | |
| tree | d50a9ef0d66ebd2e41c6ff1e498c700f714837a8 /recipes-devtools | |
| parent | c64bc6070df488040d90b795add3b7b8838a7662 (diff) | |
| download | meta-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>
Diffstat (limited to 'recipes-devtools')
| -rw-r--r-- | recipes-devtools/python/python-ipy.inc | 18 | ||||
| -rw-r--r-- | recipes-devtools/python/python-ipy_0.83.bb | 32 | ||||
| -rw-r--r-- | recipes-devtools/python/python-ipy_1.00.bb | 2 | ||||
| -rw-r--r-- | recipes-devtools/python/python3-ipy_1.00.bb | 2 |
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 @@ | |||
| 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 | LICENSE = "BSD-3-Clause" | ||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=848d24919845901b4f48bae5f13252e6" | ||
| 10 | |||
| 11 | SRC_URI[md5sum] = "1a90c68174234672241a7e60c7ea0fb9" | ||
| 12 | SRC_URI[sha256sum] = "2f2bf658a858d43868d8a4352b3889cf78c66e2ce678b300dcf518c9149ba621" | ||
| 13 | |||
| 14 | inherit pypi | ||
| 15 | |||
| 16 | PYPI_PACKAGE = "IPy" | ||
| 17 | |||
| 18 | BBCLASSEXTEND = "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 @@ | |||
| 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 | SRC_URI = "https://pypi.python.org/packages/source/I/IPy/IPy-${PV}.tar.gz" | ||
| 13 | |||
| 14 | SRC_URI[md5sum] = "7b8c6eb4111b15aea31b67108e769712" | ||
| 15 | SRC_URI[sha256sum] = "61da5a532b159b387176f6eabf11946e7458b6df8fb8b91ff1d345ca7a6edab8" | ||
| 16 | |||
| 17 | S = "${WORKDIR}/IPy-${PV}" | ||
| 18 | |||
| 19 | inherit distutils | ||
| 20 | |||
| 21 | # need to export these variables for python-config to work | ||
| 22 | export BUILD_SYS | ||
| 23 | export HOST_SYS | ||
| 24 | export STAGING_INCDIR | ||
| 25 | export STAGING_LIBDIR | ||
| 26 | |||
| 27 | BBCLASSEXTEND = "native" | ||
| 28 | |||
| 29 | do_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 @@ | |||
| 1 | inherit setuptools | ||
| 2 | require 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 @@ | |||
| 1 | inherit setuptools3 | ||
| 2 | require python-ipy.inc | ||
