[arch-commits] Commit in python-wcmatch/repos (2 files)
Frederik Schwan
freswa at gemini.archlinux.org
Wed Jun 1 11:15:30 UTC 2022
Date: Wednesday, June 1, 2022 @ 11:15:30
Author: freswa
Revision: 1218298
archrelease: copy trunk to community-testing-any
Added:
python-wcmatch/repos/community-testing-any/
python-wcmatch/repos/community-testing-any/PKGBUILD
(from rev 1218297, python-wcmatch/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: python-wcmatch/repos/community-testing-any/PKGBUILD (from rev 1218297, python-wcmatch/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2022-06-01 11:15:30 UTC (rev 1218298)
@@ -0,0 +1,24 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+
+pkgname=python-wcmatch
+pkgver=8.4
+pkgrel=1
+pkgdesc='Wilcard File Name matching library'
+arch=('any')
+url='https://github.com/facelessuser/wcmatch'
+license=('MIT')
+depends=('python-bracex')
+makedepends=('python-build' 'python-hatchling' 'python-installer' 'python-wheel')
+source=("https://github.com/facelessuser/wcmatch/archive/${pkgver}/wcmatch-${pkgver}.tar.gz")
+b2sums=('cdfbc243fa62f4854490510a563163f99dac09eed16248fa7a72d0a2a7b96484fab4edf3ba497e96a46dca1f734b9c1b098da4d71784775f51b48fcfa5b8a24c')
+
+build() {
+ cd wcmatch-${pkgver}
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+package() {
+ cd wcmatch-${pkgver}
+ python -m installer --destdir="${pkgdir}" dist/*.whl
+ install -Dm644 LICENSE.md "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list