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

David Runge dvzrv at archlinux.org
Mon Jul 5 18:02:07 UTC 2021


    Date: Monday, July 5, 2021 @ 18:02:07
  Author: dvzrv
Revision: 972463

upgpkg: python-django-mailman3 1.3.5-2: Rebuild to increase django compatibility.

Upstream already successfully tests against django 3.2 so we raise our django upper boundary.

Modified:
  python-django-mailman3/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-05 17:36:55 UTC (rev 972462)
+++ PKGBUILD	2021-07-05 18:02:07 UTC (rev 972463)
@@ -3,7 +3,7 @@
 _name=django-mailman3
 pkgname=python-django-mailman3
 pkgver=1.3.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Libraries and templates to Django-based interfaces interacting with Mailman"
 arch=('any')
 url="https://gitlab.com/mailman/django-mailman3"
@@ -21,6 +21,10 @@
 
 prepare() {
   mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  # increase the compatible django version to 3.3
+  # https://gitlab.com/mailman/django-mailman3/-/merge_requests/131
+  sed -e 's/<3.2/<3.3/g' -i setup.py
 }
 
 build() {
@@ -38,7 +42,6 @@
   cd "$pkgname-$pkgver"
   python setup.py install --skip-build \
     --optimize=1 \
-    --prefix=/usr \
     --root="${pkgdir}"
   install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
 }




More information about the arch-commits mailing list