Subject: [PATCH] testing/aerc: update to 0.2.0

From: Drew DeVault <[email-masked]>
Date: Mon, 29 Jul 2019 15:47:23 -0400

---
 testing/aerc/0001-Fix-test-failures.patch | 25 +++++++++++++++++++++++
 testing/aerc/APKBUILD                     | 12 +++++++----
 2 files changed, 33 insertions(+), 4 deletions(-)
 create mode 100644 testing/aerc/0001-Fix-test-failures.patch

diff --git a/testing/aerc/0001-Fix-test-failures.patch b/testing/aerc/0001-Fix-test-failures.patch
new file mode 100644
index 0000000000..aec15cf32b
--- /dev/null
+++ b/testing/aerc/0001-Fix-test-failures.patch
@@ -0,0 +1,25 @@
+From 3d578d376b3d125dc1f54e6e0d1b55bea716eb53 Mon Sep 17 00:00:00 2001
+From: Drew DeVault <[email-masked]>
+Date: Mon, 29 Jul 2019 15:44:28 -0400
+Subject: [PATCH] Fix test failures
+
+---
+ lib/socket.go | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/socket.go b/lib/socket.go
+index 78e86c4..fe473ba 100644
+--- a/lib/socket.go
++++ b/lib/socket.go
+@@ -38,7 +38,7 @@ func StartServer(logger *log.Logger) (*AercServer, error) {
+ 			if err != nil {
+ 				// TODO: Something more useful, in some cases, on wednesdays,
+ 				// after 2 PM, I guess?
+-				as.logger.Println("Closing Unix server: %v", err)
++				as.logger.Printf("Closing Unix server: %v", err)
+ 				return
+ 			}
+ 			go as.handleClient(conn)
+-- 
+2.22.0
+
diff --git a/testing/aerc/APKBUILD b/testing/aerc/APKBUILD
index c285df8aa7..8d52455d89 100644
--- a/testing/aerc/APKBUILD
+++ b/testing/aerc/APKBUILD
@@ -1,15 +1,18 @@
 # Maintainer: Drew DeVault <[email-masked]>
 pkgname=aerc
-pkgver=0.1.4
+pkgver=0.2.0
 pkgrel=0
 pkgdesc="an email client for your terminal"
 url="https://aerc-mail.org"
 arch="all"
 license="MIT"
-depends="less python3 py3-colorama"
+depends="less"
 makedepends="go scdoc"
 subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/aerc/archive/$pkgver.tar.gz"
+source="
+	$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/aerc/archive/$pkgver.tar.gz
+	0001-Fix-test-failures.patch
+"
 
 build() {
 	make PREFIX=/usr
@@ -23,4 +26,5 @@ package() {
 	make install PREFIX=/usr DESTDIR="$pkgdir"
 }
 
-sha512sums="df89ef450e81dfaf7d422af16a23d03e9db97b1402f0d64a07218f59087bf7ce708052c0c5870f2255776b5ebcf8ab642dab425aff2e8b96c924cd7d2ea20b3d  aerc-0.1.4.tar.gz"
+sha512sums="d2d582dc322925464f0e385895592321329f1f4afc370934cc5576f63386d396f83d628c7fc78d5088b4c013117d3f7e52a21370f3b3a695869db0a060b6a25f  aerc-0.2.0.tar.gz
+6b8a2b9eae8ee9cd1b8ca022f8e23a9fdcb626dfd01c6b9eb75236f4ff15bd1c3464f7d73ffa24e8fd8a486131c91a4bb950cc7bb47bc155d5a09d87b31bee50  0001-Fix-test-failures.patch"
-- 
2.22.0