[arch-commits] Commit in (4 files)

Levente Polyak anthraxx at gemini.archlinux.org
Sat Aug 20 13:04:36 UTC 2022


    Date: Saturday, August 20, 2022 @ 13:04:36
  Author: anthraxx
Revision: 1271058

addpkg: python-minidump 0.0.21-2

Added:
  python-minidump/
  python-minidump/repos/
  python-minidump/trunk/
  python-minidump/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Added: python-minidump/trunk/PKGBUILD
===================================================================
--- python-minidump/trunk/PKGBUILD	                        (rev 0)
+++ python-minidump/trunk/PKGBUILD	2022-08-20 13:04:36 UTC (rev 1271058)
@@ -0,0 +1,30 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: GI_Jack <GI_Jack at hackermail.com>
+
+_pyname=minidump
+pkgname=python-${_pyname}
+pkgver=0.0.21
+pkgrel=2
+pkgdesc='Python library to parse and read Microsoft minidump file format'
+url='https://github.com/skelsec/minidump'
+arch=('any')
+license=('MIT')
+depends=('python')
+makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
+source=("${url}/archive/refs/tags/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('d020e822a90788f787019ed4a1838f96ce9a5eb37388d07f552b2ebb2447ccffaf2446fa0741f85b927a077cefea1f14ac96052b3bd341de15dd46706d25bdb3')
+b2sums=('3a957a2b34f0d2c396973fe02b6bb8f0415b9725e5b49643fb4cbcbd63321cc94648f521f75e0a50359baa305a012651ee73551097d0dcc17ec081a8bfafff43')
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list