[arch-commits] Commit in python-scramp/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 15:47:14 UTC 2019
Date: Friday, October 25, 2019 @ 15:47:14
Author: felixonmars
Revision: 519204
archrelease: copy trunk to community-staging-any
Added:
python-scramp/repos/community-staging-any/
python-scramp/repos/community-staging-any/PKGBUILD
(from rev 519201, python-scramp/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-scramp/repos/community-staging-any/PKGBUILD (from rev 519201, python-scramp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 15:47:14 UTC (rev 519204)
@@ -0,0 +1,30 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-scramp
+pkgver=1.1.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=('ca426e7fd186531a933207db3e973e1cf3a8b425c2f14875e061a80ebf62660e')
+
+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