Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / 
python-pywinrm


Commits:
3b52e4fc by Sven-Hendrik Haase at 2024-08-01T02:07:15+02:00
upgpkg: 0.5.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,18 +1,21 @@
 pkgbase = python-pywinrm
        pkgdesc = Python library for Windows Remote Management
-       pkgver = 0.4.3
-       pkgrel = 4
+       pkgver = 0.5.0
+       pkgrel = 1
        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.4.3.tar.gz
-       sha512sums = 
f6da28fc1c53a4c000539583ef5e6bdc108a2396f161a416cc151a8591478a6c7a577c5733374339fe3612a5a85046fb9cd44ca38f502aecd56b2723aae16943
+       source = 
https://files.pythonhosted.org/packages/source/p/pywinrm/pywinrm-0.5.0.tar.gz
+       sha512sums = 
9a5a3ebe5b2ec3daf4417e0b43143b415d652ebd0f78bd04cfbe6d69aac1c45d012742f0ec754156131869c4695f94e993edefd1e8d4c4d88245bf628a6cdda5
 
 pkgname = python-pywinrm


=====================================
PKGBUILD
=====================================
@@ -3,8 +3,8 @@
 # Contributor: Guillaume Brogi <gui-...@netcourrier.com>
 
 pkgname=python-pywinrm
-pkgver=0.4.3
-pkgrel=4
+pkgver=0.5.0
+pkgrel=1
 pkgdesc="Python library for Windows Remote Management"
 arch=(any)
 url="https://pypi.python.org/pypi/pywinrm";
@@ -12,13 +12,20 @@ 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')
+makedepends=('python-setuptools' 'python-installer' 'python-wheel' 
'python-build')
 
source=("https://files.pythonhosted.org/packages/source/p/pywinrm/pywinrm-${pkgver}.tar.gz";)
-sha512sums=('f6da28fc1c53a4c000539583ef5e6bdc108a2396f161a416cc151a8591478a6c7a577c5733374339fe3612a5a85046fb9cd44ca38f502aecd56b2723aae16943')
+sha512sums=('9a5a3ebe5b2ec3daf4417e0b43143b415d652ebd0f78bd04cfbe6d69aac1c45d012742f0ec754156131869c4695f94e993edefd1e8d4c4d88245bf628a6cdda5')
+
+build() {
+  cd pywinrm-${pkgver}
+  python -m build --wheel --no-isolation
+}
 
 package() {
-    cd pywinrm-${pkgver}
-    python setup.py install --root="${pkgdir}"/ --optimize=1
+  cd pywinrm-${pkgver}
+  python -m installer --destdir "$pkgdir" dist/*.whl
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
-# vim:set ts=4 sw=4 et:
+# vim:set ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pywinrm/-/commit/3b52e4fcab68fa53a4a4ecc30777ad18117bdf08

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pywinrm/-/commit/3b52e4fcab68fa53a4a4ecc30777ad18117bdf08
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to