[arch-commits] Commit in python-adal/repos/community-staging-any (4 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 13:19:31 UTC 2020


    Date: Thursday, November 12, 2020 @ 13:19:30
  Author: felixonmars
Revision: 751757

archrelease: copy trunk to community-staging-any

Added:
  python-adal/repos/community-staging-any/PKGBUILD
    (from rev 751753, python-adal/trunk/PKGBUILD)
  python-adal/repos/community-staging-any/fix-broken-mex-test.patch
    (from rev 751754, python-adal/trunk/fix-broken-mex-test.patch)
Deleted:
  python-adal/repos/community-staging-any/PKGBUILD
  python-adal/repos/community-staging-any/fix-broken-mex-test.patch

---------------------------+
 PKGBUILD                  |   80 ++++++++++++++++++++++----------------------
 fix-broken-mex-test.patch |   22 ++++++------
 2 files changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 13:19:29 UTC (rev 751756)
+++ PKGBUILD	2020-11-12 13:19:30 UTC (rev 751757)
@@ -1,40 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# Contributor: Lukas Zimmermann <luk.zim91 at gmail dot com> 
-# Contributor: Kelsey Maes <kelseymaes at outlook dot com>
-
-pkgname=python-adal
-_pkgbase='azure-activedirectory-library-for-python'
-pkgver=1.2.5
-pkgrel=2
-pkgdesc='ADAL for Python'
-arch=('any')
-url="https://github.com/AzureAD/${_pkgbase}"
-license=('MIT')
-depends=('python-cryptography' 'python-dateutil' 'python-pyjwt' 'python-requests')
-makedepends=('fakeroot' 'python-setuptools')
-checkdepends=('python-httpretty')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AzureAD/${_pkgbase}/archive/${pkgver}.tar.gz"
-        'fix-broken-mex-test.patch')
-sha256sums=('5496e9f2e749b918229f9668bb455be59a54f831eca636a5a98e8f4c08697466'
-            '29a9354028a9420ba883cb494688a0ecbf238d8e46fc011c4a309515a1444faa')
-
-prepare() {
-  cd "${srcdir}/${_pkgbase}-${pkgver}"
-  patch -p1 -N -i "${srcdir}/fix-broken-mex-test.patch"
-}
-
-build() {
-  cd "${srcdir}/${_pkgbase}-${pkgver}"
-  python setup.py build
-}
-
-check() {
-  cd "${srcdir}/${_pkgbase}-${pkgver}"
-  python -m unittest discover -s tests
-}
-
-package() {
-  cd "${srcdir}/${_pkgbase}-${pkgver}"
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: python-adal/repos/community-staging-any/PKGBUILD (from rev 751753, python-adal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 13:19:30 UTC (rev 751757)
@@ -0,0 +1,40 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Lukas Zimmermann <luk.zim91 at gmail dot com> 
+# Contributor: Kelsey Maes <kelseymaes at outlook dot com>
+
+pkgname=python-adal
+_pkgbase='azure-activedirectory-library-for-python'
+pkgver=1.2.5
+pkgrel=3
+pkgdesc='ADAL for Python'
+arch=('any')
+url="https://github.com/AzureAD/${_pkgbase}"
+license=('MIT')
+depends=('python-cryptography' 'python-dateutil' 'python-pyjwt' 'python-requests')
+makedepends=('fakeroot' 'python-setuptools')
+checkdepends=('python-httpretty')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AzureAD/${_pkgbase}/archive/${pkgver}.tar.gz"
+        'fix-broken-mex-test.patch')
+sha256sums=('5496e9f2e749b918229f9668bb455be59a54f831eca636a5a98e8f4c08697466'
+            '29a9354028a9420ba883cb494688a0ecbf238d8e46fc011c4a309515a1444faa')
+
+prepare() {
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  patch -p1 -N -i "${srcdir}/fix-broken-mex-test.patch"
+}
+
+build() {
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  python -m unittest discover -s tests
+}
+
+package() {
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  python setup.py install --root="${pkgdir}" --optimize=1
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Deleted: fix-broken-mex-test.patch
===================================================================
--- fix-broken-mex-test.patch	2020-11-12 13:19:29 UTC (rev 751756)
+++ fix-broken-mex-test.patch	2020-11-12 13:19:30 UTC (rev 751757)
@@ -1,11 +0,0 @@
---- a/tests/test_mex.py	2019-07-04 01:01:44.000000000 +0200
-+++ b/tests/test_mex.py	2020-01-08 14:03:06.696115227 +0100
-@@ -52,7 +52,7 @@ class Test_Mex(unittest.TestCase):
-             mex.discover()
-             self.fail('No exception was thrown caused by failed request')
-         except Exception as exp:
--            self.assertEqual(exp.args[0], 'Mex Get request returned http error: 500 and server response: HTTPretty :)')
-+            self.assertEqual(exp.args[0], 'Mex Get request returned http error: 500 and server response: {"message": "HTTPretty :)"}')
- 
-     @httpretty.activate
-     def _happyPathTest(self, file_name, expectedUrl):

Copied: python-adal/repos/community-staging-any/fix-broken-mex-test.patch (from rev 751754, python-adal/trunk/fix-broken-mex-test.patch)
===================================================================
--- fix-broken-mex-test.patch	                        (rev 0)
+++ fix-broken-mex-test.patch	2020-11-12 13:19:30 UTC (rev 751757)
@@ -0,0 +1,11 @@
+--- a/tests/test_mex.py	2019-07-04 01:01:44.000000000 +0200
++++ b/tests/test_mex.py	2020-01-08 14:03:06.696115227 +0100
+@@ -52,7 +52,7 @@ class Test_Mex(unittest.TestCase):
+             mex.discover()
+             self.fail('No exception was thrown caused by failed request')
+         except Exception as exp:
+-            self.assertEqual(exp.args[0], 'Mex Get request returned http error: 500 and server response: HTTPretty :)')
++            self.assertEqual(exp.args[0], 'Mex Get request returned http error: 500 and server response: {"message": "HTTPretty :)"}')
+ 
+     @httpretty.activate
+     def _happyPathTest(self, file_name, expectedUrl):



More information about the arch-commits mailing list