[arch-commits] Commit in alot/repos/community-any (3 files)

Leonidas Spyropoulos artafinde at gemini.archlinux.org
Wed Feb 16 20:35:49 UTC 2022


    Date: Wednesday, February 16, 2022 @ 20:35:49
  Author: artafinde
Revision: 1133535

archrelease: copy trunk to community-any

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

----------------------------------+
 PKGBUILD                         |  114 ++++++++++++++++++-------------------
 alot-0.10-skip-broken-test.patch |   20 ++++++
 2 files changed, 78 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-16 20:35:36 UTC (rev 1133534)
+++ PKGBUILD	2022-02-16 20:35:49 UTC (rev 1133535)
@@ -1,56 +0,0 @@
-# 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=2
-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-setuptools' '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"
-        gpg-test-fix.patch::https://github.com/pazz/alot/commit/3446dc44f87d34205b70f44d6ffec9f90b53d77f.patch)
-sha512sums=('b07c77f3a21c9670fb14a760d036ce0e14678dd6ae75585cc929f97db5126a7dbb7f411244d317fea2913692afca6ff9f439f9dbbf047acffb8fcea2ebef7056'
-            'SKIP'
-            'c17af3dc44256b187eb497c1762a2afeb841d4bdd4c7b125ec9ff4293c81d913dbae01fe10534ed8d11f421235e1bfb46872354e49ba8d7942dfc5599f16cb96')
-validpgpkeys=('B7838D65FEE80DED1DCA494D94340367D7D6C5AA') # Patrick Totzke
-
-prepare() {
-  cd alot-$pkgver
-  # The Arch Linux package python-magic's egg calls itself "file-magic",
-  # as opposed to the python-magic on PyPI.
-  sed -i 's/python-magic/file-magic/' setup.py
-}
-
-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-any/PKGBUILD (from rev 1133534, alot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-16 20:35:49 UTC (rev 1133535)
@@ -0,0 +1,58 @@
+# 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=3
+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
+  # The Arch Linux package python-magic's egg calls itself "file-magic",
+  # as opposed to the python-magic on PyPI.
+  sed -i 's/python-magic/file-magic/' setup.py
+
+  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-any/alot-0.10-skip-broken-test.patch (from rev 1133534, alot/trunk/alot-0.10-skip-broken-test.patch)
===================================================================
--- alot-0.10-skip-broken-test.patch	                        (rev 0)
+++ alot-0.10-skip-broken-test.patch	2022-02-16 20:35:49 UTC (rev 1133535)
@@ -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