[arch-commits] Commit in ropgadget/trunk (PKGBUILD)

Levente Polyak anthraxx at gemini.archlinux.org
Thu May 12 17:04:10 UTC 2022


    Date: Thursday, May 12, 2022 @ 17:04:10
  Author: anthraxx
Revision: 1199769

upgpkg: ropgadget 6.7-1

Modified:
  ropgadget/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-12 16:59:12 UTC (rev 1199768)
+++ PKGBUILD	2022-05-12 17:04:10 UTC (rev 1199769)
@@ -3,17 +3,17 @@
 
 pkgname=ropgadget
 _pkgname=ROPgadget
-pkgver=6.6
-pkgrel=3
+pkgver=6.7
+pkgrel=1
 pkgdesc='Search gadgets in binaries to facilitate ROP exploitation for several file formats and architectures'
 url='http://www.shell-storm.org/project/ROPgadget'
 arch=('any')
 license=('BSD')
 depends=('python' 'python-capstone')
-makedepends=('python-setuptools')
+makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
 source=(https://github.com/JonathanSalwan/${_pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('bf636a264975c95676e5bb6223d0cf04885699eeaf691c6c93a1ac8c1bc44f95323207660a57a58f44163f8c07156567daa73755b35a13cff5d27aee01ec4fb6')
-b2sums=('b1f1e5fbc76329f64122e65161ab188e9f7260c4e43d5e92e0e43cd4ebbf27ae281c32bd49790a363ff1d10360a1cda1846310054c249ab40279063a735654e6')
+sha512sums=('81bebafc1ba9cb18e017487395dacdaae044d6f1383604a0183b41d2210651c9a6870755f741cd7a3e2dc38ee5c004b0aeac52cc1082fa352c06c0598ac7e87b')
+b2sums=('004f28993e3567b8bf78853c83b60fa17ff7dc8eb82867eabec33aee247283938ed522883bcf62a11f27a70fa10c4afbdd2636d613770bc8fa0ee7dd3667e859')
 
 prepare() {
   cd ${_pkgname}-${pkgver}
@@ -22,7 +22,7 @@
 
 build() {
   cd ${_pkgname}-${pkgver}
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -32,7 +32,7 @@
 
 package() {
   cd ${_pkgname}-${pkgver}
-  python setup.py install -O1 --root="${pkgdir}" --prefix=/usr --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
   install -Dm 644 LICENSE_BSD.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }



More information about the arch-commits mailing list