summaryrefslogtreecommitdiff
path: root/python3-pastel
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2022-02-16 15:32:56 +0100
committerTim Biermann <tbier@posteo.de>2022-02-16 15:32:56 +0100
commit517e3e8ce50dba5077ade8155d0055eedc9b53d7 (patch)
treef4e0c54defd900468e7d43605ae4e00680a7d55c /python3-pastel
parentf175333b2ad9c37efa1244d85785efe71e474355 (diff)
downloadcontrib-517e3e8ce50dba5077ade8155d0055eedc9b53d7.tar.gz
contrib-517e3e8ce50dba5077ade8155d0055eedc9b53d7.tar.xz
python3-pastel: dropped dependency on python3-pyproject2setuppy, new dependency: python3-pip
Diffstat (limited to 'python3-pastel')
-rw-r--r--python3-pastel/.footprint14
-rw-r--r--python3-pastel/.signature6
-rw-r--r--python3-pastel/Pkgfile13
3 files changed, 19 insertions, 14 deletions
diff --git a/python3-pastel/.footprint b/python3-pastel/.footprint
index 00087207d..83e30370a 100644
--- a/python3-pastel/.footprint
+++ b/python3-pastel/.footprint
@@ -2,18 +2,20 @@ 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/pastel-0.2.1.dist-info/
+-rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel-0.2.1.dist-info/INSTALLER
+-rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel-0.2.1.dist-info/LICENSE
+-rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel-0.2.1.dist-info/METADATA
+-rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel-0.2.1.dist-info/RECORD
+-rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel-0.2.1.dist-info/REQUESTED (EMPTY)
+-rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel-0.2.1.dist-info/WHEEL
drwxr-xr-x root/root usr/lib/python3.9/site-packages/pastel/
-drwxr-xr-x root/root usr/lib/python3.9/site-packages/pastel-0.2.1-py3.9.egg-info/
--rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel-0.2.1-py3.9.egg-info/dependency_links.txt
--rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel-0.2.1-py3.9.egg-info/PKG-INFO
--rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel-0.2.1-py3.9.egg-info/SOURCES.txt
--rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel-0.2.1-py3.9.egg-info/top_level.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel/__init__.py
--rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel/pastel.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/pastel/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel/__pycache__/pastel.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel/__pycache__/stack.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel/__pycache__/style.cpython-39.pyc
+-rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel/pastel.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel/stack.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pastel/style.py
diff --git a/python3-pastel/.signature b/python3-pastel/.signature
index 9b9fdb903..992531ff6 100644
--- a/python3-pastel/.signature
+++ b/python3-pastel/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3/JZRL1KxWUh38gz+JxQ2kX3Gm0FmHVQDsPGUHK+pYfW/5XMa8N6teBQr9qX+1VlVcfvkYwi5Di+/QgxP9egBwk=
-SHA256 (Pkgfile) = 188cc6bd84752b2a1e037afb75411784d68b5b37e76a373900ce0fd2eff34710
-SHA256 (.footprint) = 809bb1898bc48eb6cb10cc57ace299c252e851ccaf6baa9f0fe7a789e101186b
+RWSagIOpLGJF35cHGnu4mC4/rV9CGwtQcna5kV6ZNihv1Qp8eeblNJp7M6AhWyNkXw3Z/DTEPtn4SJdz3vR5V1idBZrQjqNupA4=
+SHA256 (Pkgfile) = 586798e4aa181e2cd5bf18c49e035795281a996dd4cd305107f8231ed1ad1ce1
+SHA256 (.footprint) = 2652f1f321632af46bb5d6c8f9a5ff3881a7d2a5a159664c888b273ca2ee5206
SHA256 (python3-pastel-0.2.1.tar.gz) = 37415315c8859badde177e5a817279ce25275c5de993e516697b788177dfc337
diff --git a/python3-pastel/Pkgfile b/python3-pastel/Pkgfile
index e0b65af24..2c429dcb5 100644
--- a/python3-pastel/Pkgfile
+++ b/python3-pastel/Pkgfile
@@ -1,7 +1,8 @@
# Description: Bring colors to your terminal
# URL: https://github.com/sdispater/pastel
# Maintainer: Tim Biermann, tbier at posteo dot de
-# Depends on: python3-certifi python3-pyproject2setuppy python3-ruamel-yaml-clib
+# Depends on: python3-certifi python3-pip python3-ruamel-yaml-clib
+# Optional: python3-poetry
name=python3-pastel
version=0.2.1
@@ -10,8 +11,10 @@ source=(https://github.com/sdispater/pastel/archive/$version/$name-$version.tar.
build() {
cd pastel-$version
- /usr/bin/python3 -m pyproject2setuppy.main build
- /usr/bin/python3 -m pyproject2setuppy.main install --prefix=/usr \
- --root=$PKG \
- --skip-build
+ if prt-get isinst python3-poetry; then
+ /usr/bin/poetry build --format wheel
+ /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps dist/*.whl
+ else
+ /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps pastel
+ fi
}

Generated by cgit