[arch-commits] Commit in python-adb-shell/trunk (PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Thu Jun 16 18:35:30 UTC 2022
Date: Thursday, June 16, 2022 @ 18:35:30
Author: alerque
Revision: 1238203
upgpkg: python-adb-shell 0.4.3-1
Modified:
python-adb-shell/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-16 18:31:54 UTC (rev 1238202)
+++ PKGBUILD 2022-06-16 18:35:30 UTC (rev 1238203)
@@ -1,9 +1,10 @@
# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
# Contributor: KokaKiwi <kokakiwi+aur at kokakiwi.net>
_pyname=adb-shell
pkgname=python-${_pyname}
-pkgver=0.4.2
+pkgver=0.4.3
pkgrel=1
pkgdesc="A Python implementation of ADB with shell and FileSync functionality."
arch=(any)
@@ -10,21 +11,21 @@
url="https://github.com/JeffLIrion/adb_shell"
license=('Apache')
depends=('python' 'python-cryptography' 'python-pyasn1' 'python-rsa')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
optdepends=('python-aiofiles: async API'
'python-libusb1: To connect to a device via USB')
conflicts=('python-adb_shell')
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/JeffLIrion/adb_shell/archive/refs/tags/v${pkgver}.tar.gz")
-b2sums=('bf81a14a2df57a2109c61106b4597fd9aefab5639b6eb853f2220f6e81497c34b3dcafc2a3fc6dceb836505a5a4fc6b7a73d8a275a4de5065fac6d5625e69b29')
+b2sums=('c7e49766dfa70db60eb300f747957397c252325670b40d0d7355ae321558ac671bdcc5beb6b16876b79f7d803b933c1d26d41a5799b4fe058fbdb9739442389a')
build() {
cd "${_pyname/-/_}-${pkgver}"
- python setup.py build
+ python -m build -wn
}
package() {
cd "${_pyname/-/_}-${pkgver}"
- python setup.py install -O1 --root="$pkgdir" --skip-build
+ python -m installer -d "$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
More information about the arch-commits
mailing list