View | Details | Raw Unified | Return to bug 265933
Collapse All | Expand All

(-)b/sysutils/py-keep/Makefile (+30 lines)
Added Link Here
1
PORTNAME=	keep
2
PORTVERSION=	2.10.1
3
CATEGORIES=	sysutils python
4
MASTER_SITES=	CHEESESHOP
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
6
7
MAINTAINER=	DtxdF@riseup.net
8
COMMENT=	Personal shell command keeper
9
10
LICENSE=	MIT
11
LICENSE_FILE=	${FILESDIR}/LICENSE.md
12
13
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
14
		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
15
		${PYTHON_PKGNAMEPREFIX}terminaltables>0:textproc/py-terminaltables@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}pygithub>0:devel/py-pygithub@${PY_FLAVOR}
17
18
USES=	python:3.8+
19
USE_PYTHON=	autoplist distutils
20
21
SUB_FILES=	pkg-message
22
23
PORTDATA=	completions/keep.zsh \
24
		completions/keep.bash
25
26
post-install:
27
	@${MKDIR} ${STAGEDIR}${DATADIR}/completions
28
	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDATA} ${STAGEDIR}${DATADIR}/completions)
29
30
.include <bsd.port.mk>
(-)b/sysutils/py-keep/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1660836731
2
SHA256 (keep-2.10.1.tar.gz) = 3abbe445347711cecd9cbb80dab4a0777418972fc14a14e9387d0d2ae4b6adb7
3
SIZE (keep-2.10.1.tar.gz) = 13044
(-)b/sysutils/py-keep/files/LICENSE.md (+21 lines)
Added Link Here
1
MIT License
2
3
Copyright (c) 2017 Himanshu Mishra
4
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
of this software and associated documentation files (the "Software"), to deal
7
in the Software without restriction, including without limitation the rights
8
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
copies of the Software, and to permit persons to whom the Software is
10
furnished to do so, subject to the following conditions:
11
12
The above copyright notice and this permission notice shall be included in all
13
copies or substantial portions of the Software.
14
15
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
SOFTWARE.
(-)b/sysutils/py-keep/files/pkg-message.in (+44 lines)
Added Link Here
1
[
2
{
3
  type: install
4
  message: <<EOM
5
keep was installed and there are some notes:
6
7
1. To enable command-line completion (TAB completion) follow these steps for
8
   the shell of your choice:
9
10
   bash instructions:
11
12
   1. Create a directory in your home directory called .bash
13
14
      mkdir -p ~/.bash
15
16
   2. Copy %%DATADIR%%/completions/keep.bash to ~/.bash/keep
17
18
      cp %%DATADIR%%/completions/keep.bash ~/.bash/keep
19
20
   3. Add the following lines to ~/.bash_profile file
21
22
      [ -f "$HOME/.bash/keep" ] && . "$HOME/.bash/keep"
23
24
   zsh instructions:
25
26
   1. Create a directory in your home called .zsh
27
28
      mkdir -p ~/.zsh
29
30
   2. Copy %%DATADIR%%/completions/keep.zsh to ~/.zsh/_keep
31
32
      cp %%DATADIR%%/completions/keep.zsh ~/.zsh/_keep
33
34
   3. Add the following lines inside ~/.zshrc file
35
36
      fpath=($HOME/.zsh $fpath)
37
      autoload -Uz compinit && compinit
38
39
2. See also the official keep tutorial:
40
41
   * https://github.com/OrkoHunter/keep/blob/master/tutorial.md
42
EOM
43
}
44
]
(-)b/sysutils/py-keep/pkg-descr (-1 / +10 lines)
Added Link Here
0
- 
1
keep is a Meta CLI Toolkit that provides a personal shell command
2
keeper with some useful features:
3
4
* Save a new command with a brief description
5
* Search the saved commands using powerful patterns
6
* Save the commands as a secret GitHub gist
7
* Use keep push and keep pull to sync the commands between GitHub
8
  gist and other computers.
9
10
WWW: https://github.com/OrkoHunter/keep

Return to bug 265933