New package: python-backports.shutil_get_terminal_size-1.0.0

This commit is contained in:
Alessio Sergi 2016-04-24 22:26:46 +02:00
parent 3c34a7db02
commit 11ad1414d1

View File

@ -0,0 +1,21 @@
# Template file for 'python-backports.shutil_get_terminal_size'
pkgname=python-backports.shutil_get_terminal_size
version=1.0.0
revision=1
noarch=yes
wrksrc="backports.shutil_get_terminal_size-${version}"
build_style=python-module
pycompile_module="backports"
hostmakedepends="python-setuptools"
depends="python-backports"
short_desc="Backport of the get_terminal_size function from Python 3.3's shutil"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/chrippa/backports.shutil_get_terminal_size"
license="MIT"
distfiles="https://pypi.python.org/packages/ec/9c/368086faa9c016efce5da3e0e13ba392c9db79e3ab740b763fe28620b18b/backports.shutil_get_terminal_size-${version}.tar.gz"
checksum=713e7a8228ae80341c70586d1cc0a8caa5207346927e23d09dcbcaf18eadec80
post_install() {
# namespace provided by python-backports package
rm -f ${DESTDIR}/usr/lib/python*/site-packages/backports/__init__.py
}