aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Berthault <justin.berthault@zaclys.net>2020-07-24 17:07:30 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-07-25 21:19:29 +0000
commit88384f71911ac424837dc2f1201662be0456c033 (patch)
treef0b0996b8d7f7d5a11250ba7461606fcaad3a8e6
parent7ee471397d4a1a6f3dc7c6ea7100d7851c9a9125 (diff)
downloadaports-88384f71911ac424837dc2f1201662be0456c033.tar.gz
aports-88384f71911ac424837dc2f1201662be0456c033.tar.bz2
aports-88384f71911ac424837dc2f1201662be0456c033.tar.xz
testing/py3-plac: upgrade to 1.2.0
-rw-r--r--testing/py3-plac/APKBUILD13
-rw-r--r--testing/py3-plac/index.rst2
2 files changed, 10 insertions, 5 deletions
diff --git a/testing/py3-plac/APKBUILD b/testing/py3-plac/APKBUILD
index 6ec25df7de..a6da96f532 100644
--- a/testing/py3-plac/APKBUILD
+++ b/testing/py3-plac/APKBUILD
@@ -1,17 +1,18 @@
# Contributor: Oleg Titov <oleg.titov@gmail.com>
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
pkgname=py3-plac
-pkgver=1.1.0
+pkgver=1.2.0
pkgrel=0
pkgdesc="Parsing the command line the easy way"
url="https://github.com/micheles/plac"
arch="noarch"
license="BSD-2-Clause"
-depends="python3"
+depends="python3 py3-argparse"
makedepends="py3-setuptools"
-checkdepends="py3-pytest"
+checkdepends="py3-pytest py3-sqlsoup"
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/micheles/plac/archive/$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/p/plac/plac-$pkgver.tar.gz
+ index.rst" # replicate index.rst for tests to pass
builddir="$srcdir/plac-$pkgver"
build() {
@@ -19,6 +20,7 @@ build() {
}
check() {
+ cp "$srcdir/index.rst" "$builddir/doc/index.rst"
PYTHONPATH="$PWD/build/lib" pytest-3
}
@@ -28,4 +30,5 @@ package() {
install -Dm644 README.rst "$pkgdir/usr/share/doc/$pkgname/README.rst"
}
-sha512sums="99f218e8f70ad2a626faf836790b88d8fa429a7e3c316affe68b04cd019a35de5f9537c9badc22220e60da6117f5942ed3c9e77d3f97587151fb995fd9879238 py3-plac-1.1.0.tar.gz"
+sha512sums="666f08900016a234232cde83b7adebbeff12167c68bcd32fc7e04012402140a5e6670020ef6310b2bfcf0de3175ae24696afea66760be1b3cae3c0b643e8999c plac-1.2.0.tar.gz
+763e0838200a4dc25c4d4a74a9dc5b8ff8c32f5e67d00207a9f43274ad42eff1e0c6f08d04dc7123967d9426231d1ba3b0f0e8c0fcc688a528389e22f5b4c477 index.rst"
diff --git a/testing/py3-plac/index.rst b/testing/py3-plac/index.rst
new file mode 100644
index 0000000000..74d4fecad2
--- /dev/null
+++ b/testing/py3-plac/index.rst
@@ -0,0 +1,2 @@
+.. include:: plac_core.rst
+.. include:: plac_adv.rst