mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
# Contributor: Anees PK <anees6478@gmail.com>
|
|
# Maintainer: Anees PK <anees6478@gmail.com>
|
|
pkgname=py3-keepalive
|
|
pkgver=0.5
|
|
_pkgname=keepalive
|
|
pkgrel=2
|
|
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
|
|
py3.patch
|
|
"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
install -Dm0644 "$srcdir"/README.md -t "$pkgdir"/usr/share/doc/"$pkgname"
|
|
}
|
|
|
|
sha512sums="
|
|
f5a7a2113d87aafda42fbbefe0ca6af27986dbac59cdd76f6f66b858b8a66c7b792d93324e3c77009fac80b10996f74bad631935118617a49703e111db3e68a8 keepalive-0.5.tar.gz
|
|
1cc046e36aa7697a5a96755bdd5f55916f0a3b97508ce51105affc694e3935910bfb88d6065808e3bc489b0aae01d77c6f7c60f193b551fe760949dd3bb78582 README.md
|
|
32de536872a278d84f11f2ec6220093faf80ef503287b03332b1f364eeb46a1721e722d7c7c52cfbf336db569b37f6d65990b1fc4f03ad35da1460f99e7630c9 py3.patch
|
|
"
|