mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
28 lines
952 B
Text
28 lines
952 B
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-pysendfile
|
|
_pkgname=pysendfile
|
|
pkgver=2.0.1
|
|
pkgrel=2
|
|
pkgdesc="Python interface to the sendfile(2) system call"
|
|
url="https://pypi.org/project/pysendfile"
|
|
arch="all"
|
|
license="MIT"
|
|
replaces="py-sendfile" # for backwards compatibility
|
|
provides="py-sendfile=$pkgver-r$pkgrel" # for backwards compatibility
|
|
depends="python3"
|
|
makedepends="python3-dev py3-setuptools"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="d6ee08eb251fac30c90a9ee829fd992f3620697eef2893ced5a2c6273486c3c5fd35c70962585a8d747d578817391f91c929bfeeba8c4485d52a15748229ca9c pysendfile-2.0.1.tar.gz"
|