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

Alexander Epaneshnikov alex19ep at gemini.archlinux.org
Sat Sep 4 02:54:08 UTC 2021


    Date: Saturday, September 4, 2021 @ 02:54:08
  Author: alex19ep
Revision: 1010767

archrelease: copy trunk to community-any

Added:
  python-spake2/repos/community-any/
  python-spake2/repos/community-any/PKGBUILD
    (from rev 1010766, python-spake2/trunk/PKGBUILD)

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

Copied: python-spake2/repos/community-any/PKGBUILD (from rev 1010766, python-spake2/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-09-04 02:54:08 UTC (rev 1010767)
@@ -0,0 +1,31 @@
+# Maintainer: Alexander Epaneshnikov <alex19ep at archlinux.org>
+# Contributor: Storm Dragon <stormdragon2976 at gmail.com>
+
+pkgname=python-spake2
+pkgver=0.8
+pkgrel=8
+pkgdesc="Pure-python implementation of the SPAKE2 Password-Authenticated Key"
+arch=('any')
+url="https://github.com/warner/python-spake2"
+license=('MIT')
+depends=('python' 'python-hkdf')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/warner/python-spake2/archive/refs/tags/v${pkgver}.tar.gz")
+sha512sums=('908c377c831f4a11551973ca917b113d51a66c533d35fd19b2692fdb7e575ed2a5045d9b632bc55c37b68ad092f01dff5da191e9dfbfb5599b72844788438d68')
+
+build() {
+	cd "${pkgname}-${pkgver}"
+	python setup.py build
+}
+
+check() {
+	cd "${pkgname}-${pkgver}"
+	pytest
+}
+
+package() {
+	cd "${pkgname}-${pkgver}"
+	python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+	install -vDm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list