[arch-commits] Commit in (3 files)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Nov 1 20:02:16 UTC 2021
Date: Monday, November 1, 2021 @ 20:02:16
Author: arojas
Revision: 1035258
New python-py7zr dependency
Added:
python-multivolumefile/
python-multivolumefile/trunk/
python-multivolumefile/trunk/PKGBUILD
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Added: python-multivolumefile/trunk/PKGBUILD
===================================================================
--- python-multivolumefile/trunk/PKGBUILD (rev 0)
+++ python-multivolumefile/trunk/PKGBUILD 2021-11-01 20:02:16 UTC (rev 1035258)
@@ -0,0 +1,33 @@
+# Maintainer:
+
+_pkgname=multivolumefile
+pkgname=python-$_pkgname
+pkgver=0.2.3
+pkgrel=1
+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
+}
More information about the arch-commits
mailing list