summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcaltlgin2020-12-03 09:21:24 +1300
committercaltlgin2020-12-03 09:21:24 +1300
commit56247177a571bff68d1767a6f78a0942660f8267 (patch)
treef0b099582aa1c651c0c26162a6d542fac69fc08e
parent71fd3a97c67b0962983893987b15b741e2d64f61 (diff)
downloadaur-python-pytest-discord.tar.gz
Python 3.9 rebuild
-rw-r--r--.SRCINFO5
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD20
3 files changed, 12 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4b50ef21d1d..a156c2b930f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,11 @@
pkgbase = python-pytest-discord
pkgdesc = pytest plugin to report test results to a Discord channel
pkgver = 0.0.5
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/thombashi/pytest-discord
arch = any
license = MIT
- checkdepends = python-pytest
- checkdepends = python-mock
makedepends = python-setuptools
- depends = python
depends = python-aiohttp
depends = python-discord
depends = python-pathvalidate
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..05c6d4d4c97
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!.SRCINFO
+!PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index 9506130107b..80a2fe53abb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,21 @@
# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
-_pkgname=pytest-discord
-pkgname=python-${_pkgname}
+_pkgname='pytest-discord'
+pkgname="python-${_pkgname}"
pkgver=0.0.5
-pkgrel=1
+pkgrel=2
pkgdesc='pytest plugin to report test results to a Discord channel'
arch=('any')
url='https://github.com/thombashi/pytest-discord'
+_url_pypi='https://pypi.org/project/pytest-discord'
license=('MIT')
-depends=('python'
- 'python-aiohttp'
+depends=('python-aiohttp'
'python-discord'
'python-pathvalidate'
'python-pytest'
'python-pytest-md-report'
'python-typepy')
makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-mock')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('a7008333f23f05a33e75683e1f50c88ec27fd583abc89698c336dd099edd3722')
@@ -25,16 +24,11 @@ build() {
python setup.py build
}
-check() {
- cd "${_pkgname}-${pkgver}"
- pytest
-}
-
package() {
cd "${_pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 -t "${pkgdir}/usr/share/doc/${_pkgname}" 'README.rst'
- install -Dm644 -t "${pkgdir}/usr/share/licenses/${_pkgname}" 'LICENSE'
+ install -Dvm644 'README.rst' -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim: ts=2 sw=2 et: