pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-kb: Import py-kb-0.1.6 as wip/py-kb



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sat May 29 11:14:49 2021 +0200
Changeset:	6738ddc645f59bdd4b212a4a76f40b2eca3ecf12

Modified Files:
	Makefile
Added Files:
	py-kb/DESCR
	py-kb/Makefile
	py-kb/PLIST
	py-kb/distinfo

Log Message:
py-kb: Import py-kb-0.1.6 as wip/py-kb

kb is a text-oriented minimalist command line knowledge base manager.
kb can be considered a quick note collection and access tool oriented
toward software developers, penetration testers, hackers, students
or whoever has to collect and organize notes in a clean way. Although
kb is mainly targeted on text-based note collection, it supports
non-text files as well (e.g., images, pdf, videos and others).

The project was born from the frustration of trying to find a good
way to quickly access my notes, procedures, cheatsheets and lists
(e.g., payloads) but at the same time, keeping them organized. This
is particularly useful for any kind of student. I use it in the
context of penetration testing to organize pentesting procedures,
cheatsheets, payloads, guides and notes.

Packaged by Giuseppe Nebbione via PR pkg/56193 and intended to be
imported in pkgsrc soon-ish!

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6738ddc645f59bdd4b212a4a76f40b2eca3ecf12

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile       |   1 +
 py-kb/DESCR    |  13 ++++++++
 py-kb/Makefile |  26 +++++++++++++++
 py-kb/PLIST    | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 py-kb/distinfo |   6 ++++
 5 files changed, 149 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index d58797b7b5..f303d6883f 100644
--- a/Makefile
+++ b/Makefile
@@ -3889,6 +3889,7 @@ SUBDIR+=	py-jupyter-console
 SUBDIR+=	py-jwcrypto
 SUBDIR+=	py-kabuki
 SUBDIR+=	py-karta
+SUBDIR+=	py-kb
 SUBDIR+=	py-kcs11
 SUBDIR+=	py-kenv
 SUBDIR+=	py-keras
diff --git a/py-kb/DESCR b/py-kb/DESCR
new file mode 100644
index 0000000000..ebca8999d3
--- /dev/null
+++ b/py-kb/DESCR
@@ -0,0 +1,13 @@
+kb is a text-oriented minimalist command line knowledge base manager.
+kb can be considered a quick note collection and access tool oriented
+toward software developers, penetration testers, hackers, students
+or whoever has to collect and organize notes in a clean way. Although
+kb is mainly targeted on text-based note collection, it supports
+non-text files as well (e.g., images, pdf, videos and others).
+
+The project was born from the frustration of trying to find a good
+way to quickly access my notes, procedures, cheatsheets and lists
+(e.g., payloads) but at the same time, keeping them organized. This
+is particularly useful for any kind of student. I use it in the
+context of penetration testing to organize pentesting procedures,
+cheatsheets, payloads, guides and notes.
diff --git a/py-kb/Makefile b/py-kb/Makefile
new file mode 100644
index 0000000000..e02a86945d
--- /dev/null
+++ b/py-kb/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD$
+
+DISTNAME=	kb-manager-0.1.6
+EGGNAME=	${DISTNAME:S/-manager//}
+PKGNAME=	${PYPKGPREFIX}-${EGGNAME}
+CATEGORIES=	databases python
+MASTER_SITES=	https://files.pythonhosted.org/packages/9d/a8/6c69a6c9e4bff2d8156cdc5b0307958b7f493255fcc7945975728a5981a2/
+
+MAINTAINER=	nebbionegiuseppe%gmail.com@localhost
+HOMEPAGE=	https://github.com/gnebbia/kb/
+COMMENT=	Minimalist command line knowledge base manager
+LICENSE=	gnu-gpl-v3
+
+DEPENDS+=	${PYPKGPREFIX}-attrs>=0:../../devel/py-attrs
+DEPENDS+=	${PYPKGPREFIX}-colored>=0:../../textproc/py-colored
+DEPENDS+=	${PYPKGPREFIX}-gitpython>=0:../../devel/py-gitpython
+DEPENDS+=	${PYPKGPREFIX}-sqlite3>=0:../../databases/py-sqlite3
+DEPENDS+=	${PYPKGPREFIX}-toml>=0:../../textproc/py-toml
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27 36 37
+
+USE_LANGUAGES=	# none
+
+.include "../../lang/python/egg.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-kb/PLIST b/py-kb/PLIST
new file mode 100644
index 0000000000..e648b654ab
--- /dev/null
+++ b/py-kb/PLIST
@@ -0,0 +1,103 @@
+@comment $NetBSD$
+bin/kb
+${PYSITELIB}/kb/.coverage
+${PYSITELIB}/kb/__init__.py
+${PYSITELIB}/kb/__init__.pyc
+${PYSITELIB}/kb/__init__.pyo
+${PYSITELIB}/kb/__main__.py
+${PYSITELIB}/kb/__main__.pyc
+${PYSITELIB}/kb/__main__.pyo
+${PYSITELIB}/kb/cl_parser.py
+${PYSITELIB}/kb/cl_parser.pyc
+${PYSITELIB}/kb/cl_parser.pyo
+${PYSITELIB}/kb/commands/__init__.py
+${PYSITELIB}/kb/commands/__init__.pyc
+${PYSITELIB}/kb/commands/__init__.pyo
+${PYSITELIB}/kb/commands/add.py
+${PYSITELIB}/kb/commands/add.pyc
+${PYSITELIB}/kb/commands/add.pyo
+${PYSITELIB}/kb/commands/delete.py
+${PYSITELIB}/kb/commands/delete.pyc
+${PYSITELIB}/kb/commands/delete.pyo
+${PYSITELIB}/kb/commands/edit.py
+${PYSITELIB}/kb/commands/edit.pyc
+${PYSITELIB}/kb/commands/edit.pyo
+${PYSITELIB}/kb/commands/erase.py
+${PYSITELIB}/kb/commands/erase.pyc
+${PYSITELIB}/kb/commands/erase.pyo
+${PYSITELIB}/kb/commands/export.py
+${PYSITELIB}/kb/commands/export.pyc
+${PYSITELIB}/kb/commands/export.pyo
+${PYSITELIB}/kb/commands/grep.py
+${PYSITELIB}/kb/commands/grep.pyc
+${PYSITELIB}/kb/commands/grep.pyo
+${PYSITELIB}/kb/commands/ingest.py
+${PYSITELIB}/kb/commands/ingest.pyc
+${PYSITELIB}/kb/commands/ingest.pyo
+${PYSITELIB}/kb/commands/search.py
+${PYSITELIB}/kb/commands/search.pyc
+${PYSITELIB}/kb/commands/search.pyo
+${PYSITELIB}/kb/commands/sync.py
+${PYSITELIB}/kb/commands/sync.pyc
+${PYSITELIB}/kb/commands/sync.pyo
+${PYSITELIB}/kb/commands/template.py
+${PYSITELIB}/kb/commands/template.pyc
+${PYSITELIB}/kb/commands/template.pyo
+${PYSITELIB}/kb/commands/update.py
+${PYSITELIB}/kb/commands/update.pyc
+${PYSITELIB}/kb/commands/update.pyo
+${PYSITELIB}/kb/commands/view.py
+${PYSITELIB}/kb/commands/view.pyc
+${PYSITELIB}/kb/commands/view.pyo
+${PYSITELIB}/kb/config.py
+${PYSITELIB}/kb/config.pyc
+${PYSITELIB}/kb/config.pyo
+${PYSITELIB}/kb/db.py
+${PYSITELIB}/kb/db.pyc
+${PYSITELIB}/kb/db.pyo
+${PYSITELIB}/kb/entities/artifact.py
+${PYSITELIB}/kb/entities/artifact.pyc
+${PYSITELIB}/kb/entities/artifact.pyo
+${PYSITELIB}/kb/filesystem.py
+${PYSITELIB}/kb/filesystem.pyc
+${PYSITELIB}/kb/filesystem.pyo
+${PYSITELIB}/kb/history.py
+${PYSITELIB}/kb/history.pyc
+${PYSITELIB}/kb/history.pyo
+${PYSITELIB}/kb/initializer.py
+${PYSITELIB}/kb/initializer.pyc
+${PYSITELIB}/kb/initializer.pyo
+${PYSITELIB}/kb/main.py
+${PYSITELIB}/kb/main.pyc
+${PYSITELIB}/kb/main.pyo
+${PYSITELIB}/kb/opener.py
+${PYSITELIB}/kb/opener.pyc
+${PYSITELIB}/kb/opener.pyo
+${PYSITELIB}/kb/printer/__init__.py
+${PYSITELIB}/kb/printer/__init__.pyc
+${PYSITELIB}/kb/printer/__init__.pyo
+${PYSITELIB}/kb/printer/grep.py
+${PYSITELIB}/kb/printer/grep.pyc
+${PYSITELIB}/kb/printer/grep.pyo
+${PYSITELIB}/kb/printer/search.py
+${PYSITELIB}/kb/printer/search.pyc
+${PYSITELIB}/kb/printer/search.pyo
+${PYSITELIB}/kb/printer/style.py
+${PYSITELIB}/kb/printer/style.pyc
+${PYSITELIB}/kb/printer/style.pyo
+${PYSITELIB}/kb/printer/template.py
+${PYSITELIB}/kb/printer/template.pyc
+${PYSITELIB}/kb/printer/template.pyo
+${PYSITELIB}/kb/styler.py
+${PYSITELIB}/kb/styler.pyc
+${PYSITELIB}/kb/styler.pyo
+${PYSITELIB}/kb/viewer.py
+${PYSITELIB}/kb/viewer.pyc
+${PYSITELIB}/kb/viewer.pyo
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff --git a/py-kb/distinfo b/py-kb/distinfo
new file mode 100644
index 0000000000..32680536fd
--- /dev/null
+++ b/py-kb/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (kb-manager-0.1.6.tar.gz) = 79bbec6549cee0bb735e786169a646f725052cd2
+RMD160 (kb-manager-0.1.6.tar.gz) = 307ae755993ca08007d08aa4f71d99d77b9fe081
+SHA512 (kb-manager-0.1.6.tar.gz) = 543d1377675f0bb170b3bc4a95b10dd2edb74301215f9be38100449d833ad97cb867ff8c82991d07bfafc977113b70ee1c1ec3ac34fe8fdf0f2e8261862d2098
+Size (kb-manager-0.1.6.tar.gz) = 86846 bytes


Home | Main Index | Thread Index | Old Index