Accepting request 483880 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/483880 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ipython_genutils?expand=0&rev=2
This commit is contained in:
parent
19015695fd
commit
39ff996ca9
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3a0624a251a26463c9dfa0ffa635ec51c4265380980d9a50d65611c3c2bd82a6
|
||||
size 22255
|
BIN
ipython_genutils-0.2.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
ipython_genutils-0.2.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 17:53:28 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Implement single-spec
|
||||
- Update to 0.2.0
|
||||
* treat strings under ironpthon 2.7 as unicode, like 3.x
|
||||
* Omit missing directories from MANIFEST
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 21 11:19:50 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-ipython_genutils
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,24 +16,25 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-ipython_genutils
|
||||
Version: 0.1.0
|
||||
Version: 0.2.0
|
||||
Release: 0
|
||||
Summary: Vestigial utilities from IPython
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://ipython.org
|
||||
Source: https://pypi.python.org/packages/source/i/ipython_genutils/ipython_genutils-%{version}.tar.gz
|
||||
BuildRequires: python-devel >= 2.7
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: python-setuptools
|
||||
Requires: python >= 2.7
|
||||
Source: https://files.pythonhosted.org/packages/source/i/ipython_genutils/ipython_genutils-%{version}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
Requires: python
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This contains some common utilities shared by Jupyter and IPython projects
|
||||
@ -47,16 +48,17 @@ whatever packages need it
|
||||
%setup -q -n ipython_genutils-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export LC_ALL=en_US.utf8
|
||||
nosetests
|
||||
%python_expand nosetests-%{$python_bin_suffix}
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CONTRIBUTING.md COPYING.md README.md
|
||||
%{python_sitelib}/*
|
||||
|
Loading…
Reference in New Issue
Block a user