Port details |
- py-banal Commons of banal micro-functions for Python
- 1.0.6 devel =2 1.0.6Version of this port present on the latest quarterly branch.
- Maintainer: kai@FreeBSD.org
- Port Added: 2018-07-28 12:21:47
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/pudo/banal
- Description:
- Commons of Python micro-functions. This is basically an out-sourced, shared
utils module.
Rules:
- Cannot depend on anything except 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}banal>0:devel/py-banal@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-banal/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-banal
- pkg install py39-banal
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-banal listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-banal
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1679296241
SHA256 (banal-1.0.6.tar.gz) = 2fe02c9305f53168441948f4a03dfbfa2eacc73db30db4a93309083cb0e250a5
SIZE (banal-1.0.6.tar.gz) = 4827
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- textproc/py-normality
Configuration Options:
- No options to configure
- Options name:
- devel_py-banal
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.0.6 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
1.0.6 21 Mar 2023 12:23:17 |
Kai Knoblich (kai) |
devel/py-banal: Update to 1.0.6
Changelog since 1.0.1:
https://github.com/pudo/banal/compare/1.0.1...1.0.6 |
1.0.1 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.0.1 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.0.1 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
1.0.1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.0.1 10 Dec 2020 09:49:22 |
kai |
devel/py-banal: Update to 1.0.1
* The support for Python < 3.5 was dropped with the 1.0.0 release, adapt
accordingly and update the pkg-descr.
* Do the same for textproc/py-{fingerprints,normality} to avoid breakage of
bulk -a . Both consumers will soon be updated to a newer release which
also no longer have any support for Python < 3.5.
Changelog since 0.4.2:
https://github.com/pudo/banal/compare/528c339b...1.0.1 |
0.4.2 29 Mar 2019 15:30:00 |
kai |
devel/py-banal: Update to 0.4.2
Changelog:
* Add ensure_dict and keys_values functions
* Fix hash_data function
* Make the package safe for Python 3.8 (= module "collections.abc" is only
visible through the module "collections" up to Python 3.7)
Approved by: mentors (implicit) |
0.3.7 01 Feb 2019 18:55:18 |
kai |
Change my maintainer email address to my new one at the FreeBSD project.
Reviewed by: miwi (mentor)
Approved by: miwi (mentor)
Differential Revision: https://reviews.freebsd.org/D19050 |
0.3.7 28 Jul 2018 12:21:38 |
miwi |
Commons of Python micro-functions. This is basically an out-sourced, 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
WWW: https://github.com/pudo/banal
PR: 229526
Submitted by: freebsd_ports@k-worx.org
Sponsored by: iXsystems Inc. |