aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-path/APKBUILD
blob: cb72dd2602ddc4df3f1e474323e0300dd0871f07 (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-path
pkgver=13.2.0
pkgrel=0
pkgdesc="Module wrapper for os.path"
options="!check" # Requires unpackaged 'pytest-checkdocs'
url="https://github.com/jaraco/path"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools py3-setuptools_scm"
source="$pkgname-$pkgver.tar.gz::https://github.com/jaraco/path/archive/v$pkgver.tar.gz"
builddir="$srcdir/path-$pkgver"

build() {
	git init # WORKAROUND
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="59c9df45996eb227df101a13da968bcb006d9b89cb5c36ffcd08bdfb1102e7bd91bbe340b04ffea7478a0dda3dfa2df33412fcf9b6e6fb5af06952a82a6b6914  py3-path-13.2.0.tar.gz"