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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:59:10 UTC 2020


    Date: Monday, November 9, 2020 @ 15:59:09
  Author: felixonmars
Revision: 747278

archrelease: copy trunk to community-staging-any

Added:
  python-scramp/repos/community-staging-any/
  python-scramp/repos/community-staging-any/PKGBUILD
    (from rev 747276, python-scramp/trunk/PKGBUILD)

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

Copied: python-scramp/repos/community-staging-any/PKGBUILD (from rev 747276, python-scramp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 15:59:09 UTC (rev 747278)
@@ -0,0 +1,30 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-scramp
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="Python implementation of the SCRAM protocol"
+arch=(any)
+url='https://github.com/tlocke/scramp'
+license=(MIT)
+depends=(python)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest)
+source=(https://github.com/tlocke/scramp/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('f8ddf442a0e7e3b3bb4d811da80ec6400e36819b4bc283b8227f76ab90eedf2b')
+
+build() {
+  cd scramp-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd scramp-$pkgver
+  PYTHONPATH=. pytest -v -x tests
+}
+
+package() {
+  cd scramp-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}


More information about the arch-commits mailing list