summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/py3-ptyprocess/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/py3-ptyprocess/APKBUILD b/user/py3-ptyprocess/APKBUILD
new file mode 100644
index 000000000..981976f23
--- /dev/null
+++ b/user/py3-ptyprocess/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=py3-ptyprocess
+pkgver=0.6.0
+pkgrel=0
+pkgdesc="Python library for using pseudo-terminals (ptys)"
+url="https://github.com/pexpect/ptyprocess"
+arch="noarch"
+license="ISC"
+depends="python3"
+makedepends=""
+source="https://files.pythonhosted.org/packages/7d/2d/e4b8733cf79b7309d84c9081a4ab558c89d8c89da5961bf4ddb050ca1ce0/ptyprocess-$pkgver.tar.gz"
+sha512sums="b34b6bca977f09d1443b210e338e1300e12d6ef35857f9543b3a116ef3b500ad4844357a7a283321756f886af41bddb1f02b27bf200ef1e82a96fd9e431bed86 ptyprocess-0.6.0.tar.gz"
+builddir="$srcdir/ptyprocess-$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"
+}
+