Subject: [alpine-aports] [PATCH 2/3] main/py-pexpect: new aport

From: [email-masked]
Date: Wed, 8 May 2019 21:32:07 -0400

From: Lucas Ramage <[email-masked]>

http://pexpect.readthedocs.io
A Python module for controlling interactive programs in a pseudo-terminal
---
 main/py-pexpect/APKBUILD | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 main/py-pexpect/APKBUILD

diff --git a/main/py-pexpect/APKBUILD b/main/py-pexpect/APKBUILD
new file mode 100644
index 0000000000..ad33fbd1b4
--- /dev/null
+++ b/main/py-pexpect/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Lucas Ramage <[email-masked]>
+# Maintainer: Lucas Ramage <[email-masked]>
+pkgname=py3-pexpect
+_pkgname=pexpect
+pkgver=4.7.0
+pkgrel=0
+pkgdesc="A Python module for controlling interactive programs in a pseudo-terminal"
+url="https://pexpect.readthedocs.io"
+arch="noarch"
+license="ISC"
+depends="python3"
+makedepends="python3-dev py3-setuptools"
+replaces="py-pexpect"
+provides="py-pexpect"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+options="!check" # no test suite
+
+build() {
+	cd "$builddir"
+	python3 setup.py build
+}
+
+package() {
+	cd "$builddir"
+	python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="4cea4229332c1f3de26dfcad596877665b3c02e91d51ca3c45c1f9b44462adb7c82abc7b76eb09a73822c2d1ccc9d812574cf79bf6bc8fb0b7d2f1093962cc3f  pexpect-4.7.0.tar.gz"
--
2.21.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---