Date: Saturday, April 22, 2023 @ 11:56:55
  Author: alerque
Revision: 1448286

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-22 11:56:47 UTC (rev 1448285)
+++ PKGBUILD    2023-04-22 11:56:55 UTC (rev 1448286)
@@ -1,27 +0,0 @@
-# Maintainer:
-
-_pkgname=moreorless
-pkgname=python-moreorless
-pkgver=0.4.0
-pkgrel=3
-pkgdesc="Python diff wrapper"
-arch=('any')
-url="https://github.com/thatch/moreorless/";
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools-scm')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";)
-sha256sums=('85e19972c1a0b3a49f8543914f57bd83f6e1b10df144d5b97b8c5e9744d9c08c')
-b2sums=('60e810352e13d4723b138b6bad78536994c9430b51feb5114d44738515e890143b2d69678bb0d2fa87c51e0918b4ef15a084bd466898f41a0055ca3f1372b619')
-
-build(){
-    cd $_pkgname-$pkgver
-
-    python setup.py build
-}
-
-package() {
-    cd $_pkgname-$pkgver
-
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-}

Copied: python-moreorless/repos/community-any/PKGBUILD (from rev 1448285, 
python-moreorless/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-22 11:56:55 UTC (rev 1448286)
@@ -0,0 +1,27 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+
+_pkgname=moreorless
+pkgname=python-moreorless
+pkgver=0.4.0
+pkgrel=5
+pkgdesc='Python diff wrapper'
+arch=(any)
+url="https://github.com/thatch/$_pkgname";
+license=(MIT)
+depends=(python)
+makedepends=(python-{build,installer,wheel}
+             python-setuptools-scm)
+_archive="$_pkgname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_archive.tar.gz";)
+sha256sums=('85e19972c1a0b3a49f8543914f57bd83f6e1b10df144d5b97b8c5e9744d9c08c')
+b2sums=('60e810352e13d4723b138b6bad78536994c9430b51feb5114d44738515e890143b2d69678bb0d2fa87c51e0918b4ef15a084bd466898f41a0055ca3f1372b619')
+
+build(){
+    cd "$_archive"
+    python -m build -wn
+}
+
+package() {
+    cd "$_archive"
+    python -m installer -d "$pkgdir" dist/*.whl
+}

Reply via email to