[arch-commits] Commit in python-cx-freeze/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Tue Dec 21 17:43:36 UTC 2021


    Date: Tuesday, December 21, 2021 @ 17:43:36
  Author: felixonmars
Revision: 1081760

upgpkg: python-cx-freeze 6.8.2-1

Modified:
  python-cx-freeze/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-21 17:41:23 UTC (rev 1081759)
+++ PKGBUILD	2021-12-21 17:43:36 UTC (rev 1081760)
@@ -7,27 +7,22 @@
 # Contributor: Julien Duponchelle <julien at gns3.net>
 
 pkgname=python-cx-freeze
-pkgver=6.8.1
-pkgrel=3
+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=('python-importlib-metadata' 'patchelf')
+depends=('patchelf')
 makedepends=('python-setuptools')
-checkdepends=('python-nose' 'python-openpyxl')
+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=('9e3817276d838d036df5a7ee8b78df0f96676ffb2e993f84271c309cea95448fcef7487ed1090a3690c31f8cf792b60db3b2e30d76b6e6d4f6fc8953254def82')
+sha512sums=('f7cd5550c64d58d25b1dd5fe64f1e529959308157b94e7935043e8f63b16699fff287ce4fc6f453d54f18635a497f2f1fb6bd242afbd36e4363f34b92986a945')
 
-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
@@ -35,7 +30,8 @@
 
 check() {
   cd cx_Freeze-$pkgver
-  python setup.py nosetests || echo "Tests failed"
+  python setup.py egg_info
+  python -m pytest
 }
 
 package() {



More information about the arch-commits mailing list