Skip to content

Commit 1adba43

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

Some content is hidden

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

50 files changed

+279
-6
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:29.0.0-1) UNRELEASED; urgency=medium
2+
3+
* https://github.com/kubernetes-client/python/releases/tag/v29.0.0
4+
5+
-- Wong Hoi Sing Edison <[email protected]> Tue, 09 Jan 2024 12:22:45 +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: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
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+
Name: python-kubernetes
18+
Epoch: 100
19+
Version: 29.0.0
20+
Release: 1%{?dist}
21+
BuildArch: noarch
22+
Summary: Python client for the kubernetes API.
23+
License: Apache-2.0
24+
URL: https://github.com/kubernetes-client/python/tags
25+
Source0: %{name}_%{version}.orig.tar.gz
26+
BuildRequires: fdupes
27+
BuildRequires: python-rpm-macros
28+
BuildRequires: python3-devel
29+
BuildRequires: python3-setuptools
30+
31+
%description
32+
This package provides a Python client for kubernetes. Kubernetes is a
33+
system for automating deployment, scaling, and management of
34+
containerized applications.
35+
36+
%prep
37+
%autosetup -T -c -n %{name}_%{version}-%{release}
38+
tar -zx -f %{S:0} --strip-components=1 -C .
39+
40+
%build
41+
%py3_build
42+
43+
%install
44+
%py3_install
45+
find %{buildroot}%{python3_sitelib} -type f -name '*.pyc' -exec rm -rf {} \;
46+
fdupes -qnrps %{buildroot}%{python3_sitelib}
47+
48+
%check
49+
50+
%if 0%{?suse_version} > 1500
51+
%package -n python%{python3_version_nodots}-kubernetes
52+
Summary: Python client for the kubernetes API.
53+
Requires: python3
54+
Requires: python3-certifi >= 14.05.14
55+
Requires: python3-python-dateutil >= 2.5.3
56+
Requires: python3-google-auth >= 1.0.1
57+
Requires: python3-PyYAML >= 3.12
58+
Requires: python3-requests,
59+
Requires: python3-requests-oauthlib,
60+
Requires: python3-setuptools >= 21.0.0
61+
Requires: python3-six >= 1.9.0
62+
Requires: python3-urllib3 >= 1.24.2
63+
Requires: python3-websocket-client >= 0.32.0
64+
Provides: python3-kubernetes = %{epoch}:%{version}-%{release}
65+
Provides: python3dist(kubernetes) = %{epoch}:%{version}-%{release}
66+
Provides: python%{python3_version}-kubernetes = %{epoch}:%{version}-%{release}
67+
Provides: python%{python3_version}dist(kubernetes) = %{epoch}:%{version}-%{release}
68+
Provides: python%{python3_version_nodots}-kubernetes = %{epoch}:%{version}-%{release}
69+
Provides: python%{python3_version_nodots}dist(kubernetes) = %{epoch}:%{version}-%{release}
70+
71+
%description -n python%{python3_version_nodots}-kubernetes
72+
This package provides a Python client for kubernetes. Kubernetes is a
73+
system for automating deployment, scaling, and management of
74+
containerized applications.
75+
76+
%files -n python%{python3_version_nodots}-kubernetes
77+
%license LICENSE
78+
%{python3_sitelib}/*
79+
%endif
80+
81+
%if 0%{?sle_version} > 150000
82+
%package -n python3-kubernetes
83+
Summary: Python client for the kubernetes API.
84+
Requires: python3
85+
Requires: python3-certifi >= 14.05.14
86+
Requires: python3-python-dateutil >= 2.5.3
87+
Requires: python3-google-auth >= 1.0.1
88+
Requires: python3-PyYAML >= 3.12
89+
Requires: python3-requests,
90+
Requires: python3-requests-oauthlib,
91+
Requires: python3-setuptools >= 21.0.0
92+
Requires: python3-six >= 1.9.0
93+
Requires: python3-urllib3 >= 1.24.2
94+
Requires: python3-websocket-client >= 0.32.0
95+
Provides: python3-kubernetes = %{epoch}:%{version}-%{release}
96+
Provides: python3dist(kubernetes) = %{epoch}:%{version}-%{release}
97+
Provides: python%{python3_version}-kubernetes = %{epoch}:%{version}-%{release}
98+
Provides: python%{python3_version}dist(kubernetes) = %{epoch}:%{version}-%{release}
99+
Provides: python%{python3_version_nodots}-kubernetes = %{epoch}:%{version}-%{release}
100+
Provides: python%{python3_version_nodots}dist(kubernetes) = %{epoch}:%{version}-%{release}
101+
102+
%description -n python3-kubernetes
103+
This package provides a Python client for kubernetes. Kubernetes is a
104+
system for automating deployment, scaling, and management of
105+
containerized applications.
106+
107+
%files -n python3-kubernetes
108+
%license LICENSE
109+
%{python3_sitelib}/*
110+
%endif
111+
112+
%if 0%{?rhel} == 7
113+
%package -n python3-kubernetes
114+
Summary: Python client for the kubernetes API.
115+
Requires: python3
116+
Requires: python3-certifi >= 14.05.14
117+
Requires: python36-dateutil >= 2.5.3
118+
Requires: python3-google-auth >= 1.0.1
119+
Requires: python3-PyYAML >= 3.12
120+
Requires: python3-requests,
121+
Requires: python3-requests-oauthlib,
122+
Requires: python3-setuptools >= 21.0.0
123+
Requires: python3-six >= 1.9.0
124+
Requires: python3-urllib3 >= 1.24.2
125+
Requires: python3-websocket-client >= 0.32.0
126+
Provides: python3-kubernetes = %{epoch}:%{version}-%{release}
127+
Provides: python3dist(kubernetes) = %{epoch}:%{version}-%{release}
128+
Provides: python%{python3_version}-kubernetes = %{epoch}:%{version}-%{release}
129+
Provides: python%{python3_version}dist(kubernetes) = %{epoch}:%{version}-%{release}
130+
Provides: python%{python3_version_nodots}-kubernetes = %{epoch}:%{version}-%{release}
131+
Provides: python%{python3_version_nodots}dist(kubernetes) = %{epoch}:%{version}-%{release}
132+
133+
%description -n python3-kubernetes
134+
This package provides a Python client for kubernetes. Kubernetes is a
135+
system for automating deployment, scaling, and management of
136+
containerized applications.
137+
138+
%files -n python3-kubernetes
139+
%license LICENSE
140+
%{python3_sitelib}/*
141+
%endif
142+
143+
%if !(0%{?suse_version} > 1500) && !(0%{?sle_version} > 150000) && !(0%{?rhel} == 7)
144+
%package -n python3-kubernetes
145+
Summary: Python client for the kubernetes API.
146+
Requires: python3
147+
Requires: python3-certifi >= 14.05.14
148+
Requires: python3-dateutil >= 2.5.3
149+
Requires: python3-google-auth >= 1.0.1
150+
Requires: python3-pyyaml >= 3.12
151+
Requires: python3-requests,
152+
Requires: python3-requests-oauthlib,
153+
Requires: python3-setuptools >= 21.0.0
154+
Requires: python3-six >= 1.9.0
155+
Requires: python3-urllib3 >= 1.24.2
156+
Requires: python3-websocket-client >= 0.32.0
157+
Provides: python3-kubernetes = %{epoch}:%{version}-%{release}
158+
Provides: python3dist(kubernetes) = %{epoch}:%{version}-%{release}
159+
Provides: python%{python3_version}-kubernetes = %{epoch}:%{version}-%{release}
160+
Provides: python%{python3_version}dist(kubernetes) = %{epoch}:%{version}-%{release}
161+
Provides: python%{python3_version_nodots}-kubernetes = %{epoch}:%{version}-%{release}
162+
Provides: python%{python3_version_nodots}dist(kubernetes) = %{epoch}:%{version}-%{release}
163+
164+
%description -n python3-kubernetes
165+
This package provides a Python client for kubernetes. Kubernetes is a
166+
system for automating deployment, scaling, and management of
167+
containerized applications.
168+
169+
%files -n python3-kubernetes
170+
%license LICENSE
171+
%{python3_sitelib}/*
172+
%endif
173+
174+
%changelog

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)