1
0
forked from ports/contrib

python3-dephell-venvs: initial commit, version 0.1.16

This commit is contained in:
Tim Biermann 2021-06-14 19:51:49 +00:00
parent 4900e7eedd
commit d2e398ef48
Signed by: tb
GPG Key ID: 42F8B4E30B673606
4 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,30 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python3.9/
drwxr-xr-x root/root usr/lib/python3.9/site-packages/
drwxr-xr-x root/root usr/lib/python3.9/site-packages/dephell_venvs-0.1.16-py3.9.egg-info/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs-0.1.16-py3.9.egg-info/PKG-INFO
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs-0.1.16-py3.9.egg-info/SOURCES.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs-0.1.16-py3.9.egg-info/dependency_links.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs-0.1.16-py3.9.egg-info/requires.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs-0.1.16-py3.9.egg-info/top_level.txt
drwxr-xr-x root/root usr/lib/python3.9/site-packages/dephell_venvs/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/__init__.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/dephell_venvs/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/__pycache__/__init__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/__pycache__/_builder.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/__pycache__/_builder.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/__pycache__/_cached_property.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/__pycache__/_cached_property.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/__pycache__/_constants.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/__pycache__/_constants.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/__pycache__/_venv.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/__pycache__/_venv.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/__pycache__/_venvs.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/__pycache__/_venvs.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/_builder.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/_cached_property.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/_constants.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/_venv.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/dephell_venvs/_venvs.py

View File

@ -0,0 +1,4 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF393Od4g0DZ52yu3bS7gEnrw54M0TuL1qR5u6hOYlgXPibqcY3eFOF4D8QUNpbvPVZm765TOpHhMo1S8U9Ezv9wA=
SHA256 (Pkgfile) = 620299fc5d4f77bdf026ad68240ec35bcbefec08c4763be3c6218f48860b727e
SHA256 (.footprint) = a4d74d79a4f1a9c876bdbc42da331e78571c0910b572fe473da7f3ff2bcb6c4e

View File

@ -0,0 +1,21 @@
# 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
}

View File

@ -0,0 +1,21 @@
From 1dbd550b3481fa597a3a43d1ab5b1d8aab776085 Mon Sep 17 00:00:00 2001
From: Gram <master_fess@mail.ru>
Date: Mon, 26 Oct 2020 08:16:35 +0100
Subject: [PATCH] update for 3.9 support
---
dephell_venvs/_builder.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/dephell_venvs/_builder.py b/dephell_venvs/_builder.py
index 4775c8e..f773b3f 100644
--- a/dephell_venvs/_builder.py
+++ b/dephell_venvs/_builder.py
@@ -21,6 +21,7 @@ class VEnvBuilder(EnvBuilder):
symlinks = attr.ib(type=bool, default=False)
upgrade = attr.ib(type=bool, default=False)
with_pip = attr.ib(type=bool, default=False)
+ upgrade_deps = attr.ib(type=bool, default=False)
prompt = attr.ib(type=str, default=None)
python = attr.ib(type=Optional[str], default=None) # path to the python interpreter