## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-py-tes Version: 1.1.0 Release: %autorelease Summary: Python SDK for the GA4GH Task Execution API # SPDX License: MIT URL: https://github.com/ohsu-comp-bio/py-tes # The PyPI sdist is missing the LICENSE and the tests, so we must use the # GitHub source archive. Source: %{url}/archive/%{version}/py-tes-%{version}.tar.gz # Remove unused future dependency (again) # https://github.com/ohsu-comp-bio/py-tes/pull/72 Patch: %{url}/pull/72.patch BuildArch: noarch BuildRequires: python3-devel # Most of the dependencies in tests/requirements.txt pertain to linting and # coverage analysis. (Plus, the package wants to use the deprecated nose # package as the test runner.) Rather than working around all of these, it is # simpler to BR and invoke pytest manually. # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters BuildRequires: %{py3_dist pytest} BuildRequires: %{py3_dist requests_mock} >= 1.3 %global common_description %{expand: This is a library for interacting with servers implementing the GA4GH Task Execution Schema (https://github.com/ga4gh/task-execution-schemas).} %description %{common_description} %package -n python3-py-tes Summary: %{summary} # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_provides_for_importable_modules %py_provides python3-tes %description -n python3-py-tes %{common_description} %prep %autosetup -n py-tes-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l tes %check # Integration tests require a running server ignore="${ignore-} --ignore=tests/integration" %pytest ${ignore-} -v %files -n python3-py-tes -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Mon Dec 09 2024 Packit - 1.1.0-1 - Update to 1.1.0 upstream release - Resolves: rhbz#2330937 * Fri Jul 19 2024 Fedora Release Engineering - 0.4.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.4.2-5 - Rebuilt for Python 3.13 * Tue Apr 23 2024 Benjamin A. Beasley - 0.4.2-4 - Remove unused future dependency (fix RHBZ#2276617) * Fri Jan 26 2024 Fedora Release Engineering - 0.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 13 2024 Benjamin A. Beasley - 0.4.2-1 - Initial package (close RHBZ#2257483) ## END: Generated by rpmautospec