mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +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
32 lines
937 B
Text
32 lines
937 B
Text
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
|
pkgname=py3-distutils-extra
|
|
_pyname=python-distutils-extra
|
|
pkgver=2.47
|
|
pkgrel=1
|
|
pkgdesc="Enhanced distutils package for python"
|
|
url="https://launchpad.net/python-distutils-extra"
|
|
arch="noarch"
|
|
license="GPL-2.0-or-later"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
source="https://salsa.debian.org/python-team/modules/python-distutils-extra/-/archive/$pkgver/python-distutils-extra-$pkgver.tar.bz2"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
|
|
replaces="py-distutils-extra" # Backwards compatibility
|
|
provides="py-distutils-extra=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py check
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
b848b8ccfd84289e5482ba264a8d8d81cdbeba97358c9fff6fb02040eeb740bacfcc19b302e56a95b400528f7e03390ea4073b8c80d1e5a5e61e1b6c46b39648 python-distutils-extra-2.47.tar.bz2
|
|
"
|