Date: Saturday, September 3, 2022 @ 18:23:43
  Author: ffy00
Revision: 1292664

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-03 18:23:38 UTC (rev 1292663)
+++ PKGBUILD    2022-09-03 18:23:43 UTC (rev 1292664)
@@ -1,32 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org>
-
-_pkgname=ipyxact
-pkgname=python-$_pkgname
-pkgver=0.2.4
-pkgrel=5
-pkgdesc='Python-based IP-XACT parser'
-arch=('any')
-url='https://github.com/olofk/ipyxact'
-license=('MIT')
-depends=('python' 'python-yaml')
-makedepends=('python-setuptools-scm')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('6a3cc94477dee65d91eeaac908a7ed3cc52686d85f448e0e1f85c25aaf79ea15edf87135539e7a2319e6b54a62cd32ab2cdb1771e14a223cafb4d529dbf035d5')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-}
-
-package() {
-  cd $_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-ipyxact/repos/community-any/PKGBUILD (from rev 1292663, 
python-ipyxact/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-09-03 18:23:43 UTC (rev 1292664)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org>
+
+_pkgname=ipyxact
+pkgname=python-$_pkgname
+pkgver=0.3.2
+pkgrel=1
+pkgdesc='Python-based IP-XACT parser'
+arch=('any')
+url='https://github.com/olofk/ipyxact'
+license=('MIT')
+depends=('python' 'python-yaml')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('7048b914616135d5a7319d4bf93208da2fe02f8ea76a95a7000b64e40866b6e4064e0bf43705ad0a026e383f6c78a803768499a29c838f2fc6359bafeafb6a32')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python -m build -nw
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python -m installer -d "$pkgdir" dist/*.whl
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to