[arch-commits] Commit in python-cx-freeze/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Aug 29 17:42:09 UTC 2022
Date: Monday, August 29, 2022 @ 17:42:09
Author: felixonmars
Revision: 1285486
upgpkg: python-cx-freeze 6.11-1
Modified:
python-cx-freeze/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-29 17:42:01 UTC (rev 1285485)
+++ PKGBUILD 2022-08-29 17:42:09 UTC (rev 1285486)
@@ -7,14 +7,13 @@
# Contributor: Julien Duponchelle <julien at gns3.net>
pkgname=python-cx-freeze
-pkgver=6.9
+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')
-makedepends=('python-setuptools')
+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')
@@ -21,8 +20,13 @@
provides=('python-cx_freeze')
conflicts=('python-cx_freeze')
source=("https://github.com/marcelotduarte/cx_Freeze/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('219f052cae05a757c2cd57c45e47c0b3e85662ace895a8b768e1571044e132b7db367af2a6293d175e022f79f87b02007dfdd8807eb39be04a89602b51cc0246')
+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
@@ -31,7 +35,8 @@
check() {
cd cx_Freeze-$pkgver
python setup.py egg_info
- python -m pytest
+ # TODO
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-310" python -m pytest --deselect tests/test_bdist_rpm.py::test_bdist_rpm
}
package() {
More information about the arch-commits
mailing list