mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
# Contributor: Anees PK <anees6478@gmail.com>
|
|
# Maintainer: Anees PK <anees6478@gmail.com>
|
|
pkgname=py3-keepalive
|
|
pkgver=0.5
|
|
_pkgname=keepalive
|
|
pkgrel=1
|
|
pkgdesc="urllib keepalive support for python"
|
|
options="!check" # no test suite
|
|
url="https://github.com/wikier/keepalive"
|
|
arch="noarch"
|
|
license="LGPL-2.1-or-later"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
subpackages="$pkgname-doc"
|
|
source="https://files.pythonhosted.org/packages/source/k/$_pkgname/$_pkgname-$pkgver.tar.gz
|
|
https://raw.githubusercontent.com/wikier/$_pkgname/master/README.md"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
install -Dm0644 "$srcdir"/README.md -t "$pkgdir"/usr/share/doc/"$pkgname"
|
|
}
|
|
|
|
sha512sums="
|
|
f5a7a2113d87aafda42fbbefe0ca6af27986dbac59cdd76f6f66b858b8a66c7b792d93324e3c77009fac80b10996f74bad631935118617a49703e111db3e68a8 keepalive-0.5.tar.gz
|
|
1cc046e36aa7697a5a96755bdd5f55916f0a3b97508ce51105affc694e3935910bfb88d6065808e3bc489b0aae01d77c6f7c60f193b551fe760949dd3bb78582 README.md
|
|
"
|