Date: Saturday, November 12, 2022 @ 00:10:28
Author: arojas
Revision: 1346937
archrelease: copy trunk to community-any
Added:
python-traitsui/repos/community-any/PKGBUILD
(from rev 1346936, python-traitsui/trunk/PKGBUILD)
Deleted:
python-traitsui/repos/community-any/PKGBUILD
----------+
PKGBUILD | 48 ++++++++++++++++++++++++------------------------
1 file changed, 24 insertions(+), 24 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-12 00:10:19 UTC (rev 1346936)
+++ PKGBUILD 2022-11-12 00:10:28 UTC (rev 1346937)
@@ -1,24 +0,0 @@
-# Maintainer: Andrzej Giniewicz <[email protected]>
-
-pkgname=python-traitsui
-pkgver=7.4.0
-pkgrel=1
-pkgdesc="Traits-capable user interfaces"
-arch=('any')
-url="https://github.com/enthought/traitsui"
-license=('BSD')
-depends=('python-pyface')
-makedepends=('python-setuptools')
-source=("traitsui-${pkgver}.tar.gz::https://github.com/enthought/traitsui/archive/${pkgver}.tar.gz")
-sha256sums=('55853041872bc7e35321e6b3816e153bf8982b87f8ab9df529c2e9e17586a3ca')
-
-build() {
- cd "$srcdir"/traitsui-$pkgver
- python setup.py build
-}
-
-package() {
- cd "$srcdir"/traitsui-$pkgver
- python setup.py install --root="$pkgdir"/ --optimize=1
- install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-traitsui/repos/community-any/PKGBUILD (from rev 1346936,
python-traitsui/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-12 00:10:28 UTC (rev 1346937)
@@ -0,0 +1,24 @@
+# Maintainer: Andrzej Giniewicz <[email protected]>
+
+pkgname=python-traitsui
+pkgver=7.4.2
+pkgrel=1
+pkgdesc="Traits-capable user interfaces"
+arch=('any')
+url="https://github.com/enthought/traitsui"
+license=('BSD')
+depends=('python-pyface')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
+source=("traitsui-${pkgver}.tar.gz::https://github.com/enthought/traitsui/archive/${pkgver}.tar.gz")
+sha256sums=('98b7974b5bf9f84ca78358c21ba61c9c73de072b143c66bd00baeca5fa085062')
+
+build() {
+ cd traitsui-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd traitsui-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}