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
d04788ec
Commit
d04788ec
authored
5 months ago
by
Patrycja Rosa
Browse files
Options
Downloads
Patches
Plain Diff
testing/py3-flask-cdn: build with gpep517
parent
d81b6554
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/py3-flask-cdn/APKBUILD
+10
-5
10 additions, 5 deletions
testing/py3-flask-cdn/APKBUILD
with
10 additions
and
5 deletions
testing/py3-flask-cdn/APKBUILD
+
10
−
5
View file @
d04788ec
...
...
@@ -3,13 +3,13 @@
pkgname
=
py3-flask-cdn
_pkgname
=
Flask-CDN
pkgver
=
1.5.3
pkgrel
=
7
pkgrel
=
8
pkgdesc
=
"Flask CDN static files extension"
url
=
"https://pypi.org/project/Flask-CDN"
arch
=
"noarch"
license
=
"MIT"
depends
=
"python3 py3-flask"
makedepends
=
"py3-setuptools"
makedepends
=
"py3-setuptools
py3-gpep517
"
subpackages
=
"
$pkgname
-pyc"
source
=
"https://files.pythonhosted.org/packages/source/
${
_pkgname
:0:1
}
/
$_pkgname
/
$_pkgname
-
$pkgver
.tar.gz
assertEquals.patch
...
...
@@ -20,15 +20,20 @@ replaces="py-flask-cdn" # Backwards compatibility
provides
=
"py-flask-cdn=
$pkgver
-r
$pkgrel
"
# Backwards compatibility
build
()
{
python3 setup.py build
gpep517 build-wheel
\
--wheel-dir
.dist
\
--output-fd
3 3>&1
>
&2
}
check
()
{
python3
-m
unittest
python3
-m
venv
--clear
--without-pip
--system-site-packages
.testenv
gpep517 install-wheel
--destdir
.testenv
--prefix
''
.dist/
*
.whl
.testenv/bin/python3
-m
unittest discover
}
package
()
{
python3 setup.py
install
--skip-build
--root
=
"
$pkgdir
"
gpep517 install-wheel
--destdir
"
$pkgdir
"
\
.dist/
*
.whl
}
sha512sums
=
"
...
...
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