[arch-commits] Commit in python-pefile/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at gemini.archlinux.org
Thu Jun 9 15:41:26 UTC 2022


    Date: Thursday, June 9, 2022 @ 15:41:26
  Author: anthraxx
Revision: 1229691

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-09 15:41:21 UTC (rev 1229690)
+++ PKGBUILD	2022-06-09 15:41:26 UTC (rev 1229691)
@@ -1,29 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
-# Contributor: Sonic-Y3k <sonic.y3k at googlemail.com>
-
-pkgname=python-pefile
-pkgver=2021.9.3
-pkgrel=3
-pkgdesc='Python PE parsing module'
-url='https://github.com/erocarrera/pefile'
-arch=('any')
-license=('MIT')
-depends=('python' 'python-future')
-source=(https://github.com/erocarrera/pefile/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('57a1e0b8923443c121756ce9303a834d93d7b823cdd6e11be1ea2dd14645f9e473695561787d28c1ab7daef7d5a592cfd530e0246db9c810b8951fd849b0e5e5')
-b2sums=('4701addbe590a4fe7757747f6a2e38953ccda68f9323c460e5a59abf168310c605ffbcd2b163cc344f472ee6f97f19b64e5397cfb9397c507a43ed389815d17f')
-
-build() {
-  cd pefile-${pkgver}
-  python setup.py build
-}
-
-package_python-pefile() {
-  cd pefile-${pkgver}
-  python setup.py install --root "${pkgdir}" --optimize=1 --skip-build
-  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:

Copied: python-pefile/repos/community-any/PKGBUILD (from rev 1229690, python-pefile/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-09 15:41:26 UTC (rev 1229691)
@@ -0,0 +1,30 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Christian Rebischke <chris.rebischke[at]archlinux[dot]org>
+# Contributor: Sonic-Y3k <sonic.y3k at googlemail.com>
+
+pkgname=python-pefile
+pkgver=2022.5.30
+pkgrel=1
+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:



More information about the arch-commits mailing list