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

Evangelos Foutras foutrelis at archlinux.org
Sun Nov 3 20:31:10 UTC 2019


    Date: Sunday, November 3, 2019 @ 20:31:09
  Author: foutrelis
Revision: 522651

archrelease: copy trunk to community-staging-any

Added:
  python-vcrpy/repos/community-staging-any/
  python-vcrpy/repos/community-staging-any/PKGBUILD
    (from rev 522650, python-vcrpy/trunk/PKGBUILD)

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

Copied: python-vcrpy/repos/community-staging-any/PKGBUILD (from rev 522650, python-vcrpy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-03 20:31:09 UTC (rev 522651)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-vcrpy
+pkgver=2.1.0
+pkgrel=2
+pkgdesc='Automatically mock your HTTP interactions to simplify and speed up testing'
+arch=('any')
+license=('MIT')
+url='https://github.com/kevin1024/vcrpy'
+depends=('python-yaml' 'python-wrapt' 'python-six' 'python-yarl')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-pytest-httpbin' 'python-mock')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kevin1024/vcrpy/archive/v$pkgver.tar.gz")
+sha512sums=('b7cd12dcc64fa7ebdfe10e72c51005bdcd5418e4cecbf05f07929bed758be544ab0e1003351eaae94c2d3a10fee8ec7dfc3b2c86775066de1fd5d3604b58ba28')
+
+build() {
+  cd vcrpy-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd vcrpy-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd vcrpy-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list