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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
LN Liberda
aports
Commits
a56bc4cc
Commit
a56bc4cc
authored
2 years ago
by
Duncan Bellamy
Committed by
alice
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
community/py3-jaraco.envs: run tests in venv
parent
de0982bf
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/py3-jaraco.envs/APKBUILD
+4
-5
4 additions, 5 deletions
community/py3-jaraco.envs/APKBUILD
with
4 additions
and
5 deletions
community/py3-jaraco.envs/APKBUILD
+
4
−
5
View file @
a56bc4cc
...
...
@@ -23,7 +23,6 @@ checkdepends="
py3-virtualenv
"
source
=
"https://pypi.python.org/packages/source/j/jaraco.envs/jaraco.envs-
$pkgver
.tar.gz"
options
=
"!check"
# Tests not usable in env
builddir
=
"
$srcdir
/jaraco.envs-
$pkgver
"
build
()
{
...
...
@@ -33,13 +32,13 @@ build() {
}
check
()
{
python3
-m
instal
ler
-
d
testenv dist/jaraco.envs-
$pkgver
-py3-none-any
.whl
local
sitedir
=
"
$(
python3
-c
'import site;print(site.getsitepackages()[0])'
)
"
PYTHONPATH
=
"
$PWD
/testenv/
$sitedir
"
pytest
python3
-m
venv
--c
le
a
r
-
-without-pip
--system-site-packages
testenv
testenv/bin/python3
-m
installer dist/
*
.whl
testenv/bin/python3
-m
pytest
}
package
()
{
python3
-m
installer
-d
"
$pkgdir
"
dist/
jaraco.envs-
$pkgver
-py3-none-any
.whl
python3
-m
installer
-d
"
$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