Subject: [PATCH 6/8] testing/py3-keyring: New aport

From: Marian Buschsieweke <[email-masked]>
Date: Sat, 13 Jul 2019 13:42:44 +0200

pyKeyring is a tool to store encrypted passwords in a simple database file.
https://github.com/gabrielperes97/pyKeyring
---
 testing/py3-keyring/APKBUILD | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 testing/py3-keyring/APKBUILD

diff --git a/testing/py3-keyring/APKBUILD b/testing/py3-keyring/APKBUILD
new file mode 100644
index 0000000000..b60af1ba12
--- /dev/null
+++ b/testing/py3-keyring/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Marian Buschsieweke <[email-masked]>
+# Maintainer: Marian Buschsieweke <[email-masked]>
+pkgname=py3-keyring
+_pkgname=pyKeyring
+pkgver=0.3
+pkgrel=0
+pkgdesc="A tool to store encrypted passwords in a simple database file"
+url="https://github.com/gabrielperes97/pyKeyring"
+arch="noarch"
+license="MIT"
+depends="py3-tinydb py3-bson py3-pyperclip"
+makedepends="python3-dev py-setuptools"
+source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/${_pkgname/-/_}-$pkgver
+
+build() {
+	cd "$builddir"
+	python3 setup.py build
+}
+
+package() {
+	python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+check() {
+	cd "$builddir"
+	python3 setup.py test
+}
+sha512sums="049bcf783f06610659ab71f482a9161cb2fa9450aad6b7a1d6a73cd750964ae4c8dafe17ea2e2b673ac6e232af95a220da7863ab40030921c7e12f5366ba69b0  py3-keyring-0.3.tar.gz"
-- 
2.22.0

---

From: Leo <[email-masked]>
Date: Sat, 13 Jul 2019 12:19:06 -0300

> +makedepends="python3-dev py-setuptools"

py3-setuptools instead of py-setuptools and remove python3-dev

> +	cd "$builddir"

Can be removed

> +	cd "$builddir"

Can be removed

---

From: Marian Buschsieweke <[email-masked]>
Date: Sat, 13 Jul 2019 20:16:55 +0200

Hi,

the attached patch is fixed according to your comments. Thanks for the quick
review.

Kind regards,
Marian

On Sat, 13 Jul 2019 12:19:06 -0300

> py3-setuptools instead of py-setuptools and remove python3-dev

From 6085ad8813d5e5ee0b7667edd53a8105bbf1f84e Mon Sep 17 00:00:00 2001
From: Marian Buschsieweke <[email-masked]>
Date: Sat, 13 Jul 2019 12:32:52 +0200
Subject: [PATCH 6/8] testing/py3-keyring: New aport

pyKeyring is a tool to store encrypted passwords in a simple database file.
https://github.com/gabrielperes97/pyKeyring
---
 testing/py3-keyring/APKBUILD | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 testing/py3-keyring/APKBUILD

index 0000000000..bef2b39afc
@@ -0,0 +1,27 @@
+makedepends="py3-setuptools"