diff options
-rw-r--r-- | azure-cli-bin/PKGBUILD | 21 | ||||
-rw-r--r-- | azure-cli/PKGBUILD | 3 | ||||
-rw-r--r-- | python-azure-cli-core/PKGBUILD | 34 | ||||
-rw-r--r-- | python-azure-cli-telemetry/PKGBUILD | 31 | ||||
-rw-r--r-- | python-azure-common/PKGBUILD | 32 | ||||
-rw-r--r-- | python-azure-core/PKGBUILD | 38 | ||||
-rw-r--r-- | python-knack/PKGBUILD | 31 | ||||
-rw-r--r-- | python-msal-extensions/PKGBUILD | 28 | ||||
-rw-r--r-- | python-msal/PKGBUILD | 25 | ||||
-rw-r--r-- | python-msrest/PKGBUILD | 25 | ||||
-rw-r--r-- | python-msrestazure/PKGBUILD | 26 | ||||
-rw-r--r-- | python-portalocker/PKGBUILD | 30 |
12 files changed, 323 insertions, 1 deletions
diff --git a/azure-cli-bin/PKGBUILD b/azure-cli-bin/PKGBUILD new file mode 100644 index 000000000..1122a4a09 --- /dev/null +++ b/azure-cli-bin/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +# Contributor: Rodrigo Farias <rodrigofarias77@gmail.com> + +pkgname=azure-cli-bin +pkgver=2.43.0 +pkgrel=1 +pkgdesc='Azure Command-Line Interface (Debian package)' +arch=('any') +url='https://github.com/Azure/azure-cli' +license=('MIT') +depends=('openssl-1.1' 'python') +conflicts=('azure-cli' 'python-azure-cli') +source=("https://packages.microsoft.com/repos/azure-cli/pool/main/a/azure-cli/azure-cli_${pkgver}-1~bullseye_all.deb") +md5sums=('e50ddc37275738db457ee989a124affc') + +package () { + cd "${pkgdir}" + bsdtar -xf "${srcdir}/data.tar.xz" + rm -r usr/share/doc + find -name __pycache__ | xargs rm -r +} diff --git a/azure-cli/PKGBUILD b/azure-cli/PKGBUILD index c45b15a22..aac1e7db5 100644 --- a/azure-cli/PKGBUILD +++ b/azure-cli/PKGBUILD @@ -5,12 +5,13 @@ pkgname=azure-cli _pkgname="${pkgname}" pkgver=2.43.0 -pkgrel=1 +pkgrel=2 pkgdesc="Command-line tools for Azure." arch=('any') url="https://github.com/Azure/azure-cli" license=('MIT') makedepends=(python-setuptools) +depends=(python-azure-cli-core) source=("https://pypi.python.org/packages/00/2d/2bced21bb8bc1cc948f44a569a9abbeb688ea8b622578e0f54fac6a232be/${pkgname}-${pkgver}.tar.gz" "az") sha512sums=('45b404a84ba3f91d08f21400d06dcfc51f11931ca9bcbca5e6cd9400e7ab27c4672390025e1f44c41a94c7a898e971fc9949e0da3f6cd6723bd11efbd91f6a5c' 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" +} diff --git a/python-azure-cli-telemetry/PKGBUILD b/python-azure-cli-telemetry/PKGBUILD new file mode 100644 index 000000000..b445f3ed7 --- /dev/null +++ b/python-azure-cli-telemetry/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> + +_pkgname=azure-cli-telemetry +pkgname=python-$_pkgname +pkgver=1.0.8 +pkgrel=1 +pkgdesc='Microsoft Azure CLI Telemetry Package' +url='https://pypi.org/project/azure-cli-telemetry/' +depends=( + 'python>=3.10' + 'python<3.11' + 'python-portalocker') +makedepends=( + 'python-pip' + 'python-setuptools') +license=('BSD') +arch=('i686' 'pentium4' 'x86_64') +source=("https://files.pythonhosted.org/packages/f0/d2/1e4e9bb8ccafa5abc788e5c4329984a27164873f4b64ebe5c3495e622486/${_pkgname}-${pkgver}.tar.gz") +sha512sums=('a9cdfc76608b4099528d277ccb187750427838dd26ba2fea9969a21f4351bcfe0943d5004deb52f4290c9f6989061e4b4d62194c64f495c941b31cc8272dae26') + +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" +} diff --git a/python-azure-common/PKGBUILD b/python-azure-common/PKGBUILD new file mode 100644 index 000000000..a843beb3a --- /dev/null +++ b/python-azure-common/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> + +_pkgname=azure-common +pkgname=python-$_pkgname +pkgver=1.1.28 +pkgrel=1 +pkgdesc='Microsoft Azure Client Library for Python (Common)' +url='https://pypi.org/project/azure-common/' +depends=( + 'python>=3.10' + 'python<3.11' + 'python-humanfriendly' + 'python-knack' + 'python-pkginfo') +makedepends=( + 'python-pip' + 'python-setuptools') +arch=('i686' 'pentium4' 'x86_64') +source=("https://files.pythonhosted.org/packages/3e/71/f6f71a276e2e69264a97ad39ef850dca0a04fce67b12570730cb38d0ccac/${_pkgname}-${pkgver}.zip") +sha512sums=('cfa8d08e11ff7d855342a589f9780ba1b2386fd63cddcbcc04d83be8d4d8e41dceba494b617e27ed4e3da4366b9f1203819ec391ef4466a6700cc2c8b85f0c38') +license=('MIT') + +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 +} diff --git a/python-azure-core/PKGBUILD b/python-azure-core/PKGBUILD new file mode 100644 index 000000000..b16d4a702 --- /dev/null +++ b/python-azure-core/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> + +_pkgname=azure-core +pkgname=python-$_pkgname +pkgver=1.26.1 +pkgrel=1 +pkgdesc='Microsoft Azure Core Library for Python' +url='https://pypi.org/project/azure-core/' +depends=( + 'python>=3.10' + 'python<3.11' + 'python-azure-common' +) +makedepends=( + 'python-pip' + 'python-setuptools') +checkdepends=( + 'python-aiohttp' + 'python-trio') +license=('MIT') +arch=('i686' 'pentium4' 'x86_64') +source=("https://files.pythonhosted.org/packages/4f/ec/3ba46ff4deebe738b7213997fc856553282e971a767b6291e05aca9d9566/${_pkgname}-${pkgver}.zip") +sha512sums=('dcddf28bdbac913e66640adb7c511c74e4597756c444d2ef43fb82d5348eae391544715cbe95600d8caec9afcfe8ab5d20b9b33c49b8fd026b8f0f7657cae931') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py build_ext --inplace +} + +check() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py test +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 +} diff --git a/python-knack/PKGBUILD b/python-knack/PKGBUILD new file mode 100644 index 000000000..b5d501662 --- /dev/null +++ b/python-knack/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Erich Eckenr <arch at eckner dot net> +# Contributor: Lukas Zimmermann <luk.zim91 at gmail dot com> +# Contributor: Kelsey Maes <kelseymaes at outlook dot com> + +pkgname=python-knack +pkgver=0.9.0 +pkgrel=2 +pkgdesc="A Python command line interface framework" +arch=('any') +url="https://github.com/Microsoft/knack" +license=('MIT') +depends=('python-argcomplete' 'python-colorama' 'python-jmespath' 'python-six' 'python-tabulate' 'python-yaml') +makedepends=('python-setuptools') +checkdepends=('python-mock' 'python-pytest') +source=("https://github.com/Microsoft/knack/archive/v${pkgver}.tar.gz") +sha256sums=('520f7ac0aeeca85b9b33c2612482e7b6d5da898c1e2f32c00408ce32976fad21') + +build() { + cd "knack-${pkgver}" + python setup.py build +} + +check() { + cd "knack-${pkgver}" + pytest +} + +package() { + cd "knack-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} diff --git a/python-msal-extensions/PKGBUILD b/python-msal-extensions/PKGBUILD new file mode 100644 index 000000000..b3c68ebc5 --- /dev/null +++ b/python-msal-extensions/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> + +_pkgname=msal-extensions +pkgname=python-$_pkgname +pkgver=1.0.0 +pkgrel=1 +pkgdesc='Microsoft Authentication Library extensions (MSAL EX) provides a persistence API that can save your data on disk, encrypted on Windows, macOS and Linux. Concurrent data access will be coordinated by a file lock mechanism.' +url='https://pypi.org/project/msal-extensions/' +depends=( + 'python>=3.10' + 'python<3.11') +makedepends=( + 'python-pip' + 'python-setuptools') +license=('MIT') +arch=('i686' 'pentium4' 'x86_64') +source=("https://files.pythonhosted.org/packages/33/5e/2e23593c67df0b21ffb141c485ca0ae955569203d7ff5064040af968cb81/${_pkgname}-${pkgver}.tar.gz") +sha512sums=('5dc22a64a535ac9c7488d0d1e85e2f8320cb5c9e4cb5891599c8fc07060ff1eac310fe93ef42416142600ade8666ac4f0a3614a3e81950311f6d752cac5de959') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py build_ext --inplace +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 +} diff --git a/python-msal/PKGBUILD b/python-msal/PKGBUILD new file mode 100644 index 000000000..23202b573 --- /dev/null +++ b/python-msal/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +# Contributor: Julian Weigt <juw@posteo.de> +# PKGBUILD generated by pipman, description shortened +# Python package author: Microsoft Corporation <nugetaad@microsoft.com> +pkgname=python-msal +pkgver=1.14.0 +pkgrel=0 +pkgdesc="Microsoft Authentication Library for Python library to access the Microsoft Cloud by supporting authentication of users with Microsoft Azure Active Directory accounts and Microsoft Accounts using OAuth2 and OpenID Connect" +arch=(any) +url="https://github.com/AzureAD/microsoft-authentication-library-for-python" +license=(MIT) +depends=("python-requests" "python-pyjwt" "python-cryptography" "python-mock") +makedepends=("python-setuptools") +source=("$pkgname-$pkgver.tar.gz"::"https://github.com/AzureAD/microsoft-authentication-library-for-python/archive/refs/tags/$pkgver.tar.gz") +sha256sums=('ef2e6d15283c44eb93f195d212a5234538c7303f4dd7bd1b025f950db75c4f59') + +build() { + cd "microsoft-authentication-library-for-python-$pkgver" + python setup.py build +} + +package() { + cd "microsoft-authentication-library-for-python-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 +} diff --git a/python-msrest/PKGBUILD b/python-msrest/PKGBUILD new file mode 100644 index 000000000..17b1c37a1 --- /dev/null +++ b/python-msrest/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Erich Eckner +# Contributor: Lukas Zimmermann <luk.zim91 at gmail dot com> +# Contributor: Kelsey Maes <kelseymaes at outlook dot com> +pkgname=python-msrest +pkgver=0.6.21 +pkgrel=1 +pkgdesc='The runtime library for AutoRest generated Python clients.' +arch=('any') +url="https://github.com/Azure/msrest-for-python" +license=('MIT') +depends=('python-isodate' 'python-requests-oauthlib') +makedepends=('python-setuptools') +source=("https://github.com/Azure/msrest-for-python/archive/v${pkgver}.tar.gz") +sha256sums=('a05696317c836d073597510ca875e756433406fa38f4fb360527d91a7b753442') + +build() { + cd "msrest-for-python-${pkgver}" + python setup.py build +} + +package() { + cd "msrest-for-python-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} + diff --git a/python-msrestazure/PKGBUILD b/python-msrestazure/PKGBUILD new file mode 100644 index 000000000..f79106d2d --- /dev/null +++ b/python-msrestazure/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +# Contributor: Lukas Zimmermann <luk.zim91 at gmail dot com> +# Contributor: Kelsey Maes <kelseymaes at outlook dot com> + +pkgname=python-msrestazure +pkgver=0.6.4 +pkgrel=1 +pkgdesc="The runtime library \"msrestazure\" for AutoRest generated Python clients." +arch=('any') +url="https://github.com/Azure/msrestazure-for-python" +license=('MIT') +depends=('python-adal' 'python-keyring' 'python-msrest') +makedepends=('python-setuptools') +source=("https://github.com/Azure/msrestazure-for-python/archive/v${pkgver}.tar.gz") +sha256sums=('7e9ca8fccf8fc24286f8aaef90e69534c92989d3f2eaebc83fd59523f30d7a4a') + +build() { + cd "msrestazure-for-python-${pkgver}" + python setup.py build +} + +package() { + cd "msrestazure-for-python-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 +} + diff --git a/python-portalocker/PKGBUILD b/python-portalocker/PKGBUILD new file mode 100644 index 000000000..03780081b --- /dev/null +++ b/python-portalocker/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +# Contributor: Ashley Bone <ashley DOT bone AT pm DOT me> +pkgbase=python-portalocker +pkgname=('python-portalocker') +_pkgname=portalocker +pkgver=2.6.0 +pkgrel=1 +pkgdesc='Easy, portable file locking API.' +arch=('any') +url="https://github.com/WoLpH/${_pkgname}" +license=('PSF') +makedepends=('python-setuptools') +optdepends=('python-redis' 'redis') +source=("https://pypi.python.org/packages/source/p/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") +sha256sums=('964f6830fb42a74b5d32bce99ed37d8308c1d7d44ddf18f3dd89f4680de97b39') +depends=( + 'python>=3.10' + 'python<3.11') + +build() { + cp -a "${_pkgname}-${pkgver}" "py2-${_pkgname}-${pkgver}" + + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py build +} + +package_python-portalocker() { + cd "${_pkgname}-${pkgver}" + python setup.py install --prefix='/usr' --root="${pkgdir}" --optimize=1 +} |