void-packages/srcpkgs/python-backports.shutil_get.../template

22 lines
867 B
Bash

# 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=python2-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="${PYPI_SITE}/b/backports.shutil_get_terminal_size/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
}