Created attachment 163790 [details] shar file for py-alot A new port for the notmuch based mail client "alot".
Created attachment 163791 [details] poudriere output of building mail/py-alot
I used PORTREVISION=1 to have it at the same version number as mail/notmuch.
Created attachment 163813 [details] updated shar file for py-alot (USES=PYTHON:2) alot does only support python 2 at the moment
Thanks Christian :) Should ask upstream to: * Update the PyPI version (https://pypi.python.org/pypi/alot/0.3.4) * Provide the source distribution on PyPI (via `sdist upload`) Also, COMMENT should match setup.py:description field [1] (with any specific standards if necessary): Terminal MUA using notmuch mail [1] https://github.com/pazz/alot/blob/master/alot/__init__.py#L6
I will update this one and bug #204981 and bug #204980 accordingly.
(In reply to Kubilay Kocak from comment #4) Upstream has never uploaded alot to pypi (and does not plan to do so), the version has been uploaded by a third party. What is the best approach in that situation: try to contact the third party or keep getting the source code from github?
Created attachment 163829 [details] updated (COMMENT) shar file for py-alot
Take.
(In reply to Christian Geier from comment #6) Get upstream to sdist upload on releases like everyone else :)
And get the third party to give the pypi account details to upstream, otherwise we'll have a situation in the future when the 'official' release is named something else (other than 'alot', because its taken) and we'll have to rename the port.
I got one step closer: *I* am now an owner of alot on PyPI, now I only need to get upstream to want to upload releases (and then make them an owner as well).
(In reply to Christian Geier from comment #11) Wow, congratulations and props for doing the hard yards, and doing it right :)
(In reply to Kubilay Kocak from comment #12) At the very least (given you now manage the 'alot' package entry on PyPI), I don't see why this issue cannot be committed as is now, since the PyPI alot entry wont ever be used for anything else, thus cant ever conflict with this name. @Martin, this is now good to go I believe, pending OK from Christian that there's no other patch changes pending
Created attachment 164090 [details] new shar file for alot changed MASTER_SITES to CHEESESHOP
(In reply to Kubilay Kocak from comment #13) not really, py-urwidtree on pypi is not maintained by upstream either and I couldn't get in contact yet.
As everything this depends on is committed, it should be OK to commit (and there are no new patches coming in the foreseeable future.
back to pool.
Hi Christian. There is a new version [1]. Could you test it and update your patch? And could you please send a svn diff [2] instead of a .shar file? 1 - https://pypi.python.org/pypi/alot/0.6 2 - https://www.freebsd.org/doc/en/books/porters-handbook/port-upgrading.html#svn-diff Regards.
Hi Danilo, thank you for your offer to take care of this. I will update and test the alot port, but it looks like I will need to create a new port for the python package `gpg`first, as alot now depends on it instead of gpgme.
(In reply to Christian Geier from comment #19) ok Christian, go ahead, after that insert the new PR blocking this one.
Created attachment 189118 [details] alot-svn-diff v0.6 Hi, I didn't know about this bug, and packaged v0.6. The diff works for me, and it has my name on the maintainer section, but feel free to change it and adapt it.
(In reply to Dhananjay Balan from comment #21) Hi Dhananjay, thanks for the patch. This tool only works with Python 2.7, is this right? https://github.com/pazz/alot/blob/master/setup.py#L22-L23 Regards.
(In reply to Danilo G. Baio from comment #22) Yes, that seems to be the case, python3 support is not merged. I'm not sure how I can specify that in the ports file. Would be nice if you can point me to the relevant documentation.
Use USES=python:2 And yes, python 3 support is not only not merged, but doesn't work yet.
Created attachment 189132 [details] alot-svn-diff-with-python2.7-restricted I've updated the port to use python:2.7.
Thanks, I'll push this tonight.
A commit references this bug: Author: dbaio Date: Wed Dec 27 20:54:21 UTC 2017 New revision: 457423 URL: https://svnweb.freebsd.org/changeset/ports/457423 Log: Add mail/py-alot: Terminal MUA using Notmuch mail Alot is a terminal-based mail user agent based on the Notmuch mail indexer. It is written in Python using the Urwid toolkit and features a modular and command prompt driven interface to provide a full MUA experience as an alternative to the Emacs mode shipped with Notmuch. WWW: https://github.com/pazz/alot PR: 204982 Submitted by: Dhananjay Balan <mail@dbalan.in> Changes: head/mail/Makefile head/mail/py-alot/ head/mail/py-alot/Makefile head/mail/py-alot/distinfo head/mail/py-alot/pkg-descr
Committed with a few changes. Thank you both. Regards.