wok view gaupol/receipt @ rev 23220

gaupol: python2 replaced by python3
author Hans-G?nter Theisgen
date Mon Mar 23 13:55:45 2020 +0100 (2020-03-23)
parents 43e91926293e
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="gaupol"
4 VERSION="1.7"
5 CATEGORY="multimedia"
6 SHORT_DESC="An editor for text-based subtitle files."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://otsaloma.io/gaupol/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/otsaloma/$PACKAGE/archive/$VERSION.tar.gz"
14 SUGGESTED="mplayer"
15 DEPENDS="py3k pygtk"
16 BUILD_DEPENDS="gettext intltool py3k-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python3 setup.py clean install --prefix=$install/usr
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 PYTHON_LIB=python$(grep ^VERSION= $WOK/py3k/receipt | sed 's/.*"\(...\).*/\1/')
28 sed -i 's|/home/slitaz/wok/gaupol/install||g' \
29 $install/usr/lib/$PYTHON_LIB/site-packages/aeidon/paths.py
31 cp -a $install/usr $fs
32 }