Date: Tuesday, November 30, 2021 @ 21:12:56 Author: foutrelis Revision: 1058861
archrelease: copy trunk to community-staging-any Added: python-multivolumefile/repos/community-staging-any/ python-multivolumefile/repos/community-staging-any/PKGBUILD (from rev 1058859, python-multivolumefile/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: python-multivolumefile/repos/community-staging-any/PKGBUILD (from rev 1058859, python-multivolumefile/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2021-11-30 21:12:56 UTC (rev 1058861) @@ -0,0 +1,33 @@ +# Maintainer: + +_pkgname=multivolumefile +pkgname=python-$_pkgname +pkgver=0.2.3 +pkgrel=2 +pkgdesc='Multi volume file wrapper library' +arch=(any) +url='https://github.com/miurahr/multivolume' +license=(LGPL) +depends=(python) +makedepends=(python-setuptools-scm) +checkdepends=(python-pytest python-hypothesis) +source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") +sha256sums=('a0648d0aafbc96e59198d5c17e9acad7eb531abea51035d08ce8060dcad709d6') + +build() { + cd $_pkgname-$pkgver + + python setup.py build +} + +check() { + cd $_pkgname-$pkgver + + python -m pytest -rsx +} + +package() { + cd $_pkgname-$pkgver + + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +}