mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
peframe: fix for py3.10
This commit is contained in:
parent
bc8c24f2d8
commit
7ac2440bd5
2 changed files with 13 additions and 2 deletions
11
srcpkgs/peframe/patches/fix-for-py3.10.patch
Normal file
11
srcpkgs/peframe/patches/fix-for-py3.10.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/peframe/modules/features.py
|
||||||
|
+++ b/peframe/modules/features.py
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
delta[x - key_len] ^= delta[x]
|
||||||
|
|
||||||
|
""" return the delta as a string """
|
||||||
|
- return delta.tostring()[:-key_len]
|
||||||
|
+ return delta.tobytes()[:-key_len]
|
||||||
|
|
||||||
|
def get_xor(filename, search_string=False):
|
||||||
|
xorsearch_custom = False
|
|
@ -1,9 +1,8 @@
|
||||||
# Template file for 'peframe'
|
# Template file for 'peframe'
|
||||||
pkgname=peframe
|
pkgname=peframe
|
||||||
version=6.0.3
|
version=6.0.3
|
||||||
revision=4
|
revision=5
|
||||||
build_style="python3-module"
|
build_style="python3-module"
|
||||||
pycompile_module="peframe"
|
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3-pefile python3-magic python3-M2Crypto python3-virustotal-api
|
depends="python3-pefile python3-magic python3-M2Crypto python3-virustotal-api
|
||||||
python3-yara python3-oletools"
|
python3-yara python3-oletools"
|
||||||
|
@ -13,3 +12,4 @@ license="GPL-2.0-only"
|
||||||
homepage="https://github.com/guelfoweb/peframe"
|
homepage="https://github.com/guelfoweb/peframe"
|
||||||
distfiles="https://github.com/guelfoweb/peframe/archive/${version}.tar.gz"
|
distfiles="https://github.com/guelfoweb/peframe/archive/${version}.tar.gz"
|
||||||
checksum=75a4c75755b02a6500e9dd651ccd3e8737a7f90dffe113879e3fd2fc0582742d
|
checksum=75a4c75755b02a6500e9dd651ccd3e8737a7f90dffe113879e3fd2fc0582742d
|
||||||
|
make_check=no # does not include tests
|
||||||
|
|
Loading…
Add table
Reference in a new issue