diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2020-01-04 18:33:33 +0100 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-01-04 22:29:55 +0100 |
commit | e3d010e890fef6d1cbeedf14c531b2af440c3cd1 (patch) | |
tree | f7c5fd3f59d71583c781ba98e16c7faa85101fdf /community/py3-pysendfile/APKBUILD | |
parent | 857f80b3e76e5981a1a701639894311f6acf46e1 (diff) | |
download | aports-e3d010e890fef6d1cbeedf14c531b2af440c3cd1.tar.bz2 aports-e3d010e890fef6d1cbeedf14c531b2af440c3cd1.tar.xz |
community/py3-pysendfile: move from testing
Diffstat (limited to 'community/py3-pysendfile/APKBUILD')
-rw-r--r-- | community/py3-pysendfile/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/py3-pysendfile/APKBUILD b/community/py3-pysendfile/APKBUILD new file mode 100644 index 0000000000..6b7e49320c --- /dev/null +++ b/community/py3-pysendfile/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py3-pysendfile +_pkgname=pysendfile +pkgver=2.0.1 +pkgrel=3 +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" |