[arch-commits] Commit in python-betamax-matchers/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 08:12:16 UTC 2019


    Date: Monday, November 4, 2019 @ 08:12:15
  Author: felixonmars
Revision: 523619

archrelease: copy trunk to community-staging-any

Added:
  python-betamax-matchers/repos/community-staging-any/
  python-betamax-matchers/repos/community-staging-any/PKGBUILD
    (from rev 523618, python-betamax-matchers/trunk/PKGBUILD)

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Copied: python-betamax-matchers/repos/community-staging-any/PKGBUILD (from rev 523618, python-betamax-matchers/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 08:12:15 UTC (rev 523619)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-betamax-matchers
+pkgver=0.4.0
+pkgrel=4
+pkgdesc="Experimental set of Matchers for Betamax that may possibly end up in the main package"
+arch=('any')
+license=('GPL')
+url='https://github.com/sigmavirus24/betamax_matchers'
+depends=('python-requests-toolbelt' 'python-betamax')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sigmavirus24/betamax_matchers/archive/$pkgver.tar.gz")
+sha512sums=('202255d9895b118d03efa20aa64f5b099045750dcb9a1ad3eda164d3da372207f1bee8a40f63cdf179da90cfc4380e5a004e5f9c94f006a6f3dbc64e29766c86')
+
+check() {
+  cd betamax_matchers-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd betamax_matchers-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list