diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-11-22 03:20:38 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-11-22 03:20:38 +0000 |
commit | 1d1c1a08c93b6d889cf5751c60e1caac73ac5f13 (patch) | |
tree | 182727a7e02c00fe926c54b71f86ad894ae32656 /testing | |
parent | d097015eddcd5dd373b31df9c9b437bd40ab8efb (diff) | |
download | aports-1d1c1a08c93b6d889cf5751c60e1caac73ac5f13.tar.bz2 aports-1d1c1a08c93b6d889cf5751c60e1caac73ac5f13.tar.xz |
community/py-wcwidth: moved from testing
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-wcwidth/APKBUILD | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/testing/py-wcwidth/APKBUILD b/testing/py-wcwidth/APKBUILD deleted file mode 100644 index f9fe3f7497..0000000000 --- a/testing/py-wcwidth/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Contributor: Thomas Boerger <thomas@webhippie.de> -# Maintainer: Thomas Boerger <thomas@webhippie.de> -pkgname=py-wcwidth -_pkgname=wcwidth -pkgver=0.1.7 -pkgrel=0 -pkgdesc="Measures number of Terminal column cells of wide-character codes" -url="https://pypi.python.org/pypi/wcwidth" -arch="noarch" -license="MIT" -depends="" -makedepends="python2-dev py-setuptools python3-dev" -subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" -source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" - -check() { - cd "$builddir" - python2 setup.py check - python3 setup.py check -} - -build() { - cd "$builddir" - python2 setup.py build - python3 setup.py build -} - -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" -} - -sha512sums="5bc9625fbd10721a50a3ac7d7f91012cca8e4f83533f265cf56890498bc52a53b155c82e67d6bc5523a5593c8d7992a1dec2a0f590318170eddf987c56f9c368 py-wcwidth-0.1.7.tar.gz" |