Package Details: mcstatus 11.1.1-1

Git Clone URL: https://aur.archlinux.org/mcstatus.git (read-only, click to copy)
Package Base: mcstatus
Description: Provides an easy way to query Minecraft servers for any information they can expose.
Upstream URL: https://github.com/py-mine/mcstatus
Licenses: Apache
Submitter: RX14
Maintainer: gkbrk
Last Packager: gkbrk
Votes: 5
Popularity: 0.44
First Submitted: 2019-02-19 01:14 (UTC)
Last Updated: 2024-10-12 23:47 (UTC)

Latest Comments

rharish commented on 2026-05-25 21:50 (UTC) (edited on 2026-05-25 21:50 (UTC) by rharish)

Hi, here's the diff for updating to v13.1.0:

diff --git a/.SRCINFO b/.SRCINFO
index 5b08baf..fa3d51d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,25 @@
 pkgbase = mcstatus
    pkgdesc = Provides an easy way to query Minecraft servers for any information they can expose.
-   pkgver = 11.1.1
+   pkgver = 13.1.0
    pkgrel = 1
    url = https://github.com/py-mine/mcstatus
    arch = any
    license = Apache
+   checkdepends = python-pytest
+   checkdepends = python-pytest-asyncio
+   checkdepends = python-pytest-cov
+   checkdepends = python-pytest-rerunfailures
+   checkdepends = python-coverage
+   checkdepends = python-typing_extensions
+   makedepends = python-build
+   makedepends = python-hatchling
+   makedepends = python-installer
+   makedepends = python-uv-dynamic-versioning
+   makedepends = python-wheel
    depends = python
    depends = python-dnspython
    depends = python-asyncio-dgram
-   source = https://github.com/py-mine/mcstatus/archive/v11.1.1.tar.gz
-   sha256sums = ebaa03d69ef78f3719ff3506228be4b24304966d040b9aa4630edc0fcf018eb6
+   source = https://github.com/py-mine/mcstatus/archive/v13.1.0.tar.gz
+   sha256sums = 4d11a3f0fe00d74407936d7a0566c1ba033190ebbce15386b54cc43ce6dbebd4

 pkgname = mcstatus
diff --git a/PKGBUILD b/PKGBUILD
index 51138c9..97d09d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,34 +2,38 @@
 # Contributor: Stephanie Wilde-Hobbs (RX14) <steph@rx14.co.uk>

 pkgname=mcstatus
-pkgver=11.1.1
+pkgver=13.1.0
 pkgrel=1
 pkgdesc="Provides an easy way to query Minecraft servers for any information they can expose."
 arch=(any)
 url="https://github.com/py-mine/mcstatus"
 license=('Apache')
 depends=(python python-dnspython python-asyncio-dgram)
-makedepends=()
+makedepends=(python-build
+             python-hatchling
+             python-installer
+             python-uv-dynamic-versioning
+             python-wheel)
+checkdepends=(python-pytest
+              python-pytest-asyncio
+              python-pytest-cov
+              python-pytest-rerunfailures
+              python-coverage
+              python-typing_extensions)
 source=("${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('ebaa03d69ef78f3719ff3506228be4b24304966d040b9aa4630edc0fcf018eb6')
+sha256sums=('4d11a3f0fe00d74407936d7a0566c1ba033190ebbce15386b54cc43ce6dbebd4')

-python_version () {
-    python --version | cut -d' ' -f2 | cut -d'.' -f1,2
-}
-
-prepare () {
+build () {
     cd "${srcdir}/mcstatus-${pkgver}"
+    python -m build --wheel --no-isolation
 }

-build () {
+package () {
     cd "${srcdir}/mcstatus-${pkgver}"
+    python -m installer --destdir="$pkgdir" dist/*.whl
 }

-package () {
+check () {
     cd "${srcdir}/mcstatus-${pkgver}"
-    mkdir -p "${pkgdir}/usr/lib/python$(python_version)/site-packages/"
-    mkdir -p "${pkgdir}/usr/bin/"
-    cp -r mcstatus/ "${pkgdir}/usr/lib/python$(python_version)/site-packages/"
-    printf '#!/bin/sh\npython -m mcstatus $@\n' >> "${pkgdir}/usr/bin/mcstatus"
-    chmod +x "${pkgdir}/usr/bin/mcstatus"
+    pytest
 }

gkbrk commented on 2021-12-17 14:27 (UTC)

Updated to version 7. The build was broken because upstream switched to poetry from setup.py. Should be working now.

ignapk commented on 2020-11-01 16:39 (UTC)

Thought so, thanks for the quick fix, works without any problems now :)

RX14 commented on 2020-11-01 16:20 (UTC)

Seems that upstream re-released the same version with different code :(

ignapk commented on 2020-11-01 14:36 (UTC)

Please update the sha256sum in the PKGBUILD:

==> Validating source files with sha256sums...
    release-4.1.0.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!