Re: [NEW] net/toot

2017-12-17 Thread Daniel Jakots
On Sat, 16 Dec 2017 08:17:41 -0700, Aaron Bieber 
wrote:

> On Fri, Dec 15, 2017 at 11:02:49PM +0100, Klemens Nanni wrote:
> > On Sun, Nov 19, 2017 at 09:24:42PM +0100, Klemens Nanni wrote:  
> > > On Sun, Nov 19, 2017 at 02:54:46PM +0100, Klemens Nanni wrote:
> > > Take three after some feedback now also using Python 3 to avoid
> > > new ports still depending on Python 2.
> > >
> > > The s,©,(C), patch for README.rst is now required as setup.py
> > > reads the readme file for its long description but chokes on it.
> > > I've already mailed the developer about it.  
> > Upstream released new 0.15.1 three days ago with minor bugfixes
> > including this diff.
> >  
> > > Feedback? Any takers?  
> > Bump.  
> 
> Looks good to me! I'd like to see an upstream'd PR to add OpenBSD to
> the install instructions :D - OK abieber@ if anyone wants to import
> (Edd?! - looks like you use this :D)

I had an ok from some times ago from jca@ so I imported it. Thanks for
the port, Klemens and sorry for the delay!



Re: [NEW] net/toot

2017-12-16 Thread Aaron Bieber
On Fri, Dec 15, 2017 at 11:02:49PM +0100, Klemens Nanni wrote:
> On Sun, Nov 19, 2017 at 09:24:42PM +0100, Klemens Nanni wrote:
> > On Sun, Nov 19, 2017 at 02:54:46PM +0100, Klemens Nanni wrote:
> > Take three after some feedback now also using Python 3 to avoid new
> > ports still depending on Python 2.
> >
> > The s,©,(C), patch for README.rst is now required as setup.py reads the
> > readme file for its long description but chokes on it. I've already
> > mailed the developer about it.
> Upstream released new 0.15.1 three days ago with minor bugfixes
> including this diff.
>
> > Feedback? Any takers?
> Bump.

Looks good to me! I'd like to see an upstream'd PR to add OpenBSD to
the install instructions :D - OK abieber@ if anyone wants to import
(Edd?! - looks like you use this :D)

>
> The curses interface works for me when my terminal is big enough, so
> there's that; still expirmental but critical at all, though.
>
> I'll take responsibility as maintainer.



--
PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A  4AF0 1F81 112D 62A9 ADCE



Re: [NEW] net/toot

2017-12-15 Thread Klemens Nanni
On Sun, Nov 19, 2017 at 09:24:42PM +0100, Klemens Nanni wrote:
> On Sun, Nov 19, 2017 at 02:54:46PM +0100, Klemens Nanni wrote:
> Take three after some feedback now also using Python 3 to avoid new
> ports still depending on Python 2.
> 
> The s,©,(C), patch for README.rst is now required as setup.py reads the
> readme file for its long description but chokes on it. I've already
> mailed the developer about it.
Upstream released new 0.15.1 three days ago with minor bugfixes
including this diff.

> Feedback? Any takers?
Bump.

The curses interface works for me when my terminal is big enough, so 
there's that; still expirmental but critical at all, though.

I'll take responsibility as maintainer.


toot.tgz
Description: application/tar-gz


Re: [NEW] net/toot

2017-11-19 Thread Klemens Nanni
On Sun, Nov 19, 2017 at 02:54:46PM +0100, Klemens Nanni wrote:
> On Sun, Nov 19, 2017 at 02:25:36PM +0100, Klemens Nanni wrote:
> > ... and the actual port attached.
> Sorry for the noise, this was the first tarball missing the test bits
> so here they are as diff ontop. 16/16 tests pass.
Take three after some feedback now also using Python 3 to avoid new
ports still depending on Python 2.

The s,©,(C), patch for README.rst is now required as setup.py reads the
readme file for its long description but chokes on it. I've already
mailed the developer about it.

Feedback? Any takers?


toot.tgz
Description: application/tar-gz


Re: [NEW] net/toot

2017-11-19 Thread Klemens Nanni
On Sun, Nov 19, 2017 at 02:25:36PM +0100, Klemens Nanni wrote:
> ... and the actual port attached.
Sorry for the noise, this was the first tarball missing the test bits
so here they are as diff ontop. 16/16 tests pass.

diff --git a/net/toot/Makefile b/net/toot/Makefile
index f38387217b3..cd812b07f0a 100644
--- a/net/toot/Makefile
+++ b/net/toot/Makefile
@@ -17,7 +17,12 @@ MODULES =lang/python
 RUN_DEPENDS =  devel/py-future>=0.16 \
www/py-beautifulsoup4>=4.5.0,<5.0 \
www/py-requests>=2.13,<3.0
+TEST_DEPENDS = devel/py-test>=3.0.0 \
+   devel/py-test-cov>=2.4.0
 
 MODPY_SETUPTOOLS = Yes
 
+do-test:
+   make -C ${WRKSRC} coverage
+
 .include 



Re: [NEW] net/toot

2017-11-19 Thread Klemens Nanni
... and the actual port attached.


toot.tgz
Description: application/tar-gz


[NEW] net/toot

2017-11-19 Thread Klemens Nanni
Hey ports@,

$ pkg_info toot
Information for inst:toot-0.15.0

Comment:
interact with Mastodon social networks from the command line

Description:
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.

Maintainer: The OpenBSD ports mailing-list 

WWW: https://github.com/ihabunek/toot

I can read and post fine, haven't tested 2FA though. The experimental
timeline app using curses doesn't work for be, be a normal
`toot timeline' does its job just perfectly.

Feedback? Anyone willing to commit?