[arch-commits] Commit in python-adb-shell/repos/community-any (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Thu Jun 16 18:35:38 UTC 2022
Date: Thursday, June 16, 2022 @ 18:35:38
Author: alerque
Revision: 1238204
archrelease: copy trunk to community-any
Added:
python-adb-shell/repos/community-any/PKGBUILD
(from rev 1238203, python-adb-shell/trunk/PKGBUILD)
Deleted:
python-adb-shell/repos/community-any/PKGBUILD
----------+
PKGBUILD | 63 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-16 18:35:30 UTC (rev 1238203)
+++ PKGBUILD 2022-06-16 18:35:38 UTC (rev 1238204)
@@ -1,31 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-# Contributor: KokaKiwi <kokakiwi+aur at kokakiwi.net>
-
-_pyname=adb-shell
-pkgname=python-${_pyname}
-pkgver=0.4.2
-pkgrel=1
-pkgdesc="A Python implementation of ADB with shell and FileSync functionality."
-arch=(any)
-url="https://github.com/JeffLIrion/adb_shell"
-license=('Apache')
-depends=('python' 'python-cryptography' 'python-pyasn1' 'python-rsa')
-makedepends=('python-setuptools')
-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')
-
-build() {
- cd "${_pyname/-/_}-${pkgver}"
- python setup.py build
-}
-
-package() {
- cd "${_pyname/-/_}-${pkgver}"
- python setup.py install -O1 --root="$pkgdir" --skip-build
- install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-adb-shell/repos/community-any/PKGBUILD (from rev 1238203, python-adb-shell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-16 18:35:38 UTC (rev 1238204)
@@ -0,0 +1,32 @@
+# 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.3
+pkgrel=1
+pkgdesc="A Python implementation of ADB with shell and FileSync functionality."
+arch=(any)
+url="https://github.com/JeffLIrion/adb_shell"
+license=('Apache')
+depends=('python' 'python-cryptography' 'python-pyasn1' 'python-rsa')
+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=('c7e49766dfa70db60eb300f747957397c252325670b40d0d7355ae321558ac671bdcc5beb6b16876b79f7d803b933c1d26d41a5799b4fe058fbdb9739442389a')
+
+build() {
+ cd "${_pyname/-/_}-${pkgver}"
+ python -m build -wn
+}
+
+package() {
+ cd "${_pyname/-/_}-${pkgver}"
+ python -m installer -d "$pkgdir" dist/*.whl
+ install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list