commit 66fd6de4952c1f35682ae1a21f30bc70ff84857c8ef864150a517c195b84f3d3 Author: Dominique Leuenberger Date: Mon Sep 23 10:10:32 2019 +0000 Accepting request 730704 from devel:languages:python OBS-URL: https://build.opensuse.org/request/show/730704 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ephem?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-ephem.changes b/python-ephem.changes new file mode 100644 index 0000000..627018c --- /dev/null +++ b/python-ephem.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Sep 13 12:22:13 UTC 2019 - Tomáš Chvátal + +- Initial commit, needed by the convertdate diff --git a/python-ephem.spec b/python-ephem.spec new file mode 100644 index 0000000..711a427 --- /dev/null +++ b/python-ephem.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-ephem +# +# Copyright (c) 2019 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define pyname pyephem +Name: python-ephem +Version: 3.7.7.0 +Release: 0 +Summary: Scientific-grade astronomy routines for Python +License: LGPL-3.0-only +Group: Development/Languages/Python +URL: https://github.com/brandon-rhodes/pyephem +Source0: https://github.com/brandon-rhodes/pyephem/archive/v%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module packaging} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%python_subpackages + +%description +PyEphem provides an ephem Python package for performing high-precision astronomy computations. + +%prep +%setup -q -n %{pyname}-%{version} + +%build +export LANG=en_US.UTF8 +%python_build + +%install +export LANG=en_US.UTF8 +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%check +export LANG=en_US.UTF8 +%python_build build_ext --inplace +%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m unittest discover + +%files %{python_files} +%license LICENSE-LGPL LICENSE-GPL +%doc README.rst +%{python_sitearch}/* + +%changelog diff --git a/v3.7.7.0.tar.gz b/v3.7.7.0.tar.gz new file mode 100644 index 0000000..06ee8f5 --- /dev/null +++ b/v3.7.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e850d1e0914fdefeade2b257482a197f300119aeeb88a5294af1c05dc44c2478 +size 1624098