peframe: update to 6.0.2

This commit is contained in:
Andrew Benson 2019-06-18 11:44:36 -05:00 committed by Juan RP
parent 676f0cd1d8
commit b9738c0120

View file

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