python3-ipy: upgrade 1.01 -> 1.2

Changelog:
 * Drop Python 2 support; require Python 3.5+
 * Remove the module-level names INT_TYPES, STR_TYPES and xrange
 * Add inline type annotations; IPy is now a package that ships py.typed
 * Fix IP.broadcast() returning an IPv4 address for IPv6 networks
 * Fix IP.reverseName() for 0.0.0.0/0
 * Fix the flaky IPSet fuzz test

The fuzz test fix stops the intermittent ptest failure in
TestIPSet.testRandomContains, whose oracle ignored that IPSet merges
adjacent prefixes into a larger one.

The sdist is now named ipy-1.2.tar.gz, so drop PYPI_PACKAGE_SDIST.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj committed 2026-10-26 17:04:29 -07:00
1 parent 3f337d921e
commit 24f3c91e5f
1 file changed
+1 -3
@@ -0,0 +1,18 @@
SUMMARY = "IPy - class and tools for handling of 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/autocracy/python-ipy"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=848d24919845901b4f48bae5f13252e6"
SRC_URI[sha256sum] = "c145e664e84642fac875a043fab1a0b50bd65297385dc438dbfe25f24e65ac61"
inherit pypi setuptools3_legacy ptest-python-pytest
PTEST_PYTEST_DIR = "test"
BBCLASSEXTEND = "native"