Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37727131
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-pefile

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define oname pefile

Name: python3-module-%oname
Version: 2022.5.30
Release: alt1
Group: Development/Python3
Summary: Python module for working with Portable Executable files
License: MIT
Url: https://github.com/erocarrera/pefile
Vcs: https://github.com/erocarrera/pefile.git
Source0: https://github.com/erocarrera/%oname/releases/download/v%version/%oname-%version.tar.gz

BuildArch: noarch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-dev python3-module-setuptools

%description
pefile is a multi-platform Python module to read and work with Portable
Executable (aka PE) files. Most of the information in the PE Header is
accessible, as well as all the sections, section's information and data.
pefile requires some basic understanding of the layout of a PE file. Armed
with it it's possible to explore nearly every single feature of the file.
Some of the tasks that pefile makes possible are:
* Modifying and writing back to the PE image
* Header Inspection
* Sections analysis
* Retrieving data
* Warnings for suspicious and malformed values
* Packer detection with PEiD's signatures
* PEiD signature generation

%prep
%setup -n %oname-%version
sed -i -e '/^#!\//, 1d' pefile.py

%build
%python3_build

%install
%python3_install

%files
%doc README*
%python3_sitelibdir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin