aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/py-authen-ntlm2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/py-authen-ntlm2/APKBUILD')
-rw-r--r--unmaintained/py-authen-ntlm2/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/unmaintained/py-authen-ntlm2/APKBUILD b/unmaintained/py-authen-ntlm2/APKBUILD
new file mode 100644
index 0000000000..2bec76c9fc
--- /dev/null
+++ b/unmaintained/py-authen-ntlm2/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer:
+pkgname=py-authen-ntlm2
+_realname=PyAuthenNTLM2
+pkgver=2.2
+_pkgver=RELEASE_2_2
+pkgrel=0
+pkgdesc="Authentication module for Apache"
+url="https://github.com/Legrandin/PyAuthenNTLM2"
+arch="noarch"
+license="ASL 2.0"
+depends=""
+depends_dev="python-dev py-setuptools"
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="https://github.com/Legrandin/$_realname/archive/$_pkgver.zip"
+
+_builddir="$srcdir"/$_realname-$_pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="e8cce57ea90d3842ccbe542ee7e1bd4d RELEASE_2_2.zip"
+sha256sums="9dfdd88ef7233335db1efca392ad90813f6ceaeaeda906a27b163674746e586b RELEASE_2_2.zip"
+sha512sums="0c0d46eac73830ecca732fc911d8bba7c06b0ed7c3f21331a3f718b438f5773357443989706fb53fb0193ff758b00a1af420f7a5e4af5eb0b6ee8da55b429db9 RELEASE_2_2.zip"