Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
python-parted
python-parted.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-parted.spec of Package python-parted
# # spec file for package python-parted # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # %define srcname pyparted %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-parted Version: 3.11.1 Release: 0 Summary: Python module for GNU parted License: GPL-2.0-or-later Group: Development/Languages/Python URL: https://github.com/dcantrell/pyparted/ Source0: https://github.com/dcantrell/pyparted/archive/v3.11.1.tar.gz#/%{srcname}-%{version}.tar.gz # catch exception for unknown 'disk flag', kkaempf@suse.de Patch0: pyparted-3.10.patch # do not check for PED_PARTITION)_LAST_FLAG as it is not part of ABI Patch1: no-last-flag-check.patch Patch2: python-parted-unittests.patch Patch3: python-parted-parted-binary.patch Patch4: python-parted-featurestest.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module six} # tests requires BuildRequires: e2fsprogs BuildRequires: parted Requires: parted BuildRequires: fdupes BuildRequires: parted-devel BuildRequires: pkgconfig BuildRequires: python-rpm-macros %python_subpackages %description Python module for the parted library. It is used for manipulating partition tables. %prep %setup -q -n %{srcname}-%{version} %autopatch -p1 %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check %python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m unittest discover -v %files %{python_files} %license COPYING %doc AUTHORS NEWS README TODO %{python_sitearch}/_ped*.so %{python_sitearch}/parted %{python_sitearch}/%{srcname}-%{version}-*.egg-info %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