Evangelos Foutras pushed to branch main at Arch Linux / Packaging / Packages / 
gaupol


Commits:
95a7ac5b by loqs at 2024-04-07T13:19:47+00:00
Change to a PEP 517 based workflow

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -14,16 +14,21 @@ license=('GPL')
 depends=('python-gobject' 'gtk3' 'gst-plugins-'{base,good,bad,ugly} 'gst-libav'
          'gst-plugin-gtk' 'gspell' 'iso-codes' 'python-chardet' 'python-cairo'
          'desktop-file-utils' 'hicolor-icon-theme')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 optdepends=('mpv: subtitle preview'
             'vlc: subtitle preview'
             'mplayer: subtitle preview')
 
source=($pkgname-$pkgver.tar.gz::https://github.com/otsaloma/$pkgname/archive/$pkgver.tar.gz)
 sha256sums=('fa88d60620796800c4408dfdf7148b1abd3d97483e536dd020e35234885eb90b')
 
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  python -m build --wheel --no-isolation
+}
+
 package() {
   cd "$srcdir/$pkgname-$pkgver"
-  python3 setup.py --without-iso-codes install --root="$pkgdir" -O1
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }
 
 # vim:set ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gaupol/-/commit/95a7ac5b51a164a981846054930b4c3607c4e9e4

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gaupol/-/commit/95a7ac5b51a164a981846054930b4c3607c4e9e4
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to