# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-phpserialize _pkgname=phpserialize pkgver=1.3 pkgrel=1 pkgdesc="A PHP serializer implementation for Python" options="!check" # failures=1 url="https://github.com/mitsuhiko/phpserialize" arch="noarch" license="BSD-3-Clause" depends="python3" makedepends="py3-setuptools" source="$pkgname-$pkgver.tar.gz::https://github.com/mitsuhiko/phpserialize/archive/$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-phpserialize" # Backwards compatibility provides="py-phpserialize=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="d96e3aa87d2f03fef6c7cee234e90b373989a9c8e3a07a8e2147a2e7487d3448ea0ef646263e517d6b307bf66f9ba1a4e8def04f919767532cede802cc7db144 py3-phpserialize-1.3.tar.gz"