[arch-commits] Commit in python-smbprotocol/repos/community-any (PKGBUILD PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Sun Mar 20 16:59:40 UTC 2022


    Date: Sunday, March 20, 2022 @ 16:59:40
  Author: archange
Revision: 1164122

archrelease: copy trunk to community-any

Added:
  python-smbprotocol/repos/community-any/PKGBUILD
    (from rev 1164120, python-smbprotocol/trunk/PKGBUILD)
Deleted:
  python-smbprotocol/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   72 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 37 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-20 16:59:36 UTC (rev 1164121)
+++ PKGBUILD	2022-03-20 16:59:40 UTC (rev 1164122)
@@ -1,35 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=smbprotocol
-pkgname=python-${_pkg}
-pkgver=1.7.0
-pkgrel=3
-pkgdesc="SMBv2 and v3 client"
-arch=(any)
-url="https://github.com/jborean93/smbprotocol"
-license=(MIT)
-depends=(python-cryptography python-pyspnego python-six)
-makedepends=(git python-setuptools)
-checkdepends=(python-pytest python-pytest-mock python-gssapi)
-optdepends=('python-gssapi: Kerberos support')
-# tags are not signed, commits only
-_commit=1f1b52a1791151387505cc083c1427d40a7cfcd3 # git rev-parse v${pkgver}
-source=(git+${url}.git#commit=${_commit}?signed)
-sha256sums=(SKIP)
-validpgpkeys=(A03A0E13C2EFFD384B1EC39A2AAC89085FBBDAB5) # Jordan Borean <jborean93 at gmail.com>
-
-build() {
-  cd ${_pkg}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkg}
-  py.test -v
-}
-
-package() {
-  cd ${_pkg}
-  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: python-smbprotocol/repos/community-any/PKGBUILD (from rev 1164120, python-smbprotocol/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-20 16:59:40 UTC (rev 1164122)
@@ -0,0 +1,37 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=smbprotocol
+pkgname=python-${_pkg}
+pkgver=1.9.0
+pkgrel=1
+pkgdesc="SMBv2 and v3 client"
+arch=(any)
+url="https://github.com/jborean93/smbprotocol"
+license=(MIT)
+depends=(python-cryptography python-pyspnego python-six)
+makedepends=(git python-setuptools)
+checkdepends=(python-pytest python-pytest-mock python-gssapi)
+optdepends=('python-gssapi: Kerberos support')
+# tags are not signed, commits only
+_commit=ad98d67392e43a84f9c906ecd610d60627b1b87d # git rev-parse v${pkgver}
+#source=(git+${url}.git#commit=${_commit}?signed)
+# 1.9.0 was signed using GitHub key
+source=(git+${url}.git#commit=${_commit})
+sha256sums=(SKIP)
+validpgpkeys=(A03A0E13C2EFFD384B1EC39A2AAC89085FBBDAB5) # Jordan Borean <jborean93 at gmail.com>
+
+build() {
+  cd ${_pkg}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}
+  pytest -vv --color=yes
+}
+
+package() {
+  cd ${_pkg}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}



More information about the arch-commits mailing list