[arch-commits] Commit in python-pyppmd (3 files)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Nov 1 20:21:04 UTC 2021
Date: Monday, November 1, 2021 @ 20:21:04
Author: arojas
Revision: 1035263
archrelease: copy trunk to community-x86_64
Added:
python-pyppmd/repos/
python-pyppmd/repos/community-x86_64/
python-pyppmd/repos/community-x86_64/PKGBUILD
(from rev 1035262, python-pyppmd/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-pyppmd/repos/community-x86_64/PKGBUILD (from rev 1035262, python-pyppmd/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2021-11-01 20:21:04 UTC (rev 1035263)
@@ -0,0 +1,33 @@
+# Maintainer:
+
+_pkgname=pyppmd
+pkgname=python-$_pkgname
+pkgver=0.17.1
+pkgrel=1
+pkgdesc='PPMd compression/decompression library'
+arch=(x86_64)
+url='http://github.com/miurahr/pyppmd'
+license=(LGPL)
+depends=(python)
+makedepends=(python-setuptools-scm)
+checkdepends=(python-pytest-benchmark python-py-cpuinfo python-hypothesis)
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('ebc65d393d58b5463fdfbdf9b27e51b6aef9a9142052a50685a5dfdba91f5808')
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python setup.py build
+}
+
+check() {
+ cd $_pkgname-$pkgver
+
+ PYTHONPATH="$PWD"/`ls -d build/lib.*` pytest
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list