void-packages/srcpkgs/python-yenc/template

21 lines
615 B
Plaintext

# Template file for 'python-yenc'
pkgname=python-yenc
version=0.4.0
revision=1
wrksrc="yenc-${version}"
build_style=python-module
hostmakedepends="python-devel"
makedepends="${hostmakedepends}"
depends="python"
pycompile_module="yenc.py"
short_desc="yEnc Module for Python2"
maintainer="Dominik Honnef <dominik@honnef.co>"
homepage="https://bitbucket.org/dual75/yenc"
license="LGPL-2.1"
distfiles="http://www.golug.it/pub/yenc/yenc-${version}.tar.gz"
checksum=075f6c4e4f43b7c6dafac579eabb17287b62d80e9147cbea0b046bc3ee8edd2f
pre_build() {
sed -i 's/extra_compile_args=\[[^]]*\]/extra_compile_args=[]/' setup.py
}