commit c9acb5a169dae837dd288c457eb5bc78e24fe316 Author: wanjk19 Date: Wed Dec 4 17:02:54 2019 +0800 Package init diff --git a/flit-1.0.tar.gz b/flit-1.0.tar.gz new file mode 100644 index 0000000..e0b5665 --- /dev/null +++ b/flit-1.0.tar.gz @@ -0,0 +1,15 @@ + + + + Index of /repo/extras/python-flit/flit-1.0.tar.gz + + +

Index of /repo/extras/python-flit/flit-1.0.tar.gz

+ + + + + + +
[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[DIR]sha512/ 2018-04-08 14:20 -  

+ diff --git a/python-flit.spec b/python-flit.spec new file mode 100644 index 0000000..37dcbfa --- /dev/null +++ b/python-flit.spec @@ -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 - 1.0-5 +- Package Init