commit
840167fe71
65
ch-python-ipython_genutils.spec
Normal file
65
ch-python-ipython_genutils.spec
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
Name: python-ipython_genutils
|
||||||
|
Version: 0.1.0
|
||||||
|
Release: 15
|
||||||
|
Summary: IPython vestigial utilities
|
||||||
|
License: BSD
|
||||||
|
URL: https://github.com/ipython/ipython_genutils
|
||||||
|
Source0: https://pypi.python.org/packages/source/i/ipython_genutils/ipython_genutils-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
The package provides IPython vestigial utilities.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n python2-ipython_genutils
|
||||||
|
Summary: IPython vestigial utilities
|
||||||
|
BuildRequires: python2-devel python2-nose
|
||||||
|
%{?python_provide:%python_provide python2-ipython_genutils}
|
||||||
|
|
||||||
|
%description -n python2-ipython_genutils
|
||||||
|
The package provides IPython vestigial utilities.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n python%{python3_pkgversion}-ipython_genutils
|
||||||
|
Summary: IPython vestigial utilities
|
||||||
|
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-nose
|
||||||
|
%{?python_provide:%python_provide python%{python3_pkgversion}-ipython_genutils}
|
||||||
|
|
||||||
|
%description -n python%{python3_pkgversion}-ipython_genutils
|
||||||
|
The package provides IPython vestigial utilities.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n ipython_genutils-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%py2_build
|
||||||
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%py2_install
|
||||||
|
%py3_install
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
export LANG=en_US.UTF-8
|
||||||
|
nosetests-%{python2_version} -v
|
||||||
|
nosetests-%{python3_version} -v
|
||||||
|
|
||||||
|
|
||||||
|
%files -n python2-ipython_genutils
|
||||||
|
%doc README.md
|
||||||
|
%license COPYING.md
|
||||||
|
%{python2_sitelib}/*
|
||||||
|
|
||||||
|
%files -n python%{python3_pkgversion}-ipython_genutils
|
||||||
|
%doc README.md
|
||||||
|
%license COPYING.md
|
||||||
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Mar 5 2020 zhujunhao <zhujunhao5@huawei.com> - 0.1.0-15
|
||||||
|
- Package init
|
||||||
BIN
ipython_genutils-0.1.0.tar.gz
Normal file
BIN
ipython_genutils-0.1.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user