Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

peru: update to 1.3.1. #43724

Merged
merged 1 commit into from
Jun 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 20 additions & 6 deletions srcpkgs/peru/template
Original file line number Diff line number Diff line change
@@ -1,17 +1,31 @@
# Template file for 'peru'
pkgname=peru
version=1.2.0
revision=5
build_style=python3-module
pycompile_module="peru"
hostmakedepends="python3-setuptools"
version=1.3.1
revision=1
build_style=python3-pep517
hostmakedepends="hatchling python3-wheel"
depends="curl git mercurial python3 python3-docopt python3-yaml"
checkdepends="${depends} python3-pytest rsync subversion"
short_desc="Tool for fetching code"
maintainer="Andy Weidenbaum <atweiden@tutanota.de>"
license="MIT"
homepage="https://github.com/buildinspace/peru"
distfiles="https://github.com/buildinspace/peru/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=fb0fb02639e1c5403c9a6ddfd9719c5ea5ddf69fb440fbcfafe234470645e1dc
checksum=6a21108f8b0417301d3cd76fa220906cea9d58f95208b70191282972f8bb8ff9

do_check() {
local skiptests

skiptests+=" test_curl_plugin_fetch or"
skiptests+=" test_curl_plugin_fetch_archives or"
skiptests+=" test_curl_plugin_reup or"
skiptests+=" test_git_plugin_with_relative_submodule or"
skiptests+=" test_git_plugin_with_submodule or"
skiptests+=" test_plugin_fetch or"
skiptests+=" test_plugin_get_reup_fields"

PYTHONPATH="$(cd tests && pwd)" python3 -m pytest -k "not (${skiptests})"
}

post_install() {
vlicense LICENSE
Expand Down