Import toot-0.15.1, tweaks and ok jca@ and ok abierber@
From Klemens Nanni, thanks! toot lets you read, post and manage accounts on Mastadon social networks. It supports logging in through both your webbrowser and the console with optional two factor authentication. Toots can be pasted directly via standard input.
This commit is contained in:
parent
9fbdebd155
commit
742317bd17
33
net/toot/Makefile
Normal file
33
net/toot/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2017/12/17 21:03:54 danj Exp $
|
||||
|
||||
COMMENT = interact with Mastodon social networks from the command line
|
||||
|
||||
MODPY_EGG_VERSION = 0.15.1
|
||||
GH_ACCOUNT = ihabunek
|
||||
GH_PROJECT = toot
|
||||
GH_TAGNAME = ${MODPY_EGG_VERSION}
|
||||
|
||||
CATEGORIES = net
|
||||
|
||||
MAINTAINER = Klemens Nanni <kl3@posteo.org>
|
||||
|
||||
# GPLv3
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MODULES = lang/python
|
||||
MODPY_SETUPTOOLS = Yes
|
||||
|
||||
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
|
||||
|
||||
RUN_DEPENDS = devel/py-future${MODPY_FLAVOR}>=0.16 \
|
||||
www/py-beautifulsoup4${MODPY_FLAVOR}>=4.5.0,<5.0 \
|
||||
www/py-requests${MODPY_FLAVOR}>=2.13,<3.0
|
||||
TEST_DEPENDS = devel/py-test${MODPY_FLAVOR}>=3.0.0 \
|
||||
devel/py-test-cov${MODPY_FLAVOR}>=2.4.0
|
||||
|
||||
MAKE_ENV = LC_CTYPE=C.UTF-8
|
||||
|
||||
do-test:
|
||||
make -C ${WRKSRC} coverage
|
||||
|
||||
.include <bsd.port.mk>
|
2
net/toot/distinfo
Normal file
2
net/toot/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (toot-0.15.1.tar.gz) = rM+4HxIeWddJLTC7Offm8TCou2cfQBumwjVNEUKBeV4=
|
||||
SIZE (toot-0.15.1.tar.gz) = 28010
|
14
net/toot/patches/patch-Makefile
Normal file
14
net/toot/patches/patch-Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2017/12/17 21:03:54 danj Exp $
|
||||
|
||||
Index: Makefile
|
||||
--- Makefile.orig
|
||||
+++ Makefile
|
||||
@@ -19,7 +19,7 @@ publish :
|
||||
twine upload dist/*
|
||||
|
||||
coverage:
|
||||
- py.test --cov=toot --cov-report html tests/
|
||||
+ py.test-3 --cov=toot --cov-report html tests/
|
||||
|
||||
deb:
|
||||
@python setup.py --command-packages=stdeb.command bdist_deb
|
3
net/toot/pkg/DESCR
Normal file
3
net/toot/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
toot lets you read, post and manage accounts on Mastadon social networks. It
|
||||
supports logging in through both your webbrowser and the console with optional
|
||||
two factor authentication. Toots can be pasted directly via standard input.
|
27
net/toot/pkg/PLIST
Normal file
27
net/toot/pkg/PLIST
Normal file
@ -0,0 +1,27 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/12/17 21:03:54 danj Exp $
|
||||
bin/toot
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/
|
||||
lib/python${MODPY_VERSION}/site-packages/toot-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/toot-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
lib/python${MODPY_VERSION}/site-packages/toot-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/toot-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/toot-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/toot-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/toot-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}api.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}app.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}commands.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}config.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}console.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}output.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/api.py
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/app.py
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/commands.py
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/config.py
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/console.py
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/output.py
|
||||
lib/python${MODPY_VERSION}/site-packages/toot/utils.py
|
Loading…
x
Reference in New Issue
Block a user