summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-21 08:56:55 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-21 08:56:55 -0500
commit46509ce0eaba0ca307063a58398a7aa37689d74a (patch)
treeb2c5e1cc62772fcdbe111452771fafbf9329d26e /user
parent32737f2ebfe5c1a2b8e012de640d949b05e0d075 (diff)
downloadpackages-46509ce0eaba0ca307063a58398a7aa37689d74a.tar.gz
packages-46509ce0eaba0ca307063a58398a7aa37689d74a.tar.bz2
packages-46509ce0eaba0ca307063a58398a7aa37689d74a.tar.xz
packages-46509ce0eaba0ca307063a58398a7aa37689d74a.zip
user/py3-pexpect: new package
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"
+}
+