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

Felix Yan felixonmars at archlinux.org
Mon May 14 11:00:50 UTC 2018


    Date: Monday, May 14, 2018 @ 11:00:50
  Author: felixonmars
Revision: 322056

archrelease: copy trunk to community-any

Added:
  python-jose/repos/community-any/PKGBUILD
    (from rev 322055, python-jose/trunk/PKGBUILD)
Deleted:
  python-jose/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  112 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 58 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-14 11:00:24 UTC (rev 322055)
+++ PKGBUILD	2018-05-14 11:00:50 UTC (rev 322056)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-jose
-pkgname=('python-jose' 'python2-jose')
-pkgver=2.0.2
-pkgrel=1
-pkgdesc="A JOSE implementation in Python"
-arch=('any')
-license=('MIT')
-url="https://github.com/mpdavis/python-jose"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pycryptodome' 'python2-pycryptodome'
-             'python-six' 'python2-six' 'python-ecdsa' 'python2-ecdsa' 'python-future'
-             'python2-future')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-cryptography'
-              'python2-cryptography')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/mpdavis/python-jose/archive/$pkgver.tar.gz")
-sha512sums=('b81114eb8d44cb8427607ae6801d18eabc4d37791474b0d22f8d3ce19430588e2bb7e2fa7026098f7b04eee1c71963615a47d65d7007cf85f44126cd308fafde')
-
-prepare() {
-  cp -a python-jose-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/python-jose-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/python-jose-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/python-jose-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/python-jose-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-jose() {
-  depends=('python-pycryptodome' 'python-six' 'python-ecdsa' 'python-future')
-
-  cd python-jose-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-jose() {
-  depends=('python2-pycryptodome' 'python2-six' 'python2-ecdsa' 'python2-future')
-
-  cd python-jose-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-jose/repos/community-any/PKGBUILD (from rev 322055, python-jose/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-14 11:00:50 UTC (rev 322056)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-jose
+pkgname=('python-jose' 'python2-jose')
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="A JOSE implementation in Python"
+arch=('any')
+license=('MIT')
+url="https://github.com/mpdavis/python-jose"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-rsa' 'python2-rsa'
+             'python-six' 'python2-six' 'python-ecdsa' 'python2-ecdsa' 'python-future'
+             'python2-future')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-cryptography'
+              'python2-cryptography' 'python-pycryptodome' 'python2-pycryptodome')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/mpdavis/python-jose/archive/$pkgver.tar.gz")
+sha512sums=('c989db6783434d3b1163fb2adac1e8b4f3ca7e693ebcde7e309d2632a9b1f959538c513a225029d3c647eaa1f1b407cfae69e56d65c15c8edfdb0113e5b0f41b')
+
+prepare() {
+  cp -a python-jose-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/python-jose-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/python-jose-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/python-jose-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/python-jose-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-jose() {
+  depends=('python-rsa' 'python-six' 'python-ecdsa' 'python-future')
+  optdepends=('python-cryptography: one option for better performance'
+              'python-pycryptodome: one option for better performance')
+
+  cd python-jose-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-jose() {
+  depends=('python2-rsa' 'python2-six' 'python2-ecdsa' 'python2-future')
+  optdepends=('python2-cryptography: one option for better performance'
+              'python2-pycryptodome: one option for better performance')
+
+  cd python-jose-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list