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

Bruno Pagani archange at archlinux.org
Sat Mar 27 10:35:40 UTC 2021


    Date: Saturday, March 27, 2021 @ 10:35:40
  Author: archange
Revision: 905045

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   71 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 37 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-27 10:35:13 UTC (rev 905044)
+++ PKGBUILD	2021-03-27 10:35:40 UTC (rev 905045)
@@ -1,34 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=smbprotocol
-pkgname=python-${_pkg}
-pkgver=1.4.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=(python-setuptools)
-checkdepends=(python-pytest python-pytest-mock python-gssapi)
-optdepends=('python-gssapi: Kerberos support')
-# No tests in pypi tarball
-#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('f80ae1ba742f7336cc882914faa1ee65ef247278bf898b995cc0ecfeaa830847')
-
-build() {
-  cd ${_pkg}-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkg}-${pkgver}
-  py.test -v
-}
-
-package() {
-  cd ${_pkg}-${pkgver}
-  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 905044, python-smbprotocol/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-27 10:35:40 UTC (rev 905045)
@@ -0,0 +1,37 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=smbprotocol
+pkgname=python-${_pkg}
+pkgver=1.5.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')
+# tag are not signed, commits only
+#_tag=9a141ec4e1d2a60819c9c560a9629ef90e5a932d # git rev-parse v${pkgver}
+#source=(git+${url}.git#tag=${_tag}?signed)
+_commit=9a141ec4e1d2a60819c9c560a9629ef90e5a932d
+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}
+}



More information about the arch-commits mailing list