[arch-commits] Commit in python-moto/trunk (PKGBUILD)

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Sat Sep 4 01:57:16 UTC 2021


    Date: Saturday, September 4, 2021 @ 01:57:14
  Author: yan12125
Revision: 1010759

upgpkg: python-moto 2.2.6-1

The importlib.metadata hack is no longer necessary after https://github.com/spulec/moto/pull/4214

Modified:
  python-moto/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-04 01:32:17 UTC (rev 1010758)
+++ PKGBUILD	2021-09-04 01:57:14 UTC (rev 1010759)
@@ -3,7 +3,7 @@
 
 pkgname=python-moto
 _pkgname=moto
-pkgver=2.2.4
+pkgver=2.2.6
 pkgrel=1
 pkgdesc='Moto is a library to mock out the boto library.'
 arch=(any)
@@ -41,7 +41,7 @@
                python-cfn-lint python-sshpubkeys python-flask python-flask-cors)
 source=("https://files.pythonhosted.org/packages/source/m/moto/moto-${pkgver}.tar.gz"
         sdist-no-pyc.diff)
-sha256sums=('ee652be8c3bb52c6c54bcc811f74afbfb317c59dcdfdc96d6027fe93e1b4a94d'
+sha256sums=('21c838b63f44e24b9b5015a2cdcc5be7c1e1004e58a69fb7cac71383bce34535'
             '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
 
 prepare() {
@@ -52,10 +52,6 @@
   # Remove upper bounds of dependencies
   sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py
   diff -u setup.py{.orig,} || true
-
-  # Remove the unnecessary dependency. See also https://bugs.archlinux.org/task/64719
-  sed -i '/"importlib_metadata"/d' setup.py
-  sed -i 's#importlib_metadata#importlib.metadata#g' moto/core/models.py
 }
 
 build() {



More information about the arch-commits mailing list