2024-11-21 21:33:48 +01:00

33 lines
1.2 KiB
Bash

# 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: