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

Felix Yan felixonmars at gemini.archlinux.org
Thu Dec 2 12:00:24 UTC 2021


    Date: Thursday, December 2, 2021 @ 12:00:24
  Author: felixonmars
Revision: 1061699

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   74 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 12:00:21 UTC (rev 1061698)
+++ PKGBUILD	2021-12-02 12:00:24 UTC (rev 1061699)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-betamax
-pkgname=python-betamax
-pkgver=0.8.1
-pkgrel=8
-pkgdesc="A VCR imitation for python-requests"
-arch=('any')
-license=('GPL')
-url='https://github.com/sigmavirus24/betamax'
-depends=('python-requests')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/sigmavirus24/betamax/archive/$pkgver.tar.gz"
-        betamax-pytest4.patch::"https://github.com/betamaxpy/betamax/commit/165cc321.patch")
-sha512sums=('3888aa5f1e249faf496a32c03fb7d37096d7bbde573048c2ff3d1ba0fa03ebaeb4ff4e72191478da5f1a04d813204e31d3897469bd5f5eea4c5db2c72aae1374'
-            '258bd6729286dc9374829308c23cca73ea640c4597ca8747ebb8281bcf7723bba3dfee5b55cadff0459e8dc4511d85228d37911e981859dd0af55a3753ae9e22')
-
-prepare() {
-  (cd betamax-$pkgver
-   patch -p1 -i ../betamax-pytest4.patch # Fix tests with pytest 4
-   # Disable some failing tests; taken from Gentoo
-   sed -i -e 's:test_records:_&:' -e 's:test_replaces:_&:' -e 's:test_replays:_&:' \
-     tests/integration/test_record_modes.py
-  )
-}
-
-check() {
-  cd "$srcdir"/betamax-$pkgver
-  python setup.py pytest
-}
-
-package() {
-  cd betamax-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-betamax/repos/community-staging-any/PKGBUILD (from rev 1061697, python-betamax/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 12:00:24 UTC (rev 1061699)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-betamax
+pkgname=python-betamax
+pkgver=0.8.1
+pkgrel=9
+pkgdesc="A VCR imitation for python-requests"
+arch=('any')
+license=('GPL')
+url='https://github.com/sigmavirus24/betamax'
+depends=('python-requests')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sigmavirus24/betamax/archive/$pkgver.tar.gz"
+        betamax-pytest4.patch::"https://github.com/betamaxpy/betamax/commit/165cc321.patch")
+sha512sums=('3888aa5f1e249faf496a32c03fb7d37096d7bbde573048c2ff3d1ba0fa03ebaeb4ff4e72191478da5f1a04d813204e31d3897469bd5f5eea4c5db2c72aae1374'
+            '258bd6729286dc9374829308c23cca73ea640c4597ca8747ebb8281bcf7723bba3dfee5b55cadff0459e8dc4511d85228d37911e981859dd0af55a3753ae9e22')
+
+prepare() {
+  (cd betamax-$pkgver
+   patch -p1 -i ../betamax-pytest4.patch # Fix tests with pytest 4
+   # Disable some failing tests; taken from Gentoo
+   sed -i -e 's:test_records:_&:' -e 's:test_replaces:_&:' -e 's:test_replays:_&:' \
+     tests/integration/test_record_modes.py
+  )
+}
+
+check() {
+  cd "$srcdir"/betamax-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd betamax-$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