summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Heinrich2018-03-11 19:29:34 +0100
committerJonas Heinrich2018-03-11 19:29:34 +0100
commitaf955e5f384165cd1a6ef43107dd72f25b752b38 (patch)
tree40ce606a615591f2cb222803afb1c01921701448
downloadaur-af955e5f384165cd1a6ef43107dd72f25b752b38.tar.gz
first commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD25
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7e6ad98540e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v8
+# Sun Mar 11 18:29:29 UTC 2018
+pkgbase = python2-tokenlib
+ pkgdesc = Generic library for managing signed authentication tokens
+ pkgver = 2.0.0
+ pkgrel = 1
+ url = https://github.com/mozilla-services/tokenlib
+ arch = any
+ license = MPL2
+ depends = python2
+ source = https://pypi.python.org/packages/66/17/147b29c8fe58e84df567b5120d72a15a760369b6d80349c1d6317e9ed30c/tokenlib-2.0.0.tar.gz
+ sha512sums = ab17994f85676ff304b30d6f9480ebe681d82e61c11b331cb6b662100e4fb28b160ebc1dcf2f73620829a552ccdb3d6feb2850deabef9c63b6affc1210ae2078
+
+pkgname = python2-tokenlib
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e8f14ec1c79
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
+# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
+
+pkgname=python2-tokenlib
+_pkgname=tokenlib
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Generic library for managing signed authentication tokens"
+arch=('any')
+url="https://github.com/mozilla-services/tokenlib"
+license=('MPL2')
+depends=('python2')
+source=("https://pypi.python.org/packages/66/17/147b29c8fe58e84df567b5120d72a15a760369b6d80349c1d6317e9ed30c/tokenlib-${pkgver}.tar.gz")
+sha512sums=("ab17994f85676ff304b30d6f9480ebe681d82e61c11b331cb6b662100e4fb28b160ebc1dcf2f73620829a552ccdb3d6feb2850deabef9c63b6affc1210ae2078")
+
+build(){
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ python2 setup.py build
+}
+
+package() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ python2 setup.py install --prefix=/usr --root=${pkgdir} --optimize=1
+}
+