Blame python-snuggs.spec

6e4e7f
%global srcname snuggs
6e4e7f
6e4e7f
Name:           python-%{srcname}
d630e5
Version:        1.4.7
77d44c
Release:        2%{?dist}
6e4e7f
Summary:        Snuggs are S-expressions for Numpy
6e4e7f
6e4e7f
License:        MIT
6e4e7f
URL:            https://github.com/mapbox/snuggs
aba121
Source0:        %pypi_source
6e4e7f
6e4e7f
BuildArch:      noarch
6e4e7f
6e4e7f
%global _description \
6e4e7f
Snuggs are S-expressions for NumPy. Snuggs wraps NumPy in expressions with the \
6e4e7f
following syntax: expression "(" (operator | function) *arg ")" where \
6e4e7f
arg = expression | name | number | string
6e4e7f
6e4e7f
%description %{_description}
6e4e7f
6e4e7f
6e4e7f
%package -n     python3-%{srcname}
6e4e7f
Summary:        %{summary}
6e4e7f
%{?python_provide:%python_provide python3-%{srcname}}
6e4e7f
6e4e7f
BuildRequires:  python3-devel
6e4e7f
BuildRequires:  python3-setuptools
6e4e7f
BuildRequires:  python3-pytest
6e4e7f
BuildRequires:  python3-numpy
382278
BuildRequires:  python3-pyparsing >= 2.1.6
382278
BuildRequires:  python3-hypothesis
6e4e7f
6e4e7f
%description -n python3-%{srcname} %{_description}
6e4e7f
6e4e7f
6e4e7f
%prep
ab05cc
%autosetup -n %{srcname}-%{version} -p1
6e4e7f
6e4e7f
# Remove bundled egg-info
aba121
rm -rf %{srcname}.egg-info PKG-INFO
6e4e7f
6e4e7f
6e4e7f
%build
6e4e7f
%py3_build
6e4e7f
6e4e7f
6e4e7f
%install
6e4e7f
%py3_install
6e4e7f
6e4e7f
6e4e7f
%check
6e4e7f
pytest-3 -v
6e4e7f
6e4e7f
6e4e7f
%files -n python3-%{srcname}
6e4e7f
%doc README.rst AUTHORS.txt CHANGES.txt
6e4e7f
%license LICENSE
6e4e7f
%{python3_sitelib}/%{srcname}
6e4e7f
%{python3_sitelib}/%{srcname}-%{version}-py?.?.egg-info
6e4e7f
6e4e7f
6e4e7f
%changelog
77d44c
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.7-2
77d44c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
77d44c
d630e5
* Sat Sep 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.7-1
d630e5
- Update to latest version
d630e5
ab05cc
* Sun Aug 25 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.6-3
ab05cc
- Patch tests to work with pyparsing 2.4+
ab05cc
95888f
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.4.6-3
95888f
- Rebuilt for Python 3.8
95888f
26a6af
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-2
26a6af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
26a6af
7ad7b9
* Wed May 15 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.6-1
7ad7b9
- Update to latest version
7ad7b9
382278
* Tue May 14 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.5-1
382278
- Update to latest version
382278
89bbaa
* Mon Feb 25 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.3-2
89bbaa
- Remove extra click dependency
17d06e
- Remove explicit dependencies and use the generator
89bbaa
aba121
* Mon Feb 25 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.3-1
aba121
- Update to latest version
aba121
202bf3
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-5
202bf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
202bf3
c31761
* Mon Oct 01 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.1-4
c31761
- Drop Python 2 subpackage
c31761
7019a4
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3
7019a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7019a4
ddd276
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.4.2-2
ddd276
- Rebuilt for Python 3.7
ddd276
14ccca
* Thu Jun 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-1
14ccca
- Update to latest version
14ccca
5709df
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-2
5709df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5709df
6e4e7f
* Sat Jan 13 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.1-1
6e4e7f
- Initial package.