diff --git a/python3-tomli-w/.signature b/python3-tomli-w/.signature index 9f4f70056..e91536d64 100644 --- a/python3-tomli-w/.signature +++ b/python3-tomli-w/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF37Ie+YJ42TYo7qrUAtN0ukPZcCob6G11gJsRVosE7AAGm5DyAek4VwH/6nWkuhuRqWlugrcNsz2iL0/z/o2wlQU= -SHA256 (Pkgfile) = 0fd2d02fb5494920bba127bbdc4ed342b5365b90ffcf0766f3e7058a84c40f86 +RWSagIOpLGJF34Dp7Frkw9km/o0luA4cMwiW7EBWTnZA2n9ToOB4syB+W0OEhRpm+xm1MrPjcz6TDoMvGid2RhEd7ZiV+0BvFwc= +SHA256 (Pkgfile) = c0c3a170d30c3f1e03d1519dcfb009b1344f53cb60f9319aafa7a72f3db6405a SHA256 (.footprint) = 524928af00519d48dadf7ac30d8373402942ef70da396d0dfa3593cac570ce3b SHA256 (tomli-w-1.0.0.tar.gz) = 4fe1fb4696899c01356ef4e028c975103abf62e5fa9472f31f1714100f1b065d diff --git a/python3-tomli-w/Pkgfile b/python3-tomli-w/Pkgfile index fd7435d0f..4ab747a48 100644 --- a/python3-tomli-w/Pkgfile +++ b/python3-tomli-w/Pkgfile @@ -1,8 +1,7 @@ # Description: A lil' TOML writer # URL: https://github.com/hukkin/tomli-w # Maintainer: Tim Biermann, tbier at posteo dot de -# Depends on: python3-poetry -# Optional: python3-flit-core +# Depends on: python3-build python3-flit-core python3-installer name=python3-tomli-w version=1.0.0 @@ -12,14 +11,6 @@ source=(https://github.com/hukkin/tomli-w/archive/$version/tomli-w-$version.tar. build() { cd tomli-w-$version - _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 --compile --no-deps tomli-w==$version - fi - - rm -rf $PKG/usr/lib/python$_pyver/site-packages/tomli_w-$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 }