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

David Runge dvzrv at archlinux.org
Thu Apr 1 10:21:23 UTC 2021


    Date: Thursday, April 1, 2021 @ 10:21:23
  Author: dvzrv
Revision: 910783

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

Always build using the github source tarball, as upstream does not want
(complete) tests in sdist:
https://github.com/encode/django-rest-framework/issues/7141

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-01 09:13:17 UTC (rev 910782)
+++ PKGBUILD	2021-04-01 10:21:23 UTC (rev 910783)
@@ -1,10 +1,8 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
 
-# weird name on pypi, because reasons
-# _name=djangorestframework
 _name=django-rest-framework
 pkgname=python-django-rest-framework
-pkgver=3.12.3
+pkgver=3.12.4
 pkgrel=1
 pkgdesc="A powerful and flexible toolkit for building Web APIs."
 arch=('any')
@@ -21,12 +19,11 @@
             'python-psycopg2: for PostgreSQL support'
             'python-pygments: for syntax highlighting'
             'python-yaml: for YAML support')
-# tests not in pypi sdist:
+# tests are not complete in pypi sdist:
 # 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=('073b9f554a98d8e50393a61f17fcaa1245b19d0cc1c1525f8a2fdf62dfe242e250285437f11f3fc3254420832e8666b199aed41f4f5bc2ce2e88af443f05e0f3')
-b2sums=('536ea948c0190b9cf2b3f4d4f0d7d34f87a5d06ac436e2824b4712e143773a61636b8dc735ac8c9b852e9caf9702b24aa09e43b940c6a011eeef88d784b6ee01')
+sha512sums=('406b5354809b94e371a2c7d4b62ce66c18a1f60bd02574cba603ad4c44faa4297bdbbd6ee50de63fe21d2aae18386e05d46983a506bddd17f06ce610d5b727c9')
+b2sums=('48150e8d966ddd169a2b58d90656efa8f9f549c9d2fdee6025254fba2a6221704fe6bcb246567c8acb963f76ea56046935d3190c7c391daf4773b100a641ba02')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"



More information about the arch-commits mailing list