Package Details: alot 0.6-1

Git Clone URL: https://aur.archlinux.org/alot.git (read-only)
Package Base: alot
Description: terminal-based MUA for the notmuch mail system
Upstream URL: https://github.com/pazz/alot
Licenses: GPL
Submitter: None
Maintainer: zerathidune
Last Packager: zerathidune
Votes: 30
Popularity: 0.476406
First Submitted: 2011-08-13 19:56
Last Updated: 2017-09-06 19:28

Latest Comments

zerathidune commented on 2017-09-06 19:30

Updated to 0.6. Note that one of the dependencies has changed.

@bastelfreak, I think I've also fixed the problem you were having. See also:

https://github.com/sphinx-doc/sphinx/issues/2946

zerathidune commented on 2017-09-04 22:16

I just got the out of date notification; thanks for alerting me. I'll try to get to this in the next day or two. It looks like there are a couple of minor things needed beyond just a version bump.

zerathidune commented on 2017-07-30 21:07

@bastelfreak, I have a hunch as to what's going on: could you add the option -j1 to the make command in build, and let me know if that fixes your problem? From the output it looks like the calls to sphinx-build are getting interleaved, and trampling on each other.

Also, per the output:

The full traceback has been saved in /tmp/sphinx-err-YWKszT.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

Could you fish out that file? I'd like to pass this along upstream if possible.

bastelfreak commented on 2017-07-29 21:23

Hi,

I'm currently not able to build is PKGBUILD in a clean environemnt. Buildlogs are available at https://ci.virtapi.org/job/Arch_Package_alot/35/console

I'm not sure abot the root cause, I guess it is this:

loading pickled environment... not yet created
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: '/build/alot/src/alot-0.5.1/docs/build/doctrees'

GenkiSky commented on 2017-06-17 04:03

@zerathidune Thanks for checking. It's possible I did something weird with my python packages, as having python2-idna or python2-pyopenssl is not sufficient for me. But anyway, yes, sounds like adding it as dependency does not make sense here.

zerathidune commented on 2017-06-16 23:54

Hm, I'm don't have that package installed and I'm not getting that error. I looked at the output of pacman -Qi python2-twisted:

...
Optional Deps : python2-pyopenssl: for TLS client hostname verification
python2-service-identity: for TLS client hostname verification
python2-idna: for TLS client hostname verification [installed]
...

Perhaps I'm not getting the error because any one of those is sufficient to satisfy the dependency?

Alot doesn't actually use the networking bits of twistied afaik; It would be a shame to introduce an extra dependency just to silence an irrelevant warning. Given that the twisted package marks it as optional I'm inclined to leave it out.

GenkiSky commented on 2017-06-14 08:16

Thanks for packaging this. Minor issue I'm having though is that when python2-service-identity is not installed, the following message is printed to stderr on startup of alot:

:0: UserWarning: You do not have a working installation of the service_identity module: 'No module named service_identity'. Please install it from <https://pypi.python.org/pypi/service_identity> and make sure all of its dependencies are satisfied. Without the service_identity module, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected.

Are others able to reproduce this? If so, it seems python2-service-identity should be added as a dependency?

zerathidune commented on 2017-02-09 17:03

I sent a patch upstream and backported it to this package. It will probably land upstream soon, but anyway this package is fixed.

zerathidune commented on 2017-02-07 06:48

@confusedfla, thanks for reporting that -- yeah, that obviously shouldn't be there. I'll fix it soon.

Question: what package is it conflicting with? there really shouldn't be *any* package that puts things in that directory.

confusedfla commented on 2017-02-06 18:52

Could you add `rm -rf /usr/lib/python2.7/site-packages/tests` to build() as this is clearly not needed and yields to conflicts.

zerathidune commented on 2017-01-31 15:41

Updated to 0.5.1

zerathidune commented on 2016-12-14 20:39

@sdothum, thanks for the heads up, I'll look into the requests thing. I don't want to just blindly add it, since that suggests that it's doing stuff with the network during the build, which is troubling.

The warnings are to be expected; this is the doc issue I was referencing below. Since it doesn't break the build, I'm not going to bother with it. I've already pushed a fix upstream which will be part of the next release.

sdothum commented on 2016-12-13 14:32

I had to add python2-requests dependency to avoid sphinx error during build.

Still got ImportError: No module named addressbooks

but build completed.

zerathidune commented on 2016-12-13 01:28

I sat down with this again, and couldn't reproduce the failure I was getting before (warnings still showed up, but it built). The doc issue is fixed in master, but it should be fine to release it as-is so I've done so. Cheers.

zerathidune commented on 2016-12-10 05:09

Alot 0.4 is out. There's an upstream doc bug that causes build() to fail, so rather than patching it locally I'm trying to push the fix upstream:

https://github.com/pazz/alot/pull/911

With luck, we'll get a corrected release soonish, and can just skip straight to that. I'll keep you all posted.

zerathidune commented on 2016-10-30 14:20

@Lokaltog, thanks for catching this. I hadn't -Syu'd, so hadn't run into it.

Lokaltog commented on 2016-10-29 17:16

It seems the python2-magic package has changed name from Magic-file-extensions to file-magic, which breaks this package. This change resolves the issue for me:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -33,7 +33,7 @@ build() {
# "Magic-file-extensions", as opposed to the python-magic on pypi. The
# result is that the alot executable can't find the module, so we patch
# setup.py to fix the dependency:
- sed -i -e 's/python-magic/Magic-file-extensions/' setup.py
+ sed -i -e 's/python-magic/file-magic/' setup.py
python2 setup.py build
make SPHINXBUILD=sphinx-build2 -C docs man html
}

zerathidune commented on 2016-01-12 19:52

@lamarpavel, you're welcome.

lamarpavel commented on 2016-01-12 15:02

Thanks for taking your time to update this, I couldn't figure out how to deal with the new setuptools myself.

zerathidune commented on 2016-01-08 02:54

Updated to the new release (0.3.7).

zerathidune commented on 2016-01-07 03:33

As has been pointed out to me, the package is out of date. I'm working on updating it, but things have been hectic and the PKGBUILD I have sitting on my machine doesn't quite generate a working package; alot 0.3.7 uses setuptools' facilities for generating executable scripts, and something related to that isn't working, so you get an error when running the command. I'll update it as soon as I can, but given that it hasn't happened immediately I wanted to make sure I was keeping folks up to date. Stay tuned.

zerathidune commented on 2015-11-25 00:38

@lucc, I've incorporated your suggestions. Thanks.

lucc commented on 2015-11-24 09:07

If you work on the PKGBUILD you could:
1. separate the build from the install process
2. install the man page and html docs ( this will makedepends+=(python2-sphinx) )
3. install the example config files
4. install the completion (as mentioned below)

The result might look something like this:

#...
makedepends=(python2-sphinx)
#...
build () {
cd "$srcdir/$pkgname-$pkgver"
python2 setup.py build
make -C docs man html
}
package () {
#...
install --mode=644 -D extra/completion/alot-completion.zsh "$pkgdir/usr/share/zsh/site-functions/_alot"
mkdir -p "$pkgdir/etc/xdg/alot/themes/examples"
install --mode=644 extra/themes/{mutt,solarized,solarized_dark,sup,tomorrow} "$pkgdir/etc/xdg/alot/themes/examples"
mkdir -p "$pkgdir/usr/share/doc/$pkgname"
cp -r docs/build/html/* "$pkgdir/usr/share/doc/$pkgname"
install --mode=644 -D docs/build/man/alot.1 "$pkgdir/usr/share/man/man1/alot.1"
}

zerathidune commented on 2015-11-18 22:47

@lucc good call. It looks like there might be some other things of interest in extra as well; I'll try to find time in the next couple days to sit down and add that stuff.

lucc commented on 2015-11-18 10:49

You can install the zsh completion from the source tarball with

install --mode=444 -D extra/completion/alot-completion.zsh "$pkgdir/usr/share/zsh/site-functions/_alot"

If someone knows a way to install zsh completion with python setuptools we can file an issue upstream.

zerathidune commented on 2014-08-14 03:46

Updated to the new release (0.3.6).

zerathidune commented on 2014-05-23 02:25

@cutchiqueno - you're right, it should - it's up to date now.

It should work anyway, since python2-twisted "provides" twisted; I don't know what the source of your problem is.

cutuchiqueno commented on 2014-05-22 09:10

Package dependency should change from twisted to python2-twisted after the change to this package yesterday, shouldn't it? I also have problems to substitute twisted with this new package during update but don't know if it relates to dependency of alot

zerathidune commented on 2014-04-13 03:02

@cryptocrack - good catch, fixed.

lfleischer commented on 2014-04-12 23:30

This package should depend on python2-magic (instead of python-magic).

zerathidune commented on 2014-02-24 16:10

@V155, it works fine on my end. python2-six is a dependency of python2-configobj, which in turn is a dependency of alot - it should be pulled in automatically. I'm not sure what could be causing your problem.

Is anyone else seeing this?

V155 commented on 2014-02-24 09:46

Please add python2-six to the List of dependencies. I updated my system yesterday and til then alot refused to start because module six was not found. Installation of python2-six fixed that.

zerathidune commented on 2013-12-10 03:48

I've adopted the package, and changed the dependency on the broken pypgpgme package to the working python2-pygpgme.

npouillard commented on 2012-11-25 16:01

Here is an updated PKGBUILD http://pastebin.com/pdhaDPPG

Athaba commented on 2012-01-24 12:01

You missed the python-magic dependency.

hollunder commented on 2011-12-15 02:08

Please change the PKGBUILD from git to tarball, there are releases, 0.2 being the latest. It can be found here: https://github.com/pazz/alot/tags
Reason why I'm asking: 'alot-git' is the proper name for a git package, 'alot' for the tarball package. I created the git package with the proper name, now this one should build the release version.

hollunder commented on 2011-12-14 21:38

I wrote a new PKGBUILD with proper naming, dependencies, without unneeded sed lines and the possibility to switch branches by changing _gitname to the name of the branch. https://aur.archlinux.org/packages.php?ID=54955

hollunder commented on 2011-12-12 18:27

turns out the pasted error was due not having run 'notmuch setup'. Seems to work now.

hollunder commented on 2011-12-12 00:29

It most certainly does indeed:
$ alot
Traceback (most recent call last):
File "/usr/bin/alot", line 19, in <module>
from alot.init import main
File "/usr/lib/python2.7/site-packages/alot/init.py", line 10, in <module>
from ui import UI
File "/usr/lib/python2.7/site-packages/alot/ui.py", line 2, in <module>
from twisted.internet import reactor, defer
ImportError: No module named twisted.internet

Afterwards I get this error:
http://pastebin.com/jVXKTEr7

firecat53 commented on 2011-10-19 17:31

Looks like this depends on twisted as well.