Files
main/programming/language/python3/yt-dlp/actions.py
T
4fury-c3440d8 4c0bd0e7d8 yt-dlp.
2023-02-24 06:31:36 +03:00

21 lines
651 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import pythonmodules, autotools, pisitools, get
def build():
pythonmodules.compile(pyVer = "3")
autotools.make("PREFIX=/usr MANDIR=/usr/share/man")
def install():
pythonmodules.install(pyVer = "3")
#pisitools.removeDir("/usr/share/bin")
pisitools.removeDir("/usr/share/doc")
autotools.rawInstall("DESTDIR=%s PREFIX=/usr MANDIR=/usr/share/man" % get.installDIR())
pisitools.removeDir("/usr/share/fish")
pisitools.dodoc("Changelog.md")