31 lines
791 B
Plaintext
31 lines
791 B
Plaintext
# Maintainer: Tony Garnock-Jones <tonyg@leastfixedpoint.com>
|
|
pkgname=py3-preserves
|
|
_pyname=preserves
|
|
pkgver=0.10.2
|
|
pkgrel=0
|
|
pkgdesc="Preserves serialization format"
|
|
url="https://preserves.gitlab.io/"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="python3"
|
|
makedepends="py3-setuptools py3-pip py3-wheel"
|
|
_pypiprefix="${_pyname%${_pyname#?}}"
|
|
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
9f0f62554eddaa66cf6606ddcfb74abd78bbadcd196528af24e526fa3fb9ddba2b00b33606758614a8e987d42eceaf32cf79c708fb745209e668ffbf287a4567 preserves-0.10.2.tar.gz
|
|
"
|