17 lines
762 B
Plaintext
17 lines
762 B
Plaintext
# Description: Virtual Python Environment builder
|
|
# URL: https://github.com/pypa/virtualenv/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-appdirs python3-backports_entry-points-selectable python3-distlib python3-filelock python3-pip python3-platformdirs python3-six
|
|
|
|
name=python3-virtualenv
|
|
version=20.7.0
|
|
release=1
|
|
source=(https://pypi.org/packages/source/v/virtualenv/virtualenv-$version.tar.gz)
|
|
|
|
build() {
|
|
cd virtualenv-$version
|
|
#sed -i "s|pkgutil.get_data(\"pip._vendor.certifi\", \"cacert.pem\")|open(os.path.join('/etc/ssl/certs/ca-certificates.crt'), 'rb').read()|" virtualenv-$pkgver/tests/conftest.py
|
|
/usr/bin/python3 setup.py build egg_info
|
|
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --skip-build
|
|
}
|