Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
packaging
sl-spec-files
Commits
60f637b6
Verified
Commit
60f637b6
authored
Sep 11, 2019
by
Adam Mercer
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gwosc-0.4.3-2
parent
b59da655
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
110 additions
and
0 deletions
+110
-0
gwosc/gwosc-0.4.3-2.spec
gwosc/gwosc-0.4.3-2.spec
+110
-0
No files found.
gwosc/gwosc-0.4.3-2.spec
0 → 100644
View file @
60f637b6
%define name gwosc
%define version 0.4.3
%define release 2
Name: %{name}
Version: %{version}
Release: %{release}%{?dist}
Summary: A python interface to the Gravitational-Wave Open Science Center data archive
License: GPLv3
Url: https://pypi.org/project/%{name}/
Source0: https://pypi.io/packages/source/g/%{name}/%{name}-%{version}.tar.gz
Vendor: Duncan Macleod <duncan.macleod@ligo.org>
BuildArch: noarch
# rpmbuild dependencies
BuildRequires: rpm-build
BuildRequires: python-rpm-macros
BuildRequires: python2-rpm-macros
BuildRequires: python3-rpm-macros
# build dependencies
BuildRequires: python-setuptools
BuildRequires: python%{python3_pkgversion}-setuptools
# runtime dependencies (required for %check)
BuildRequires: python2-six
BuildRequires: python%{python3_pkgversion}-six
# testing dependencies (required for %check)
BuildRequires: python2-pytest
BuildRequires: python%{python3_pkgversion}-pytest
BuildRequires: python2-mock
%description
The `gwosc` package provides an interface to querying the open data
releases hosted on <https://losc.ligo.org> from the LIGO and Virgo
gravitational-wave observatories.
# -- python2-ligotimegps
%package -n python2-%{name}
Summary: %{summary}
Requires: python-six
%{?python_provide:%python_provide python2-%{name}}
%description -n python2-%{name}
The `gwosc` package provides an interface to querying the open data
releases hosted on <https://losc.ligo.org> from the LIGO and Virgo
gravitational-wave observatories.
# -- python-3X-ligotimegps
%package -n python%{python3_pkgversion}-%{name}
Summary: %{summary}
Requires: python%{python3_pkgversion}-six
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}
%description -n python%{python3_pkgversion}-%{name}
The `gwosc` package provides an interface to querying the open data
releases hosted on <https://losc.ligo.org> from the LIGO and Virgo
gravitational-wave observatories.
# -- build steps
%prep
%autosetup -n %{name}-%{version}
%build
%py2_build
%py3_build
%check
%{__python2} -m pytest --pyargs %{name} -m "not remote"
%{__python3} -m pytest --pyargs %{name} -m "not remote"
%install
%py2_install
%py3_install
%clean
rm -rf $RPM_BUILD_ROOT
%files -n python2-%{name}
%license LICENSE
%doc README.md
%{python2_sitelib}/*
%files -n python%{python3_pkgversion}-%{name}
%license LICENSE
%doc README.md
%{python3_sitelib}/*
# -- changelog
%changelog
* Tue Mar 12 2019 Duncan Macleod <duncan.macleod@ligo.org> - 0.4.3-1
- bug fix release, see github releases for details
* Mon Mar 11 2019 Duncan Macleod <duncan.macleod@ligo.org> - 0.4.2-1
- bug fix release, see github releases for details
* Thu Feb 28 2019 Duncan Macleod <duncan.macleod@ligo.org> - 0.4.1-1
- development release to include catalogue parsing
* Mon Oct 1 2018 Duncan Macleod <duncan.macleod@ligo.org>
- 0.3.4 testing bug-fix release
* Mon Jul 9 2018 Duncan Macleod <duncan.macleod@ligo.org>
- 0.3.3 packaging bug-fix release
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment