summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/py3-pexpect/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/py3-pexpect/APKBUILD b/user/py3-pexpect/APKBUILD
new file mode 100644
index 000000000..10978ca79
--- /dev/null
+++ b/user/py3-pexpect/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=py3-pexpect
+pkgver=4.6.0
+pkgrel=0
+pkgdesc="Python library for managing console applications"
+url="https://pexpect.readthedocs.io/"
+arch="noarch"
+license="ISC"
+depends="python3 py3-ptyprocess"
+makedepends=""
+source="https://files.pythonhosted.org/packages/89/43/07d07654ee3e25235d8cea4164cdee0ec39d1fda8e9203156ebe403ffda4/pexpect-$pkgver.tar.gz"
+sha512sums="9a2b1ef19d885e69cfd17ba0519581f782574019010043e66d8b68f98ac86b359f4a1ca42f8bb0059a5dfdd43275ad93531c076cc0ac2049e109408961b46bbd pexpect-4.6.0.tar.gz"
+builddir="$srcdir/pexpect-$pkgver"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python3 setup.py check
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+