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

David Runge dvzrv at archlinux.org
Wed Aug 5 21:43:00 UTC 2020


    Date: Wednesday, August 5, 2020 @ 21:42:59
  Author: dvzrv
Revision: 670365

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

Make package reproducible by exporting PYTHONHASHSEED.

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

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-05 21:34:07 UTC (rev 670364)
+++ PKGBUILD	2020-08-05 21:42:59 UTC (rev 670365)
@@ -4,8 +4,8 @@
 # _name=djangorestframework
 _name=django-rest-framework
 pkgname=python-django-rest-framework
-pkgver=3.11.0
-pkgrel=3
+pkgver=3.11.1
+pkgrel=1
 pkgdesc="A powerful and flexible toolkit for building Web APIs."
 arch=('any')
 url="https://www.django-rest-framework.org/"
@@ -25,7 +25,8 @@
 # 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=('7f49e02fa8d4d91a7aeb832814d6c53f3367fef8048bf6a1ad1f53a9f0b4c19e06cf76884a540144961ebe6a3f296afa9a427e4eea9e08578052dccb46da9c52')
+sha512sums=('36382146164d1ab1284adb55a46ec2114b27d22d9a6de57d6b1789ae0295399d6be1cfa0e1f7047f866ba6c815e210efd6c8c13170ffa8040ad016f9835d932a')
+b2sums=('068e4a3b28939f8792653abe89099d6778b420bb97c49c1f7712beff028f5e0caa0e773c1ac60528fb164a4596ceee8d39f1690d9a43f00732ae0d418020e82d')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
@@ -44,9 +45,9 @@
 
 package() {
   cd "$pkgname-$pkgver"
+  export PYTHONHASHSEED=0
   python setup.py install --skip-build \
     --optimize=1 \
-    --prefix=/usr \
     --root="${pkgdir}"
   install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
   install -vDm 644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"



More information about the arch-commits mailing list