Date: Friday, April 7, 2023 @ 07:09:30
  Author: felixonmars
Revision: 1440776

archrelease: copy trunk to community-staging-any

Added:
  python-pefile/repos/community-staging-any/
  python-pefile/repos/community-staging-any/PKGBUILD
    (from rev 1440775, python-pefile/trunk/PKGBUILD)

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

Copied: python-pefile/repos/community-staging-any/PKGBUILD (from rev 1440775, 
python-pefile/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-07 07:09:30 UTC (rev 1440776)
@@ -0,0 +1,30 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
+# Contributor: Sonic-Y3k <[email protected]>
+
+pkgname=python-pefile
+pkgver=2022.5.30
+pkgrel=2
+pkgdesc='Python PE parsing module'
+url='https://github.com/erocarrera/pefile'
+arch=('any')
+license=('MIT')
+depends=('python' 'python-future')
+makedepends=('python-setuptools' 'python-build' 'python-installer' 
'python-wheel')
+source=(https://github.com/erocarrera/pefile/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('6f3ade22b5a6697947daa000e9436379874bcd0520344580940a64bbb272e22569e648340bdfc37de9aca948864c6375941e785494dc6c6006e3f878fbda1984')
+b2sums=('6b3191ffeb623fad78f9f8be7b5ad4cee7a44d2569cdf2cb72457746e2464a248d8760e47714ee0e1d5d7f7d1bef961616be432f38949cd87eb97d8bf9346dfb')
+
+build() {
+  cd pefile-${pkgver}
+  python -m build --wheel --no-isolation
+}
+
+package_python-pefile() {
+  cd pefile-${pkgver}
+  python -m installer --destdir="${pkgdir}" dist/*.whl
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README* -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to