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
c531d9be
Commit
c531d9be
authored
6 months ago
by
Patrycja Rosa
Browse files
Options
Downloads
Patches
Plain Diff
testing/urlwatch: build with gpep517
parent
e63513bb
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/urlwatch/APKBUILD
+11
-6
11 additions, 6 deletions
testing/urlwatch/APKBUILD
with
11 additions
and
6 deletions
testing/urlwatch/APKBUILD
+
11
−
6
View file @
c531d9be
...
...
@@ -2,10 +2,10 @@
# Maintainer: Thiago Perrotta <tbperrotta@gmail.com>
pkgname
=
urlwatch
pkgver
=
2.28
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"Tool for monitoring webpages for updates"
url
=
"https://thp.io/2008/urlwatch/"
arch
=
"noarch !ppc64le"
# blocked by py3-keyring
arch
=
"noarch !ppc64le"
# blocked by py3-keyring
license
=
"BSD-3-Clause"
depends
=
"
python3
...
...
@@ -17,7 +17,7 @@ depends="
py3-requests
py3-yaml
"
makedepends
=
"py3-setuptools"
makedepends
=
"py3-setuptools
py3-gpep517
"
checkdepends
=
"py3-pytest py3-docutils py3-pycodestyle"
subpackages
=
"
$pkgname
-doc
$pkgname
-pyc"
source
=
"https://files.pythonhosted.org/packages/source/u/urlwatch/urlwatch-
$pkgver
.tar.gz
...
...
@@ -25,15 +25,20 @@ source="https://files.pythonhosted.org/packages/source/u/urlwatch/urlwatch-$pkgv
"
build
()
{
python3 setup.py build
gpep517 build-wheel
\
--wheel-dir
.dist
\
--output-fd
3 3>&1
>
&2
}
check
()
{
pytest
python3
-m
venv
--clear
--without-pip
--system-site-packages
.testenv
gpep517 install-wheel
--destdir
.testenv
--prefix
''
.dist/
*
.whl
.testenv/bin/python3
-m
pytest
}
package
()
{
python3 setup.py
install
--root
=
"
$pkgdir
"
--skip-build
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