[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Sun Nov 22 17:10:50 UTC 2020


    Date: Sunday, November 22, 2020 @ 17:10:50
  Author: felixonmars
Revision: 759272

addpkg: python-pure-sasl 0.6.2-1

Added:
  python-pure-sasl/
  python-pure-sasl/repos/
  python-pure-sasl/trunk/
  python-pure-sasl/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Added: python-pure-sasl/trunk/PKGBUILD
===================================================================
--- python-pure-sasl/trunk/PKGBUILD	                        (rev 0)
+++ python-pure-sasl/trunk/PKGBUILD	2020-11-22 17:10:50 UTC (rev 759272)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pure-sasl
+pkgver=0.6.2
+pkgrel=1
+pkgdesc="Pure Python client SASL implementation"
+url="https://github.com/thobbs/pure-sasl"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+optdepends=('python-kerberos: for GSSAPI support')
+checkdepends=('python-mock' 'python-nose' 'python-pykerberos')
+source=("https://github.com/thobbs/pure-sasl/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('e4ac40822014dec0522faf25f0806cd5cb1053fa7c5362fd3569f79f43ac775aa1a7895421699d36713e0493ebfc7215da0bca9fee516e07b4ef1e182684d4bb')
+
+build() {
+  cd pure-sasl-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pure-sasl-$pkgver
+  nosetests3
+}
+
+package() {
+  cd pure-sasl-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list