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"
version=0.3
revision=2
# 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="python-devel"
makedepends="${hostmakedepends}"
depends="python"
short_desc="yEnc Module for Python"
pycompile_module="yenc.py"
short_desc="yEnc Module for Python2"
maintainer="Dominik Honnef <dominik@honnef.co>"
license="GPL"
homepage="http://sabnzbd.org/"
distfiles="http://sabnzbd.sourceforge.net/yenc-${version}.tar.gz"
checksum=fb04fea7c5821345608fa01728ce5356b6dfb2d3e469e59e3fd31b88f45fb313
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
}