22 lines
589 B
Plaintext
22 lines
589 B
Plaintext
|
# Description: Manage Python virtual environments
|
||
|
# URL: https://github.com/dephell/dephell_venvs
|
||
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||
|
# Depends on: python3-dephell-pythons
|
||
|
|
||
|
name=python3-dephell-venvs
|
||
|
version=0.1.16
|
||
|
release=1
|
||
|
source=(https://files.pythonhosted.org/packages/source/d/dephell_venvs/dephell_venvs-$version.tar.gz
|
||
|
py39.patch)
|
||
|
|
||
|
build() {
|
||
|
cd dephell_venvs-$version
|
||
|
patch -Np1 -i $SRC/py39.patch
|
||
|
find . -name \*.pyc -delete
|
||
|
/usr/bin/python3 setup.py build
|
||
|
/usr/bin/python3 setup.py install --prefix=/usr \
|
||
|
--root=$PKG \
|
||
|
-O1 \
|
||
|
--skip-build
|
||
|
}
|