mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
29 lines
912 B
Text
29 lines
912 B
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-pyparted
|
|
_pkgname=pyparted
|
|
pkgver=3.12.0
|
|
pkgrel=1
|
|
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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
c1779c16868799bbff0905ea908db668823d1c238b9a06bcd62b24f9681fdd1e9378e904a91eb5e426a6e264cf1f2feee984a514e9098bf10147643bf58aa918 py3-pyparted-3.12.0.tar.gz
|
|
"
|