[arch-commits] Commit in hyperkitty/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Thu Jun 4 18:06:54 UTC 2020


    Date: Thursday, June 4, 2020 @ 18:06:50
  Author: dvzrv
Revision: 639022

upgpkg: hyperkitty 1.3.3-1: Upgrading to 1.3.3.

Removing python-coverage from checkdepends and running tests without it.
Removing included patch for django >= 3.0.0 compatibility.

Modified:
  hyperkitty/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-04 17:59:04 UTC (rev 639021)
+++ PKGBUILD	2020-06-04 18:06:50 UTC (rev 639022)
@@ -2,8 +2,8 @@
 
 _name=HyperKitty
 pkgname=hyperkitty
-pkgver=1.3.2
-pkgrel=6
+pkgver=1.3.3
+pkgrel=1
 pkgdesc="A web interface to access GNU Mailman v3 archives"
 arch=('any')
 url="https://gitlab.com/mailman/hyperkitty"
@@ -14,8 +14,8 @@
 'python-flufl-lock' 'python-mailmanclient' 'python-networkx' 'python-pytz'
 'python-robot-detection' 'sassc')
 makedepends=('python-isort' 'python-setuptools')
-checkdepends=('python-beautifulsoup4' 'python-coverage' 'python-elasticsearch'
-'python-mock' 'python-pytest' 'python-whoosh')
+checkdepends=('python-beautifulsoup4' 'python-elasticsearch' 'python-mock'
+'python-pytest' 'python-whoosh')
 optdepends=('python-elasticsearch: for using elasticsearch as search backend'
             'python-whoosh: for using whoosh as search backend'
             'python-xapian-haystack: for using xapian as search backend'
@@ -25,15 +25,13 @@
         "etc/webapps/${pkgname}/settings_local.py")
 install="${pkgname}.install"
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc}
-        "${pkgname}-1.3.2-django3.patch::https://gitlab.com/mailman/hyperkitty/-/merge_requests/228.patch"
         "${pkgname}-1.3.2-settings.patch"
         "${pkgname}-qcluster.service"
         "${pkgname}.sysusers"
         "${pkgname}.tmpfiles"
         "${pkgname}.uwsgi")
-sha512sums=('c0c20f0a0d999e08be32f9db52f43660179b2277e80385bb4ef58f2a652b8271e03690282aa3174a3408c48bd7e5ee18c5a8adcee736a45165647cb124cd6293'
+sha512sums=('4be4630bc0344c3e1633772978880fea996fbf2bb49b728c1d05ae13ab1df8c63b6b7b9b735df32eb2ae31798e76be537748e42c830a63aa01eeff0680f1dc76'
             'SKIP'
-            '04b593949c80362324103726f54a73d5904f053efb5ef90cd3fbdefd90e93c707052bcb8cddf5b64efc1f053f5c51ad76285833448f6fcdff4bdfbf640f6b8c2'
             'ec08a05402729bc23f9bff11be85630343f257d2bdb0531941d9f1475a3bb6b80d7083e2a0291517264247076b7639ecc427bdc5d5d37d9b8f094f6f484f6f96'
             'a41c938082ceee555143ddb21c3a95835f9832b9aff423142d78d3e52f12500561f80e0ce43c67a4f190065c9d045945741ac71ab3307db1419c4dc0686db09a'
             '3267427109b08b8c9336b187381ed14357a07370bdcdfc24da94555020ad0424c5bbebc09e131e981e0540c51db443ffe558209e1bca7c2a1b7b1f602ed0805b'
@@ -44,9 +42,6 @@
 prepare() {
   mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
   cd "$pkgname-$pkgver"
-  # removing legacy stuff to be compatible with django3:
-  # https://gitlab.com/mailman/hyperkitty/issues/278
-  patch -Np1 -i "../${pkgname}-1.3.2-django3.patch"
   # setting FHS compliant default paths
   patch -Np1 -i "../${pkgname}-1.3.2-settings.patch"
   touch settings_local.py
@@ -60,7 +55,7 @@
 check() {
   cd "$pkgname-$pkgver"
   export PYTHONPATH="build:${PYTHONPATH}"
-  coverage run example_project/manage.py test --settings=hyperkitty.tests.settings_test hyperkitty
+  python example_project/manage.py test --settings=hyperkitty.tests.settings_test hyperkitty
 }
 
 package() {



More information about the arch-commits mailing list