Date: Sunday, April 9, 2023 @ 03:08:14
  Author: felixonmars
Revision: 1443037

archrelease: copy trunk to community-staging-any

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

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

Copied: alot/repos/community-staging-any/PKGBUILD (from rev 1443036, 
alot/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-09 03:08:14 UTC (rev 1443037)
@@ -0,0 +1,55 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+# Contributor: Mark Foxwell <[email protected]>
+# Contributor: Nicolas Pouillard [https://nicolaspouillard.fr]
+# Contributor: seschwar -- contact via Arch Linux forum or AUR
+# Contributor: Ian Denhardt <[email protected]>
+
+pkgname=alot
+pkgver=0.10
+pkgrel=6
+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-build' 'python-installer' 'python-wheel' 'python-sphinx')
+checkdepends=('procps-ng' 'python-pytest')
+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'
+            
'a30149bb10fa594ec9f57407290157498a7b865909449e92317840907606ffb74a072bc997f5960b077bc42924c077a1a0d52a51069b0e9323e6bdec2abb3b98')
+validpgpkeys=('B7838D65FEE80DED1DCA494D94340367D7D6C5AA') # Patrick Totzke
+
+prepare() {
+  cd alot-$pkgver
+
+  patch -Np1 < "../$pkgname-$pkgver-skip-broken-test.patch"
+}
+
+build() {
+  cd alot-$pkgver
+  python -m build --wheel --no-isolation
+  make -C docs man
+}
+
+check() {
+  cd alot-$pkgver
+  pytest
+}
+
+package() {
+  cd alot-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  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 1443036, 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      2023-04-09 
03:08:14 UTC (rev 1443037)
@@ -0,0 +1,41 @@
+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'
+diff --git a/tests/commands/test_global.py b/tests/commands/test_global.py
+index 775a822c..744a000c 100644
+--- a/tests/commands/test_global.py
++++ b/tests/commands/test_global.py
+@@ -19,7 +19,7 @@
+ import os
+ import tempfile
+ import unittest
+-from unittest import mock
++from unittest import mock, skip
+
+ from alot.commands import globals as g_commands
+
+@@ -122,6 +122,7 @@ class TestExternalCommand(unittest.TestCase):
+         ui.notify.assert_not_called()
+
+     @utilities.async_test
++    @skip("skip broken test")
+     async def test_no_spawn_no_stdin_attached(self):
+         ui = utilities.make_ui()
+         cmd = g_commands.ExternalCommand('test -t 0', refocus=False)
\ No newline at end of file

Reply via email to