From 5b65ef5b0d1b608054dcb5c4cf2dbb56db476a5b Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 12 Jan 2024 17:00:40 -0500 Subject: [PATCH] user/kb: fix depends and colored patch --- user/kb/APKBUILD | 12 ++++-------- user/kb/python-colored.patch | 11 ----------- 2 files changed, 4 insertions(+), 19 deletions(-) delete mode 100644 user/kb/python-colored.patch diff --git a/user/kb/APKBUILD b/user/kb/APKBUILD index a578317..5a56196 100644 --- a/user/kb/APKBUILD +++ b/user/kb/APKBUILD @@ -3,18 +3,15 @@ pkgname=kb _pkgreal=kb-manager pkgver=0.1.7 -pkgrel=0 +pkgrel=1 pkgdesc="A command line minimalist knowledge base manager" arch="noarch" url="https://github.com/gnebbia/kb" license="GPL-3.0-only" -depends="py3-attrs py3-colored py3-gitpython" +depends="py3-attrs py3-colored py3-gitpython py3-toml" makedepends="py3-setuptools py3-gpep517 py3-wheel" -checkdepends="py3-toml py3-pytest-cov" -source=" - https://files.pythonhosted.org/packages/source/k/kb-manager/kb-manager-$pkgver.tar.gz - python-colored.patch - " +checkdepends="py3-pytest-cov" +source="https://files.pythonhosted.org/packages/source/k/kb-manager/kb-manager-$pkgver.tar.gz" subpackages="$pkgname-pyc" builddir="$srcdir"/$_pkgreal-$pkgver @@ -34,5 +31,4 @@ package() { } sha512sums=" f0dff69a5e95339ea22d0a9d1260473f7b0b6ace184936896e164172aecb77672e9e0a228159abc95e50f30de2ec9ca5185ffbd825dce87edfec267bc56c75dc kb-manager-0.1.7.tar.gz -efb593959c790fc57822820a3ac2936dc90543e88268a9a47aa7248b6f1875e45d1ee7dbecac47b717491810483367b29670e0661ebbb760f875acb2e48b8765 python-colored.patch " diff --git a/user/kb/python-colored.patch b/user/kb/python-colored.patch deleted file mode 100644 index b2546cd..0000000 --- a/user/kb/python-colored.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff --git a/kb/printer/style.py b/kb/printer/style.py -index e0fd752..2bc7bf5 100644 ---- a/kb/printer/style.py -+++ b/kb/printer/style.py -@@ -17,5 +17,5 @@ from kb.entities.artifact import Artifact - - ALT_BGROUND = styler.set_bg('#303030') - BOLD = styler.set_style('bold') --UND = styler.set_style('underlined') -+UND = styler.set_style('underline') - RESET = styler.reset() -- 2.45.2