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
16140b4d
Commit
16140b4d
authored
10 months ago
by
omni
Committed by
Natanael Copa
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/sshuttle: upgrade to 1.1.2 & switch to gpep517
- enable tests - add manpage
parent
4322b6a2
No related branches found
No related tags found
1 merge request
!67514
testing/sshuttle: upgrade to 1.1.2 & switch to gpep517
Pipeline
#240819
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/sshuttle/APKBUILD
+14
-9
14 additions, 9 deletions
testing/sshuttle/APKBUILD
with
14 additions
and
9 deletions
testing/sshuttle/APKBUILD
+
14
−
9
View file @
16140b4d
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
sshuttle
pkgver
=
1.1.
1
pkgrel
=
2
pkgver
=
1.1.
2
pkgrel
=
0
pkgdesc
=
"Transparent proxy server using ssh"
url
=
"https://github.com/sshuttle/sshuttle"
arch
=
"noarch"
license
=
"GPL-2.0-only"
depends
=
"python3 py3-psutil"
makedepends
=
"py3-
setuptools
"
makedepends
=
"py3-
gpep517 py3-poetry-core py3-setuptools py3-sphinx py3-wheel
"
checkdepends
=
"py3-pytest py3-pytest-cov py3-mock py3-flake8"
options
=
"!check"
# TODO: fix testsuite
subpackages
=
"
$pkgname
-pyc"
subpackages
=
"
$pkgname
-doc
$pkgname
-pyc"
source
=
"https://github.com/sshuttle/sshuttle/archive/v
$pkgver
/sshuttle-
$pkgver
.tar.gz"
build
()
{
echo
"version = '
$pkgver
'"
>
sshuttle/version.py
python3 setup.py build
gpep517 build-wheel
--wheel-dir
.dist
--output-fd
3 3>&1
>
&2
cd
docs
&&
make man
}
check
()
{
python3 setup.py
test
python3
-m
venv
--clear
--without-pip
--system-site-packages
.testenv
.testenv/bin/python3
-m
installer .dist/
*
.whl
.testenv/bin/python3
-m
pytest
}
package
()
{
python3 setup.py
install
--skip-build
--root
=
"
$pkgdir
"
python3
-m
installer
-d
"
$pkgdir
"
.dist/
*
.whl
install
-Dm0644
-t
"
$pkgdir
"
/usr/share/man/man1/ docs/_build/man/
*
.1
}
sha512sums
=
"
4f670bee34653e47cf7a0c8550b2ac734230ccf0d4fb6191ae3a0c6404847c788c3cdf033bc1571f49472729029077aa6d6970f4bce78fa4980f1f29ccbd2f7a
sshuttle-1.1.
1
.tar.gz
c24a6490c1877b9ded8f5f4f44571953c4c204c33f0238c709ca32c7a581ddc919bfc48beb4fafd3a4d346cccd9b02dc7051b6233ff989a0ad329d55c1c5ec47
sshuttle-1.1.
2
.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