Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
f829f9ea
Commit
f829f9ea
authored
1 year ago
by
Patrycja Rosa
Committed by
Patrycja Rosa
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/py3-django-q: use correct build system
parent
d6ddde9a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!53702
testing/py3-django-q: use correct build system
Pipeline
#188742
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testing/py3-django-q/APKBUILD
+6
-3
6 additions, 3 deletions
testing/py3-django-q/APKBUILD
testing/py3-django-q/build-system.patch
+21
-0
21 additions, 0 deletions
testing/py3-django-q/build-system.patch
with
27 additions
and
3 deletions
testing/py3-django-q/APKBUILD
+
6
−
3
View file @
f829f9ea
...
...
@@ -4,7 +4,7 @@
pkgname
=
py3-django-q
_pyname
=
"django-q"
pkgver
=
1.5.4
pkgrel
=
0
pkgrel
=
1
arch
=
"noarch"
pkgdesc
=
"A multiprocessing distributed task queue for Django"
url
=
"https://pypi.python.org/project/
$_pyname
"
...
...
@@ -27,7 +27,7 @@ makedepends="
py3-gpep517
py3-installer
py3-wheel
py3-
setuptools
py3-
poetry-core
"
checkdepends
=
"
py3-pytest
...
...
@@ -36,7 +36,9 @@ checkdepends="
# 'python-psutil: resource usage limit support'
# 'python-pymongo: MongoDB as a message broker support'
options
=
"!check"
# Missing check depends
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/django-q2/django-q2/archive/refs/tags/v
$pkgver
.tar.gz"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/django-q2/django-q2/archive/refs/tags/v
$pkgver
.tar.gz
build-system.patch
"
builddir
=
"
$srcdir
"
/django-q2-
$pkgver
subpackages
=
"
$pkgname
-pyc"
...
...
@@ -57,4 +59,5 @@ package() {
sha512sums
=
"
ebed301dc1f4a9854f9963137997219f08abed9c10ef86d363a658b83e17968ea5f62e5641ff7c6be92df4b7d5dc539dc1fed6def56ea4fb50ccc4ec0787bd6d py3-django-q-1.5.4.tar.gz
6c517f2abda689031fe4d62a7a7aa5db4885e1bcaedb575463eb1d065e4e7504ca0548395046d8f5efe2dd9fc7e073fbceb7447019fdde63a34d35894f14057e build-system.patch
"
This diff is collapsed.
Click to expand it.
testing/py3-django-q/build-system.patch
0 → 100644
+
21
−
0
View file @
f829f9ea
Patch-Source: https://github.com/django-q2/django-q2/pull/131
From 2c2594348ebed7194afdda31e1d303f24f68935c Mon Sep 17 00:00:00 2001
From: ptrcnull <git@ptrcnull.me>
Date: Thu, 19 Oct 2023 17:06:29 +0200
Subject: [PATCH] Specify build system in pyproject.toml
Otherwise, trying to build the project with a tool like gpep517 or build
results in using the setuptools legacy backend instead
diff --git a/pyproject.toml b/pyproject.toml
index e785688..8de3163 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,3 +1,7 @@
+[build-system]
+requires = ["poetry-core>=1.0.0"]
+build-backend = "poetry.core.masonry.api"
+
[tool.poetry]
name = "django-q2"
version = "1.5.4"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment