[arch-commits] Commit in python-scramp/repos (community-any community-any/PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Sun Jun 2 12:24:37 UTC 2019


    Date: Sunday, June 2, 2019 @ 12:24:36
  Author: yan12125
Revision: 476587

archrelease: copy trunk to community-any

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

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

Copied: python-scramp/repos/community-any/PKGBUILD (from rev 476586, python-scramp/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-06-02 12:24:36 UTC (rev 476587)
@@ -0,0 +1,30 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-scramp
+pkgver=1.1.0
+pkgrel=1
+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