summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcaltlgin2020-08-11 06:49:30 +1200
committercaltlgin2020-08-11 06:49:30 +1200
commitbda03dfd5f26447c9cd215c2ab8a5a0438517df5 (patch)
tree56da89ebcf44c94224d070ddc255da43eb249459
downloadaur-bda03dfd5f26447c9cd215c2ab8a5a0438517df5.tar.gz
Add to AUR
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD28
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..709b50d7f36
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = python-pytest-discord
+ pkgdesc = pytest plugin to report test results to a Discord channel
+ pkgver = 0.0.1
+ pkgrel = 1
+ url = https://github.com/thombashi/pytest-discord
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ depends = python
+ depends = python-aiohttp
+ depends = python-discord
+ depends = python-pathvalidate
+ depends = python-pytest
+ depends = python-pytest-md-report
+ depends = python-typepy
+ source = https://files.pythonhosted.org/packages/source/p/pytest-discord/pytest-discord-0.0.1.tar.gz
+ sha256sums = 46d7bfb736a927c68f112734f631ca077a53c9f30529e5a7428c57294667e0ef
+
+pkgname = python-pytest-discord
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..04bb8614901
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
+
+_pkgname=pytest-discord
+pkgname=python-${_pkgname}
+pkgver=0.0.1
+pkgrel=1
+pkgdesc='pytest plugin to report test results to a Discord channel'
+arch=('any')
+url='https://github.com/thombashi/pytest-discord'
+license=('MIT')
+depends=('python' 'python-aiohttp' 'python-discord' 'python-pathvalidate' 'python-pytest' 'python-pytest-md-report' 'python-typepy')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('46d7bfb736a927c68f112734f631ca077a53c9f30529e5a7428c57294667e0ef')
+
+build() {
+ cd "${_pkgname}-${pkgver}"
+ python setup.py build
+}
+
+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'
+}
+
+# vim: ts=2 sw=2 et: