Date: Thu, 05 Jul 2018 05:06:31 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 229526] [NEW PORT] devel/py-banal: Commons of banal micro-functions for Python Message-ID: <bug-229526-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229526 Bug ID: 229526 Summary: [NEW PORT] devel/py-banal: Commons of banal micro-functions for Python Product: Ports & Packages Version: Latest Hardware: Any URL: https://pypi.org/project/banal/ OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: freebsd_ports@k-worx.org CC: python@FreeBSD.org Created attachment 194886 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D194886&action= =3Dedit py-banal.patch Hello, attached is the patch that adds the Python package devel/py-banal, which provides a commons of Python micro-functions. This is basically an out-sour= ced, shared utils module. Rules: - Must work in Python 2 and Python 3 - Cannot depend on anything but six and the standard library Functions: - is_sequence: check if something is list-ish - is_mapping: check if an object is dict-ish - ensure_list: make sure an argument is a list, or make it into a single-element list - clean_dict: remove null values from a dict, recursively - decode_path: decode a path name to be unicode - hash_data: generate a SHA1 from a dict of reasonable objects QA: ~~~ - poudriere (11.2-RELEASE amd64 + i386) for each py27 + py36 flavor - portlint -> OK --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229526-21822>