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
90bd2648
Commit
90bd2648
authored
1 year ago
by
Celeste
Committed by
J0WI
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
main/py3-pytest-timeout: upgrade to 2.2.0 & use gpep517 packaging
also, re-enable tests
parent
a7f3fb40
No related branches found
No related tags found
1 merge request
!53194
main/py3-pytest-timeout: upgrade to 2.2.0 & use gpep517 packaging
Pipeline
#186354
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main/py3-pytest-timeout/APKBUILD
+12
-11
12 additions, 11 deletions
main/py3-pytest-timeout/APKBUILD
with
12 additions
and
11 deletions
main/py3-pytest-timeout/APKBUILD
+
12
−
11
View file @
90bd2648
...
...
@@ -2,35 +2,36 @@
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
pkgname
=
py3-pytest-timeout
_pyname
=
pytest-timeout
pkgver
=
2.
1
.0
pkgrel
=
2
pkgver
=
2.
2
.0
pkgrel
=
0
pkgdesc
=
"py.test plugin to abort hanging tests"
url
=
"https://github.com/pytest-dev/pytest-timeout/"
arch
=
"noarch"
license
=
"MIT"
depends
=
"py3-pytest"
makedepends
=
"py3-
setuptools
"
makedepends
=
"py3-
gpep517 py3-setuptools py3-wheel
"
checkdepends
=
"py3-pexpect"
subpackages
=
"
$pkgname
-pyc"
source
=
"https://files.pythonhosted.org/packages/source/p/pytest-timeout/pytest-timeout-
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/
$_pyname
-
$pkgver
"
options
=
"!check"
# tests broken
build
()
{
python3 setup.py build
gpep517 build-wheel
\
--wheel-dir
.dist
\
--output-fd
3 3>&1
>
&2
}
check
()
{
PYTHONPATH
=
"
$PWD
/build/lib"
python3
-m
pytest
-x
python3
-m
venv
--clear
--without-pip
--system-site-packages
.testenv
.testenv/bin/python3
-m
installer .dist/
*
.whl
.testenv/bin/python3
-m
pytest
-x
}
package
()
{
python3 setup.py
install
\
--prefix
=
/usr
\
--root
=
"
$pkgdir
"
\
--single-version-externally-managed
python3
-m
installer
-d
"
$pkgdir
"
\
.dist/
*
.whl
}
sha512sums
=
"
5750e5183669ed9b83fbb76bd7fc9fc1f5f6eef3d9b675dc44f6c7edfd2c6d15739d71e845ededaa192c93da73026ac3376a3295be9f7d3f3eac325660ce7bf3
pytest-timeout-2.
1
.0.tar.gz
11a0c4e958b324bff3e149bf2a7dc5bf6ab6549405d5061856f8f1ad0e43df1cddce83df4c804b717276bfbcfcf60ee6b400625d0f4e4e73c98785146c22164f
pytest-timeout-2.
2
.0.tar.gz
"
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