Skip to content
Snippets Groups Projects
Verified Commit 67e5c9b8 authored by loqs's avatar loqs Committed by Daniel M. Capella
Browse files

Change to a PEP 517 based workflow

parent 2e107fc1
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ url='https://github.com/gnome-terminator/terminator'
license=('GPL2')
depends=('gsettings-desktop-schemas' 'libkeybinder3' 'libnotify' 'python-cairo' 'python-configobj'
'python-dbus' 'python-psutil' 'python-gobject' 'vte3' 'xdg-utils')
makedepends=('intltool' 'python-setuptools' 'python-wheel')
makedepends=('intltool' 'python-setuptools' 'python-build' 'python-installer' 'python-wheel')
source=(${url}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz{,.asc}
0001-fixed-validate-module-import-for-newer-version-of-co.patch
https://github.com/gnome-terminator/terminator/commit/8ae6f93f.patch)
......@@ -43,13 +43,13 @@ prepare () {
build() {
cd "${pkgname}-${pkgver}"
python setup.py build
python -m build --wheel --no-isolation
}
package() {
cd "${pkgname}-${pkgver}"
python setup.py install --skip-build --root="${pkgdir}" --optimize=1
python -m installer --destdir="$pkgdir" dist/*.whl
rm -f "${pkgdir}/usr/share/icons/hicolor/icon-theme.cache"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment