summaryrefslogtreecommitdiff
path: root/user/py3-ptyprocess/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-21 08:56:21 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-21 08:56:21 -0500
commit32737f2ebfe5c1a2b8e012de640d949b05e0d075 (patch)
tree8a8d5450749e18c8f8febcfe2719e5585c5b18dd /user/py3-ptyprocess/APKBUILD
parentc0dbf278d051b7a3878a208d48f41180b09a5076 (diff)
downloadpackages-32737f2ebfe5c1a2b8e012de640d949b05e0d075.tar.gz
packages-32737f2ebfe5c1a2b8e012de640d949b05e0d075.tar.bz2
packages-32737f2ebfe5c1a2b8e012de640d949b05e0d075.tar.xz
packages-32737f2ebfe5c1a2b8e012de640d949b05e0d075.zip
user/py3-ptyprocess: new package
Diffstat (limited to 'user/py3-ptyprocess/APKBUILD')
-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"
+}
+