代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-btrfs 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: python-btrfs
Version: 14.1
Release: 1
Summary: Python module to inspect btrfs filesystems
License: LGPLv3 and GPLv3
URL: https://github.com/knorrie/python-btrfs
Source0: https://github.com/knorrie/python-btrfs/archive/refs/tags/v14.1.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: python3-devel
BuildRequires: python3-sphinx
%description
The primary goal of this module is to be able to inspect the internals of an existing filesystem for educational purposes.
%package -n python3-btrfs
Summary: %{summary}
%{?python_provide:%python_provide python3-btrfs}
Suggests: %{name}-doc
%description -n python3-btrfs
The primary goal of this module is to be able to inspect the internals of an existing filesystem for educational purposes.
%package help
Summary: %{summary}
%description help
The primary goal of this module is to be able to inspect the internals of an\
existing filesystem for educational purposes.\
The python module acts as a wrapper around the low level kernel calls and btrfs\
data structures, presenting them as python objects with interesting attributes\
and references to other objects.
%prep
%autosetup -p1
# Remove dangling symlink
rm -f examples/btrfs
# Don't pull additional dependencies in doc
find examples -type f -print0 | xargs -0 chmod 644
%build
%py3_build
pushd docs
%make_build html
%make_build text
find build -name .buildinfo -delete
popd
%install
%py3_install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}/man1
install -m 0755 bin/btrfs-balance-least-used %{buildroot}%{_bindir}
install -m 0755 bin/btrfs-orphan-cleaner-progress %{buildroot}%{_bindir}
install -m 0755 bin/btrfs-space-calculator %{buildroot}%{_bindir}
install -m 0755 bin/btrfs-usage-report %{buildroot}%{_bindir}
install -m 0644 man/* %{buildroot}%{_mandir}/man1
%files -n python3-btrfs
%license COPYING.LESSER
%{python3_sitelib}/btrfs
%{python3_sitelib}/btrfs-%{version}-py*.egg-info
%{_bindir}/*
%{_mandir}/man1/*
%files help
%doc CHANGES README.md examples
%doc docs/build/html docs/build/text
%license COPYING.LESSER
%changelog
* Sun Dec 01 2024 sqfu <dev01203@linx-info.com> - 14.1-1
- Upgrade package to version 14.1
- Prevent a "SyntaxWarning: invalid escape sequence" from being displayed when using recent Python versions.
- Actually use long_description_content_type in setup.py
* Thu May 09 2024 zhangxianting <zhangxianting@uniontech.com> - 13-2
- fix: error in parameter of the function, make_field in sphinx 4 and above
* Wed Jun 30 2021 liliang <liliang@kylinos.cn> - 13-1
- Init project
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。