forked from pool/python-PyCondor
Accepting request 1276305 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1276305 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyCondor?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 6 12:36:10 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 19 14:03:26 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-PyCondor
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%global modname PyCondor
|
||||
Name: python-PyCondor
|
||||
Version: 0.6.0
|
||||
Release: 0
|
||||
@@ -24,12 +23,14 @@ Summary: Python utility for HTCondor
|
||||
License: MIT
|
||||
URL: https://github.com/jrbourbeau/pycondor
|
||||
Source: https://files.pythonhosted.org/packages/source/P/PyCondor/PyCondor-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires: python-click >= 7.0
|
||||
Requires(post): alts
|
||||
Requires(postun): alts
|
||||
BuildArch: noarch
|
||||
# SECTION For tests
|
||||
BuildRequires: %{python_module click >= 7.0}
|
||||
@@ -45,10 +46,10 @@ PyCondor (Python HTCondor) is a tool to help build and submit workflows to HTCon
|
||||
sed -Ei "1{/^#!\/usr\/bin\/env python/d}" pycondor/tests/example_script.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%python_clone -a %{buildroot}%{_bindir}/pycondor
|
||||
@@ -68,6 +69,6 @@ sed -Ei "1{/^#!\/usr\/bin\/env python/d}" pycondor/tests/example_script.py
|
||||
%doc README.md
|
||||
%python_alternative %{_bindir}/pycondor
|
||||
%{python_sitelib}/pycondor/
|
||||
%{python_sitelib}/%{modname}-%{version}-py%{python_version}.egg-info/
|
||||
%{python_sitelib}/[Pp]y[Cc]ondor-%{version}*-info/
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user