Date: Wednesday, April 12, 2023 @ 14:51:10
  Author: alucryd
Revision: 1444909

archrelease: copy trunk to community-staging-any

Added:
  python-django-q/repos/community-staging-any/
  python-django-q/repos/community-staging-any/PKGBUILD
    (from rev 1444908, python-django-q/trunk/PKGBUILD)
  python-django-q/repos/community-staging-any/python-django-q-pep517.patch
    (from rev 1444908, python-django-q/trunk/python-django-q-pep517.patch)

------------------------------+
 PKGBUILD                     |   66 +++++++++++++++++++++++++++++++++++++++++
 python-django-q-pep517.patch |   14 ++++++++
 2 files changed, 80 insertions(+)

Copied: python-django-q/repos/community-staging-any/PKGBUILD (from rev 1444908, 
python-django-q/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-12 14:51:10 UTC (rev 1444909)
@@ -0,0 +1,66 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+
+pkgname=python-django-q
+pkgver=1.3.9
+pkgrel=7
+pkgdesc='A multiprocessing distributed task queue for Django'
+arch=(any)
+url=https://github.com/Koed00/django-q
+license=(MIT)
+depends=(
+  python-arrow
+  python-asgiref
+  python-blessed
+  python-dateutil
+  python-django
+  python-django-picklefield
+  python-future
+  python-pytz
+  python-redis
+  python-setuptools
+  python-six
+  python-sqlparse
+  python-wcwidth
+)
+makedepends=(
+  git
+  python-build
+  python-installer
+  python-poetry-core
+)
+optdepends=(
+  'python-boto3: Amazon Simple Queue Service message queue support'
+  'python-psutil: resource usage limit support'
+  'python-pymongo: MongoDB as a message broker support'
+)
+_tag=4a8ef8f388b842b916f2ac713383192eec87b8d8
+source=(
+  git+https://github.com/Koed00/django-q.git#tag=${_tag}
+  python-django-q-pep517.patch
+)
+b2sums=('SKIP'
+        
'2b95ad47f38f1217d21ad11b5f23a602660880b1d6bcb09716bf8b201987153a360cfabf94d7d3028caa46c9a494bc0716d8d69cf576fe78a5890c9508f88ef5')
+
+prepare() {
+  cd django-q
+  patch -Np1 -i ../python-django-q-pep517.patch
+  sed 's/poetry_core>=1.0.0/poetry-core/' -i pyproject.toml
+}
+
+pkgver() {
+  cd django-q
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd django-q
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  python -m installer --destdir="${pkgdir}" django-q/dist/*.whl
+  rm "${pkgdir}"/usr/lib/python*/site-packages/CHANGELOG.md
+  install -Dm 644 django-q/LICENSE -t 
"${pkgdir}"/usr/share/licenses/python-django-q/
+}
+
+# vim: ts=2 sw=2 et:

Copied: 
python-django-q/repos/community-staging-any/python-django-q-pep517.patch (from 
rev 1444908, python-django-q/trunk/python-django-q-pep517.patch)
===================================================================
--- community-staging-any/python-django-q-pep517.patch                          
(rev 0)
+++ community-staging-any/python-django-q-pep517.patch  2023-04-12 14:51:10 UTC 
(rev 1444909)
@@ -0,0 +1,14 @@
+diff '--color=auto' -rupN django-q.orig/pyproject.toml django-q/pyproject.toml
+--- django-q.orig/pyproject.toml       2022-10-24 10:50:42.274924167 +0200
++++ django-q/pyproject.toml    2022-10-24 10:51:01.686713418 +0200
+@@ -76,4 +76,8 @@ sentry = ["django-q-sentry"]
+ 
+ [tool.isort]
+ profile = "black"
+-multi_line_output = 3
+\ No newline at end of file
++multi_line_output = 3
++
++[build-system]
++requires = ["poetry-core"]
++build-backend = "poetry.core.masonry.api"

Reply via email to