[arch-commits] Commit in python-mamba/repos/community-any (3 files)

Felix Yan felixonmars at archlinux.org
Sat May 9 06:47:55 UTC 2020


    Date: Saturday, May 9, 2020 @ 06:47:55
  Author: felixonmars
Revision: 625875

archrelease: copy trunk to community-any

Added:
  python-mamba/repos/community-any/PKGBUILD
    (from rev 625874, python-mamba/trunk/PKGBUILD)
Deleted:
  python-mamba/repos/community-any/PKGBUILD
  python-mamba/repos/community-any/mamba-python-3.8.patch

------------------------+
 PKGBUILD               |   80 +++++++++++++++++++++--------------------------
 mamba-python-3.8.patch |   12 -------
 2 files changed, 36 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-09 06:47:38 UTC (rev 625874)
+++ PKGBUILD	2020-05-09 06:47:55 UTC (rev 625875)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-mamba
-pkgver=0.10
-pkgrel=4
-pkgdesc="The definitive testing tool for Python. Born under the banner of Behavior Driven Development."
-arch=('any')
-license=('MIT')
-url="https://nestorsalceda.github.io/mamba"
-depends=('python-coverage' 'python-watchdog' 'python-clint' 'python-setuptools')
-checkdepends=('python-doublex-expects')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/nestorsalceda/mamba/archive/v$pkgver.tar.gz"
-         mamba-python-3.8.patch)
-sha512sums=('f7a46c35359ed7703a4d3ebe51904fac6c125451001b5181d1d1038c46c3ac4940c378e08cd779e683aa76cd4553e078bfa7dfd5ea2301fa1dacb2a0a85ec38e'
-            '6b48a483c052e8943e407036f45ef6eac94f7299e35396e7c740f99cf07d6ef37cdb948ff6bab6f6488f6181dd93defd8e80842d73d1193283da68b6de3b3ae7')
-
-prepare() {
-  cd mamba-$pkgver
-  patch -p1 -i ../mamba-python-3.8.patch # Add missing argument for python 3.8
-}
-
-build() {
-  cd "$srcdir"/mamba-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd "$srcdir"/mamba-$pkgver
-  # Hack entry points by installing it
-
-  cd "$srcdir"/mamba-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  (
-    local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
-    export PATH="$PWD/tmp_install/usr/bin:$PATH" PYTHONPATH="$PWD/tmp_install/${site-packages}:$PYTHONPATH"
-    mamba --enable-coverage
-  )
-}
-
-package() {
-  cd mamba-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}

Copied: python-mamba/repos/community-any/PKGBUILD (from rev 625874, python-mamba/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-09 06:47:55 UTC (rev 625875)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-mamba
+pkgver=0.11.0
+pkgrel=1
+pkgdesc="The definitive testing tool for Python. Born under the banner of Behavior Driven Development."
+arch=('any')
+license=('MIT')
+url="https://nestorsalceda.github.io/mamba"
+depends=('python-coverage' 'python-watchdog' 'python-clint' 'python-setuptools')
+checkdepends=('python-doublex-expects')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/nestorsalceda/mamba/archive/v$pkgver.tar.gz")
+sha512sums=('2faf941700800ba0432bfd170d6ff2278e5fc3ba4e85f486d33ed5f07e148284d400e2b02ac0f957a27d47b705fc52b042dc4311bdd175907e307e4dbfa95246')
+
+build() {
+  cd mamba-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd mamba-$pkgver
+  # Hack entry points by installing it
+
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  (
+    local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+    export PATH="$PWD/tmp_install/usr/bin:$PATH" PYTHONPATH="$PWD/tmp_install/${site-packages}:$PYTHONPATH"
+    mamba --enable-coverage
+  )
+}
+
+package() {
+  cd mamba-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Deleted: mamba-python-3.8.patch
===================================================================
--- mamba-python-3.8.patch	2020-05-09 06:47:38 UTC (rev 625874)
+++ mamba-python-3.8.patch	2020-05-09 06:47:55 UTC (rev 625875)
@@ -1,12 +0,0 @@
-diff --git a/mamba/nodetransformers.py b/mamba/nodetransformers.py
-index 5b46f12..da31e51 100644
---- a/mamba/nodetransformers.py
-+++ b/mamba/nodetransformers.py
-@@ -204,5 +204,6 @@ class TransformToSpecsPython3NodeTransformer(TransformToSpecsNodeTransformer):
-             kwonlyargs=[],
-             kw_defaults=[],
-             kwarg=None,
--            defaults=[]
-+            defaults=[],
-+            posonlyargs=[]
-         )


More information about the arch-commits mailing list