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
Dominika Liberda
aports
Commits
123fc84e
Commit
123fc84e
authored
6 years ago
by
Dmitry Romanenko
Committed by
Andy Postnikov
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/pytest-forked: new aport
parent
5bd58072
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/pytest-forked/APKBUILD
+52
-0
52 additions, 0 deletions
testing/pytest-forked/APKBUILD
with
52 additions
and
0 deletions
testing/pytest-forked/APKBUILD
0 → 100644
+
52
−
0
View file @
123fc84e
# Contributor: Dmitry Romanenko <dmitry@romanenko.in>
# Maintainer: Dmitry Romanenko <dmitry@romanenko.in>
pkgname
=
pytest-forked
_pkgname
=
${
pkgname
#py-
}
pkgver
=
1.0.1
pkgrel
=
0
pkgdesc
=
"extracted --boxed from pytest-xdist to ensure backward compat"
url
=
"https://github.com/pytest-dev/pytest-forked"
arch
=
"noarch"
license
=
"MIT"
depends
=
"py-py pytest"
checkdepends
=
"py-six py-tox"
makedepends
=
"python2-dev python3-dev py-setuptools_scm"
subpackages
=
"py3-
$_pkgname
:_py3 py2-
$_pkgname
:_py2"
source
=
"https://files.pythonhosted.org/packages/source/
${
_pkgname
:0:1
}
/
$_pkgname
/
$_pkgname
-
$pkgver
.tar.gz"
builddir
=
"
$srcdir
"
/
$_pkgname
-
$pkgver
build
()
{
cd
"
$builddir
"
python2 setup.py build
python3 setup.py build
}
check
()
{
cd
"
$builddir
"
tox
-e
py27,py36
}
package
()
{
mkdir
-p
"
$pkgdir
"
}
_py2
()
{
replaces
=
"
$pkgname
"
_py python2
}
_py3
()
{
_py python3
}
_py
()
{
local
python
=
"
$1
"
pkgdesc
=
"
$pkgdesc
(for
$python
)"
depends
=
"
$depends
$python
"
install_if
=
"
$pkgname
=
$pkgver
-r
$pkgrel
$python
"
cd
"
$builddir
"
$python
setup.py
install
--prefix
=
/usr
--root
=
"
$subpkgdir
"
}
sha512sums
=
"6fc56ce7fcbb76e5c92c912eb199b8d7af09f2fc3d4648ac7493fcdd1ba9df40fd87bd03a384d70ed015cd5d9f0e243a2c89811daabd5477f3355bbbdb2d7657 pytest-forked-1.0.1.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