notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
py-knack Command line interface framework
0.11.0 devel on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.11.0Version of this port present on the latest quarterly branch.
Maintainer: dbaio@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-08-10 09:44:29
Last Update: 2023-10-01 23:10:36
Commit Hash: e223d7a
People watching this port, also watch:: policyd2, rc, py39-cjkwrap, py39-darts.util.lru, monit
Also Listed In: python
License: MIT
WWW:
https://github.com/Microsoft/knack
Description:
Knack is a Python command line parsing framework. Knack is built around the following patterns: - Be consistent with POSIX tools. - CLI success comes from ease and predictability of use so be consistent. - Support Piping and output direction to chain commands together. - Work with GREP, AWK, JQ and other common tools and commands. - Support productivity features like tab completion and parameter value completion. - Commands should follow a "[noun] [noun] [verb]" pattern. - For nouns that only support a single verb, the command should be named as a single hyphenated verb-noun pair. - Commands should support all output types (be consistent). - Exceptions are okay if only a 'raw' format makes sense e.g. XML. - Commands and arguments should have descriptions. - Include examples for the less straightforward commands. - Commands should return an object or dictionary, not strings/bools/etc.; logging.info("Upload of myfile.txt successful") NOT return "Upload successful". - Log to ERROR or WARNING for user messages; don't use print() function (by default it goes to STDOUT). - STDOUT vs. STDERR: STDOUT is used for actual command output. Everything else to STDERR (e.g. log/status/error messages).
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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}knack>0:devel/py-knack@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-knack/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-knack
  • pkg install py39-knack
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-knack listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-knack
Package flavors (<flavor>: <package>)
  • py39: py39-knack
distinfo:
TIMESTAMP = 1696201709 SHA256 (knack-0.11.0.tar.gz) = eb6568001e9110b1b320941431c51033d104cc98cda2254a5c2b09ba569fd494 SIZE (knack-0.11.0.tar.gz) = 72308

Packages (timestamps in pop-ups are UTC):
py37-knack
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--0.8.0.r2---0.7.2-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
 

py39-knack
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.11.00.11.0-0.11.00.11.0---
FreeBSD:13:quarterly0.11.00.11.00.10.10.11.00.11.00.11.00.11.00.11.0
FreeBSD:14:latest0.11.00.11.00.10.10.11.00.11.00.10.1-0.10.1
FreeBSD:14:quarterly0.11.00.11.0-0.11.00.11.00.11.00.11.00.11.0
FreeBSD:15:latest0.11.00.11.0n/a0.11.0n/a0.11.00.11.00.11.0
FreeBSD:15:quarterly--n/a-n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-argcomplete>0 : devel/py-argcomplete@py39
  2. py39-jmespath>0 : devel/py-jmespath@py39
  3. py39-pygments>0 : textproc/py-pygments@py39
  4. py39-tabulate>0 : devel/py-tabulate@py39
  5. py39-yaml>0 : devel/py-yaml@py39
  6. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  7. python3.9 : lang/python39
This port is required by:
for Run
  1. sysutils/py-azure-cli-core

Configuration Options:
No options to configure
Options name:
devel_py-knack
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/k/knack/
  2. https://pypi.org/packages/source/k/knack/
Collapse this list.

Number of commits found: 31

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.11.0
01 Oct 2023 23:10:36
commit hash: e223d7ad24d849c1c39d0eed4438967eb8a98487commit hash: e223d7ad24d849c1c39d0eed4438967eb8a98487commit hash: e223d7ad24d849c1c39d0eed4438967eb8a98487commit hash: e223d7ad24d849c1c39d0eed4438967eb8a98487 files touched by this commit
Danilo G. Baio (dbaio) search for other commits by this committer
devel/py-knack: Update to 0.11.0

Changelog:	https://github.com/microsoft/knack/releases/tag/v0.11.0
0.10.1
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
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>
0.10.1
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
0.10.1
31 Dec 2022 17:49:40
commit hash: 3f58374009138e1762d0b70d854179f25cd1a7eacommit hash: 3f58374009138e1762d0b70d854179f25cd1a7eacommit hash: 3f58374009138e1762d0b70d854179f25cd1a7eacommit hash: 3f58374009138e1762d0b70d854179f25cd1a7ea files touched by this commit
Danilo G. Baio (dbaio) search for other commits by this committer
devel/py-knack: Update to 0.10.1

Changelog:	https://github.com/microsoft/knack/blob/v0.10.1/HISTORY.rst
0.10.0
10 Sep 2022 17:20:24
commit hash: 70636deae24b59a4af75bd41a2490e9fdbc77801commit hash: 70636deae24b59a4af75bd41a2490e9fdbc77801commit hash: 70636deae24b59a4af75bd41a2490e9fdbc77801commit hash: 70636deae24b59a4af75bd41a2490e9fdbc77801 files touched by this commit
Danilo G. Baio (dbaio) search for other commits by this committer
devel/py-knack: Update to 0.10.0

Changelog:	https://github.com/microsoft/knack/blob/v0.10.0/HISTORY.rst
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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)
0.9.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
0.9.0
02 Jan 2022 14:18:54
commit hash: ab541d61cfc6af160f97322e94a874828b571757commit hash: ab541d61cfc6af160f97322e94a874828b571757commit hash: ab541d61cfc6af160f97322e94a874828b571757commit hash: ab541d61cfc6af160f97322e94a874828b571757 files touched by this commit
Danilo G. Baio (dbaio) search for other commits by this committer
devel/py-knack: Update to 0.9.0

Changelog:	https://github.com/microsoft/knack/blob/v0.9.0/HISTORY.rst
0.8.2
29 May 2021 14:02:07
commit hash: 340c9aa46d640e43ab4dd62359934a54aa8e6f46commit hash: 340c9aa46d640e43ab4dd62359934a54aa8e6f46commit hash: 340c9aa46d640e43ab4dd62359934a54aa8e6f46commit hash: 340c9aa46d640e43ab4dd62359934a54aa8e6f46 files touched by this commit
Danilo G. Baio (dbaio) search for other commits by this committer
devel/py-knack: Update to 0.8.2

Changelog:	https://github.com/microsoft/knack/blob/v0.8.2/HISTORY.rst
0.8.1
07 May 2021 02:51:07
commit hash: d861e49cdb6461ae1ca846c0f65b44c235883a69commit hash: d861e49cdb6461ae1ca846c0f65b44c235883a69commit hash: d861e49cdb6461ae1ca846c0f65b44c235883a69commit hash: d861e49cdb6461ae1ca846c0f65b44c235883a69 files touched by this commit
Danilo G. Baio (dbaio) search for other commits by this committer
devel/py-knack: Update to 0.8.1
0.8.0
18 Apr 2021 12:21:57
commit hash: f3a7430ef54036ff87a5b1a952612ab0cd78858dcommit hash: f3a7430ef54036ff87a5b1a952612ab0cd78858dcommit hash: f3a7430ef54036ff87a5b1a952612ab0cd78858dcommit hash: f3a7430ef54036ff87a5b1a952612ab0cd78858d files touched by this commit
Danilo G. Baio (dbaio) search for other commits by this committer
devel/py-knack: Update to 0.8.0

Changelog:	https://github.com/microsoft/knack/blob/v0.8.0/HISTORY.rst
0.8.0.r2
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
0.8.0.r2
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.8.0.r2
21 Jan 2021 14:14:01
Revision:562207Original commit files touched by this commit
dbaio search for other commits by this committer
devel/py-knack: Update to 0.8.0rc2
0.7.2
11 Aug 2020 22:57:56
Revision:544723Original commit files touched by this commit
dbaio search for other commits by this committer
devel/py-knack: Update to 0.7.2

Reported by:	portscout
0.7.1
21 May 2020 01:30:10
Revision:536031Original commit files touched by this commit
dbaio search for other commits by this committer
devel/py-knack: Update to 0.7.1

Reported by:	portscout
0.7.0.r4
01 May 2020 14:12:15
Revision:533541Original commit files touched by this commit
dbaio search for other commits by this committer
devel/py-knack: Update to 0.7.0rc4

Reported by:	portscout
0.7.0.r3
21 Apr 2020 20:12:53
Revision:532406Original commit files touched by this commit
dbaio search for other commits by this committer
devel/py-knack: Update to 0.7.0rc3
0.7.0.r1
05 Apr 2020 13:43:20
Revision:530774Original commit files touched by this commit
dbaio search for other commits by this committer
devel/py-knack: Update to 0.7.0rc1

Drop support for Python 2.7
0.6.3
04 Feb 2020 08:49:43
Revision:525133Original commit files touched by this commit
dbaio search for other commits by this committer
devel/py-knack: Take MAINTAINER'ship
0.6.3
03 Feb 2020 20:21:08
Revision:525092Original commit files touched by this commit
rene search for other commits by this committer
Return dbn's ports to the pool after safekeeping his commit bit.
0.6.3
07 Sep 2019 22:43:00
Revision:511431Original commit files touched by this commit
dbaio search for other commits by this committer
devel/py-knack: Update to 0.6.3

Changelog:	https://github.com/Microsoft/knack/releases/tag/v0.6.3

Approved by:	dbn (maintainer, implicit)
0.6.2
06 Jun 2019 00:34:19
Revision:503530Original commit files touched by this commit
dbaio search for other commits by this committer
devel/py-knack: Update to 0.6.2

Changelog:	https://github.com/Microsoft/knack/releases/tag/v0.6.2

Approved by:	dbn (maintainer, implicit)
0.6.1
11 May 2019 23:09:59
Revision:501314Original commit files touched by this commit
dbaio search for other commits by this committer
devel/py-knack: Update to 0.6.1

Changelog:	https://github.com/Microsoft/knack/releases/tag/v0.6.1

Approved by:	dbn (maintainer, implicit)
0.5.4
14 Apr 2019 23:07:40
Revision:498955Original commit files touched by this commit
dbaio search for other commits by this committer
devel/py-knack: Update to 0.5.4

Changelog:	https://github.com/Microsoft/knack/releases/tag/v0.5.4

Approved by:	dbn (maintainer, implicit)
0.5.3
21 Mar 2019 16:33:25
Revision:496472Original commit files touched by this commit
dbn search for other commits by this committer
devel/py-knack: update to 0.5.3

 - Mark as NO_ARCH
 - Add missing dependency
 - Change log:
   - Removes an incorrect check when adding arguments.
   - Updates usages of yaml.load to use yaml.safe_load.

PR:		236421
Submitted by:	dbaio@
0.5.1
20 Nov 2018 04:26:41
Revision:485410Original commit files touched by this commit
dbn search for other commits by this committer
devel/py-knack: update to 0.5.1
0.5.0
08 Nov 2018 15:12:44
Revision:484459Original commit files touched by this commit
dbn search for other commits by this committer
devel/py-knack: update to 0.5.0
0.4.5
02 Nov 2018 17:12:21
Revision:483823Original commit files touched by this commit
dbn search for other commits by this committer
devel/py-knack: update to 0.4.5

 - Switch to PyPi
 - PyPi doesn't ship with a LICENSE file
 - PyPi doesn't ship with tests (but we didn't have tests hooked up anyway)
0.4.3
12 Sep 2018 14:58:32
Revision:479608Original commit files touched by this commit
dbn search for other commits by this committer
devel/py-knack: update to 0.4.3
0.4.2
10 Aug 2018 09:43:08
Revision:476822Original commit files touched by this commit
dbn search for other commits by this committer
devel/py-knack: add port

Knack is a Python command line parsing framework.

Number of commits found: 31