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

Felix Yan felixonmars at archlinux.org
Wed Aug 21 03:20:23 UTC 2019


    Date: Wednesday, August 21, 2019 @ 03:20:23
  Author: felixonmars
Revision: 500381

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-21 03:20:12 UTC (rev 500380)
+++ PKGBUILD	2019-08-21 03:20:23 UTC (rev 500381)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-betamax-matchers
-pkgname=('python-betamax-matchers' 'python2-betamax-matchers')
-pkgver=0.4.0
-pkgrel=2
-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'
-makedepends=('python-setuptools' 'python2-setuptools' 'python-betamax' 'python2-betamax'
-             'python-requests-toolbelt' 'python2-requests-toolbelt' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("git+https://github.com/sigmavirus24/betamax_matchers.git#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  cp -a betamax_matchers{,-py2}
-}
-
-check() {
-  cd "$srcdir"/betamax_matchers
-  python setup.py pytest
-
-  cd "$srcdir"/betamax_matchers-py2
-  python2 setup.py pytest
-}
-
-package_python-betamax-matchers() {
-  depends=('python-requests-toolbelt' 'python-betamax')
-
-  cd betamax_matchers
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-betamax-matchers() {
-  depends=('python2-requests-toolbelt' 'python2-betamax')
-
-  cd betamax_matchers-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-betamax-matchers/repos/community-any/PKGBUILD (from rev 500380, python-betamax-matchers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-21 03:20:23 UTC (rev 500381)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-betamax-matchers
+pkgver=0.4.0
+pkgrel=3
+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