From caf6edb780872253705f2bf08f4f3a917204b105 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 24 Dec 2020 13:47:35 +0100 Subject: community/python-cx_freeze: trying to bump build --- community/python-cx_freeze/PKGBUILD | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/community/python-cx_freeze/PKGBUILD b/community/python-cx_freeze/PKGBUILD index e69de29b..ab85f398 100644 --- a/community/python-cx_freeze/PKGBUILD +++ b/community/python-cx_freeze/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Felix Yan +# Contributor: Alexander Rødseth +# Contributor: Ray Rashif +# Contributor: Douglas Soares de Andrade +# Contributor: Eric Belanger +# Contributor: Roberto Alsina +# Contributor: Julien Duponchelle + +pkgname=python-cx-freeze +pkgver=6.4.2 +pkgrel=1 +pkgdesc='Create standalone executables from Python scripts' +arch=('x86_64') +url='https://marcelotduarte.github.io/cx_Freeze' +license=('PSF') +depends=('python-importlib-metadata') +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=('ddcff29c749872a51d691f852630f2e4cca77449c930993807cc1d459087ba25a2e58c2ce8669e4ca297a0d3ac659b007d9a94fdc389b46685aeb7a95307882b') + +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 +} -- cgit v1.2.3-70-g09d2