|
Sergio Pascual |
a5a98b8 |
%global srcname patsy
|
|
Sergio Pascual |
a5a98b8 |
%global summary Describing statistical models in Python using symbolic formulas
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
a5a98b8 |
%global common_description \
|
|
Sergio Pascual |
a5a98b8 |
A Python package for describing statistical models and for building \
|
|
Sergio Pascual |
a5a98b8 |
design matrices. It is closely inspired by and compatible with \
|
|
Sergio Pascual |
a5a98b8 |
the 'formula' mini-language used in R and S.
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
a5a98b8 |
Name: python-%{srcname}
|
|
Sergio Pascual |
a5a98b8 |
Version: 0.4.1
|
|
|
4e761af |
Release: 6%{?dist}
|
|
Sergio Pascual |
a5a98b8 |
Summary: %{summary}
|
|
Sergio Pascual |
1f0362a |
# All code is under BSD except patsy.compat that is under Python
|
|
Sergio Pascual |
1f0362a |
# See LICENSE.txt for details
|
|
Sergio Pascual |
1f0362a |
License: BSD and Python
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
1f0362a |
URL: https://github.com/pydata/patsy
|
|
Sergio Pascual |
13e04ba |
Source0: https://pypi.python.org/packages/source/p/patsy/patsy-%{version}.zip
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
1f0362a |
BuildArch: noarch
|
|
Sergio Pascual |
a5a98b8 |
BuildRequires: python2-devel python3-devel
|
|
Sergio Pascual |
a5a98b8 |
|
|
Sergio Pascual |
a5a98b8 |
%description
|
|
Sergio Pascual |
a5a98b8 |
%{common_description}
|
|
Sergio Pascual |
a5a98b8 |
|
|
Sergio Pascual |
a5a98b8 |
%package -n python2-%{srcname}
|
|
Sergio Pascual |
a5a98b8 |
Summary: %{summary}
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
a5a98b8 |
BuildRequires: python2-nose
|
|
Sergio Pascual |
a5a98b8 |
BuildRequires: python2-six
|
|
Sergio Pascual |
a5a98b8 |
BuildRequires: python2-numpy
|
|
Sergio Pascual |
1f0362a |
# For the docs
|
|
Sergio Pascual |
a5a98b8 |
BuildRequires: python2-sphinx
|
|
Sergio Pascual |
20f1624 |
BuildRequires: python-ipython-sphinx
|
|
Sergio Pascual |
a5a98b8 |
# This should be required by python-ipython-sphinx
|
|
Sergio Pascual |
a5a98b8 |
BuildRequires: python2-matplotlib
|
|
Sergio Pascual |
a5a98b8 |
# For splines
|
|
Sergio Pascual |
a5a98b8 |
BuildRequires: python2-scipy
|
|
Sergio Pascual |
a5a98b8 |
|
|
Sergio Pascual |
a5a98b8 |
Requires: python2-six
|
|
Sergio Pascual |
a5a98b8 |
Requires: python2-numpy
|
|
Sergio Pascual |
1f0362a |
# For splines
|
|
Sergio Pascual |
a5a98b8 |
Recommends: python2-scipy
|
|
Sergio Pascual |
20f1624 |
|
|
Sergio Pascual |
a5a98b8 |
%{?python_provide:%python_provide python2-%{srcname}}
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
a5a98b8 |
%description -n python2-%{srcname}
|
|
Sergio Pascual |
a5a98b8 |
%{common_description}
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
a5a98b8 |
%package -n python2-%{srcname}-doc
|
|
Sergio Pascual |
a5a98b8 |
Summary: Documentation for python2-%{srcname}, includes full API docs
|
|
Sergio Pascual |
1f0362a |
BuildArch: noarch
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
a5a98b8 |
%description -n python2-%{srcname}-doc
|
|
Sergio Pascual |
a5a98b8 |
This package contains the full API documentation for python2-%{srcname}.
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
20f1624 |
|
|
Sergio Pascual |
a5a98b8 |
%package -n python3-%{srcname}
|
|
Sergio Pascual |
a5a98b8 |
Summary: %{summary}
|
|
Sergio Pascual |
a5a98b8 |
BuildRequires: python3-nose
|
|
Sergio Pascual |
a5a98b8 |
BuildRequires: python3-six
|
|
Sergio Pascual |
a5a98b8 |
BuildRequires: python3-numpy
|
|
Sergio Pascual |
1f0362a |
# For the docs
|
|
Sergio Pascual |
20f1624 |
BuildRequires: python3-sphinx
|
|
Sergio Pascual |
20f1624 |
BuildRequires: python3-ipython-sphinx
|
|
Sergio Pascual |
a5a98b8 |
# This should be required by python3-ipython-sphinx
|
|
Sergio Pascual |
a5a98b8 |
BuildRequires: python3-matplotlib
|
|
Sergio Pascual |
a5a98b8 |
# For splines
|
|
Sergio Pascual |
a5a98b8 |
BuildRequires: python3-scipy
|
|
Sergio Pascual |
20f1624 |
|
|
Sergio Pascual |
13e04ba |
Requires: python3-six
|
|
Sergio Pascual |
a5a98b8 |
Requires: python3-numpy
|
|
Sergio Pascual |
a5a98b8 |
# For splines
|
|
Sergio Pascual |
a5a98b8 |
Recommends: python3-scipy
|
|
Sergio Pascual |
a5a98b8 |
|
|
Sergio Pascual |
a5a98b8 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
a5a98b8 |
%description -n python3-%{srcname}
|
|
Sergio Pascual |
a5a98b8 |
%{common_description}
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
a5a98b8 |
%package -n python3-%{srcname}-doc
|
|
Sergio Pascual |
a5a98b8 |
Summary: Documentation for python3-%{srcname}, includes full API docs
|
|
Sergio Pascual |
1f0362a |
BuildArch: noarch
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
a5a98b8 |
%description -n python3-%{srcname}-doc
|
|
Sergio Pascual |
a5a98b8 |
This package contains the full API documentation for python3-%{srcname}.
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
1f0362a |
%prep
|
|
Sergio Pascual |
a5a98b8 |
%autosetup -n %{srcname}-%{version}
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
1f0362a |
%build
|
|
Sergio Pascual |
a5a98b8 |
%py2_build
|
|
Sergio Pascual |
20f1624 |
%{__python2} setup.py build_sphinx
|
|
Sergio Pascual |
20f1624 |
rm -f build/sphinx/html/.buildinfo
|
|
Sergio Pascual |
a5a98b8 |
%py3_build
|
|
Sergio Pascual |
1f0362a |
# Creating the docs with python3-sphinx doesn't work
|
|
Sergio Pascual |
1f0362a |
#%{__python3} setup.py build_sphinx
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
1f0362a |
%install
|
|
Sergio Pascual |
a5a98b8 |
%py2_install
|
|
Sergio Pascual |
a5a98b8 |
%py3_install
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
1f0362a |
%check
|
|
Sergio Pascual |
1f0362a |
pushd %{buildroot}/%{python2_sitelib}
|
|
Sergio Pascual |
1f0362a |
nosetests-%{python2_version} patsy
|
|
Sergio Pascual |
1f0362a |
popd
|
|
Sergio Pascual |
a5a98b8 |
|
|
Sergio Pascual |
1f0362a |
pushd %{buildroot}/%{python3_sitelib}
|
|
Sergio Pascual |
1f0362a |
nosetests-%{python3_version} patsy
|
|
Sergio Pascual |
1f0362a |
popd
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
a5a98b8 |
|
|
Sergio Pascual |
a5a98b8 |
%files -n python2-%{srcname}
|
|
Sergio Pascual |
25f03f2 |
%license LICENSE.txt
|
|
Sergio Pascual |
25f03f2 |
%doc README.rst TODO
|
|
Sergio Pascual |
1f0362a |
%{python2_sitelib}/patsy*
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
a5a98b8 |
%files -n python2-%{srcname}-doc
|
|
Sergio Pascual |
25f03f2 |
%license LICENSE.txt
|
|
Sergio Pascual |
25f03f2 |
%doc README.rst TODO build/sphinx/html
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
a5a98b8 |
%files -n python3-%{srcname}
|
|
Sergio Pascual |
25f03f2 |
%doc README.rst TODO
|
|
Sergio Pascual |
25f03f2 |
%license LICENSE.txt
|
|
Sergio Pascual |
1f0362a |
%{python3_sitelib}/patsy*
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
a5a98b8 |
%files -n python3-%{srcname}-doc
|
|
Sergio Pascual |
25f03f2 |
%doc README.rst TODO build/sphinx/html
|
|
Sergio Pascual |
25f03f2 |
%license LICENSE.txt
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
1f0362a |
%changelog
|
|
|
4e761af |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-6
|
|
|
4e761af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
4e761af |
|
|
|
3465a06 |
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 0.4.1-5
|
|
|
3465a06 |
- Rebuild for Python 3.6
|
|
|
3465a06 |
|
|
Sergio Pascual |
a5a98b8 |
* Mon Oct 17 2016 Sergio Pascual <sergio.pasra@gmail.com> - 0.4.1-4
|
|
Sergio Pascual |
a5a98b8 |
- Refactored spec
|
|
Sergio Pascual |
a5a98b8 |
- Remove pandas dep, it's circular
|
|
Sergio Pascual |
a5a98b8 |
- Recommend scipy, not require it
|
|
Sergio Pascual |
a5a98b8 |
|
|
|
6990ea3 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
|
|
|
6990ea3 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
6990ea3 |
|
|
|
cb443de |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-2
|
|
|
cb443de |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
cb443de |
|
|
Sergio Pascual |
2d571e8 |
* Tue Nov 17 2015 Sergio Pascual <sergio.pasra@gmail.com> - 0.4.1-1
|
|
Sergio Pascual |
2d571e8 |
- New upstream source (0.4.1)
|
|
Sergio Pascual |
2d571e8 |
|
|
|
5b83135 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
|
|
|
5b83135 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
5b83135 |
|
|
Sergio Pascual |
25f03f2 |
* Wed Sep 02 2015 Sergio Pascual <sergio.pasra@gmail.com> - 0.4.0-1
|
|
Sergio Pascual |
25f03f2 |
- New upstream source (0.4.0)
|
|
Sergio Pascual |
25f03f2 |
|
|
|
f644029 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-2
|
|
|
f644029 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
f644029 |
|
|
Sergio Pascual |
13e04ba |
* Mon Jul 21 2014 Sergio Pascual <sergio.pasra@gmail.com> - 0.3.0-1
|
|
Sergio Pascual |
13e04ba |
- New upstream source (0.3.0)
|
|
Sergio Pascual |
13e04ba |
- Removed patches
|
|
Sergio Pascual |
13e04ba |
|
|
Sergio Pascual |
20f1624 |
* Tue Jun 17 2014 Sergio Pascual <sergio.pasra@gmail.com> - 0.2.1-6
|
|
Sergio Pascual |
20f1624 |
- Doc generation enabled, patch from upstream
|
|
Sergio Pascual |
20f1624 |
|
|
|
05899fe |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-5
|
|
|
05899fe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
05899fe |
|
|
Sergio Pascual |
cf04bf5 |
* Mon Jun 02 2014 Sergio Pascual <sergio.pasra@gmail.com> - 0.2.1-4
|
|
Sergio Pascual |
cf04bf5 |
- Doc generation broken due to new ipython, disabled for the moment
|
|
Sergio Pascual |
cf04bf5 |
|
|
Sergio Pascual |
407839d |
* Fri Apr 04 2014 Sergio Pascual <sergio.pasra@gmail.com> - 0.2.1-3
|
|
Sergio Pascual |
407839d |
- Enable pandas support in python3-patsy
|
|
Sergio Pascual |
407839d |
|
|
Sergio Pascual |
1f0362a |
* Sat Jan 11 2014 Sergio Pascual <sergio.pasra@gmail.com> - 0.2.1-2
|
|
Sergio Pascual |
1f0362a |
- Split docs in a subpackage
|
|
Sergio Pascual |
1f0362a |
- License is BSD and Python
|
|
Sergio Pascual |
1f0362a |
|
|
Sergio Pascual |
1f0362a |
* Fri Dec 13 2013 Sergio Pascual <sergio.pasra@gmail.com> - 0.2.1-1
|
|
Sergio Pascual |
1f0362a |
- Initial specfile
|
|
Sergio Pascual |
1f0362a |
|