Date: Saturday, September 3, 2022 @ 19:08:45 Author: ffy00 Revision: 1292696
archrelease: copy trunk to community-any Added: python-okonomiyaki/repos/community-any/PKGBUILD (from rev 1292695, python-okonomiyaki/trunk/PKGBUILD) Deleted: python-okonomiyaki/repos/community-any/PKGBUILD ----------+ PKGBUILD | 73 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-09-03 19:08:42 UTC (rev 1292695) +++ PKGBUILD 2022-09-03 19:08:45 UTC (rev 1292696) @@ -1,36 +0,0 @@ -# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> - -_pkgname=okonomiyaki -pkgname=python-$_pkgname -pkgver=1.2.0 -pkgrel=6 -pkgdesc='Experimental library aimed at consolidating a lot of our low-level code used for Enthought eggs' -arch=('any') -url='https://github.com/enthought/okonomiyaki' -license=('MIT') -depends=('python' 'python-attrs' 'python-jsonschema' 'python-six') -makedepends=('python-setuptools') -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha512sums=('b84e3c188037cf5e5e5e70db27dafe331b0a9db861d93e399b2c123c602c991147a7d99ff94fdcd1d8ba0d7eceab2111dbf0ff7af8b71afb5ee8342f204cc55c') - -build() { - find $_pkgname-$pkgver -type f -name '*.py' -exec sed -i 's|zipfile2|zipfile|' '{}' + -} - -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.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE - - sed -i /zipfile2/d "$pkgdir"/usr/lib/python*/site-packages/okonomiyaki-*.egg-info/requires.txt -} - -# vim:set ts=2 sw=2 et: Copied: python-okonomiyaki/repos/community-any/PKGBUILD (from rev 1292695, python-okonomiyaki/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-09-03 19:08:45 UTC (rev 1292696) @@ -0,0 +1,37 @@ +# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> + +_pkgname=okonomiyaki +pkgname=python-$_pkgname +pkgver=1.3.2 +pkgrel=1 +pkgdesc='Experimental library aimed at consolidating a lot of our low-level code used for Enthought eggs' +arch=('any') +url='https://github.com/enthought/okonomiyaki' +license=('MIT') +depends=('python' 'python-attrs' 'python-jsonschema' 'python-six') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") +sha512sums=('89877ecca20370bcfd3f74429913e708a1e10f841fac012e154c4b43862dc9f1644d1b70638811cae71e5651565514db002ca777466b5e848009d7699b5735ed') + +build() { + cd $_pkgname-$pkgver + + find -type f -name '*.py' -exec sed -i 's|zipfile2|zipfile|' '{}' + + sed -i /zipfile2/d setup.py +} + +build() { + cd $_pkgname-$pkgver + + python -m build -nw +} + +package() { + cd $_pkgname-$pkgver + + python -m installer -d "$pkgdir" dist/*.whl + + install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: