!2 sync package to 21.09 from master
From: @orange-snn Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
42370f68bd
38
python-randomize.spec
Normal file
38
python-randomize.spec
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
%define debug_package %{nil}
|
||||||
|
%define pypi_name randomize
|
||||||
|
|
||||||
|
Name: python-randomize
|
||||||
|
Version: 0.14
|
||||||
|
Release: 1
|
||||||
|
Summary: A plugin to allow nose to run tests in a random order
|
||||||
|
License: GNU LGPL
|
||||||
|
URL: https://github.com/nloadholtes/nose-randomize
|
||||||
|
Source0: https://files.pythonhosted.org/packages/f3/48/e8b8c42240994d21db41eaf5a7a0b96b8fe672d8a8da877bf3cfdb561bd1/%{pypi_name}-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: python3-devel python3-setuptools
|
||||||
|
|
||||||
|
%description
|
||||||
|
A plugin to allow nose to run tests in a random order
|
||||||
|
|
||||||
|
%package -n python3-%{pypi_name}
|
||||||
|
Summary: python3 package for randomize
|
||||||
|
|
||||||
|
%description -n python3-%{pypi_name}
|
||||||
|
python3 package for randomize
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{pypi_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%py3_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%py3_install
|
||||||
|
|
||||||
|
%files -n python3-%{pypi_name}
|
||||||
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Aug 26 2021 orange-snn<songnannan2@huawei.com> - 0.14-1
|
||||||
|
- Package init
|
||||||
4
python-randomize.yaml
Normal file
4
python-randomize.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: pypi
|
||||||
|
src_repo: randomize
|
||||||
|
tag_prefix: "^v"
|
||||||
|
separator: "."
|
||||||
BIN
randomize-0.14.tar.gz
Normal file
BIN
randomize-0.14.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user