From 21679afb66096a354867a0da655bb798f6296357 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Mon, 4 Nov 2024 11:50:16 +0800 Subject: [PATCH] python-setuptools-scm 8.0.4-1 --- PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..0b8088e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=python-setuptools-scm +pkgver=8.0.4 +pkgrel=1 +pkgdesc="Handles managing your python package versions in scm metadata" +arch=('x86_64') +url="https://github.com/pypa/setuptools_scm" +license=('MIT') +depends=('python-packaging' 'python-setuptools' 'python-typing-extensions') +makedepends=('git' 'python-build' 'python-installer' 'python-wheel') +source=(git+https://github.com/pypa/setuptools_scm.git) +sha256sums=(SKIP) + +build() { + cd setuptools_scm + + python3 -m build --wheel --skip-dependency-check --no-isolation +} + +package() { + cd setuptools_scm + + python3 -m installer --destdir=${pkgdir} dist/*.whl +}