Accepting request 627933 from devel:languages:python

- Update to 1.4
  * Universal wheel distribution.
  * Test to compare gcal2jd with astropy._erfa.cal2jd.
  * Add more Python versions on Travis. (forwarded request 627907 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/627933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jdcal?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2018-08-24 15:00:07 +00:00 committed by Git OBS Bridge
commit 438ca57d27
4 changed files with 20 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b760160f8dc8cc51d17875c6b663fafe64be699e10ce34b6a95184b5aa0fdc9e
size 7433

3
jdcal-1.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea0a5067c5f0f50ad4c7bdc80abad3d976604f6fb026b0b3a17a9d84bb9046c9
size 7545

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Aug 7 14:56:07 UTC 2018 - toddrme2178@gmail.com
- Update to 1.4
* Universal wheel distribution.
* Test to compare gcal2jd with astropy._erfa.cal2jd.
* Add more Python versions on Travis.
-------------------------------------------------------------------
Wed Apr 19 15:30:41 UTC 2017 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-jdcal
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,26 +16,24 @@
#
%bcond_without tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jdcal
Version: 1.3
Version: 1.4
Release: 0
Summary: Julian dates from proleptic Gregorian and Julian calendars
License: BSD-2-Clause
Group: Development/Languages/Python
Url: http://github.com/phn/jdcal
Source: https://files.pythonhosted.org/packages/source/j/jdcal/jdcal-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
%if %{with tests}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest}
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# /SECTION
BuildArch: noarch
%python_subpackages
%description
@ -57,14 +55,12 @@ defined.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with tests}
%check
%python_exec test_jdcal.py
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE.txt README.rst
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/*
%changelog