Skip to content

Commit 40d361d

Browse files
committed
Added last fixes before release
1 parent cb0cd20 commit 40d361d

37 files changed

+94
-39
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,5 @@
4040
* Added rofi custom mode
4141
* Added grep matches mode (kb grep "string" -m)
4242
* Fixed important bug in grep mode
43+
* Added sync mode
4344

PKGBUILD

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Maintainer: Giuseppe Nebbione <giuseppenebbione at gmail dot com>
2+
3+
pkgbase='kb'
4+
pkgname=('kb')
5+
_module='kb-manager'
6+
pkgver='0.1.6'
7+
pkgrel=1
8+
pkgdesc="A command line minimalist knowledge base manager"
9+
url="https://github.com/gnebbia/kb"
10+
depends=('python')
11+
makedepends=('python-setuptools')
12+
license=('GPL3')
13+
arch=('any')
14+
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
15+
sha256sums=('78e14f6eef30a4742925cc75ba9a5509c032ae42e73e26582cd7ed91794f41df')
16+
17+
build() {
18+
cd "${srcdir}/${_module}-${pkgver}"
19+
python setup.py build
20+
}
21+
22+
package() {
23+
depends+=()
24+
cd "${srcdir}/${_module}-${pkgver}"
25+
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
26+
}

PKGBUILD_GIT

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Maintainer: Giuseppe Nebbione <nebbionegiuseppe at gmail dot com>
2+
3+
pkgname=python-kb-git
4+
_reponame="kb"
5+
pkgver=r100.b6b334f
6+
pkgrel=1
7+
pkgdesc="A command line minimalist knowledge base manager"
8+
arch=(any)
9+
url="https://github.com/gnebbia/kb.git"
10+
license=('GPL3')
11+
depends=()
12+
makedepends=('git')
13+
provides=("python-kb-git")
14+
conflicts=("python-kb-git" "python-kb" "kb")
15+
source=("git+$url")
16+
md5sums=('SKIP')
17+
18+
pkgver() {
19+
cd "$srcdir/${_reponame}"
20+
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
21+
}
22+
23+
package() {
24+
cd "$srcdir/${_reponame}"
25+
python setup.py install --root="${pkgdir}/" --optimize=1
26+
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
27+
}
28+

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ Author: gnc <[email protected]>
1515

1616
Copyright: © 2020, gnc
1717

18-
Date: 2020-10-16
18+
Date: 2021-03-26
1919

20-
Version: 0.1.5
20+
Version: 0.1.6
2121

2222

2323
## Table of Contents

docs/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
:Author: gnc <[email protected]>
44
:Copyright: © 2020, gnc.
55
:License: GPLv3 (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
6-
:Date: 2020-10-16
6+
:Date: 2021-03-26
77
:Version: 0.1.1
88

99
## Version History

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Author: gnc <[email protected]>
99

1010
Copyright: © 2020, gnc
1111

12-
Date: 2020-10-16
12+
Date: 2021-03-26
1313

14-
Version: 0.1.5
14+
Version: 0.1.6
1515

1616

1717
## Purpose

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
# built documents.
4949
#
5050
# The short X.Y version.
51-
version = '0.1.5'
51+
version = '0.1.6'
5252
# The full version, including alpha/beta/rc tags.
53-
release = '0.1.5'
53+
release = '0.1.6'
5454

5555
# The language for content autogenerated by Sphinx. Refer to documentation
5656
# for a list of supported languages.

kb/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright 2020, Giuseppe Nebbione.
55

@@ -24,7 +24,7 @@
2424
"""
2525

2626
__title__ = 'kb'
27-
__version__ = '0.1.5'
27+
__version__ = '0.1.6'
2828
__author__ = 'gnc'
2929
__license__ = 'GPLv3'
3030
__docformat__ = 'restructuredtext en'

kb/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

kb/cl_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
# kb v0.1.5
2+
# kb v0.1.6
33
# A knowledge base organizer
44
# Copyright © 2020, gnc.
55
# See /LICENSE for licensing information.

0 commit comments

Comments
 (0)