diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-03-03 11:56:19 +0000 |
---|---|---|
committer | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-03-04 09:50:15 +0000 |
commit | 60afcaf7cad64bbb7a6b02b025bf3e84e41e6fc8 (patch) | |
tree | bda2d7d0f3a344aaf9507bf9aa3a4a0e0b6c7425 /testing/py-columnize | |
parent | 7b91236a43f6d3677fa4792cb036bd7365785507 (diff) | |
download | aports-60afcaf7cad64bbb7a6b02b025bf3e84e41e6fc8.tar.bz2 aports-60afcaf7cad64bbb7a6b02b025bf3e84e41e6fc8.tar.xz |
testing/py-columnize: new aport
A Python module to format a simple (i.e. not nested) list into
aligned columns. A string with embedded newline characters is
returned.
Website: http://code.google.com/p/pycolumnize/
Diffstat (limited to 'testing/py-columnize')
-rw-r--r-- | testing/py-columnize/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/py-columnize/APKBUILD b/testing/py-columnize/APKBUILD new file mode 100644 index 0000000000..2a581b594f --- /dev/null +++ b/testing/py-columnize/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-columnize +_pkgname=columnize +pkgver=0.3.4 +pkgrel=0 +pkgdesc="Python module to align in columns a simple list" +url="http://code.google.com/p/pycolumnize/" +arch="noarch" +license="MIT" +depends="" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="http://pycolumnize.googlecode.com/files/$_pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$_pkgname-$pkgver +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="fa30b7e6db805ccec5142844b8de74ce columnize-0.3.4.tar.gz" +sha256sums="86beaae6a0202fb1fa7e5e91a13c95cfc7e28e5ba0f4aa362c9742986edc71eb columnize-0.3.4.tar.gz" +sha512sums="4c12f1cfd6f1f77323a78cfbe19c82918524e1338078010a3f614daa520df806c406dddcabd86137c049ff364f1b1e1feeaf104445c9c9058376ac8160b8663c columnize-0.3.4.tar.gz" |