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

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

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

%define _upstream pyparted
%define oname parted

Name: python3-module-%oname
Version: 3.13.0
Release: alt1

Summary: Python bindings for libparted

Group: Development/Python3
License: GPL-2.0-or-later
URL: https://pypi.org/project/pyparted
VCS: https://github.com/dcantrell/pyparted

Source: %name-%version.tar

Provides: %_upstream

BuildRequires: libparted-devel
BuildRequires(pre): rpm-build-python3

%description
pyparted is a set of native Python bindings for libparted.  libparted is the
library portion of the GNU parted project.  With pyparted, you can write
applications that interact with disk partition tables and filesystems.

The Python bindings are implemented in two layers.  Since libparted itself
is written in C without any real implementation of objects, a simple 1:1
mapping of externally accessible libparted functions was written.  This
mapping is provided in the _ped Python module.  You can use that module if
you want to, but it's really just meant for the larger parted module.

%prep
%setup

%build
%add_optflags -fno-strict-aliasing
%python3_build

%install
%python3_install

%files
%doc AUTHORS NEWS README.md TODO
%python3_sitelibdir/parted
%python3_sitelibdir/*.so
%python3_sitelibdir/*.egg-info

%changelog

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

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