From a237691ffa5f1432a078fa5358dfca431efb6fdd Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Sun, 2 Feb 2020 21:23:32 +0100 Subject: testing/py3-rope: new aport --- testing/py3-rope/APKBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 testing/py3-rope/APKBUILD (limited to 'testing') diff --git a/testing/py3-rope/APKBUILD b/testing/py3-rope/APKBUILD new file mode 100644 index 0000000000..f29cdc7be5 --- /dev/null +++ b/testing/py3-rope/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +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" -- cgit v1.2.3