[arch-commits] Commit in python-fxa/repos/community-any (PKGBUILD PKGBUILD)
Balló György
bgyorgy at archlinux.org
Thu Apr 15 21:59:10 UTC 2021
Date: Thursday, April 15, 2021 @ 21:59:10
Author: bgyorgy
Revision: 919236
archrelease: copy trunk to community-any
Added:
python-fxa/repos/community-any/PKGBUILD
(from rev 919235, python-fxa/trunk/PKGBUILD)
Deleted:
python-fxa/repos/community-any/PKGBUILD
----------+
PKGBUILD | 54 ++++++++++++++++++++++++++++++------------------------
1 file changed, 30 insertions(+), 24 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-15 21:59:04 UTC (rev 919235)
+++ PKGBUILD 2021-04-15 21:59:10 UTC (rev 919236)
@@ -1,24 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: twa022 <twa022 at gmail dot com>
-
-_pkgname=PyFxA
-pkgname=python-fxa
-pkgver=0.7.7
-pkgrel=2
-pkgdesc="Python library for interacting with the Firefox Accounts ecosystem"
-arch=(any)
-url="https://github.com/mozilla/PyFxA"
-license=(MPL2)
-depends=(python-browserid python-cryptography python-hawkauthlib)
-source=(https://github.com/mozilla/$_pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('d5b5afdafb6b42344d49e4e4df0582758df54e00b8d0fa3cbc29433410aa9a6f')
-
-build() {
- cd $_pkgname-$pkgver
- python3 setup.py build
-}
-
-package() {
- cd $_pkgname-$pkgver
- python3 setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-fxa/repos/community-any/PKGBUILD (from rev 919235, python-fxa/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-15 21:59:10 UTC (rev 919236)
@@ -0,0 +1,30 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: twa022 <twa022 at gmail dot com>
+
+_pkgname=PyFxA
+pkgname=python-fxa
+pkgver=0.7.7
+pkgrel=3
+pkgdesc='Python library for interacting with the Firefox Accounts ecosystem'
+arch=('any')
+url='https://github.com/mozilla/PyFxA'
+license=('MPL2')
+depends=('python-browserid' 'python-cryptography' 'python-hawkauthlib' 'python-pyjwt' 'python-requests' 'python-six')
+checkdepends=('python-grequests' 'python-mock' 'python-pyotp' 'python-pytest-cov' 'python-pytest-flake8' 'python-pytest-runner' 'python-responses')
+source=("https://github.com/mozilla/$_pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('d5b5afdafb6b42344d49e4e4df0582758df54e00b8d0fa3cbc29433410aa9a6f')
+
+build() {
+ cd $_pkgname-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd $_pkgname-$pkgver
+ pytest || echo 'Some tests failed'
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list