Date: Saturday, September 3, 2022 @ 14:16:55 Author: felixonmars Revision: 1292490
archrelease: copy trunk to community-x86_64 Added: python-cx-freeze/repos/community-x86_64/PKGBUILD (from rev 1292489, python-cx-freeze/trunk/PKGBUILD) Deleted: python-cx-freeze/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-09-03 14:16:38 UTC (rev 1292489) +++ PKGBUILD 2022-09-03 14:16:55 UTC (rev 1292490) @@ -1,45 +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.11 -pkgrel=1 -pkgdesc='Create standalone executables from Python scripts' -arch=('x86_64') -url='https://marcelotduarte.github.io/cx_Freeze' -license=('PSF') -depends=('patchelf' 'python-packaging' '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=('96dc0f5e0be45f737fa4833d99216ed35150839a60ec24518838f871fdd7eeac5eac739490dac7f2da82decf7278b1c35597a80efa7ef4d47bd9b98a0c89b5e4') - -prepare() { - cd cx_Freeze-$pkgver - sed -i 's|setuptools>=59.0.1,<=60.10.0|setuptools>=59.0.1|' setup.cfg -} - -build() { - cd cx_Freeze-$pkgver - python setup.py build -} - -check() { - cd cx_Freeze-$pkgver - python setup.py egg_info - # TODO - PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-310" python -m pytest --deselect tests/test_bdist_rpm.py::test_bdist_rpm -} - -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 1292489, python-cx-freeze/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-09-03 14:16:55 UTC (rev 1292490) @@ -0,0 +1,45 @@ +# 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.11.1 +pkgrel=1 +pkgdesc='Create standalone executables from Python scripts' +arch=('x86_64') +url='https://marcelotduarte.github.io/cx_Freeze' +license=('PSF') +depends=('patchelf' 'python-packaging' '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/v$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('37586365a901800fcd18ab6e3b0de9e3e9980c8d8b8b61aa1eddf0d01dc50b53cb1ffc77070f5a5ad40c9b7a020b09ced51d38f53688129b2444abe020a75237') + +prepare() { + cd cx_Freeze-$pkgver + sed -i 's|setuptools>=59.0.1,<=60.10.0|setuptools>=59.0.1|' setup.cfg +} + +build() { + cd cx_Freeze-$pkgver + python setup.py build +} + +check() { + cd cx_Freeze-$pkgver + python setup.py egg_info + # TODO + PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-310" python -m pytest --deselect tests/test_bdist_rpm.py::test_bdist_rpm +} + +package() { + cd cx_Freeze-$pkgver + python setup.py install --root "$pkgdir" --optimize 1 --skip-build +}