summaryrefslogtreecommitdiff
path: root/user/py3-distutils-extra/APKBUILD
blob: 188127baac7d35e4e6197c4068bcb684d0611794 (plain) (blame)
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
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=py3-distutils-extra
pkgver=2.39
pkgrel=0
pkgdesc="Python distutils extras for gettext, themed icons, and scrollkeepr docs"
url="https://launchpad.net/python-distutils-extra"
arch="noarch"
license="GPL-2.0-only"
depends="python3"
source="https://launchpad.net/python-distutils-extra/trunk/$pkgver/+download/python-distutils-extra-$pkgver.tar.gz"
sha512sums="e3b4d1ed22767fb4c6dbbdccef960865b6fda01d18dc38cb8f9357c09c7eabb78466fce053e407a196eca257d07d57c5c1ef47f358a5979c7f22e4b11775124e  python-distutils-extra-2.39.tar.gz"
builddir="$srcdir/python-distutils-extra-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}