# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-pyparted _pkgname=pyparted pkgver=3.11.2 pkgrel=3 pkgdesc="Python bindings for GNU parted (libparted)" url="https://github.com/dcantrell/pyparted" arch="all" license="GPL-2.0-or-later" depends="python3" makedepends="python3-dev py3-setuptools parted-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/dcantrell/pyparted/archive/v$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces=py-pyparted # Backwards compatibility provides=py-pyparted=$pkgver-r$pkgrel # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="de6e7387e3eb9c9cb11e01f475d2749d2ce22ec2f11386df20cafcf83f7e431828f2db936f29c717e42694ff390a592598893633156a21aa7c8d5700a3c9ece9 py3-pyparted-3.11.2.tar.gz"