aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-rope/APKBUILD
blob: f29cdc7be587dfa2decec71124ed926eb4f2f332 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname="py3-rope"
pkgver="0.16.0"
pkgrel=0
pkgdesc="A Python refactoring library"
url="https://github.com/python-rope/rope"
arch="noarch"
license="LGPL-3.0-only"
depends="python3"
makedepends="py3-setuptools"
source="https://github.com/python-rope/rope/archive/$pkgver/rope-$pkgver.tar.gz"
builddir="$srcdir/rope-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 -m unittest
}

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

sha512sums="53598a369b91f165c959be97a07ed1204fa216b94114424b0ec40dc828b3a57262a7c598a9af2aed80150b720a182ef1b6d658a1e5d4161066f905186407dc51  rope-0.16.0.tar.gz"