[arch-commits] Commit in python-django-rest-framework/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Sep 28 16:53:44 UTC 2020


    Date: Monday, September 28, 2020 @ 16:53:43
  Author: dvzrv
Revision: 713212

upgpkg: python-django-rest-framework 3.12.0-1: Upgrade to 3.12.0.

Modified:
  python-django-rest-framework/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-28 16:53:09 UTC (rev 713211)
+++ PKGBUILD	2020-09-28 16:53:43 UTC (rev 713212)
@@ -4,7 +4,7 @@
 # _name=djangorestframework
 _name=django-rest-framework
 pkgname=python-django-rest-framework
-pkgver=3.11.1
+pkgver=3.12.0
 pkgrel=1
 pkgdesc="A powerful and flexible toolkit for building Web APIs."
 arch=('any')
@@ -12,7 +12,7 @@
 license=('BSD')
 depends=('python-django')
 makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-django')
+checkdepends=('python-pytest' 'python-pytest-django')
 # bootstrap without python-django-filter, as it has a checkdepends on
 # python-django-rest-framework
 optdepends=('python-django-filter: for dynamic queryset filters'
@@ -25,11 +25,14 @@
 # https://github.com/encode/django-rest-framework/issues/7141
 # source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/encode/${_name}/archive/${pkgver}.tar.gz")
-sha512sums=('36382146164d1ab1284adb55a46ec2114b27d22d9a6de57d6b1789ae0295399d6be1cfa0e1f7047f866ba6c815e210efd6c8c13170ffa8040ad016f9835d932a')
-b2sums=('068e4a3b28939f8792653abe89099d6778b420bb97c49c1f7712beff028f5e0caa0e773c1ac60528fb164a4596ceee8d39f1690d9a43f00732ae0d418020e82d')
+sha512sums=('d4b178b578457ba1e68bd819788bc2df0cdd0f30f427a3f6cbbe558e47488fe8517b736611f6639cc2d80cd4e44e9230e7ff71ea73c8e1603d77161c02c1e750')
+b2sums=('f9c2f647ef8ea2d2e3b9216ee9ed07b3dbe77f999045b1e6288add5477cac8b91e8dfb7f002b8720e8eb98337bd06a9734802b5b28a95ab2901aaadef3ef3e6f')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  # we do not use coverage during testing
+  sed -e '/addopts/d' -i setup.cfg
 }
 
 build() {



More information about the arch-commits mailing list