Date: Tuesday, December 21, 2021 @ 17:43:44 Author: felixonmars Revision: 1081762
archrelease: copy trunk to community-x86_64 Added: python-cx-freeze/repos/community-x86_64/PKGBUILD (from rev 1081761, python-cx-freeze/trunk/PKGBUILD) Deleted: python-cx-freeze/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 84 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 40 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-21 17:43:36 UTC (rev 1081761) +++ PKGBUILD 2021-12-21 17:43:44 UTC (rev 1081762) @@ -1,44 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Alexander Rødseth <rods...@gmail.com> -# Contributor: Ray Rashif <sc...@archlinux.org> -# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> -# Contributor: Eric Belanger <e...@archlinux.org> -# Contributor: Roberto Alsina <rals...@kde.org> -# Contributor: Julien Duponchelle <jul...@gns3.net> - -pkgname=python-cx-freeze -pkgver=6.8.1 -pkgrel=3 -pkgdesc='Create standalone executables from Python scripts' -arch=('x86_64') -url='https://marcelotduarte.github.io/cx_Freeze' -license=('PSF') -depends=('python-importlib-metadata' 'patchelf') -makedepends=('python-setuptools') -checkdepends=('python-nose' 'python-openpyxl') -replaces=('python-cx_freeze') -provides=('python-cx_freeze') -conflicts=('python-cx_freeze') -source=("https://github.com/marcelotduarte/cx_Freeze/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('9e3817276d838d036df5a7ee8b78df0f96676ffb2e993f84271c309cea95448fcef7487ed1090a3690c31f8cf792b60db3b2e30d76b6e6d4f6fc8953254def82') - -prepare() { - cd cx_Freeze-$pkgver - # https://github.com/marcelotduarte/cx_Freeze/pull/833 - sed -i 's/excludes$/excludes or []/' cx_Freeze/finder.py -} - -build() { - cd cx_Freeze-$pkgver - python setup.py build -} - -check() { - cd cx_Freeze-$pkgver - python setup.py nosetests || echo "Tests failed" -} - -package() { - cd cx_Freeze-$pkgver - python setup.py install --root "$pkgdir" --optimize 1 --skip-build -} Copied: python-cx-freeze/repos/community-x86_64/PKGBUILD (from rev 1081761, python-cx-freeze/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-21 17:43:44 UTC (rev 1081762) @@ -0,0 +1,40 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Alexander Rødseth <rods...@gmail.com> +# Contributor: Ray Rashif <sc...@archlinux.org> +# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> +# Contributor: Eric Belanger <e...@archlinux.org> +# Contributor: Roberto Alsina <rals...@kde.org> +# Contributor: Julien Duponchelle <jul...@gns3.net> + +pkgname=python-cx-freeze +pkgver=6.8.2 +pkgrel=1 +pkgdesc='Create standalone executables from Python scripts' +arch=('x86_64') +url='https://marcelotduarte.github.io/cx_Freeze' +license=('PSF') +depends=('patchelf') +makedepends=('python-setuptools') +checkdepends=('python-pytest-mock' 'python-bcrypt' 'python-cryptography' 'python-openpyxl' + 'python-pandas' 'python-pillow' 'python-pydantic' 'python-pytz') +replaces=('python-cx_freeze') +provides=('python-cx_freeze') +conflicts=('python-cx_freeze') +source=("https://github.com/marcelotduarte/cx_Freeze/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('f7cd5550c64d58d25b1dd5fe64f1e529959308157b94e7935043e8f63b16699fff287ce4fc6f453d54f18635a497f2f1fb6bd242afbd36e4363f34b92986a945') + +build() { + cd cx_Freeze-$pkgver + python setup.py build +} + +check() { + cd cx_Freeze-$pkgver + python setup.py egg_info + python -m pytest +} + +package() { + cd cx_Freeze-$pkgver + python setup.py install --root "$pkgdir" --optimize 1 --skip-build +}