Ai
10 Star 0 Fork 11

src-openEuler/python-requirementslib
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-requirementslib.spec 3.42 KB
一键复制 编辑 原始数据 按行查看 历史
sxtywg 提交于 2024-12-16 16:40 +08:00 . fix Source0 url
%global _empty_manifest_terminate_build 0
Name: python-requirementslib
Version: 3.0.0
Release: 2
Summary: A tool for converting between pip-style and pipfile requirements.
License: MIT
URL: https://github.com/sarugaku/requirementslib
Source0: https://files.pythonhosted.org/packages/7f/05/3b5b4d0aea645059f98d90ed45ce390c3955712b5c4c2cbe6c90d3333f09/requirementslib-3.0.0.tar.gz
BuildArch: noarch
Requires: python3-attrs
Requires: python3-distlib
Requires: python3-pep517
Requires: python3-platformdirs
Requires: python3-plette[validation]
Requires: python3-requests
Requires: python3-setuptools
Requires: python3-tomlkit
Requires: python3-nox
Requires: python3-twine
Requires: python3-parver
Requires: python3-towncrier
Requires: python3-sphinx
Requires: python3-sphinx-rtd-theme
Requires: python3-pytest
Requires: python3-readme-renderer[md]
Requires: python3-pytest-xdist
Requires: python3-pytest-cov
Requires: python3-pytest-timeout
Requires: python3-coverage
Requires: python3-hypothesis
Requires: python3-pip
%description
Install from `PyPI`_:
$ pipenv install requirementslib
Install from `Github`_:
$ pipenv install -e git+https://github.com/sarugaku/requirementslib.git#egg=requirementslib
%package -n python3-requirementslib
Summary: A tool for converting between pip-style and pipfile requirements.
Provides: python-requirementslib
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-pbr
%description -n python3-requirementslib
Install from `PyPI`_:
$ pipenv install requirementslib
Install from `Github`_:
$ pipenv install -e git+https://github.com/sarugaku/requirementslib.git#egg=requirementslib
%package help
Summary: Development documents and examples for requirementslib
Provides: python3-requirementslib-doc
%description help
Install from `PyPI`_:
$ pipenv install requirementslib
Install from `Github`_:
$ pipenv install -e git+https://github.com/sarugaku/requirementslib.git#egg=requirementslib
%prep
%autosetup -n requirementslib-%{version}
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-requirementslib -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Mon Dec 16 2024 wanggang <wanggang1@kylinos.cn> - - 3.0.0-2
- fix Source0 url
* Wed Jun 26 2024 liuzhilin <liuzhilin@kylinos.cn> - 3.0.0-1
- Upgrade package to version 3.0.0
* Fri Jun 9 2023 cuiyudong <dxwangk@isoftstone.com> - 2.3.0-1
- Upgrade package to version 2.3.0
* Thu Jul 14 2022 cuiyudong <cuiyudong@kylinos.cn> - 1.6.7-1
- Init package python3-requirementslib of version 1.6.7
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-requirementslib.git
git@gitee.com:src-openeuler/python-requirementslib.git
src-openeuler
python-requirementslib
python-requirementslib
master

搜索帮助