FreeBSD Bugzilla – Attachment 235999 Details for
Bug 265933
[NEW PORT] sysutils/py-keep: Personal shell command keeper
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sysutils-py-keep.2.10.1.patch
0001-sysutils-py-keep-new-port.patch (text/plain), 5.55 KB, created by
Jesús Daniel Colmenares Oviedo
on 2022-08-18 19:41:22 UTC
(
hide
)
Description:
sysutils-py-keep.2.10.1.patch
Filename:
MIME Type:
Creator:
Jesús Daniel Colmenares Oviedo
Created:
2022-08-18 19:41:22 UTC
Size:
5.55 KB
patch
obsolete
>From 461e0d298d6d1e9229316a37566727fa0ef14751 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Jes=C3=BAs=20Daniel=20Colmenares=20Oviedo?= > <DtxdF@riseup.net> >Date: Thu, 18 Aug 2022 15:19:31 -0400 >Subject: [PATCH] sysutils/py-keep: new port > >keep is a Meta CLI Toolkit that provides a personal shell command >keeper with some useful features: > >* Save a new command with a brief description >* Search the saved commands using powerful patterns >* Save the commands as a secret GitHub gist >* Use keep push and keep pull to sync the commands between GitHub > gist and other computers. > >WWW: https://github.com/OrkoHunter/keep >--- > sysutils/py-keep/Makefile | 30 ++++++++++++++++++ > sysutils/py-keep/distinfo | 3 ++ > sysutils/py-keep/files/LICENSE.md | 21 +++++++++++++ > sysutils/py-keep/files/pkg-message.in | 44 +++++++++++++++++++++++++++ > sysutils/py-keep/pkg-descr | 10 ++++++ > 5 files changed, 108 insertions(+) > create mode 100644 sysutils/py-keep/Makefile > create mode 100644 sysutils/py-keep/distinfo > create mode 100644 sysutils/py-keep/files/LICENSE.md > create mode 100644 sysutils/py-keep/files/pkg-message.in > create mode 100644 sysutils/py-keep/pkg-descr > >diff --git a/sysutils/py-keep/Makefile b/sysutils/py-keep/Makefile >new file mode 100644 >index 000000000..673d870a4 >--- /dev/null >+++ b/sysutils/py-keep/Makefile >@@ -0,0 +1,30 @@ >+PORTNAME= keep >+PORTVERSION= 2.10.1 >+CATEGORIES= sysutils python >+MASTER_SITES= CHEESESHOP >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= DtxdF@riseup.net >+COMMENT= Personal shell command keeper >+ >+LICENSE= MIT >+LICENSE_FILE= ${FILESDIR}/LICENSE.md >+ >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}terminaltables>0:textproc/py-terminaltables@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pygithub>0:devel/py-pygithub@${PY_FLAVOR} >+ >+USES= python:3.8+ >+USE_PYTHON= autoplist distutils >+ >+SUB_FILES= pkg-message >+ >+PORTDATA= completions/keep.zsh \ >+ completions/keep.bash >+ >+post-install: >+ @${MKDIR} ${STAGEDIR}${DATADIR}/completions >+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDATA} ${STAGEDIR}${DATADIR}/completions) >+ >+.include <bsd.port.mk> >diff --git a/sysutils/py-keep/distinfo b/sysutils/py-keep/distinfo >new file mode 100644 >index 000000000..a153fabd8 >--- /dev/null >+++ b/sysutils/py-keep/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1660836731 >+SHA256 (keep-2.10.1.tar.gz) = 3abbe445347711cecd9cbb80dab4a0777418972fc14a14e9387d0d2ae4b6adb7 >+SIZE (keep-2.10.1.tar.gz) = 13044 >diff --git a/sysutils/py-keep/files/LICENSE.md b/sysutils/py-keep/files/LICENSE.md >new file mode 100644 >index 000000000..07b451f45 >--- /dev/null >+++ b/sysutils/py-keep/files/LICENSE.md >@@ -0,0 +1,21 @@ >+MIT License >+ >+Copyright (c) 2017 Himanshu Mishra >+ >+Permission is hereby granted, free of charge, to any person obtaining a copy >+of this software and associated documentation files (the "Software"), to deal >+in the Software without restriction, including without limitation the rights >+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell >+copies of the Software, and to permit persons to whom the Software is >+furnished to do so, subject to the following conditions: >+ >+The above copyright notice and this permission notice shall be included in all >+copies or substantial portions of the Software. >+ >+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR >+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, >+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE >+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER >+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, >+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE >+SOFTWARE. >diff --git a/sysutils/py-keep/files/pkg-message.in b/sysutils/py-keep/files/pkg-message.in >new file mode 100644 >index 000000000..dcea9096f >--- /dev/null >+++ b/sysutils/py-keep/files/pkg-message.in >@@ -0,0 +1,44 @@ >+[ >+{ >+ type: install >+ message: <<EOM >+keep was installed and there are some notes: >+ >+1. To enable command-line completion (TAB completion) follow these steps for >+ the shell of your choice: >+ >+ bash instructions: >+ >+ 1. Create a directory in your home directory called .bash >+ >+ mkdir -p ~/.bash >+ >+ 2. Copy %%DATADIR%%/completions/keep.bash to ~/.bash/keep >+ >+ cp %%DATADIR%%/completions/keep.bash ~/.bash/keep >+ >+ 3. Add the following lines to ~/.bash_profile file >+ >+ [ -f "$HOME/.bash/keep" ] && . "$HOME/.bash/keep" >+ >+ zsh instructions: >+ >+ 1. Create a directory in your home called .zsh >+ >+ mkdir -p ~/.zsh >+ >+ 2. Copy %%DATADIR%%/completions/keep.zsh to ~/.zsh/_keep >+ >+ cp %%DATADIR%%/completions/keep.zsh ~/.zsh/_keep >+ >+ 3. Add the following lines inside ~/.zshrc file >+ >+ fpath=($HOME/.zsh $fpath) >+ autoload -Uz compinit && compinit >+ >+2. See also the official keep tutorial: >+ >+ * https://github.com/OrkoHunter/keep/blob/master/tutorial.md >+EOM >+} >+] >diff --git a/sysutils/py-keep/pkg-descr b/sysutils/py-keep/pkg-descr >new file mode 100644 >index 000000000..582f49a64 >--- /dev/null >+++ b/sysutils/py-keep/pkg-descr >@@ -0,0 +1,10 @@ >+keep is a Meta CLI Toolkit that provides a personal shell command >+keeper with some useful features: >+ >+* Save a new command with a brief description >+* Search the saved commands using powerful patterns >+* Save the commands as a secret GitHub gist >+* Use keep push and keep pull to sync the commands between GitHub >+ gist and other computers. >+ >+WWW: https://github.com/OrkoHunter/keep >-- >2.37.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 265933
: 235999