Package Details: python-pox 0.3.4-3

Git Clone URL: https://aur.archlinux.org/python-pox.git (read-only, click to copy)
Package Base: python-pox
Description: utilities for filesystem exploration and automated builds
Upstream URL: https://github.com/uqfoundation/pox
Licenses: BSD-3-Clause
Submitter: xantares
Maintainer: greyltc (txtsd)
Last Packager: txtsd
Votes: 4
Popularity: 0.005455
First Submitted: 2016-11-16 18:19 (UTC)
Last Updated: 2024-05-21 15:59 (UTC)

Latest Comments

txtsd commented on 2023-03-19 12:52 (UTC)

Here's a patch for the current version. You can also add me as co-maintainer, and I'll take care of it.

From b65bd27ac1a51ad7de5f9a99787ffe0d8ebd068c Mon Sep 17 00:00:00 2001
From: txtsd <code@ihavea.quest>
Date: Sun, 19 Mar 2023 18:20:27 +0530
Subject: [PATCH] upgpkg: python-pox 0.3.2-1

Signed-off-by: txtsd <code@ihavea.quest>
---
 .SRCINFO   | 13 ++++++++-----
 .gitignore |  5 +++--
 PKGBUILD   | 21 ++++++++++++---------
 3 files changed, 23 insertions(+), 16 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 515d032..0b72d1a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,16 @@
 pkgbase = python-pox
    pkgdesc = utilities for filesystem exploration and automated builds
-   pkgver = 0.3.0
+   pkgver = 0.3.2
    pkgrel = 1
    url = https://github.com/uqfoundation/pox
    arch = any
    license = BSD
-   makedepends = python-setuptools
-   depends = python
-   source = python-pox-0.3.0.tar.gz::https://github.com/uqfoundation/pox/archive/refs/tags/pox-0.3.0.tar.gz
-   sha256sums = c228f129e99cc871f25ec8c0c366c53ba773aa51613914e21581362c615e13d3
+   makedepends = python-setuptools>=42.0
+   makedepends = python-build
+   makedepends = python-installer
+   makedepends = python-wheel
+   depends = python>=3.7
+   source = python-pox-0.3.2.tar.gz::https://github.com/uqfoundation/pox/archive/refs/tags/pox-0.3.2.tar.gz
+   sha256sums = 4a2573d7b64a4fe3c337b9d996d80089d0920c60d7920f94a4a2d14a8da8b202

 pkgname = python-pox
diff --git a/.gitignore b/.gitignore
index 32f0ae1..7b4454f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
 src/
 pkg/
-*.tar.gz
-*.tar.xz
+
+*.pkg.*
+*.tar.*
diff --git a/PKGBUILD b/PKGBUILD
index d03979a..e344b00 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,25 @@
+# Maintainer: greyltc
+# Contributor: txtsd <aur.archlinux@ihavea.quest>
+
 pkgname=python-pox
-pkgver=0.3.0
+pkgver=0.3.2
 pkgrel=1
 pkgdesc="utilities for filesystem exploration and automated builds"
 url="https://github.com/uqfoundation/pox"
 arch=(any)
 license=('BSD')
-depends=('python')
-makedepends=('python-setuptools')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/uqfoundation/pox/archive/refs/tags/pox-$pkgver.tar.gz")
-sha256sums=('c228f129e99cc871f25ec8c0c366c53ba773aa51613914e21581362c615e13d3')
+depends=('python>=3.7')
+makedepends=('python-setuptools>=42.0' 'python-build' 'python-installer' 'python-wheel')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/uqfoundation/pox/archive/refs/tags/pox-${pkgver}.tar.gz")
+sha256sums=('4a2573d7b64a4fe3c337b9d996d80089d0920c60d7920f94a4a2d14a8da8b202')

 build() {
-  cd pox-pox-${pkgver}
-  python setup.py build
+  cd "pox-pox-${pkgver}"
+  python -m build --wheel --no-isolation
 }

 package() {
-  cd pox-pox-$pkgver
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  cd "pox-pox-${pkgver}"
+  python -m installer --destdir="${pkgdir}" dist/*.whl
 }

-- 
2.40.0