[arch-commits] Commit in alot/repos (4 files)

David Runge dvzrv at gemini.archlinux.org
Tue Jul 12 16:57:24 UTC 2022


    Date: Tuesday, July 12, 2022 @ 16:57:24
  Author: dvzrv
Revision: 1250720

archrelease: copy trunk to community-staging-any

Added:
  alot/repos/community-staging-any/
  alot/repos/community-staging-any/PKGBUILD
    (from rev 1250719, alot/trunk/PKGBUILD)
  alot/repos/community-staging-any/alot-0.10-skip-broken-test.patch
    (from rev 1250719, alot/trunk/alot-0.10-skip-broken-test.patch)
  alot/repos/community-staging-any/keys/

----------------------------------+
 PKGBUILD                         |   55 +++++++++++++++++++++++++++++++++++++
 alot-0.10-skip-broken-test.patch |   20 +++++++++++++
 2 files changed, 75 insertions(+)

Copied: alot/repos/community-staging-any/PKGBUILD (from rev 1250719, alot/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-07-12 16:57:24 UTC (rev 1250720)
@@ -0,0 +1,55 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Mark Foxwell <fastfret79 at archlinux.org.uk>
+# Contributor: Nicolas Pouillard [https://nicolaspouillard.fr]
+# Contributor: seschwar -- contact via Arch Linux forum or AUR
+# Contributor: Ian Denhardt <ian at zenhack.net>
+
+pkgname=alot
+pkgver=0.10
+pkgrel=4
+pkgdesc='Terminal-based MUA for the notmuch mail system'
+arch=(any)
+url=https://github.com/pazz/alot
+license=('GPL3')
+depends=('desktop-file-utils' 'notmuch' 'python-configobj' 'python-gpgme'
+         'python-magic' 'python-twisted' 'python-urwid'
+         'python-urwidtrees' 'python-cffi')
+makedepends=('python-sphinx')
+checkdepends=('procps-ng')
+source=("$url/archive/$pkgver/alot-$pkgver.tar.gz"
+        "alot-$pkgver.tar.gz.asc::$url/releases/download/$pkgver/$pkgver.tar.gz.asc"
+        "$pkgname-$pkgver-skip-broken-test.patch")
+sha512sums=('b07c77f3a21c9670fb14a760d036ce0e14678dd6ae75585cc929f97db5126a7dbb7f411244d317fea2913692afca6ff9f439f9dbbf047acffb8fcea2ebef7056'
+            'SKIP'
+            'e1dfd1cdca82278dee05e4459a7c29fbd4bf620b53753c7e4b4c651f3ebc48f7c242eee7125f81bdd7153d1a19705bde7fd5833153f18facb67ff765e4bba507')
+validpgpkeys=('B7838D65FEE80DED1DCA494D94340367D7D6C5AA') # Patrick Totzke
+
+prepare() {
+  cd alot-$pkgver
+
+  patch -Np1 < "../$pkgname-$pkgver-skip-broken-test.patch"
+}
+
+build() {
+  cd alot-$pkgver
+  python setup.py build
+  make -C docs man
+}
+
+check() {
+  cd alot-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd alot-$pkgver
+  python setup.py install --optimize=1 --root="$pkgdir" --skip-build
+  install -Dm644 -t "$pkgdir"/usr/share/man/man1 docs/build/man/alot.1
+  install -Dm644 -t "$pkgdir"/usr/share/applications extra/alot*.desktop
+  install -Dm644 extra/completion/alot-completion.zsh \
+    "$pkgdir"/usr/share/zsh/functions/_alot
+  install -Dm644 -t "$pkgdir"/usr/share/alot/themes \
+    extra/themes/{mutt,solarized_light,solarized_dark,sup,tomorrow}
+}
+
+# vim:set ts=2 sw=2 et:

Copied: alot/repos/community-staging-any/alot-0.10-skip-broken-test.patch (from rev 1250719, alot/trunk/alot-0.10-skip-broken-test.patch)
===================================================================
--- community-staging-any/alot-0.10-skip-broken-test.patch	                        (rev 0)
+++ community-staging-any/alot-0.10-skip-broken-test.patch	2022-07-12 16:57:24 UTC (rev 1250720)
@@ -0,0 +1,20 @@
+diff --git a/tests/db/test_manager.py b/tests/db/test_manager.py
+index d1381884..aa54627f 100644
+--- a/tests/db/test_manager.py
++++ b/tests/db/test_manager.py
+@@ -8,6 +8,7 @@ import tempfile
+ import textwrap
+ import os
+ import shutil
++import unittest
+ 
+ from alot.db.manager import DBManager
+ from alot.settings.const import settings
+@@ -42,6 +43,7 @@ class TestDBManager(utilities.TestCaseClassCleanup):
+         # let global settings manager read our temporary notmuch config
+         settings.read_notmuch_config(cls.notmuch_config_path)
+ 
++    @unittest.skip("skip broken test")
+     def test_save_named_query(self):
+         alias = 'key'
+         querystring = 'query string'



More information about the arch-commits mailing list