aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-distutils-extra/APKBUILD
blob: f607331245fe89a707420199a50b7b90377be81b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-distutils-extra
_pkgname=python-distutils-extra
pkgver=2.42
pkgrel=1
pkgdesc="Enhanced distutils package for python"
url="https://launchpad.net/python-distutils-extra"
arch="noarch"
license="GPL-2.0-or-later"
depends="py3-setuptools"
source="https://salsa.debian.org/debian/$_pkgname/-/archive/$pkgver/$_pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$_pkgname-$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 --prefix=/usr --root="$pkgdir"
}

sha512sums="3f69aa3617c4b6f33bee989f8b3612aa12b4ce3c5e07f47799209aa402640078d738e15a1e883afb7062d177ed70ff235af6b09910e4f2cc890e013998eca832  python-distutils-extra-2.42.tar.bz2"