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
Merge requests
!59809
community/py3-django-rest-framework: take maintainership
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
community/py3-django-rest-framework: take maintainership
ayakael/aports:py3-django-rest-framework/take-maintainership
into
master
Overview
0
Commits
2
Pipelines
2
Changes
1
Merged
Antoine Martin
requested to merge
ayakael/aports:py3-django-rest-framework/take-maintainership
into
master
1 year ago
Overview
0
Commits
2
Pipelines
2
Changes
1
Expand
take maintainership
move to gpep517
add py3-tz depend
0
0
Merge request reports
Compare
master
version 1
d2a5db40
1 year ago
master (base)
and
latest version
latest version
acb56089
2 commits,
1 year ago
version 1
d2a5db40
2 commits,
1 year ago
1 file
+
13
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
community/py3-django-rest-framework/APKBUILD
+
13
−
8
Options
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer:
# Maintainer:
Antoine Martin (ayakael) <dev@ayakael.net>
pkgname
=
py3-django-rest-framework
_pkgname
=
django-rest-framework
pkgver
=
3.14.0
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"Web APIs for Django"
options
=
"!check"
# fails with "OperationalError: no such table: auth_user"
url
=
"https://github.com/encode/django-rest-framework"
arch
=
"noarch"
license
=
"Custom"
depends
=
"py3-django"
makedepends
=
"py3-setuptools"
checkdepends
=
"py3-pytest
py3-tz
py3-core-api py3-jinja2 py3-uritemplate"
depends
=
"py3-django
py3-tz
"
makedepends
=
"py3-setuptools
py3-gpep517 py3-wheel
"
checkdepends
=
"py3-pytest py3-core-api py3-jinja2 py3-uritemplate"
subpackages
=
"
$pkgname
-pyc"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/encode/
$_pkgname
/archive/
$pkgver
.tar.gz"
builddir
=
"
$srcdir
"
/
$_pkgname
-
$pkgver
build
()
{
python3 setup.py
--quiet
build
gpep517 build-wheel
\
--wheel-dir
.dist
\
--output-fd
3 3>&1
>
&2
}
check
()
{
python3 runtests.py
python3
-m
venv
--clear
--without-pip
--system-site-packages
.testenv
.testenv/bin/python3
-m
installer
"
$builddir
"
/.dist/
*
.whl
.testenv/bin/python3 ./runtests.py
}
package
()
{
python3 setup.py
--quiet
install
--skip-build
--root
=
"
$pkgdir
"
python3
-m
installer
-d
"
$pkgdir
"
\
.dist/
*
.whl
}
sha512sums
=
"
Loading