Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37836741
en ru br
ALT Linux repositórios
S:0.13.2-alt1

Group :: Other
RPM: python3-module-openshift

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define  modulename openshift

Name:    python3-module-%modulename
Version:  0.13.1
Release:  alt2

Summary:  OpenShift python client
License:  Apache-2.0
Group:    Other
Url:      https://github.com/openshift/openshift-restclient-python
Vcs:      https://github.com/openshift/openshift-restclient-python.git
BuildArch:  noarch

Packager: Andrew A. Vasilyev <andy at altlinux.org>

Source:   %modulename-%version.tar

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools python3-module-flake8 pytest3 python3-module-openshift

%description
Python client for the Kubernetes and OpenShift APIs.

%prep
%setup -n %modulename-%version
sed -i -e 's/pytest/pytest3/' Makefile tox.ini
# Remove unknown options
sed -i -e 's/--cov-append/--import-mode=append/' -e '/--cov-report=html/d' -e '/--cov=openshift/d' setup.cfg
rm -f test/unit/test_diff.py
# No kubernetes here
sed -i -e 's/ test-integration$//' Makefile

%build
%python3_build

%install
%python3_install
rm -rf %buildroot/usr/requirements.txt

%check
make test PYTHON=%__python3

%files
%doc *.md LICENSE *.txt
%python3_sitelibdir/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009