aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-02-02 21:23:32 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-02-13 09:24:15 -0300
commita237691ffa5f1432a078fa5358dfca431efb6fdd (patch)
tree6b4ac1dfbb0642784ad96d0795265235c4f4a740 /testing
parentf5e52904a53a56c8d2c57ac69b4ba467627aa19c (diff)
downloadaports-a237691ffa5f1432a078fa5358dfca431efb6fdd.tar.bz2
aports-a237691ffa5f1432a078fa5358dfca431efb6fdd.tar.xz
testing/py3-rope: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/py3-rope/APKBUILD27
1 files changed, 27 insertions, 0 deletions
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 <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"