diff --git a/sysutils/Makefile b/sysutils/Makefile index e24e970733af..af4945dd52d1 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1073,6 +1073,7 @@ SUBDIR += py-iowait SUBDIR += py-ioztat SUBDIR += py-jailconf + SUBDIR += py-keep SUBDIR += py-leviathan SUBDIR += py-liquidctl SUBDIR += py-mitogen diff --git a/sysutils/py-keep/Makefile b/sysutils/py-keep/Makefile new file mode 100644 index 000000000000..673d870a486a --- /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 diff --git a/sysutils/py-keep/distinfo b/sysutils/py-keep/distinfo new file mode 100644 index 000000000000..a153fabd8900 --- /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 000000000000..07b451f45970 --- /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 000000000000..dcea9096f587 --- /dev/null +++ b/sysutils/py-keep/files/pkg-message.in @@ -0,0 +1,44 @@ +[ +{ + type: install + message: <