diff options
Diffstat (limited to 'python-azure-cli-core')
-rw-r--r-- | python-azure-cli-core/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/python-azure-cli-core/PKGBUILD b/python-azure-cli-core/PKGBUILD new file mode 100644 index 000000000..81247ce5b --- /dev/null +++ b/python-azure-cli-core/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> + +_pkgname=azure-cli-core +pkgname=python-$_pkgname +pkgver=2.43.0 +pkgrel=1 +pkgdesc='Microsoft Azure Command-Line Tools Core Module' +url='https://pypi.org/project/azure-cli-core/' +depends=( + 'python>=3.10' + 'python<3.11' + 'python-azure-common' + 'python-humanfriendly' + 'python-knack' + 'python-pkginfo') +makedepends=( + 'python-pip' + 'python-setuptools') +license=('BSD') +arch=('i686' 'pentium4' 'x86_64') +source=("https://files.pythonhosted.org/packages/83/b3/849ccb3938efa1f9167930ec282d9797601dffb7f1218779f325d4e76388/${_pkgname}-${pkgver}.tar.gz") +sha512sums=('b033ece4f3a933e6fb8e3ebb2306cb6c6af584bc79595c6fc102912078786de8d4db678f9e78c73a3889e29e3f4970ad896cd11b8fd5f867940f3d41c6b83dcc') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py build_ext --inplace + python setup.py test +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |