forked from ports/contrib
python3-pastel: always use python3-poetry-core
This commit is contained in:
parent
be25878493
commit
54a1aaccb5
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF37j1S4GKWOH4Dc5oUakQPilDculE1UxZTACKO7TLsSKJ1WEx/FxkPnJR7E5zlGtKCsc4P+B0GArVej1TkGZypwk=
|
||||
SHA256 (Pkgfile) = 712bad2b34cdcbc14d69ea003eb63f926ac2b7b508e73c654312b81ab3916981
|
||||
RWSagIOpLGJF3/6P6oihJx6e11iBaPME9RHo1QAtkz/GTUDWwrb5saqr63iz5I1WVfLFailQF6bjSzVmWh3RwOAmvA8DgPiK/AE=
|
||||
SHA256 (Pkgfile) = 6c5020963c21990e9093a3bbc7005a6fde614bc59d4fb5ae002a014a284db3a5
|
||||
SHA256 (.footprint) = 6ef434e0cd2b47da9a976c223a8a2861bc577038272f9baa30cfeed4137ec1fb
|
||||
SHA256 (python3-pastel-0.2.1.tar.gz) = 37415315c8859badde177e5a817279ce25275c5de993e516697b788177dfc337
|
||||
|
@ -1,8 +1,7 @@
|
||||
# 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-pip python3-ruamel-yaml-clib
|
||||
# Optional: python3-poetry-core
|
||||
# Depends on: python3-certifi python3-poetry-core python3-ruamel-yaml-clib
|
||||
|
||||
name=python3-pastel
|
||||
version=0.2.1
|
||||
@ -12,14 +11,6 @@ source=(https://github.com/sdispater/pastel/archive/$version/$name-$version.tar.
|
||||
build() {
|
||||
cd pastel-$version
|
||||
|
||||
_pyver=$(/usr/bin/python3 -c 'import sys; print("%s.%s" % sys.version_info[:2])')
|
||||
|
||||
if prt-get isinst python3-poetry-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 --compile --no-deps pastel==$version
|
||||
fi
|
||||
|
||||
rm -rf $PKG/usr/lib/python$_pyver/site-packages/pastel-$version.dist-info/{INSTALLER,REQUESTED}
|
||||
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
||||
/usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user