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

gscreenshot: update to 3.3.0. #41905

Merged
merged 1 commit into from Feb 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 15 additions & 10 deletions srcpkgs/gscreenshot/template
@@ -1,15 +1,20 @@
# Template file for 'gscreenshot'
pkgname=gscreenshot
version=2.17.1
revision=2
version=3.3.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools gettext"
depends="gtk+3 python3-setuptools python3-Pillow python3-gobject scrot"
short_desc="GUI front-end for the scrot program"
hostmakedepends="python3-setuptools gettext go-md2man"
# refer to https://github.com/thenaterhood/gscreenshot#installation
# for optional dependencies across system configurations
depends="gtk+3 python3-setuptools python3-Pillow python3-gobject"
checkdepends="${depends} python3-mock python3-pytest"
short_desc="GUI for multiple screenshot backends including scrot, PIL, and grim"
maintainer="Rui Flora <rui.flora@gmail.com>"
license="GPL-2.0-or-later"
license="GPL-2.0-only"
Comment on lines -10 to +13
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you ask about this upstream?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

homepage="https://github.com/thenaterhood/gscreenshot"
distfiles="https://github.com/thenaterhood/gscreenshot/archive/v${version}.tar.gz"
checksum=f0cdf81e9ab483e11c04ed27141ac37dd6f24415968bc5f4c874e7b17ca5958d
# doesn't ship any tests
make_check=no
distfiles="https://github.com/thenaterhood/gscreenshot/archive/refs/tags/v${version}.tar.gz"
checksum=f05e695676cda97483c6cdbebaba9a708b5791e544e977016a772325a1d37231

do_check() {
(cd src && PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest ../test)
}