testing/py3-rope: new aport

This commit is contained in:
Bart Ribbers 2020-02-02 21:23:32 +01:00 committed by Leo
parent f5e52904a5
commit a237691ffa

27
testing/py3-rope/APKBUILD Normal file
View File

@ -0,0 +1,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"