mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
parent
0de70922dd
commit
53b53169d6
2 changed files with 17 additions and 6 deletions
11
srcpkgs/cropgui/patches/python3-support.patch
Normal file
11
srcpkgs/cropgui/patches/python3-support.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- install.sh
|
||||
+++ install.sh
|
||||
@@ -12,7 +12,7 @@
|
||||
}
|
||||
|
||||
site_packages () {
|
||||
- $PYTHON -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()'
|
||||
+ $PYTHON -c 'import distutils.sysconfig; print(distutils.sysconfig.get_python_lib())'
|
||||
}
|
||||
|
||||
usage () {
|
|
@ -1,18 +1,18 @@
|
|||
# Template file for 'cropgui'
|
||||
pkgname=cropgui
|
||||
version=0.4
|
||||
revision=2
|
||||
hostmakedepends="which"
|
||||
makedepends="python"
|
||||
depends="python python-Pillow python-gobject2
|
||||
pygtk libjpeg-turbo-tools ImageMagick exiftool"
|
||||
revision=3
|
||||
hostmakedepends="which python3"
|
||||
depends="python3 python3-Pillow python3-gobject
|
||||
libjpeg-turbo-tools ImageMagick exiftool"
|
||||
short_desc="Gtk frontend for lossless cropping of jpeg images"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://github.com/jepler/cropgui"
|
||||
distfiles="https://github.com/jepler/cropgui/archive/v${version}.tar.gz"
|
||||
checksum=bf5a5b14032d01799f8d942790e316203f33a7c007eedf23e57c79d5a47d6fb1
|
||||
python_version=3
|
||||
|
||||
do_install() {
|
||||
./install.sh -f gtk -t "$PKGDESTDIR" -P python -p /usr
|
||||
./install.sh -f gtk -t "$PKGDESTDIR" -P python3 -p /usr
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue