Date: Saturday, September 3, 2022 @ 19:36:54
  Author: ffy00
Revision: 1292724

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   64 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 32 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-03 19:36:50 UTC (rev 1292723)
+++ PKGBUILD    2022-09-03 19:36:54 UTC (rev 1292724)
@@ -1,32 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org>
-
-pkgname=python-svgwrite
-_pkgname=svgwrite
-pkgver=1.4.1
-pkgrel=2
-pkgdesc='A Python library to create SVG drawings'
-arch=('any')
-url='https://github.com/mozman/svgwrite'
-license=('MIT')
-depends=('python' 'python-pyparsing')
-makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('74015ed4a72cd781a577ab8c2f38a30a1f6561ca0379e62ecaac8136f40998c926597d97a0c1006fdab69ac4a23ce1841bda296881ede511f3f1b4a2e8dea06f')
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-}
-
-#check() {
-#  cd $_pkgname-$pkgver
-#
-#  python setup.py test
-#}
-
-package() {
-  cd $_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-svgwrite/repos/community-any/PKGBUILD (from rev 1292723, 
python-svgwrite/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-09-03 19:36:54 UTC (rev 1292724)
@@ -0,0 +1,32 @@
+# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org>
+
+pkgname=python-svgwrite
+_pkgname=svgwrite
+pkgver=1.4.3
+pkgrel=1
+pkgdesc='A Python library to create SVG drawings'
+arch=('any')
+url='https://github.com/mozman/svgwrite'
+license=('MIT')
+depends=('python' 'python-pyparsing')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('3e599c13c2138aec1f9098baf3cf978b477f45ec2acd14d6aaadbcdf952064dac6313fd26050e670e9e989867c3539fa1cc7fb1cd226e34ff9f2a1ca2e7ddeff')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python -m build -nw
+}
+
+#check() {
+#  cd $_pkgname-$pkgver
+#
+#  python setup.py test
+#}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python -m installer -d "$pkgdir" dist/*.whl
+}

Reply via email to