Date: Saturday, April 22, 2023 @ 12:20:12
  Author: alerque
Revision: 1448296

archrelease: copy trunk to community-any

Added:
  python-nskeyedunarchiver/repos/community-any/PKGBUILD
    (from rev 1448295, python-nskeyedunarchiver/trunk/PKGBUILD)
Deleted:
  python-nskeyedunarchiver/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   56 +++++++++++++++++++++++++++++---------------------------
 1 file changed, 29 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-22 12:20:04 UTC (rev 1448295)
+++ PKGBUILD    2023-04-22 12:20:12 UTC (rev 1448296)
@@ -1,27 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-# Contributor: Joaquim Monteiro <[email protected]>
-
-_pyname=NSKeyedUnArchiver
-pkgname=python-nskeyedunarchiver
-pkgver=1.5
-pkgrel=2
-pkgdesc="Library for decoding Apple's text or binary plist files"
-arch=(any)
-url='https://github.com/avibrazil/NSKeyedUnArchiver'
-license=('LGPL')
-depends=('python')
-makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_pyname-$pkgver.tar.gz";)
-sha512sums=('ecdf53bdcfff34366c4fb0d4e4ff45e765a7571374af803a1f9acf6c42fa5d300f00a7e58cb1380e1f5d1e1ad06696652225a6ae4fcfe9b6627f510b749f32e1')
-
-build() {
-  cd "${_pyname}-${pkgver}"
-  python setup.py build
-}
-
-package() {
-  cd "${_pyname}-${pkgver}"
-  python setup.py install -O1 --root="$pkgdir" --skip-build
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-nskeyedunarchiver/repos/community-any/PKGBUILD (from rev 
1448295, python-nskeyedunarchiver/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-22 12:20:12 UTC (rev 1448296)
@@ -0,0 +1,29 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Joaquim Monteiro <[email protected]>
+
+_pyname=NSKeyedUnArchiver
+pkgname=python-nskeyedunarchiver
+pkgver=1.5
+pkgrel=4
+pkgdesc="Library for decoding Apple's text or binary plist files"
+arch=(any)
+url='https://github.com/avibrazil/NSKeyedUnArchiver'
+license=('LGPL')
+depends=('python')
+makedepends=('python-'{build,installer,wheel}
+             'python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_pyname-$pkgver.tar.gz";)
+sha512sums=('ecdf53bdcfff34366c4fb0d4e4ff45e765a7571374af803a1f9acf6c42fa5d300f00a7e58cb1380e1f5d1e1ad06696652225a6ae4fcfe9b6627f510b749f32e1')
+
+build() {
+  cd "${_pyname}-${pkgver}"
+  python -m build -wn
+}
+
+package() {
+  cd "${_pyname}-${pkgver}"
+  python -m installer -d "$pkgdir" dist/*.whl
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to