Merge pull request #4560 from landfillbaby/patch-1

Update asciinema for python 3.8.
This commit is contained in:
Leonid Pliushch 2019-11-18 02:22:25 +02:00 committed by GitHub
commit cbd231a538
1 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://asciinema.org/
TERMUX_PKG_DESCRIPTION="Record and share your terminal sessions, the right way"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_VERSION=2.0.2
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=2578a1b5611e5375771ef6582a6533ef8d40cdbed1ba1c87786fd23af625ab68
TERMUX_PKG_SRCURL=https://github.com/asciinema/asciinema/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_BUILD_IN_SRC=true
@ -15,8 +16,8 @@ termux_step_make() {
}
termux_step_make_install() {
export PYTHONPATH=$TERMUX_PREFIX/lib/python3.7/site-packages/
python3.7 setup.py install --prefix=$TERMUX_PREFIX --force
export PYTHONPATH=$TERMUX_PREFIX/lib/python3.8/site-packages/
python3.8 setup.py install --prefix=$TERMUX_PREFIX --force
}
termux_step_post_massage() {