Sergio Pascual 07e8d46
%global srcname APLpy
Sergio Pascual d2f6f4f
507318d
# Disable automatic dependency generators until we fixed (optional) deps
507318d
%{?python_disable_dependency_generator}
507318d
33e8ffc
Name:           APLpy
3431173
Version:        2.0.3
11fbc15
Release:        8%{?dist}
33e8ffc
Summary:        The Astronomical Plotting Library in Python
33e8ffc
33e8ffc
License:        MIT
33e8ffc
URL:            http://aplpy.github.com
Sergio Pascual 07e8d46
Source0:        https://pypi.io/packages/source/A/%{name}/%{name}-%{version}.tar.gz
33e8ffc
33e8ffc
BuildArch:      noarch
42f5536
BuildRequires:  python3-devel 
33e8ffc
33e8ffc
%description
33e8ffc
APLpy (the Astronomical Plotting Library in Python) is a Python module aimed at 
33e8ffc
producing publication-quality plots of astronomical imaging data in FITS format.
33e8ffc
The module uses Matplotlib, a powerful and interactive plotting package. It is
33e8ffc
capable of creating output files in several graphical formats, including EPS,
33e8ffc
PDF, PS, PNG, and SVG.
33e8ffc
Sergio Pascual 07e8d46
%package -n python3-APLpy
Sergio Pascual 07e8d46
Summary:        The Astronomical Plotting Library in Python
Sergio Pascual 07e8d46
%{?python_provide:%python_provide python3-%{srcname}}
Sergio Pascual 07e8d46
BuildRequires:  python3-numpy
Sergio Pascual 07e8d46
BuildRequires:  python3-matplotlib
Sergio Pascual 07e8d46
BuildRequires:  python3-astropy
Sergio Pascual 07e8d46
BuildRequires:  python3-pillow
Sergio Pascual 07e8d46
BuildRequires:  python3-pytest
Sergio Pascual 07e8d46
Sergio Pascual 07e8d46
Requires:  python3-numpy
Sergio Pascual 07e8d46
Requires:  python3-matplotlib
Sergio Pascual 07e8d46
Requires:  python3-astropy
Sergio Pascual 07e8d46
Recommends:  python3-pillow
Sergio Pascual d2f6f4f
Sergio Pascual d2f6f4f
%description -n python3-APLpy
Sergio Pascual d2f6f4f
APLpy (the Astronomical Plotting Library in Python) is a Python module aimed at 
Sergio Pascual d2f6f4f
producing publication-quality plots of astronomical imaging data in FITS format.
Sergio Pascual d2f6f4f
The module uses Matplotlib, a powerful and interactive plotting package. It is
Sergio Pascual d2f6f4f
capable of creating output files in several graphical formats, including EPS,
Sergio Pascual d2f6f4f
PDF, PS, PNG, and SVG.
Sergio Pascual d2f6f4f
33e8ffc
%prep
33e8ffc
%setup -q -n %{name}-%{version}
Sergio Pascual d2f6f4f
33e8ffc
%build
Sergio Pascual 07e8d46
%py3_build
Sergio Pascual d2f6f4f
33e8ffc
%install
Sergio Pascual 07e8d46
%py3_install
Sergio Pascual 55c187d
Sergio Pascual 55c187d
%check
Sergio Pascual 07e8d46
# Empty matplotlibrc
Sergio Pascual 55c187d
mkdir matplotlib
Sergio Pascual 55c187d
touch matplotlib/matplotlibrc
Sergio Pascual 55c187d
export XDG_CONFIG_HOME=`pwd`
Sergio Pascual df88277
# Avoid writing bad pyc files
Sergio Pascual df88277
export PYTHONDONTWRITEBYTECODE=1
Sergio Pascual d2f6f4f
pushd %{buildroot}/%{python3_sitelib}
dbc6379
py.test-%{python3_version} aplpy || :
Sergio Pascual d2f6f4f
popd
33e8ffc
Sergio Pascual d2f6f4f
%files -n python3-APLpy
2dde59c
%doc CHANGES.rst README.rst
Sergio Pascual df88277
%license LICENSE.md
Sergio Pascual d2f6f4f
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
Sergio Pascual d2f6f4f
%{python3_sitelib}/aplpy/
Sergio Pascual d2f6f4f
33e8ffc
%changelog
11fbc15
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0.3-8
11fbc15
- Rebuilt for Python 3.9
11fbc15
e35b7ce
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-7
e35b7ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
e35b7ce
cb26bcc
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.3-6
cb26bcc
- Rebuilt for Python 3.8.0rc1 (#1748018)
cb26bcc
24615bb
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.3-5
24615bb
- Rebuilt for Python 3.8
24615bb
9f98453
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.3-4
9f98453
- Rebuilt for Python 3.8
9f98453
d7ea6d9
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-3
d7ea6d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d7ea6d9
507318d
* Mon Mar 04 2019 Christian Dersch <lupinix@mailbox.org> - 2.0.3-2
507318d
- Disable automatic dependency generators until we fixed (optional) deps
507318d
3431173
* Mon Feb 25 2019 Sergio Pascual <sergiopr@fedoraproject.org> - 2.0.3-1
3431173
- New upstream version (2.0.3)
3431173
2dde59c
* Sun Feb 17 2019 Sergio Pascual <sergiopr@fedoraproject.org> - 2.0-1
2dde59c
- New upstream version (2.0)
2dde59c
43a2e47
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-8
43a2e47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
43a2e47
42f5536
* Fri Oct 05 2018 Sergio Pascual <sergiopr@fedoraproject.org> - 1.1.1-2
42f5536
- Drop python2 subpackage
42f5536
7bd2319
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-7
7bd2319
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7bd2319
dbc6379
* Sun Jul 08 2018 Christian Dersch <lupinix@mailbox.org> - 1.1.1-6
dbc6379
- Failing tests are only deprecation warnings... Ignore them and report upstream
dbc6379
13e4872
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-5
13e4872
- Rebuilt for Python 3.7
13e4872
ed06f9f
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-4
ed06f9f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ed06f9f
145d873
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
145d873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
145d873
7fca9db
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
7fca9db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7fca9db
Sergio Pascual df88277
* Fri Jan 27 2017 Sergio Pascual <sergiopr@fedoraproject.org> - 1.1.1-1
Sergio Pascual df88277
- New upstream version (1.1.1)
Sergio Pascual df88277
- Include license file
Sergio Pascual df88277
- Do not write pyc files when running tests
Sergio Pascual df88277
548612b
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.1-3
548612b
- Rebuild for Python 3.6
548612b
Sergio Pascual 1b10347
* Sun Oct 02 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 1.1-2
Sergio Pascual 1b10347
- EVR bump
Sergio Pascual 1b10347
Sergio Pascual 07e8d46
* Sun Sep 25 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 1.1-1
Sergio Pascual 07e8d46
- New upstream version (1.1)
Sergio Pascual 07e8d46
- Updated spec
Sergio Pascual 07e8d46
- Fixes bz #1380134
09f797e
6308e88
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-5
6308e88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6308e88
Sergio Pascual 07e8d46
* Tue Nov 17 2015 Sergio Pascual <sergiopr@fedoraproject.org> - 1.0-4
Sergio Pascual 662365d
- Disable some failing tests (https://github.com/aplpy/aplpy/issues/278)
Sergio Pascual 662365d
214e490
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
214e490
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
214e490
8a47b2b
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
8a47b2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
8a47b2b
Sergio Pascual cf6f778
* Mon Mar 02 2015 Sergio Pascual <sergiopr@fedoraproject.org> - 1.0-1
Sergio Pascual cf6f778
- New upstream version (1.0)
Sergio Pascual cf6f778
- Use license macro
Sergio Pascual cf6f778
Sergio Pascual 114db4c
* Thu Dec 11 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.9.14-2
Sergio Pascual 114db4c
- Disable python3 tests
Sergio Pascual 114db4c
Sergio Pascual 17d6f68
* Thu Dec 11 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.9.14-1
Sergio Pascual 17d6f68
- New upstream source (0.9.14), several bug fixes
Sergio Pascual 17d6f68
Sergio Pascual efd2728
* Tue Oct 07 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.9.13-1
Sergio Pascual efd2728
- New upstream source (0.9.13), fixes bug in 0.9.11 and 0.9.12
Sergio Pascual efd2728
Sergio Pascual d2f6f4f
* Thu Sep 11 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.9.12-2
Sergio Pascual d2f6f4f
- Provide python3 subpackage
Sergio Pascual d2f6f4f
- Unbundle decorator
Sergio Pascual d2f6f4f
Sergio Pascual 5a12320
* Thu Sep 11 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.9.12-1
Sergio Pascual 5a12320
- New upstream source (0.9.12)
Sergio Pascual 5a12320
- Tests enabled
Sergio Pascual 5a12320
Sergio Pascual 4bbb834
* Wed Sep 10 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.9.11-2
Sergio Pascual 4bbb834
- Disable tests for the moment
Sergio Pascual 4bbb834
Sergio Pascual 55c187d
* Tue Jul 08 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.9.11-1
Sergio Pascual 55c187d
- Updated to new version
Sergio Pascual 55c187d
- Run tests on installed version
Sergio Pascual 55c187d
- Use python2 macros
Sergio Pascual 55c187d
ab0fba2
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-5
ab0fba2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ab0fba2
d7f9002
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-4
d7f9002
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d7f9002
7616e0b
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-3
7616e0b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7616e0b
a129aed
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-2
a129aed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a129aed
Sergio Pascual 55c187d
* Thu May 03 2012 Germán A. Racca <skytux@fedoraproject.org> - 0.9.8-1
733b07e
- Updated to new version
097ecbf
- Included tests in %%check and corresponding BRs
733b07e
- Packaged tests in %%doc section
733b07e
733b07e
* Mon Feb 06 2012 Germán A. Racca <skytux@fedoraproject.org> 0.9.6-3
33e8ffc
- Minor changes to spec file after approval
33e8ffc
- Removed INSTALL file
33e8ffc
33e8ffc
* Mon Jan 30 2012 Germán A. Racca <skytux@fedoraproject.org> 0.9.6-2
33e8ffc
- Changed name of spec file to match the project name
33e8ffc
33e8ffc
* Mon Jan 23 2012 Germán A. Racca <skytux@fedoraproject.org> 0.9.6-1
33e8ffc
- Initial release of RPM package
33e8ffc