diff --git a/srcpkgs/peframe/template b/srcpkgs/peframe/template index 633281255a..861d39703f 100644 --- a/srcpkgs/peframe/template +++ b/srcpkgs/peframe/template @@ -1,25 +1,20 @@ # Template file for 'peframe' pkgname=peframe -version=5.0.1 -revision=2 +version=6.0.2 +revision=1 archs=noarch -_gitver=b8f46740d6870c4e3d60a1f157773af9221c2f67 -wrksrc="${pkgname}-${_gitver}" -build_style=python2-module +build_style="python3-module" pycompile_module="peframe" -hostmakedepends="python-setuptools" -depends="python-setuptools python-simplejson" +hostmakedepends="python3-setuptools" +depends="python3-pefile python3-magic python3-M2Crypto python3-virustotal-api + python3-yara python3-oletools" short_desc="Perform static analysis on Portable Executables" maintainer="Andrew Benson " -license="MIT" +license="GPL-2.0-only" homepage="https://github.com/guelfoweb/peframe" -distfiles="https://github.com/guelfoweb/peframe/archive/${_gitver}.tar.gz" -checksum=74cfdc51e999a4b86102dd383e7bf5e170da70f796a7cedb341e5c81774c7891 +distfiles="https://github.com/guelfoweb/peframe/archive/${version}.tar.gz" +checksum=244fe2f1bbfd205a4939584a21ed8ebf532e06ec2ea19f916fa78fc29aec0e69 pre_configure() { - sed -n '5,24p' peframe/peframe.py > LICENSE -} - -post_install() { - vlicense LICENSE + vsed -i setup.py -e "/import peframe/d" -e "s/peframe.version()/'${version}'/" }