Date: Sunday, May 16, 2021 @ 16:37:45 Author: foxxx0 Revision: 935909
archrelease: copy trunk to community-any Added: python-kubernetes/repos/community-any/PKGBUILD (from rev 935908, python-kubernetes/trunk/PKGBUILD) Deleted: python-kubernetes/repos/community-any/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-16 16:37:41 UTC (rev 935908) +++ PKGBUILD 2021-05-16 16:37:45 UTC (rev 935909) @@ -1,50 +0,0 @@ -# Maintainer: Thore Bödecker <fox...@archlinux.org> -# Contributor: Ian Beringer <i...@ianberinger.com> - -pkgname=python-kubernetes -_pkgbase="${pkgname#python-}" -_kubernetes_base_commit=2da2b981ca806b25487ad92d01a2164815c18517 -pkgver=12.0.1 -pkgrel=2 -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=('6d0770a25db9e4e6b4188cf7485c32bef3f0317f729cca19c9af0b6f7d275dc8' - 'ffc9f2384399c8b97ed7114f64d2efde88e385a2c31a92e083651f4fd1b9b860') - -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 935908, python-kubernetes/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-16 16:37:45 UTC (rev 935909) @@ -0,0 +1,50 @@ +# Maintainer: Thore Bödecker <fox...@archlinux.org> +# Contributor: Ian Beringer <i...@ianberinger.com> + +pkgname=python-kubernetes +_pkgbase="${pkgname#python-}" +_kubernetes_base_commit=b4d3aad42dc23e7a6c0e5c032691f8dc385a786c +pkgver=17.17.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=('9e9c5f6c897f5a70d2680bcadb6792e87d6521c717e347ea9c999942db150325' + '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" +}