[arch-commits] Commit in python-kubernetes/repos/community-any (PKGBUILD PKGBUILD)
Thore Bödecker
foxxx0 at gemini.archlinux.org
Sat May 7 19:40:29 UTC 2022
Date: Saturday, May 7, 2022 @ 19:40:28
Author: foxxx0
Revision: 1196230
archrelease: copy trunk to community-any
Added:
python-kubernetes/repos/community-any/PKGBUILD
(from rev 1196229, python-kubernetes/trunk/PKGBUILD)
Deleted:
python-kubernetes/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-07 19:40:24 UTC (rev 1196229)
+++ PKGBUILD 2022-05-07 19:40:28 UTC (rev 1196230)
@@ -1,50 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# Contributor: Ian Beringer <ian at ianberinger.com>
-
-pkgname=python-kubernetes
-_pkgbase="${pkgname#python-}"
-_kubernetes_base_commit=b4d3aad42dc23e7a6c0e5c032691f8dc385a786c
-pkgver=23.3.0
-pkgrel=1
-license=('Apache')
-pkgdesc='Python client for the kubernetes API'
-arch=('any')
-url='https://github.com/kubernetes-client/python'
-depends=('python' 'python-certifi' 'python-six' 'python-dateutil'
- 'python-urllib3' 'python-yaml' 'python-google-auth'
- 'python-websocket-client' 'python-requests' 'python-requests-oauthlib'
- 'python-adal')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-pluggy' 'python-py' 'python-mock' 'python-recommonmark' 'python-isort' 'python-nose')
-source=("${_pkgbase}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
- "${_pkgbase}-base-${_kubernetes_base_commit}.tar.gz::https://github.com/kubernetes-client/python-base/archive/${_kubernetes_base_commit}.tar.gz")
-sha256sums=('bc89d7f4e93d9784e58a82d92be6985eea1dc93281e5d38d59c3f23d007aa854'
- 'c76a4f51e662132da2d29cafafe6aeab1778d7e546dc7c918ec6f3e1d4943871')
-
-prepare() {
- cd "${srcdir}"
-
- mv -v "python-${pkgver}" "${_pkgbase}-${pkgver}"
- mv -v "python-base-${_kubernetes_base_commit}" "${_pkgbase}-base-${_kubernetes_base_commit}"
-
- # their "base" has been split out to a git submodule, so include it via symlink
- rm -vrf "${_pkgbase}-${pkgver}/kubernetes/base"
- ln -vsf "${srcdir}/${_pkgbase}-base-${_kubernetes_base_commit}" "${_pkgbase}-${pkgver}/kubernetes/base"
-}
-
-build() {
- cd "${srcdir}/${_pkgbase}-${pkgver}"
- python setup.py build
-}
-
-check() {
- cd "${srcdir}/${_pkgbase}-${pkgver}"
- export PYTHONPATH="${PWD}"
- py.test -vvv -s --ignore=kubernetes/e2e_test
-}
-
-package() {
- cd "${srcdir}/${_pkgbase}-${pkgver}"
- python setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-kubernetes/repos/community-any/PKGBUILD (from rev 1196229, python-kubernetes/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-07 19:40:28 UTC (rev 1196230)
@@ -0,0 +1,50 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Ian Beringer <ian at ianberinger.com>
+
+pkgname=python-kubernetes
+_pkgbase="${pkgname#python-}"
+_kubernetes_base_commit=b4d3aad42dc23e7a6c0e5c032691f8dc385a786c
+pkgver=23.6.0
+pkgrel=1
+license=('Apache')
+pkgdesc='Python client for the kubernetes API'
+arch=('any')
+url='https://github.com/kubernetes-client/python'
+depends=('python' 'python-certifi' 'python-six' 'python-dateutil'
+ 'python-urllib3' 'python-yaml' 'python-google-auth'
+ 'python-websocket-client' 'python-requests' 'python-requests-oauthlib'
+ 'python-adal')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-pluggy' 'python-py' 'python-mock' 'python-recommonmark' 'python-isort' 'python-nose')
+source=("${_pkgbase}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
+ "${_pkgbase}-base-${_kubernetes_base_commit}.tar.gz::https://github.com/kubernetes-client/python-base/archive/${_kubernetes_base_commit}.tar.gz")
+sha256sums=('432f994ccb9c53f67cb5027c83e753966843a4650c8dcf563a37651b1583cf97'
+ 'c76a4f51e662132da2d29cafafe6aeab1778d7e546dc7c918ec6f3e1d4943871')
+
+prepare() {
+ cd "${srcdir}"
+
+ mv -v "python-${pkgver}" "${_pkgbase}-${pkgver}"
+ mv -v "python-base-${_kubernetes_base_commit}" "${_pkgbase}-base-${_kubernetes_base_commit}"
+
+ # their "base" has been split out to a git submodule, so include it via symlink
+ rm -vrf "${_pkgbase}-${pkgver}/kubernetes/base"
+ ln -vsf "${srcdir}/${_pkgbase}-base-${_kubernetes_base_commit}" "${_pkgbase}-${pkgver}/kubernetes/base"
+}
+
+build() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ export PYTHONPATH="${PWD}"
+ py.test -vvv -s --ignore=kubernetes/e2e_test
+}
+
+package() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list