From 46509ce0eaba0ca307063a58398a7aa37689d74a Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Tue, 21 Aug 2018 08:56:55 -0500 Subject: user/py3-pexpect: new package --- user/py3-pexpect/APKBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 user/py3-pexpect/APKBUILD (limited to 'user/py3-pexpect/APKBUILD') 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 +# Maintainer: Kiyoshi Aman +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" +} + -- cgit v1.2.3-70-g09d2