[arch-commits] Commit in python-cx-freeze/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Mon Aug 29 17:42:22 UTC 2022


    Date: Monday, August 29, 2022 @ 17:42:22
  Author: felixonmars
Revision: 1285487

archrelease: copy trunk to community-x86_64

Added:
  python-cx-freeze/repos/community-x86_64/PKGBUILD
    (from rev 1285486, python-cx-freeze/trunk/PKGBUILD)
Deleted:
  python-cx-freeze/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   85 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 45 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-29 17:42:09 UTC (rev 1285486)
+++ PKGBUILD	2022-08-29 17:42:22 UTC (rev 1285487)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Ray Rashif <schiv at archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
-# Contributor: Eric Belanger <eric at archlinux.org>
-# Contributor: Roberto Alsina <ralsina at kde.org>
-# Contributor: Julien Duponchelle <julien at gns3.net>
-
-pkgname=python-cx-freeze
-pkgver=6.9
-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=('219f052cae05a757c2cd57c45e47c0b3e85662ace895a8b768e1571044e132b7db367af2a6293d175e022f79f87b02007dfdd8807eb39be04a89602b51cc0246')
-
-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
-}

Copied: python-cx-freeze/repos/community-x86_64/PKGBUILD (from rev 1285486, python-cx-freeze/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-29 17:42:22 UTC (rev 1285487)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Roberto Alsina <ralsina at kde.org>
+# Contributor: Julien Duponchelle <julien at 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
+}



More information about the arch-commits mailing list