Skip to content

Commit f077711

Browse files
committed
alvistack/v28.1.0
git clean -xdf git submodule sync --recursive git submodule update --init --recursive tar zcvf ../python-kubernetes_28.1.0.orig.tar.gz --exclude=.git . debuild -uc -us cp python-kubernetes.spec ../python-kubernetes_28.1.0-1.spec cp ../python*-kubernetes*28.1.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/kubernetes-client-python-28.1.0/ rm -rf ../python*-kubernetes_28.1.0*.* See kubernetes-client#2131 Signed-off-by: Wong Hoi Sing Edison <[email protected]>
1 parent 4df2bf3 commit f077711

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+282
-7
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,9 @@ target/
6767
.idea/*
6868
*.iml
6969
.vscode
70+
71+
# created by sphinx documentation build
72+
doc/source/README.md
73+
doc/_build
74+
75+
.pybuild/

debian/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*.substvars
2+
*debhelper*
3+
.debhelper
4+
files
5+
python3-kubernetes
6+
tmp

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
python-kubernetes (100:28.1.0-1) UNRELEASED; urgency=medium
2+
3+
* https://github.com/kubernetes-client/python/releases/tag/v28.1.0
4+
5+
-- Wong Hoi Sing Edison <[email protected]> Tue, 09 Jan 2024 12:21:06 +0800

debian/control

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
Source: python-kubernetes
2+
Section: python
3+
Priority: optional
4+
Standards-Version: 4.5.0
5+
Maintainer: Wong Hoi Sing Edison <[email protected]>
6+
Homepage: https://github.com/kubernetes-client/python/tags
7+
Vcs-Browser: https://github.com/alvistack/kubernetes-client-python
8+
Vcs-Git: https://github.com/alvistack/kubernetes-client-python.git
9+
Build-Depends:
10+
debhelper,
11+
debhelper-compat (= 10),
12+
dh-python,
13+
fdupes,
14+
python3-dev,
15+
python3-setuptools,
16+
17+
Package: python3-kubernetes
18+
Architecture: all
19+
Description: Python client for the kubernetes API.
20+
This package provides a Python client for kubernetes. Kubernetes is a
21+
system for automating deployment, scaling, and management of
22+
containerized applications.
23+
Depends:
24+
${misc:Depends},
25+
${shlibs:Depends},
26+
${python3:Depends},
27+
python3,
28+
python3-certifi (>= 14.05.14),
29+
python3-dateutil (>= 2.5.3),
30+
python3-google-auth (>= 1.0.1),
31+
python3-requests,
32+
python3-requests-oauthlib,
33+
python3-setuptools (>= 21.0.0),
34+
python3-six (>= 1.9.0),
35+
python3-urllib3 (>= 1.24.2),
36+
python3-websocket (>= 0.32.0),
37+
python3-yaml (>= 3.12),

debian/copyright

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
3+
Files: debian/*
4+
Copyright: 2024 Wong Hoi Sing Edison <[email protected]>
5+
License: Apache-2.0
6+
7+
License: Apache-2.0
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
.
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
.
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License.
19+
.
20+
The complete text of the Apache version 2.0 license
21+
can be found in "/usr/share/common-licenses/Apache-2.0".

debian/python3-kubernetes.install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
usr/lib/python*/*-packages/*
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
python3-kubernetes: copyright-without-copyright-notice
2+
python3-kubernetes: initial-upload-closes-no-bugs
3+
python3-kubernetes: no-manual-page
4+
python3-kubernetes: package-installs-python-pycache-dir
5+
python3-kubernetes: zero-byte-file-in-doc-directory

debian/rules

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/make -f
2+
3+
SHELL := /bin/bash
4+
5+
override_dh_auto_install:
6+
dh_auto_install --destdir=debian/tmp
7+
find debian/tmp/usr/lib/python*/*-packages -type f -name '*.pyc' -exec rm -rf {} \;
8+
fdupes -qnrps debian/tmp/usr/lib/python*/*-packages
9+
10+
override_dh_auto_test:
11+
12+
override_dh_auto_clean:
13+
14+
%:
15+
dh $@ --buildsystem=pybuild --with python3

debian/source/format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (quilt)

debian/source/lintian-overrides

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
python-kubernetes source: file-without-copyright-information
2+
python-kubernetes source: no-debian-changes

kubernetes/config

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.
File renamed without changes.

kubernetes/dynamic

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

kubernetes/leaderelection

Lines changed: 0 additions & 1 deletion
This file was deleted.

kubernetes/stream

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

kubernetes/watch

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

python-kubernetes.spec

Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
# Copyright 2024 Wong Hoi Sing Edison <[email protected]>
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
%global debug_package %{nil}
16+
17+
%global source_date_epoch_from_changelog 0
18+
19+
Name: python-kubernetes
20+
Epoch: 100
21+
Version: 28.1.0
22+
Release: 1%{?dist}
23+
BuildArch: noarch
24+
Summary: Python client for the kubernetes API.
25+
License: Apache-2.0
26+
URL: https://github.com/kubernetes-client/python/tags
27+
Source0: %{name}_%{version}.orig.tar.gz
28+
BuildRequires: fdupes
29+
BuildRequires: python-rpm-macros
30+
BuildRequires: python3-devel
31+
BuildRequires: python3-setuptools
32+
33+
%description
34+
This package provides a Python client for kubernetes. Kubernetes is a
35+
system for automating deployment, scaling, and management of
36+
containerized applications.
37+
38+
%prep
39+
%autosetup -T -c -n %{name}_%{version}-%{release}
40+
tar -zx -f %{S:0} --strip-components=1 -C .
41+
42+
%build
43+
%py3_build
44+
45+
%install
46+
%py3_install
47+
find %{buildroot}%{python3_sitelib} -type f -name '*.pyc' -exec rm -rf {} \;
48+
fdupes -qnrps %{buildroot}%{python3_sitelib}
49+
50+
%check
51+
52+
%if 0%{?suse_version} > 1500
53+
%package -n python%{python3_version_nodots}-kubernetes
54+
Summary: Python client for the kubernetes API.
55+
Requires: python3
56+
Requires: python3-certifi >= 14.05.14
57+
Requires: python3-python-dateutil >= 2.5.3
58+
Requires: python3-google-auth >= 1.0.1
59+
Requires: python3-PyYAML >= 3.12
60+
Requires: python3-requests,
61+
Requires: python3-requests-oauthlib,
62+
Requires: python3-setuptools >= 21.0.0
63+
Requires: python3-six >= 1.9.0
64+
Requires: python3-urllib3 >= 1.24.2
65+
Requires: python3-websocket-client >= 0.32.0
66+
Provides: python3-kubernetes = %{epoch}:%{version}-%{release}
67+
Provides: python3dist(kubernetes) = %{epoch}:%{version}-%{release}
68+
Provides: python%{python3_version}-kubernetes = %{epoch}:%{version}-%{release}
69+
Provides: python%{python3_version}dist(kubernetes) = %{epoch}:%{version}-%{release}
70+
Provides: python%{python3_version_nodots}-kubernetes = %{epoch}:%{version}-%{release}
71+
Provides: python%{python3_version_nodots}dist(kubernetes) = %{epoch}:%{version}-%{release}
72+
73+
%description -n python%{python3_version_nodots}-kubernetes
74+
This package provides a Python client for kubernetes. Kubernetes is a
75+
system for automating deployment, scaling, and management of
76+
containerized applications.
77+
78+
%files -n python%{python3_version_nodots}-kubernetes
79+
%license LICENSE
80+
%{python3_sitelib}/*
81+
%endif
82+
83+
%if 0%{?sle_version} > 150000
84+
%package -n python3-kubernetes
85+
Summary: Python client for the kubernetes API.
86+
Requires: python3
87+
Requires: python3-certifi >= 14.05.14
88+
Requires: python3-python-dateutil >= 2.5.3
89+
Requires: python3-google-auth >= 1.0.1
90+
Requires: python3-PyYAML >= 3.12
91+
Requires: python3-requests,
92+
Requires: python3-requests-oauthlib,
93+
Requires: python3-setuptools >= 21.0.0
94+
Requires: python3-six >= 1.9.0
95+
Requires: python3-urllib3 >= 1.24.2
96+
Requires: python3-websocket-client >= 0.32.0
97+
Provides: python3-kubernetes = %{epoch}:%{version}-%{release}
98+
Provides: python3dist(kubernetes) = %{epoch}:%{version}-%{release}
99+
Provides: python%{python3_version}-kubernetes = %{epoch}:%{version}-%{release}
100+
Provides: python%{python3_version}dist(kubernetes) = %{epoch}:%{version}-%{release}
101+
Provides: python%{python3_version_nodots}-kubernetes = %{epoch}:%{version}-%{release}
102+
Provides: python%{python3_version_nodots}dist(kubernetes) = %{epoch}:%{version}-%{release}
103+
104+
%description -n python3-kubernetes
105+
This package provides a Python client for kubernetes. Kubernetes is a
106+
system for automating deployment, scaling, and management of
107+
containerized applications.
108+
109+
%files -n python3-kubernetes
110+
%license LICENSE
111+
%{python3_sitelib}/*
112+
%endif
113+
114+
%if 0%{?rhel} == 7
115+
%package -n python3-kubernetes
116+
Summary: Python client for the kubernetes API.
117+
Requires: python3
118+
Requires: python3-certifi >= 14.05.14
119+
Requires: python36-dateutil >= 2.5.3
120+
Requires: python3-google-auth >= 1.0.1
121+
Requires: python3-PyYAML >= 3.12
122+
Requires: python3-requests,
123+
Requires: python3-requests-oauthlib,
124+
Requires: python3-setuptools >= 21.0.0
125+
Requires: python3-six >= 1.9.0
126+
Requires: python3-urllib3 >= 1.24.2
127+
Requires: python3-websocket-client >= 0.32.0
128+
Provides: python3-kubernetes = %{epoch}:%{version}-%{release}
129+
Provides: python3dist(kubernetes) = %{epoch}:%{version}-%{release}
130+
Provides: python%{python3_version}-kubernetes = %{epoch}:%{version}-%{release}
131+
Provides: python%{python3_version}dist(kubernetes) = %{epoch}:%{version}-%{release}
132+
Provides: python%{python3_version_nodots}-kubernetes = %{epoch}:%{version}-%{release}
133+
Provides: python%{python3_version_nodots}dist(kubernetes) = %{epoch}:%{version}-%{release}
134+
135+
%description -n python3-kubernetes
136+
This package provides a Python client for kubernetes. Kubernetes is a
137+
system for automating deployment, scaling, and management of
138+
containerized applications.
139+
140+
%files -n python3-kubernetes
141+
%license LICENSE
142+
%{python3_sitelib}/*
143+
%endif
144+
145+
%if !(0%{?suse_version} > 1500) && !(0%{?sle_version} > 150000) && !(0%{?rhel} == 7)
146+
%package -n python3-kubernetes
147+
Summary: Python client for the kubernetes API.
148+
Requires: python3
149+
Requires: python3-certifi >= 14.05.14
150+
Requires: python3-dateutil >= 2.5.3
151+
Requires: python3-google-auth >= 1.0.1
152+
Requires: python3-pyyaml >= 3.12
153+
Requires: python3-requests,
154+
Requires: python3-requests-oauthlib,
155+
Requires: python3-setuptools >= 21.0.0
156+
Requires: python3-six >= 1.9.0
157+
Requires: python3-urllib3 >= 1.24.2
158+
Requires: python3-websocket-client >= 0.32.0
159+
Provides: python3-kubernetes = %{epoch}:%{version}-%{release}
160+
Provides: python3dist(kubernetes) = %{epoch}:%{version}-%{release}
161+
Provides: python%{python3_version}-kubernetes = %{epoch}:%{version}-%{release}
162+
Provides: python%{python3_version}dist(kubernetes) = %{epoch}:%{version}-%{release}
163+
Provides: python%{python3_version_nodots}-kubernetes = %{epoch}:%{version}-%{release}
164+
Provides: python%{python3_version_nodots}dist(kubernetes) = %{epoch}:%{version}-%{release}
165+
166+
%description -n python3-kubernetes
167+
This package provides a Python client for kubernetes. Kubernetes is a
168+
system for automating deployment, scaling, and management of
169+
containerized applications.
170+
171+
%files -n python3-kubernetes
172+
%license LICENSE
173+
%{python3_sitelib}/*
174+
%endif
175+
176+
%changelog

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ websocket-client>=0.32.0,!=0.40.0,!=0.41.*,!=0.42.* # LGPLv2+
99
requests # Apache-2.0
1010
requests-oauthlib # ISC
1111
oauthlib>=3.2.2 # BSD
12-
urllib3>=1.24.2,<2.0 # MIT
12+
urllib3>=1.24.2 # MIT

setup.cfg

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,9 @@ build-dir = doc/build
44
all_files = 1
55

66
[upload_sphinx]
7-
upload-dir = doc/build/html
7+
upload-dir = doc/build/html
8+
9+
[egg_info]
10+
tag_build =
11+
tag_date = 0
12+

0 commit comments

Comments
 (0)