Package init
This commit is contained in:
commit
c9acb5a169
15
flit-1.0.tar.gz
Normal file
15
flit-1.0.tar.gz
Normal file
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Index of /repo/extras/python-flit/flit-1.0.tar.gz</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Index of /repo/extras/python-flit/flit-1.0.tar.gz</h1>
|
||||
<table>
|
||||
<tr><th valign="top"><img src="/icons/blank.gif" alt="[ICO]"></th><th><a href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href="?C=S;O=A">Size</a></th><th><a href="?C=D;O=A">Description</a></th></tr>
|
||||
<tr><th colspan="5"><hr></th></tr>
|
||||
<tr><td valign="top"><img src="/icons/back.gif" alt="[PARENTDIR]"></td><td><a href="/repo/extras/python-flit/">Parent Directory</a> </td><td> </td><td align="right"> - </td><td> </td></tr>
|
||||
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="sha512/">sha512/</a> </td><td align="right">2018-04-08 14:20 </td><td align="right"> - </td><td> </td></tr>
|
||||
<tr><th colspan="5"><hr></th></tr>
|
||||
</table>
|
||||
</body></html>
|
||||
53
python-flit.spec
Normal file
53
python-flit.spec
Normal file
@ -0,0 +1,53 @@
|
||||
Name: python-flit
|
||||
Version: 1.0
|
||||
Release: 5
|
||||
Summary: Simplified packaging of Python modules
|
||||
License: BSD and ASL 2.0 and Python
|
||||
URL: https://flit.readthedocs.io/en/latest/
|
||||
Source0: https://src.fedoraproject.org/repo/extras/python-flit/flit-%{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 ^python3.7dist\\(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
|
||||
* Thu Nov 21 2019 Wanjiankang <wanjiankang@huawei.com> - 1.0-5
|
||||
- Package Init
|
||||
Loading…
x
Reference in New Issue
Block a user