summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 11 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 27865cadcb7..dc5d1d8f098 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,31 @@
-# Maintainer: Stephanie Wilde-Hobbs (RX14) <steph@rx14.co.uk>
+# Maintainer: Gokberk Yaltirakli <aur at gkbrk dot com>
+# Contributor: Stephanie Wilde-Hobbs (RX14) <steph@rx14.co.uk>
pkgname=mcstatus
-pkgver=6.0.0
+pkgver=7.0.0
pkgrel=1
pkgdesc="Provides an easy way to query Minecraft servers for any information they can expose."
arch=(any)
url="https://github.com/Dinnerbone/mcstatus"
license=('Apache')
depends=(python python-six python-click python-dnspython python-asyncio-dgram)
-makedepends=(python-setuptools)
-checkdepends=(python-mock python-pytest python-pytest-asyncio)
+makedepends=(python-setuptools python-poetry python-dephell)
source=("https://github.com/Dinnerbone/mcstatus/archive/v${pkgver}.tar.gz")
-sha256sums=('0d3be25638bda74fa57f29b8d912751edf528e5096e006ff8cc46ef3dac3f72f')
+sha256sums=('9ddc56243b33528dd79b6c27bc6c88c8a61bef82a5b96634661b3c616b092713')
-build() {
- cd "${srcdir}/mcstatus-${pkgver}"
+prepare () {
+ cd "${srcdir}/mcstatus-${pkgver}"
- python setup.py build
+ dephell deps convert --from pyproject.toml --to setup.py --envs main
}
-check() {
+build () {
cd "${srcdir}/mcstatus-${pkgver}"
- # TODO: uncheck once dnspython 2 is supported
- #python -m pytest
+ python setup.py build
}
-package() {
+package () {
cd "${srcdir}/mcstatus-${pkgver}"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build