* add python-pywinrm

This commit is contained in:
Alexander Baldeck 2024-11-21 21:33:48 +01:00
parent 90cecf4746
commit 0872da1109
3 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,21 @@
pkgbase = python-pywinrm
pkgdesc = Python library for Windows Remote Management
pkgver = 0.5.0
pkgrel = 2
url = https://pypi.python.org/pypi/pywinrm
arch = any
license = MIT
makedepends = python-setuptools
makedepends = python-installer
makedepends = python-wheel
makedepends = python-build
depends = python-six
depends = python-requests
depends = python-xmltodict
depends = python-requests-ntlm
optdepends = python-requests-kerberos: for kerberos authentication
optdepends = python-requests-credssp: for CredSSP authenication
source = https://files.pythonhosted.org/packages/source/p/pywinrm/pywinrm-0.5.0.tar.gz
sha512sums = 9a5a3ebe5b2ec3daf4417e0b43143b415d652ebd0f78bd04cfbe6d69aac1c45d012742f0ec754156131869c4695f94e993edefd1e8d4c4d88245bf628a6cdda5
pkgname = python-pywinrm

View File

@ -0,0 +1,3 @@
[python-pywinrm]
source = "pypi"
pypi = "pywinrm"

View File

@ -0,0 +1,32 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
# Contributor: Kevin Houdebert <kevin@qwazerty.eu>
# Contributor: Guillaume Brogi <gui-gui@netcourrier.com>
pkgname=python-pywinrm
pkgver=0.5.0
pkgrel=2
pkgdesc="Python library for Windows Remote Management"
arch=(any)
url="https://pypi.python.org/pypi/pywinrm"
license=('MIT')
depends=('python-six' 'python-requests' 'python-xmltodict' 'python-requests-ntlm')
optdepends=('python-requests-kerberos: for kerberos authentication'
'python-requests-credssp: for CredSSP authenication')
makedepends=('python-setuptools' 'python-installer' 'python-wheel' 'python-build')
source=("https://files.pythonhosted.org/packages/source/p/pywinrm/pywinrm-${pkgver}.tar.gz")
sha512sums=('9a5a3ebe5b2ec3daf4417e0b43143b415d652ebd0f78bd04cfbe6d69aac1c45d012742f0ec754156131869c4695f94e993edefd1e8d4c4d88245bf628a6cdda5')
build() {
cd pywinrm-${pkgver}
python -m build --wheel --no-isolation
}
package() {
cd pywinrm-${pkgver}
python -m installer --destdir "$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
# vim:set ts=2 sw=2 et: