Accepting request 986256 from home:bnavigator:branches:science
Required by PyCBC OBS-URL: https://build.opensuse.org/request/show/986256 OBS-URL: https://build.opensuse.org/package/show/science/python-pegasus-wms.api?expand=0&rev=1
This commit is contained in:
commit
90a99cb6fb
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
29
_service
Normal file
29
_service
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
<services>
|
||||||
|
<service mode="disabled" name="tar_scm">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">https://github.com/pegasus-isi/pegasus.git</param>
|
||||||
|
<param name="subdir">packages/pegasus-api</param>
|
||||||
|
<param name="revision">@PARENT_TAG@</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="filename">pegasus-wms.api-gh</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="recompress">
|
||||||
|
<param name="file">pegasus-wms.api-gh*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="set_version">
|
||||||
|
<param name="basename">pegasus-wms.api-gh</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="tar_scm">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">https://github.com/pegasus-isi/pegasus.git</param>
|
||||||
|
<param name="subdir">share/pegasus/schema/yaml</param>
|
||||||
|
<param name="revision">@PARENT_TAG@</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="filename">pegasus-schema-yaml</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="recompress">
|
||||||
|
<param name="file">pegasus-schema-yaml*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
3
pegasus-schema-yaml-5.0.2.tar.xz
Normal file
3
pegasus-schema-yaml-5.0.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a27b2a0af49d7ea3a05a079b40c8d6e6668d35c020e0456a34d0f0abe7fe449a
|
||||||
|
size 2956
|
3
pegasus-wms.api-gh-5.0.2.tar.xz
Normal file
3
pegasus-wms.api-gh-5.0.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b6d524e124ccf204022d525d8cab1d4c907a554ca105c7583773ea2ed774242d
|
||||||
|
size 57560
|
5
python-pegasus-wms.api.changes
Normal file
5
python-pegasus-wms.api.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 1 14:15:25 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Initial specfile for version 5.0.2
|
||||||
|
- Required by PyCBC
|
82
python-pegasus-wms.api.spec
Normal file
82
python-pegasus-wms.api.spec
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-pegasus-wms.api
|
||||||
|
#
|
||||||
|
# Copyright (c) 2022 SUSE LLC
|
||||||
|
#
|
||||||
|
# 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() python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
|
Name: python-pegasus-wms.api
|
||||||
|
Version: 5.0.2
|
||||||
|
Release: 0
|
||||||
|
Summary: Pegasus Workflow Management System Python API
|
||||||
|
License: Apache-2.0
|
||||||
|
URL: http://pegasus.isi.edu
|
||||||
|
Source0: pegasus-wms.api-gh-%{version}.tar.xz
|
||||||
|
Source1: pegasus-schema-yaml-%{version}.tar.xz
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module pegasus-wms.common < 5.1}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module pytest-mock}
|
||||||
|
BuildRequires: %{python_module jsonschema}
|
||||||
|
# /SECTION
|
||||||
|
BuildRequires: fdupes
|
||||||
|
Requires: python-pegasus-wms.common < 5.1
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains the Python APIs for Pegasus WMS, including:
|
||||||
|
|
||||||
|
The DAX API (Versions 2 and 3)
|
||||||
|
The PDAX API (Version 2)
|
||||||
|
The monitoring API
|
||||||
|
The Stampede database API
|
||||||
|
The Pegasus statistics API
|
||||||
|
The Pegasus plots API
|
||||||
|
Misc. Pegasus utilities
|
||||||
|
The pegasus service, including the ensemble manager and dashboard
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n pegasus-wms.api-gh-%{version} -b1
|
||||||
|
# replace ties to global git repository with our limited package subset
|
||||||
|
sed -i 's|version=read_version(),|version="%{version}",|' setup.py
|
||||||
|
# replaces paths in two lines
|
||||||
|
sed -i test/api/conftest.py \
|
||||||
|
-e 's|"packages/pegasus-api/test/api"|"pegasus-wms.api-gh-%{version}/test/api"|' \
|
||||||
|
-e 's|"share/pegasus/schema/yaml"|"pegasus-schema-yaml-%{version}"|'
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
# same output but different order in 'uses' field
|
||||||
|
donttest="test_workflow_to_subworkflow_conversion_in_write"
|
||||||
|
%pytest -v -k "not ($donttest)"
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%dir %{python_sitelib}/Pegasus
|
||||||
|
%{python_sitelib}/Pegasus/api
|
||||||
|
%{python_sitelib}/pegasus_wms.api-%{version}*-info
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user