1
0
forked from ports/contrib

python3-hatch-vcs: use python3-installer instead of python3-install

This commit is contained in:
Tim Biermann 2022-07-10 18:51:51 +02:00
parent b515789b37
commit eb520aafc5
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 10 additions and 10 deletions

View File

@ -13,11 +13,11 @@ drwxr-xr-x root/root usr/lib/python3.9/site-packages/hatch_vcs/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/hatch_vcs/__about__.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/hatch_vcs/__init__.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/hatch_vcs/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/hatch_vcs/__pycache__/__about__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/hatch_vcs/__pycache__/__init__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/hatch_vcs/__pycache__/build_hook.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/hatch_vcs/__pycache__/hooks.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/hatch_vcs/__pycache__/version_source.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/hatch_vcs/__pycache__/__about__.cpython-39.opt-2.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/hatch_vcs/__pycache__/__init__.cpython-39.opt-2.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/hatch_vcs/__pycache__/build_hook.cpython-39.opt-2.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/hatch_vcs/__pycache__/hooks.cpython-39.opt-2.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/hatch_vcs/__pycache__/version_source.cpython-39.opt-2.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/hatch_vcs/build_hook.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/hatch_vcs/hooks.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/hatch_vcs/version_source.py

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38sr0KK/pgKfftI/LXtWEaZy9KaRBKhZct5QycdTA7Yp2Xy+dyv9GfwBpFaKfD33jC2EKdqOTcbwi+0eHak8lgY=
SHA256 (Pkgfile) = 084faa39bc1bfa61e7f127afed77e60fd0f81568b868d0626801ae6f9e1bd1c5
SHA256 (.footprint) = 49ef2de6eaefdae7fb09e6de5c4a8ab719025a253496f42e7d8a866a9b0d3ac8
RWSagIOpLGJF30QwJ22KTOkO+uRY7dX6Mm7UepLRSi/j5b+OvwgLr1sGtdIpv7WprTKEzs3+5XBYb2L1pF2IB82tMt4P++/J3gE=
SHA256 (Pkgfile) = dd845c624e9e102eaf7b89321e7a74f8039fe50c2108d1d4381f7cf65ed45465
SHA256 (.footprint) = 0382fafa08ad7ee1f8d84450560cd5e92dfc3906892810cd97eeaf2069fa8d5c
SHA256 (hatch-vcs-0.2.0.tar.gz) = 99f2fe7cd5c300924aaac845ee8cac0d941b0f706d17ed58d3e2eb2e246a2908

View File

@ -1,7 +1,7 @@
# Description: Hatch plugin for versioning with your preferred VCS
# URL: https://github.com/ofek/hatch-vcs
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-hatchling python3-install
# Depends on: python3-hatchling
name=python3-hatch-vcs
version=0.2.0
@ -11,5 +11,5 @@ source=(https://github.com/ofek/hatch-vcs/archive/v$version/hatch-vcs-$version.t
build() {
cd hatch-vcs-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m install --optimize=1 --destdir=$PKG dist/*.whl
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}