Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
python3-pefile
python3-pefile.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python3-pefile.spec of Package python3-pefile
# # spec file for package python-pefile # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define skip_python2 1 Name: python3-pefile Version: 2022.5.30 Release: 0 Summary: A python module to work with PE (pertable executable) files License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/erocarrera/pefile Source: https://files.pythonhosted.org/packages/source/p/pefile/pefile-%{version}.tar.gz BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python3-future # SECTION test requirements BuildRequires: python3-future # /SECTION BuildArch: noarch %description Portable Executable reader module. All the PE file basic structures are available with their default names as attributes of the instance returned. Processed elements such as the import table are made available with lowercase names, to differentiate them from the upper case basic structure names. pefile has been tested against many edge cases such as corrupted and malformed PEs as well as malware, which often attempts to abuse the format way beyond its standard use. To the best of my knowledge most of the abuse is handled gracefully. %prep %setup -q -n pefile-%{version} sed -i -e '/^#!\//, 1d' pefile.py %build %pyproject_wheel %install %pyproject_install %fdupes %{buildroot}%{python3_sitelib} # Tests not in sdist and have good reason to at time of writing: # https://github.com/erocarrera/pefile/issues/82#issuecomment-192018385 # https://github.com/erocarrera/pefile/issues/171 # %%check # %%python_exec setup.py test %files %doc README %license LICENSE %{python3_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor