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
769b99a6
Verified
Commit
769b99a6
authored
Sep 09, 2019
by
Adam Mercer
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ligo-segments-1.2.0-2
rebuild for python3 transition
parent
57ddca36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
75 additions
and
0 deletions
+75
-0
ligo-segments/ligo-segments-1.2.0-2.spec
ligo-segments/ligo-segments-1.2.0-2.spec
+75
-0
No files found.
ligo-segments/ligo-segments-1.2.0-2.spec
0 → 100644
View file @
769b99a6
%global srcname ligo-segments
Name: %{srcname}
Version: 1.2.0
Release: 2%{?dist}
Summary: Representations of semi-open intervals
License: GPLv3
URL: https://git.ligo.org/lscsoft/ligo-segments/
Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
BuildRequires: python3-rpm-macros
BuildRequires: python-devel
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python2-setuptools
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python-six
BuildRequires: python%{python3_pkgversion}-six
BuildRequires: pytest
BuildRequires: python%{python3_pkgversion}-pytest
%description
This module defines the segment and segmentlist objects, as well as the
infinity object used to define semi-infinite and infinite segments.
%package -n python2-%{srcname}
Summary: %{summary}
Requires: python-six
Requires: ligo-common
# not supported by old rpmbuild
#Recommends: python2-lal
%{?python_provide:%python_provide python2-%{srcname}}
%description -n python2-%{srcname}
This module defines the segment and segmentlist objects, as well as the
infinity object used to define semi-infinite and infinite segments.
%package -n python%{python3_pkgversion}-%{srcname}
Summary: %{summary}
Requires: python%{python3_pkgversion}-six
Requires: python%{python3_pkgversion}-ligo-common
# not supported by old rpmbuild
#Recommends: python3-lal
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
%description -n python%{python3_pkgversion}-%{srcname}
This module defines the segment and segmentlist objects, as well as the
infinity object used to define semi-infinite and infinite segments.
%prep
%autosetup -n %{srcname}-%{version}
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%files -n python2-%{srcname}
%license LICENSE
%doc README.rst
%{python2_sitearch}/*
%files -n python%{python3_pkgversion}-%{srcname}
%license LICENSE
%doc README.rst
%{python3_sitearch}/*
%changelog
* Thu May 10 2018 Duncan Macleod <duncan.macleod@ligo.org>
- 1.0.0: first release of ligo.segments, should be funtionally identical to glue.segments
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