summaryrefslogtreecommitdiff
path: root/python3-pexpect
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2022-07-10 18:09:56 +0200
committerTim Biermann <tbier@posteo.de>2022-07-10 18:09:56 +0200
commit9442b1df7b0e003b9a069ad87b6286894b2a4508 (patch)
treebb806f6fd3443b8d1d5fba3b68b5910ab075e2a3 /python3-pexpect
parentab96ae79c34422905cbe0277c7b3b98441a87880 (diff)
downloadcontrib-9442b1df7b0e003b9a069ad87b6286894b2a4508.tar.gz
contrib-9442b1df7b0e003b9a069ad87b6286894b2a4508.tar.xz
python3-pexpect: -> 4.8.0; use pip to bootstrap, otherwise use python3-installer instead of setuptools
Diffstat (limited to 'python3-pexpect')
-rw-r--r--python3-pexpect/.footprint7
-rw-r--r--python3-pexpect/.signature6
-rw-r--r--python3-pexpect/Pkgfile14
3 files changed, 19 insertions, 8 deletions
diff --git a/python3-pexpect/.footprint b/python3-pexpect/.footprint
index 7e9ee1567..1d23b4b21 100644
--- a/python3-pexpect/.footprint
+++ b/python3-pexpect/.footprint
@@ -2,7 +2,12 @@ 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/
--rw-r--r-- root/root usr/lib/python3.9/site-packages/pexpect-4.8.0-py3.9.egg-info
+drwxr-xr-x root/root usr/lib/python3.9/site-packages/pexpect-4.8.0.dist-info/
+-rw-r--r-- root/root usr/lib/python3.9/site-packages/pexpect-4.8.0.dist-info/LICENSE
+-rw-r--r-- root/root usr/lib/python3.9/site-packages/pexpect-4.8.0.dist-info/METADATA
+-rw-r--r-- root/root usr/lib/python3.9/site-packages/pexpect-4.8.0.dist-info/RECORD
+-rw-r--r-- root/root usr/lib/python3.9/site-packages/pexpect-4.8.0.dist-info/WHEEL
+-rw-r--r-- root/root usr/lib/python3.9/site-packages/pexpect-4.8.0.dist-info/top_level.txt
drwxr-xr-x root/root usr/lib/python3.9/site-packages/pexpect/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pexpect/ANSI.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pexpect/FSM.py
diff --git a/python3-pexpect/.signature b/python3-pexpect/.signature
index 0da30a2c5..fe16d8443 100644
--- a/python3-pexpect/.signature
+++ b/python3-pexpect/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3wqKlJFDRhTQsHNehy3Ps+zq5yeilGQBKFlH1nTKqbtRnIbHWn3ASUmLBfFYi9BFrXZnhIFXqAk4sLpVntxF3gA=
-SHA256 (Pkgfile) = a5bed80952adf686b04d9f1649168c887780dcd6d35f7682997d002e5707c1f3
-SHA256 (.footprint) = 467ee65e2a10ebb3a5c6bffa44c70085879e5f59a4709b4245e660355ba683ea
+RWSagIOpLGJF3wCP3gJKOceijcJRLsnk6sD6s5ua1YvAyiC5AoD0HlNb8Er1gVbEwwGLymIOI8m1J6qMlNUcqYc9QCK/A6paEQw=
+SHA256 (Pkgfile) = 69da3b89a441d4c258f9c25b08eca25f9f75e2d0a7f34ff68818968774a482ec
+SHA256 (.footprint) = bf4380119bcdb2167f3d560e8dab1c840577eed0840b777a8a9f8361d43927dd
SHA256 (python3-pexpect-4.8.0.tar.gz) = f2ea54a12cc893636a60421e8da0a36c40caad7825eb674697f1e25f5f91245e
diff --git a/python3-pexpect/Pkgfile b/python3-pexpect/Pkgfile
index b26f664ac..ba76b0812 100644
--- a/python3-pexpect/Pkgfile
+++ b/python3-pexpect/Pkgfile
@@ -10,8 +10,14 @@ source=(https://github.com/pexpect/pexpect/archive/$version/$name-$version.tar.g
build() {
cd pexpect-$version
- sed -i 's,env python,env python3,' pexpect/FSM.py
- #/usr/bin/python3 setup.py build
- /usr/bin/python3 setup.py install --prefix=/usr \
- --root=$PKG
+ _pyver=$(/usr/bin/python3 -c 'import sys; print("%s.%s" % sys.version_info[:2])')
+
+ if prt-get isinst python3-flit-core; then
+ /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
+ /usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl
+ else
+ /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps pexpect
+ fi
+
+ rm -rf $PKG/usr/lib/python$_pyver/site-packages/pexpect-$version.dist-info/{INSTALLER,REQUESTED}
}

Generated by cgit