Date: Saturday, October 16, 2021 @ 22:37:03 Author: archange Revision: 1030600
archrelease: copy trunk to community-any Added: python-smbprotocol/repos/community-any/PKGBUILD (from rev 1030599, python-smbprotocol/trunk/PKGBUILD) Deleted: python-smbprotocol/repos/community-any/PKGBUILD ----------+ PKGBUILD | 72 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 35 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-10-16 22:36:37 UTC (rev 1030599) +++ PKGBUILD 2021-10-16 22:37:03 UTC (rev 1030600) @@ -1,37 +0,0 @@ -# Maintainer: Bruno Pagani <archa...@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 <jborea...@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 1030599, python-smbprotocol/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-10-16 22:37:03 UTC (rev 1030600) @@ -0,0 +1,35 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> + +_pkg=smbprotocol +pkgname=python-${_pkg} +pkgver=1.7.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=1f1b52a1791151387505cc083c1427d40a7cfcd3 # git rev-parse v${pkgver} +source=(git+${url}.git#commit=${_commit}?signed) +sha256sums=(SKIP) +validpgpkeys=(A03A0E13C2EFFD384B1EC39A2AAC89085FBBDAB5) # Jordan Borean <jborea...@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} +}