Orphaned for 6+ weeks
This commit is contained in:
parent
255af640da
commit
0ea1cdc55d
5 changed files with 1 additions and 86 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1,4 +0,0 @@
|
|||
/python-test-utils-1.1.0.tar.gz
|
||||
/python-test-utils-1.3.1.tar.gz
|
||||
/python-test-utils-1.3.2.tar.gz
|
||||
/python-test-utils-1.3.3.tar.gz
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
# python-google-cloud-testutils
|
||||
|
||||
The python-google-cloud-testutils package
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Orphaned for 6+ weeks
|
||||
|
|
@ -1,78 +0,0 @@
|
|||
# F35: Do not update past 1.3.1. F35's protobuf is too old.
|
||||
|
||||
# tests are enabled by default
|
||||
%bcond_without tests
|
||||
|
||||
%global srcname google-cloud-testutils
|
||||
%global forgeurl https://github.com/googleapis/python-test-utils
|
||||
Version: 1.3.3
|
||||
%global tag v%{version}
|
||||
%forgemeta
|
||||
|
||||
Name: python-%{srcname}
|
||||
Release: %autorelease
|
||||
Summary: Python test utilities for Google Cloud APIs
|
||||
|
||||
License: Apache-2.0
|
||||
URL: %forgeurl
|
||||
Source0: %forgesource
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
|
||||
%if %{with tests}
|
||||
BuildRequires: python3dist(pytest)
|
||||
%endif
|
||||
|
||||
%global _description %{expand:
|
||||
This is a collection of common tools used in system tests of Python client
|
||||
libraries for Google APIs.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
|
||||
%package -n python3-%{srcname}
|
||||
%py_provides python3-test-utils
|
||||
Summary: %{summary}
|
||||
|
||||
%description -n python3-%{srcname} %{_description}
|
||||
|
||||
|
||||
%prep
|
||||
%forgesetup
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files test_utils
|
||||
|
||||
# Remove extra scripts and tests.
|
||||
rm -rf %{buildroot}%{python3_sitelib}/{scripts,tests}
|
||||
rm -f %{buildroot}%{_bindir}/lower-bound-checker
|
||||
|
||||
|
||||
%check
|
||||
%pyproject_check_import -e "tests*"
|
||||
|
||||
%if %{with tests}
|
||||
# Lower bounds checking tests won't work since installing things via
|
||||
# pip is not going to work during RPM builds.
|
||||
%pytest --disable-warnings --ignore tests/unit/test_lower_bound_checker.py
|
||||
%endif
|
||||
|
||||
|
||||
%files -n python3-%{srcname} -f %{pyproject_files}
|
||||
%doc README.rst CHANGELOG.md CODE_OF_CONDUCT.md
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
SHA512 (python-test-utils-1.3.3.tar.gz) = 1d54cf4414a2febc7aa5d3cfb9a1ee3f7ef55d8f19fcae0af81e39bfa506788d867c73c9c1eb075b2ca6c1efae770dc5c5648ce66e3b7a99c96c25f338fc1e5c
|
||||
Loading…
Add table
Add a link
Reference in a new issue