112 Star 0 Fork 13

src-openEuler / python-flit
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-flit.spec 1.60 KB
一键复制 编辑 原始数据 按行查看 历史
hanxinke 提交于 2020-06-16 14:19 +08:00 . python-flit: update python version
Name: python-flit
Version: 1.0
Release: 6
Summary: Simplified packaging of Python modules
License: BSD and ASL 2.0 and Python
URL: https://flit.readthedocs.io/en/latest/
Source0: https://github.com/takluyver/flit/archive/%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel python3-pip python3-requests python3-docutils python3-pygments python3-pytoml
Provides: bundled(python-tornado)
%description
Flit is a simple way to put Python packages and modules on PyPI.
The specific usage is introduced on the website(https://flit.readthedocs.io/en/latest/), or query README.
%package -n python3-flit
Summary: Simplified packaging of Python modules
%{?python_provide:%python_provide python3-flit}
Requires: python3-requests python3-docutils python3-pytoml
%global __requires_exclude ^python%{python3_version}dist\\(requests-download\\)
Recommends: python3-pygments
%description -n python3-flit
Flit is a simple way to put Python packages and modules on PyPI.
The specific usage is introduced on the website(https://flit.readthedocs.io/en/latest/), or query README.
%prep
%autosetup -n flit-%{version}
%build
export FLIT_NO_NETWORK=1
XDG_CACHE_HOME=$PWD/.cache %{__python3} -m flit build --format wheel
%install
%py3_install_wheel flit-%{version}-py3-none-any.whl
%files -n python3-flit
%{python3_sitelib}/*
%{_bindir}/flit
%license LICENSE
%doc README.rst
%changelog
* Tue Jun 16 2020 hanxinke <hanxinke@huawei.com> - 1.0-6
- update python version
* Thu Nov 21 2019 Wanjiankang <wanjiankang@huawei.com> - 1.0-5
- Package Init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-flit.git
git@gitee.com:src-openeuler/python-flit.git
src-openeuler
python-flit
python-flit
openEuler-22.03-LTS-SP1

搜索帮助