[arch-commits] Commit in python-trailrunner/trunk (PKGBUILD)
Filipe Laíns
ffy00 at gemini.archlinux.org
Sun Sep 4 01:24:09 UTC 2022
Date: Sunday, September 4, 2022 @ 01:24:08
Author: ffy00
Revision: 1292774
upgpkg: python-trailrunner 1.2.1-1
Added:
python-trailrunner/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-04 01:24:08 UTC (rev 1292774)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=trailrunner
+pkgname=python-$_pkgname
+pkgver=1.2.1
+pkgrel=1
+pkgdesc='Walk paths and run things'
+arch=('any')
+url='https://github.com/omnilib/trailrunner'
+license=('MIT')
+depends=('python-pathspec')
+makedepends=('python-build' 'python-installer' 'python-flit-core' 'python-wheel')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('9dc4ef4b9256ba9dcade287bb5fc6037a4472fcd11f2b75d72875db67701d0139069816901c15a15f81994bcf977e5cd837b7c4daedb5fc6143b842276f0f433')
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python -m build -nw
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python -m installer -d "$pkgdir" dist/*.whl
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list