From 96489557ca6e0ca3ef7092e992b6f55600e75628 Mon Sep 17 00:00:00 2001 From: Newbyte Date: Sun, 20 Dec 2020 16:22:05 +0100 Subject: community/py3-prawcore: move from testing --- community/py3-prawcore/APKBUILD | 28 ++++++++++++++++++++++++++++ testing/py3-prawcore/APKBUILD | 28 ---------------------------- 2 files changed, 28 insertions(+), 28 deletions(-) create mode 100644 community/py3-prawcore/APKBUILD delete mode 100644 testing/py3-prawcore/APKBUILD diff --git a/community/py3-prawcore/APKBUILD b/community/py3-prawcore/APKBUILD new file mode 100644 index 00000000000..cec2d9b2cb0 --- /dev/null +++ b/community/py3-prawcore/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Kevin Daudt +# Maintainer: Kevin Daudt +pkgname=py3-prawcore +pkgver=1.5.0 +pkgrel=0 +pkgdesc="a low-level communication layer for PRAW 4+" +options="net" # To fetch unpackaged test dependencies +url="https://github.com/praw-dev/prawcore" +arch="noarch" +license="BSD-2-Clause" +depends="py3-setuptools py3-requests" +checkdepends="py3-mock py3-betamax py3-betamax_matchers py3-betamax_serializers py3-testfixtures" +source="$pkgname-$pkgver.tar.gz::https://github.com/praw-dev/prawcore/archive/v$pkgver.tar.gz" +builddir="$srcdir/prawcore-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="6ee3191702cb6b1daf30763bd8fc1a919dc6820792c1a64399dc98f5986e33ee3e2a59286277e4232b5d58077d54e0cf444f9a0144dd7bad91286a57f2fe6a89 py3-prawcore-1.5.0.tar.gz" diff --git a/testing/py3-prawcore/APKBUILD b/testing/py3-prawcore/APKBUILD deleted file mode 100644 index cec2d9b2cb0..00000000000 --- a/testing/py3-prawcore/APKBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: Kevin Daudt -# Maintainer: Kevin Daudt -pkgname=py3-prawcore -pkgver=1.5.0 -pkgrel=0 -pkgdesc="a low-level communication layer for PRAW 4+" -options="net" # To fetch unpackaged test dependencies -url="https://github.com/praw-dev/prawcore" -arch="noarch" -license="BSD-2-Clause" -depends="py3-setuptools py3-requests" -checkdepends="py3-mock py3-betamax py3-betamax_matchers py3-betamax_serializers py3-testfixtures" -source="$pkgname-$pkgver.tar.gz::https://github.com/praw-dev/prawcore/archive/v$pkgver.tar.gz" -builddir="$srcdir/prawcore-$pkgver" - -build() { - python3 setup.py build -} - -check() { - python3 setup.py test -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="6ee3191702cb6b1daf30763bd8fc1a919dc6820792c1a64399dc98f5986e33ee3e2a59286277e4232b5d58077d54e0cf444f9a0144dd7bad91286a57f2fe6a89 py3-prawcore-1.5.0.tar.gz" -- cgit v1.2.3