summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGokberk Yaltirakli2021-12-17 17:26:27 +0300
committerGokberk Yaltirakli2021-12-17 17:26:27 +0300
commit5fb8091dc12442a96159104234d5f1eccf4763f9 (patch)
treef078d397f8136f8674c10d0f777ccc38e165e555
parent30bd084a1f0e3b70b144ab027db66a0f219f79d8 (diff)
downloadaur-5fb8091dc12442a96159104234d5f1eccf4763f9.tar.gz
Update to v7
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD23
2 files changed, 16 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d9d16c5847e..89d40533a54 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,19 @@
pkgbase = mcstatus
pkgdesc = Provides an easy way to query Minecraft servers for any information they can expose.
- pkgver = 6.0.0
+ pkgver = 7.0.0
pkgrel = 1
url = https://github.com/Dinnerbone/mcstatus
arch = any
license = Apache
- checkdepends = python-mock
- checkdepends = python-pytest
- checkdepends = python-pytest-asyncio
makedepends = python-setuptools
+ makedepends = python-poetry
+ makedepends = python-dephell
depends = python
depends = python-six
depends = python-click
depends = python-dnspython
depends = python-asyncio-dgram
- source = https://github.com/Dinnerbone/mcstatus/archive/v6.0.0.tar.gz
- sha256sums = 0d3be25638bda74fa57f29b8d912751edf528e5096e006ff8cc46ef3dac3f72f
+ source = https://github.com/Dinnerbone/mcstatus/archive/v7.0.0.tar.gz
+ sha256sums = 9ddc56243b33528dd79b6c27bc6c88c8a61bef82a5b96634661b3c616b092713
pkgname = mcstatus
-
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