aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-jwt
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-06-07 12:41:27 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-06-07 12:41:27 +0000
commitadfc3526276b290d5f3ca0530227d637f8877a06 (patch)
tree90a817dac3b9d024bd1fbe213d05b129e612f6b2 /main/py-jwt
parent05a8daa2ad11cf2740327b9c79fa9dc5a6808d8f (diff)
downloadaports-adfc3526276b290d5f3ca0530227d637f8877a06.tar.bz2
aports-adfc3526276b290d5f3ca0530227d637f8877a06.tar.xz
main/py-jwt: moved from testing
Diffstat (limited to 'main/py-jwt')
-rw-r--r--main/py-jwt/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/py-jwt/APKBUILD b/main/py-jwt/APKBUILD
new file mode 100644
index 0000000000..e67c021dab
--- /dev/null
+++ b/main/py-jwt/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Eivind Uggedal <eivind@uggedal.com>
+pkgname=py-jwt
+_pkgname=PyJWT
+pkgver=0.2.1
+pkgrel=0
+pkgdesc="Python JSON Web Token implementation"
+url="https://github.com/progrium/pyjwt"
+arch="noarch"
+license="MIT"
+depends="python"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+md5sums="500fdbdd4c7b60404063f7d9c2717108 PyJWT-0.2.1.tar.gz"
+sha256sums="cfd0fad01a9a57fb4b24e59a82ffd50ddc9c2c4344694ec6ef436ae11d5d18aa PyJWT-0.2.1.tar.gz"
+sha512sums="28f24ae705154e70fd15ed13830b1980b21a37df2fb5acd436d9d0ca4bbaf56bf146131762278a239d5a87585a70c282efd6e5fe13fb00e7fc7f0b6204b15713 PyJWT-0.2.1.tar.gz"