python-yenc: update to 0.4.0; modernize

This commit is contained in:
Alessio Sergi 2014-08-02 20:02:02 +02:00
parent 82c0114e71
commit 0a4c7ad403

View file

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