diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-09-07 16:43:20 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-07 16:50:54 -0300 |
commit | ecd96f3fda1a2c65b03b12b0ef49aacc6e19f8c6 (patch) | |
tree | 1b5cca5b037b6eb9a036ccc4fc6530218384a44d /community/py-pexpect | |
parent | 98285d3b22f3442523419e9c38b17467243cda68 (diff) | |
download | aports-ecd96f3fda1a2c65b03b12b0ef49aacc6e19f8c6.tar.bz2 aports-ecd96f3fda1a2c65b03b12b0ef49aacc6e19f8c6.tar.xz |
community/py3-pexpect: rename from py-pexpect
Diffstat (limited to 'community/py-pexpect')
-rw-r--r-- | community/py-pexpect/APKBUILD | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/community/py-pexpect/APKBUILD b/community/py-pexpect/APKBUILD deleted file mode 100644 index 140913183b..0000000000 --- a/community/py-pexpect/APKBUILD +++ /dev/null @@ -1,59 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=py-pexpect -_pkgname=${pkgname#py-} -pkgver=4.7.0 -pkgrel=1 -pkgdesc="Make Python a better tool for controlling and automating other programs" -url="http://pexpect.readthedocs.org/en/stable" -arch="noarch" -license="MIT" -depends="py-ptyprocess" -makedepends="python2-dev python3-dev py-setuptools" -subpackages="$pkgname-doc py3-$_pkgname:_py3 py2-$_pkgname:_py2" -source="$pkgname-$pkgver.tar.gz::https://github.com/pexpect/$_pkgname/archive/$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -build() { - cd "$builddir" - python2 setup.py build - python3 setup.py build -} - -check() { - cd "$builddir" - python2 setup.py check - python3 setup.py check -} - -package() { - mkdir -p "$pkgdir" -} - -_py2() { - replaces="$pkgname" - depends="${depends//py-/py2-}" - _py python2 -} - -_py3() { - depends="${depends//py-/py3-}" - _py python3 -} - -_py() { - local python="$1" - pkgdesc="$pkgdesc (for $python)" - depends="$depends $python" - install_if="$pkgname=$pkgver-r$pkgrel $python" - - cd "$builddir" - $python setup.py install --prefix=/usr --root="$subpkgdir" -} - -doc() { - default_doc - cd "$builddir" - install -Dm644 LICENSE "$subpkgdir/usr/share/licenses/$pkgname/LICENSE" -} -sha512sums="ef3bff944d8d17e4929734e7de19e4b81657f5d9493776cdee47704a0617d940933dc592a5c4f2bc39c17ea1585c2a4cfc45bbbfebe12ef98f9b5fdef1ab316a py-pexpect-4.7.0.tar.gz" |