diff --git a/python-spake2/.SRCINFO b/python-spake2/.SRCINFO new file mode 100644 index 0000000..62cc298 --- /dev/null +++ b/python-spake2/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-spake2 + pkgdesc = This library implements the SPAKE2 password-authenticated key exchange + pkgver = 0.8 + pkgrel = 5 + url = https://pypi.python.org/packages/10/7d/spake2-0.8 + arch = any + license = MIT + makedepends = python-setuptools + depends = python + depends = python-hkdf + source = https://files.pythonhosted.org/packages/source/s/spake2/spake2-0.8.tar.gz + md5sums = 0155bad518bb49c39994fe0b7d9fb32c + +pkgname = python-spake2 + diff --git a/python-spake2/.gitrepo b/python-spake2/.gitrepo new file mode 100644 index 0000000..fb541c8 --- /dev/null +++ b/python-spake2/.gitrepo @@ -0,0 +1,12 @@ +; DO NOT EDIT (unless you know what you are doing) +; +; This subdirectory is a git "subrepo", and this file is maintained by the +; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme +; +[subrepo] + remote = https://aur.archlinux.org/python-spake2 + branch = master + commit = ab4f7150b81e47806301e1c07cf2221cfbb0d91b + parent = 21169d9869450c41188f44fe523dcf35a9faf0c3 + method = merge + cmdver = 0.4.1 diff --git a/python-spake2/PKGBUILD b/python-spake2/PKGBUILD new file mode 100644 index 0000000..74e0b1a --- /dev/null +++ b/python-spake2/PKGBUILD @@ -0,0 +1,25 @@ +# maintainer Storm Dragon + +pkgname='python-spake2' +pkgver=0.8 +pkgrel=5 +pkgdesc="This library implements the SPAKE2 password-authenticated key exchange" +arch=('any') +url="https://pypi.python.org/packages/10/7d/spake2-${pkgver}" +license=('MIT') +depends=('python' 'python-hkdf') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/s/spake2/spake2-${pkgver}.tar.gz") +md5sums=('0155bad518bb49c39994fe0b7d9fb32c') + +build() { + cd "$srcdir"/spake2-${pkgver} + python setup.py build +} + +package() { + cd "$srcdir/spake2-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: