vp-build/srcpkgs/python-yenc/template

21 lines
612 B
Bash

# Template file for 'python-yenc'
pkgname=python-yenc
version=0.4.0
revision=2
wrksrc="yenc-${version}"
build_style=python2-module
hostmakedepends="python-devel"
makedepends="${hostmakedepends}"
depends="python"
pycompile_module="yenc.py"
short_desc="yEnc Module for Python2"
maintainer="Orphaned <orphan@voidlinux.eu>"
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
}