[arch-commits] Commit in capstone/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Nov 9 00:41:00 UTC 2019
Date: Saturday, November 9, 2019 @ 00:40:59
Author: arojas
Revision: 524763
Drop python2
Modified:
capstone/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-09 00:38:56 UTC (rev 524762)
+++ PKGBUILD 2019-11-09 00:40:59 UTC (rev 524763)
@@ -2,7 +2,7 @@
# Contributor: M0Rf30
pkgbase=capstone
-pkgname=('capstone' 'python-capstone' 'python2-capstone')
+pkgname=('capstone' 'python-capstone')
pkgver=4.0.1
pkgrel=3
pkgdesc='Lightweight multi-platform, multi-architecture disassembly framework'
@@ -9,7 +9,7 @@
url='https://www.capstone-engine.org/index.html'
arch=('x86_64')
license=('BSD')
-makedepends=('glibc' 'python' 'python-setuptools' 'python2' 'python2-setuptools')
+makedepends=('glibc' 'python' 'python-setuptools')
options=('staticlibs')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aquynh/capstone/archive/${pkgver}.tar.gz)
sha256sums=('79bbea8dbe466bd7d051e037db5961fdb34f67c9fac5c3471dd105cfb1e05dc7')
@@ -36,11 +36,4 @@
install -Dm 644 ../../LICENSE.TXT -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
-package_python2-capstone() {
- depends=('capstone' 'python2')
- cd ${pkgbase}-${pkgver}/bindings/python
- python2 setup.py install -O1 --root="${pkgdir}" --prefix=/usr
- install -Dm 644 ../../LICENSE.TXT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list