From 1f3d49e8a3c5479a19c68c5dedf852b463b54301 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Sun, 16 Oct 2022 18:41:06 +0000 Subject: ref: update reddit-nextcloud-importer --- apks/reddit-nextcloud-importer/APKBUILD | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/apks/reddit-nextcloud-importer/APKBUILD b/apks/reddit-nextcloud-importer/APKBUILD index 39fe857..92ba711 100644 --- a/apks/reddit-nextcloud-importer/APKBUILD +++ b/apks/reddit-nextcloud-importer/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Gabriel Arakaki Giovanini pkgname=reddit-nextcloud-importer -pkgver=0.1.1 -pkgrel=1 +pkgver=0.1.2 +pkgrel=0 pkgdesc="A process to import images and videos from saved post on reddit to a instance of Nextcloud." url="https://git.sr.ht/~gabrielgio/reddit-nextcloud-importer" arch="noarch" @@ -15,6 +15,7 @@ depends=" py3-praw " makedepends="python3-dev py3-setuptools_scm" +checkdepends="py3-pytest py3-pytest-mock" builddir="$srcdir/$pkgname-$pkgver" install="$pkgname.pre-install" subpackages="$pkgname-openrc" @@ -23,12 +24,15 @@ source="$pkgname-$pkgver.tar.gz::https://artifacts.gabrielgio.me/$pkgname/$pkgna $pkgname.confd" provides="py3-reddit-nextcloud-importer=$pkgver-r$pkgrel" -options="!check" # requires many many many dependencies build() { python3 setup.py build } +check() { + python3 -m pytest +} + package() { # install scripts install -m755 -D "$srcdir"/$pkgname.initd \ @@ -40,7 +44,7 @@ package() { } sha512sums=" -dd983f438f7750d089f87623d183c130c17cdb0850e875993a905e59306c503e7340bdedb67c0a0ab36f50469a0d711733cdc46182e2ce8269c3db0a5996c841 reddit-nextcloud-importer-0.1.1.tar.gz -bccdb30b9a9149647ef11bbeb50fcc169f5da7b9d445d1aa981751dfe121c9df834379ce787899bcf070eac68d5f39995e6bfa647c5e004cbc592e481916a938 reddit-nextcloud-importer.initd +aa4274d5b904c15bf262e59fbc50de58d414f660b3e3214cd44ebab0aa2f80ed890ed5bb9190df555118d8dbec81e41553816fcffc3fe1770f347c394501910d reddit-nextcloud-importer-0.1.2.tar.gz +dcb6610f8b83928922b6b7cbe78ceb860baad31e38cc90ed70ab7aed6527193027c9d03e8c5289ca390966a0774da16334a94e2e183e896e7126165d071b173c reddit-nextcloud-importer.initd 64e63e65506478f5b9ad89b84539c8e4310e9f0239278d8776dae26ff60eee5f21621cc665e343a1f92e4705e2f95308d2108cf16012a5c9d8cbc5c20c89eb89 reddit-nextcloud-importer.confd " -- cgit v1.2.3