Levente Polyak pushed to branch main at Arch Linux / Packaging / Packages / python-editor
Commits: 5aeac2f6 by loqs at 2026-02-01T21:43:20+00:00 SPDX license identifier https://github.com/fmoo/python-editor/blob/1.0.4/LICENSE - - - - - 4f7b65e0 by loqs at 2026-02-01T21:44:44+00:00 Use PEP 517 for building Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/ - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -4,8 +4,11 @@ pkgbase = python-editor pkgrel = 12 url = https://github.com/fmoo/python-editor arch = any - license = Apache + license = Apache-2.0 + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel depends = python source = python-editor-1.0.4.tar.gz::https://github.com/fmoo/python-editor/archive/1.0.4.tar.gz sha256sums = 61a4758919668b8ffe5eb389a86a4c2e8c2f789c02b9c6aee0ddf3c4ebfe3fd3 ===================================== PKGBUILD ===================================== @@ -8,22 +8,22 @@ pkgrel=12 pkgdesc='Programmatically open an editor, capture the result' url='https://github.com/fmoo/python-editor' arch=('any') -license=('Apache') +license=('Apache-2.0') depends=('python') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=(${pkgname}-${pkgver}.tar.gz::https://github.com/fmoo/python-editor/archive/${pkgver}.tar.gz) sha256sums=('61a4758919668b8ffe5eb389a86a4c2e8c2f789c02b9c6aee0ddf3c4ebfe3fd3') sha512sums=('2a01ffa5967be31ec425ddb9cd2c57f327b61547f011e1510005a7b6cab30ba01fe81e18cb38e7c4f39796350701997d11a5059568b987355878671a5299eaf5') build() { (cd ${pkgbase}-${pkgver} - python setup.py build + python -m build --wheel --no-isolation ) } package() { cd ${pkgbase}-${pkgver} - python setup.py install --root="${pkgdir}" -O1 --skip-build + python -m installer --destdir="${pkgdir}" dist/*.whl install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-editor/-/compare/afd3f870b95046c17ebb79f2c8e2c73951b00aa0...4f7b65e0e938d3610e32c9328fe5f3310de67bb2 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-editor/-/compare/afd3f870b95046c17ebb79f2c8e2c73951b00aa0...4f7b65e0e938d3610e32c9328fe5f3310de67bb2 You're receiving this email because of your account on gitlab.archlinux.org.
