cd9248a
%global srcname ccdproc
cd9248a
%global sum Astropy affiliated package for reducing optical/IR CCD data
cd9248a
96ab5ea
%global reltag .post1
96ab5ea
cd9248a
Name:           python-%{srcname}
96ab5ea
Version:        1.3.0
cda1c83
Release:        2%{?reltag}%{?dist}
cd9248a
Summary:        %{sum}
cd9248a
cd9248a
License:        BSD
6f82aed
URL:            https://pypi.python.org/pypi/%{srcname}
96ab5ea
Source0:        https://files.pythonhosted.org/packages/source/c/%{srcname}/%{srcname}-%{version}%{?reltag}.tar.gz
cd9248a
cd9248a
BuildArch:      noarch
cd9248a
BuildRequires:  python2-devel python3-devel
79e0365
BuildRequires:  python2-astropy python2-astropy-helpers
79e0365
BuildRequires:  python3-astropy python3-astropy-helpers
0368d61
BuildRequires:  python2-astroscrappy
0368d61
BuildRequires:  python2-reproject
018a178
BuildRequires:  python2-scikit-image
0368d61
BuildRequires:  python3-astroscrappy
0368d61
BuildRequires:  python3-reproject
018a178
BuildRequires:  python3-scikit-image
cd9248a
cd9248a
%description
cd9248a
The ccdproc package is a collection of code that will be helpful in basic CCD
cd9248a
processing. These steps will allow reduction of basic CCD data as either a
cd9248a
stand-alone processing or as part of a pipeline.
cd9248a
cd9248a
%package -n python2-%{srcname}
cd9248a
Summary:        %{sum}
cd9248a
%{?python_provide:%python_provide python2-%{srcname}}
cd9248a
Requires:       python2-astropy
0368d61
Requires:       python2-astroscrappy
0368d61
Requires:       python2-reproject
018a178
Requires:       python2-scikit-image
cd9248a
cd9248a
%description -n python2-%{srcname}
cd9248a
The ccdproc package is a collection of code that will be helpful in basic CCD
cd9248a
processing. These steps will allow reduction of basic CCD data as either a
cd9248a
stand-alone processing or as part of a pipeline.
cd9248a
cd9248a
cd9248a
%package -n python3-%{srcname}
cd9248a
Summary:        %{sum}
cd9248a
%{?python_provide:%python_provide python3-%{srcname}}
cd9248a
Requires:       python3-astropy
0368d61
Requires:       python3-astroscrappy
0368d61
Requires:       python3-reproject
018a178
Requires:       python3-scikit-image
cd9248a
cd9248a
%description -n python3-%{srcname}
cd9248a
The ccdproc package is a collection of code that will be helpful in basic CCD
cd9248a
processing. These steps will allow reduction of basic CCD data as either a
cd9248a
stand-alone processing or as part of a pipeline.
cd9248a
cd9248a
cd9248a
%prep
96ab5ea
%autosetup -n %{srcname}-%{version}%{?reltag}
cd9248a
cd9248a
%build
cd9248a
%py2_build
cd9248a
%py3_build
cd9248a
cd9248a
%install
cd9248a
%py2_install
cd9248a
%py3_install
cd9248a
040e97c
#%%check
040e97c
#%%{__python2} setup.py test
040e97c
#%%{__python3} setup.py test
cd9248a
cd9248a
%files -n python2-%{srcname}
9996eba
%license LICENSE.rst licenses/LICENSE_STSCI_TOOLS.txt
9996eba
%doc CHANGES.rst README.rst
cd9248a
%{python2_sitelib}/*
cd9248a
cd9248a
%files -n python3-%{srcname}
9996eba
%license LICENSE.rst licenses/LICENSE_STSCI_TOOLS.txt
9996eba
%doc CHANGES.rst README.rst
cd9248a
%{python3_sitelib}/*
cd9248a
cd9248a
%changelog
cda1c83
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-2.post1
cda1c83
- Rebuilt for Python 3.7
cda1c83
96ab5ea
* Wed Feb 14 2018 Christian Dersch <lupinix@mailbox.org> - 1.3.0-1.post1
96ab5ea
- New version (1.3.0.post1)
96ab5ea
83865d8
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
83865d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
83865d8
e2a897a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
e2a897a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e2a897a
1149e67
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
1149e67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1149e67
018a178
* Fri Dec 23 2016 Christian Dersch <lupinix@mailbox.org> - 1.2.0-1
018a178
- new version
018a178
4287b8c
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-3
4287b8c
- Rebuild for Python 3.6
4287b8c
0368d61
* Tue Oct 11 2016 Christian Dersch <lupinix@mailbox.org> - 1.1.0-2
0368d61
- Added dependencies for astroscrappy and reproject
0368d61
6f82aed
* Sun Sep 25 2016 Christian Dersch <lupinix@mailbox.org> - 1.1.0-1
79e0365
- Added BuildRequires for astropy-helpers
6f82aed
- new version
6f82aed
96a76b9
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
96a76b9
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
96a76b9
9ba46d4
* Tue Mar 29 2016 Christian Dersch <lupinix@mailbox.org> - 1.0.1-1
9ba46d4
- new version
9ba46d4
592f8c5
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-3
592f8c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
592f8c5
cd9248a
* Mon Nov 30 2015 Christian Dersch <lupinix@mailbox.org> - 0.3.3-2
cd9248a
- fixed requirements
cd9248a
cd9248a
* Sun Nov 22 2015 Christian Dersch <lupinix@mailbox.org> - 0.3.3-1
cd9248a
- initial spec
cd9248a
cd9248a