Package init
This commit is contained in:
parent
8c83ea4446
commit
355212d517
49
python-tox.spec
Normal file
49
python-tox.spec
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
Name: python-tox
|
||||||
|
Version: 3.14.3
|
||||||
|
Release: 1
|
||||||
|
Summary: Virtualenv-based automation of test activities
|
||||||
|
License: MIT
|
||||||
|
URL: https://tox.readthedocs.io/
|
||||||
|
Source0: https://files.pythonhosted.org/packages/source/t/tox/tox-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
At its core tox povides a convenient way to run arbitrary commands in isolated environments to serve as a single entry point for build, test and release activities.
|
||||||
|
|
||||||
|
%package -n python3-tox
|
||||||
|
Summary: Virtualenv-based automation of test activities
|
||||||
|
%{?python_provide:%python_provide python3-tox}
|
||||||
|
Provides: tox = %{version}-%{release}
|
||||||
|
BuildRequires: python3-devel python3-setuptools python3-setuptools_scm
|
||||||
|
Requires: python37 python3-devel
|
||||||
|
|
||||||
|
%description -n python3-tox
|
||||||
|
At its core tox povides a convenient way to run arbitrary commands in isolated environments to serve as a single entry point for build, test and release activities.
|
||||||
|
|
||||||
|
%package_help
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n tox-%{version}
|
||||||
|
rm -rf tox.egg-info
|
||||||
|
|
||||||
|
%build
|
||||||
|
%_bindir/python3 setup.py build '--executable=%_bindir/python3 -s'
|
||||||
|
|
||||||
|
%install
|
||||||
|
%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot
|
||||||
|
|
||||||
|
%files -n python3-tox
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%license LICENSE
|
||||||
|
%{_bindir}/tox
|
||||||
|
%{_bindir}/tox-quickstart
|
||||||
|
%_prefix/lib/python3.7/site-packages/tox/
|
||||||
|
%_prefix/lib/python3.7/site-packages/tox-%{version}-py3.7.egg-info/
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README.md
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Feb 11 2020 huzunhao<huzunhao2@huawei.com> - 3.14.3-1
|
||||||
|
- Package init
|
||||||
BIN
tox-3.14.3.tar.gz
Normal file
BIN
tox-3.14.3.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user