[arch-commits] Commit in python-pure-sasl/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Nov 22 18:56:04 UTC 2020


    Date: Sunday, November 22, 2020 @ 18:56:04
  Author: felixonmars
Revision: 759415

archrelease: copy trunk to community-staging-any

Added:
  python-pure-sasl/repos/community-staging-any/
  python-pure-sasl/repos/community-staging-any/PKGBUILD
    (from rev 759414, python-pure-sasl/trunk/PKGBUILD)

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

Copied: python-pure-sasl/repos/community-staging-any/PKGBUILD (from rev 759414, python-pure-sasl/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-22 18:56:04 UTC (rev 759415)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pure-sasl
+pkgver=0.6.2
+pkgrel=2
+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