summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2024-04-27 20:56:45 +0300
committerCaleb Maclennan2024-04-27 20:56:45 +0300
commit45c1ed477d7a85eae3e376ec9930a9679d232965 (patch)
tree751a12252a6708d741a0549cc8066afe97f40808
parentc8b935a00b77c526cfe67cfe383e75f472050797 (diff)
downloadaur-remarshal.tar.gz
upgpkg: remarshal 0.18.0-2
Rebuild for Python 3.12, cleanup packaging odds and ends
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 3 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1051021c35cc..bcef144d5211 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = remarshal
pkgdesc = Convert between CBOR, JSON, MessagePack, TOML, and YAML
pkgver = 0.18.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/dbohdan/remarshal
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 2f1bd36e0c20..c49b08185390 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=remarshal
pkgver=0.18.0
-pkgrel=1
+pkgrel=2
pkgdesc='Convert between CBOR, JSON, MessagePack, TOML, and YAML'
arch=(any)
url="https://github.com/dbohdan/$pkgname"
@@ -30,14 +30,11 @@ prepare() {
build() {
cd "$_archive"
- python -m build --wheel --no-isolation
+ python -m build -wn
}
package() {
cd "$_archive"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-
- # # remove files owned by haskell-yaml to prevent conflicts
- # rm "$pkgdir/usr/bin/json2yaml" "$pkgdir/usr/bin/yaml2json"
}