forked from pool/python-parted
Accepting request 262318 from home:cbosdonnat
Runtime dependency for kimchi Changed: Get it to build on 13.1, the libparted-devel version constraint was too strict OBS-URL: https://build.opensuse.org/request/show/262318 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
||||||
12
pyparted-3.10.patch
Normal file
12
pyparted-3.10.patch
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-pyparted-3.10/src/parted/disk.py ./src/parted/disk.py
|
||||||
|
--- ../orig-pyparted-3.10/src/parted/disk.py 2013-04-09 17:31:40.000000000 +0200
|
||||||
|
+++ ./src/parted/disk.py 2014-02-09 09:49:31.693576602 +0100
|
||||||
|
@@ -486,4 +486,7 @@
|
||||||
|
if not __flag:
|
||||||
|
__readFlags = False
|
||||||
|
else:
|
||||||
|
- diskFlag[__flag] = _ped.disk_flag_get_name(__flag)
|
||||||
|
+ try:
|
||||||
|
+ diskFlag[__flag] = _ped.disk_flag_get_name(__flag)
|
||||||
|
+ except:
|
||||||
|
+ print "Bad disk flag:", __flag
|
||||||
3
pyparted-3.10.tar.gz
Normal file
3
pyparted-3.10.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bb8de71ba54983af84cf036002511cfb6d8fab4fc5e9a9be7236ecba6d24989f
|
||||||
|
size 189069
|
||||||
16
python-parted.changes
Normal file
16
python-parted.changes
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 6 12:48:20 UTC 2014 - cbosdonnat@suse.com
|
||||||
|
|
||||||
|
- Fixed indentation error in pyparted-3.10.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 9 08:50:51 UTC 2014 - kkaempf@suse.com
|
||||||
|
|
||||||
|
- catch 'unknown disk flag' exception
|
||||||
|
add pyparted-3.10.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 8 15:56:34 UTC 2014 - kkaempf@suse.com
|
||||||
|
|
||||||
|
- Initial version 3.10
|
||||||
|
|
||||||
57
python-parted.spec
Normal file
57
python-parted.spec
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
#
|
||||||
|
# spec file for package parted
|
||||||
|
#
|
||||||
|
# Copyright (c) 2014 SUSE LINUX Products 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
Summary: Python module for GNU parted
|
||||||
|
Name: python-parted
|
||||||
|
%define srcname pyparted
|
||||||
|
Version: 3.10
|
||||||
|
Release: 0
|
||||||
|
License: GPL-2.0+
|
||||||
|
Group: Developement/Languages/Python
|
||||||
|
URL: http://fedorahosted.org/pyparted
|
||||||
|
|
||||||
|
Source0: http://fedorahosted.org/releases/p/y/%{srcname}/%{srcname}-%{version}.tar.gz
|
||||||
|
# catch exception for unknown 'disk flag', kkaempf@suse.de
|
||||||
|
Patch: pyparted-3.10.patch
|
||||||
|
|
||||||
|
BuildRoot: %{_tmppath}/%{srcname}-%{version}-%{release}-root-%(id -u -n)
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: parted-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
|
%description
|
||||||
|
Python module for the parted library. It is used for manipulating
|
||||||
|
partition tables.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{srcname}-%{version}
|
||||||
|
%patch -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
|
||||||
|
%{python_sitearch}/_ped.so
|
||||||
|
%{python_sitearch}/parted
|
||||||
|
%{python_sitearch}/%{srcname}-%{version}-*.egg-info
|
||||||
|
|
||||||
|
%changelog
|
||||||
Reference in New Issue
Block a user