From 78411357e348bbf4acc580711bb15c54fca923e9 Mon Sep 17 00:00:00 2001 From: Christian Dersch Date: Oct 27 2019 14:07:48 +0000 Subject: new version --- diff --git a/.gitignore b/.gitignore index badce5a..873e11d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /astroML-0.2.tar.gz /v0.3.tar.gz +/astroML-0.4.1.tar.gz diff --git a/python-astroML.spec b/python-astroML.spec index a3b9225..4fb74d8 100644 --- a/python-astroML.spec +++ b/python-astroML.spec @@ -1,20 +1,19 @@ -%global upname astroML +%global srcname astroML -Name: python-%{upname} -Version: 0.3 -Release: 25%{?dist} +Name: python-%{srcname} +Version: 0.4.1 +Release: 1%{?dist} Summary: Python tools for machine learning and data mining in Astronomy License: BSD URL: http://www.astroml.org/ -Source0: https://github.com/%{upname}/%{upname}/archive/v%{version}.tar.gz +Source0: %{pypi_source} BuildArch: noarch -BuildRequires: xorg-x11-server-Xvfb BuildRequires: python3-astropy BuildRequires: python3-devel BuildRequires: python3-matplotlib -BuildRequires: python3-nose +BuildRequires: python3-pytest-astropy BuildRequires: python3-numpy BuildRequires: python3-scikit-learn BuildRequires: python3-setuptools @@ -31,7 +30,7 @@ examples of analyzing and visualizing astronomical datasets.\ %description %_description -%package -n python3-%{upname} +%package -n python3-%{srcname} Summary: Python tools for machine learning and data mining in Astronomy Requires: python3-numpy @@ -40,9 +39,11 @@ Requires: python3-matplotlib Requires: python3-scikit-learn Requires: python3-scipy Recommends: python3-healpy -%{?python_provide:%python_provide python3-%{upname}} +Provides: python3-astroML-addons = %{version}-%{release} +Obsoletes: python3-astroML-addons < 0.4-1 +%{?python_provide:%python_provide python3-%{srcname}} -%description -n python3-%{upname} +%description -n python3-%{srcname} AstroML is a Python module for machine learning and data mining built on numpy, scipy, scikit-learn, and matplotlib, and distributed under the 3-clause BSD license. It contains a growing library of statistical and @@ -51,14 +52,14 @@ loaders for several open astronomical datasets, and a large suite of examples of analyzing and visualizing astronomical datasets. %package doc -Summary: Docs and examples for the %{upname} package +Summary: Docs and examples for the %{srcname} package %description doc -Documentation and examples for %{upname}. +Documentation and examples for %{srcname}. %prep -%setup -qn %{upname}-%{version} +%setup -qn %{srcname}-%{version} find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' @@ -70,19 +71,22 @@ find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' %check # Disabled tests as they do not work properly right now :( -#xvfb-run -a nosetests-%{python3_version} +#%{__python3} setup.py test %files doc %license LICENSE.rst -%doc CHANGES.rst CITATION README.rst book_figures examples paper_figures +%doc CHANGES.rst README.rst examples -%files -n python3-%{upname} +%files -n python3-%{srcname} %license LICENSE.rst -%doc CHANGES.rst CITATION README.rst -%{python3_sitelib}/%{upname} -%{python3_sitelib}/%{upname}-%{version}-*.egg-info +%doc CHANGES.rst README.rst +%{python3_sitelib}/%{srcname} +%{python3_sitelib}/%{srcname}-%{version}-*.egg-info %changelog +* Sun Oct 27 2019 Christian Dersch - 0.4.1-1 +- new version + * Mon Aug 19 2019 Miro HronĨok - 0.3-25 - Rebuilt for Python 3.8 diff --git a/sources b/sources index abd65e1..d82d770 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -60167695b8fc427e82778080d0d1c550 v0.3.tar.gz +SHA512 (astroML-0.4.1.tar.gz) = 9eb10fa9bb96d2b6c780766074ab76697c0198ffabbf0634e822261b71d5bbf62822105a340c4baedcbcdb9610c1a25189193f6cbf57cb45528d5f022e18b45d