* add python-ntlm-auth

This commit is contained in:
Alexander Baldeck 2024-11-21 21:31:03 +01:00
parent 739064984c
commit e01d1c3fad
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,14 @@
pkgbase = python-ntlm-auth
pkgdesc = Creates NTLM authentication structures
pkgver = 1.5.0
pkgrel = 10
url = https://github.com/jborean93/ntlm-auth
arch = any
license = MIT
makedepends = python-setuptools
depends = python
depends = python-cryptography
source = python-ntlm-auth-1.5.0.tar.gz::https://github.com/jborean93/ntlm-auth/archive/v1.5.0.tar.gz
sha512sums = cf08b23e49d45c528404b70b6be88f6c3edee9fd0d4584f3962931a08a0982cdad4089963a95aea911b6eb4db32a932536cf6d9c02c292cd447e0a9c6b3b802b
pkgname = python-ntlm-auth

View File

@ -0,0 +1,4 @@
[python-ntlm-auth]
source = "git"
git = "https://github.com/jborean93/ntlm-auth.git"
prefix = "v"

View File

@ -0,0 +1,26 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
# Contributor: Christoph W <c w e g e n e r at gmail dot com>
pkgname=python-ntlm-auth
_module='ntlm-auth'
pkgver=1.5.0
pkgrel=10
pkgdesc="Creates NTLM authentication structures"
url="https://github.com/jborean93/ntlm-auth"
depends=('python' 'python-cryptography')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jborean93/ntlm-auth/archive/v${pkgver}.tar.gz")
sha512sums=('cf08b23e49d45c528404b70b6be88f6c3edee9fd0d4584f3962931a08a0982cdad4089963a95aea911b6eb4db32a932536cf6d9c02c292cd447e0a9c6b3b802b')
build() {
cd "${_module}-${pkgver}"
python setup.py build
}
package() {
cd "${_module}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}