wok-next diff python-youtube-dlg/receipt @ rev 20972

Improve Python packages: update, also provide Python3 packages where available
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 22 16:05:26 2018 +0300 (2018-09-22)
parents
children d5aab818505e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-youtube-dlg/receipt	Sat Sep 22 16:05:26 2018 +0300
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +ORIGIN="youtube-dlg"
     1.7 +PACKAGE="python-youtube-dlg"
     1.8 +VERSION="0.4"
     1.9 +CATEGORY="multimedia"
    1.10 +SHORT_DESC="Front-end GUI of the popular youtube-dl written in wxPython"
    1.11 +MAINTAINER="al.bobylev@gmail.com"
    1.12 +LICENSE="PublicDomain"
    1.13 +WEB_SITE="https://pypi.org/project/$ORIGIN/"
    1.14 +HOST_ARCH="any"
    1.15 +REPOLOGY="youtube-dl-gui"
    1.16 +
    1.17 +BUILD_DEPENDS="python python-wxpython3-dev python-twodict gettext"
    1.18 +COOKOPTS="!pixmaps"
    1.19 +
    1.20 +compile_rules() {
    1.21 +	# Python3 based compilation produce error
    1.22 +	pip install --no-compile --root=$install $ORIGIN==$VERSION || return 1
    1.23 +
    1.24 +	install -Dm644 $stuff/youtube-dl-gui.desktop $install/usr/share/applications/youtube-dl-gui.desktop
    1.25 +}
    1.26 +
    1.27 +genpkg_rules() {
    1.28 +	copy @std
    1.29 +	DEPENDS="python python-youtube-dl python-wxpython3 python-twodict"
    1.30 +	PROVIDE="youtube-dl-gui"
    1.31 +}